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.
This commit is contained in:
Claude
2026-01-05 09:23:58 +00:00
parent c19443af8f
commit cfd9bf3c04

View File

@@ -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);