From a60396e975c15c111fc60f321686710a6f93ef4f Mon Sep 17 00:00:00 2001 From: Monte Lai Date: Fri, 1 Sep 2023 00:13:26 +0800 Subject: [PATCH] feat: add lastSelected optional field to metadata --- src/internal/types.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/internal/types.ts b/src/internal/types.ts index 3b11e87aa..e3731aae6 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -1,4 +1,11 @@ -import { boolean, object, optional, string, type Infer } from 'superstruct'; +import { + boolean, + object, + optional, + string, + type Infer, + number, +} from 'superstruct'; import { KeyringAccountStruct } from '../api'; @@ -13,6 +20,7 @@ export const InternalAccountStruct = object({ }), ), name: string(), + lastActive: optional(number()), keyring: object({ type: string(), }),