Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/keyring-internal-api/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ export const InternalAccountMetadataStruct = object({
metadata: object({
name: string(),
nameLastUpdatedAt: exactOptional(number()),
// We use `disabled` here instead of `enabled` since this can be optional
// and better match this kind of expression: !disabled (which covers both
// the `false` and `undefined` values.
disabled: exactOptional(boolean()),
snap: exactOptional(
object({
id: string(),
Expand Down