From ba4aa2a4d13cb0907c7b29fc2e553faf4a7e27ca Mon Sep 17 00:00:00 2001 From: bluecco Date: Thu, 29 Feb 2024 19:41:34 +0100 Subject: [PATCH] fix: starknet_supportedSpecs for argent mobile --- src/connectors/argentMobile/modal/starknet/adapter.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/connectors/argentMobile/modal/starknet/adapter.ts b/src/connectors/argentMobile/modal/starknet/adapter.ts index 55f6ad1..9441101 100644 --- a/src/connectors/argentMobile/modal/starknet/adapter.ts +++ b/src/connectors/argentMobile/modal/starknet/adapter.ts @@ -50,6 +50,7 @@ export class StarknetAdapter // NamespaceAdapter public namespace = "starknet" public methods = [ + "starknet_supportedSpecs", "starknet_signTypedData", "starknet_requestAddInvokeTransaction", ] @@ -281,7 +282,7 @@ export class StarknetAdapter private handleSupportedSpecs = async () => { return await this.requestWallet({ method: "starknet_supportedSpecs", - params: undefined, + params: {}, }) } }