From cfd9bf3c04005f265212965d51ff267e99f682ee Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Jan 2026 09:23:58 +0000 Subject: [PATCH] fix: change ReadOnlyAccount type to 'grimoire-readonly' to avoid conflict The registerCommonAccountTypes() from applesauce-accounts already registers a ReadOnlyAccount with type 'readonly', causing a duplicate registration error. Changed our custom ReadOnlyAccount type to 'grimoire-readonly' to avoid the conflict. --- src/lib/account-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/account-types.ts b/src/lib/account-types.ts index d44c239..23f27a5 100644 --- a/src/lib/account-types.ts +++ b/src/lib/account-types.ts @@ -59,7 +59,7 @@ export class ReadOnlyAccount extends BaseAccount< void, ReadOnlyMetadata > { - static readonly type = "readonly"; + static readonly type = "grimoire-readonly"; constructor(pubkey: string, signer: ReadOnlySigner) { super(pubkey, signer);