From 93f67005147e32a9e3e8ff389fb5e9b9f7575245 Mon Sep 17 00:00:00 2001 From: bluecco Date: Mon, 12 Aug 2024 16:25:05 +0200 Subject: [PATCH 1/2] fix: dappName required for argent mobile connector --- src/connectors/argentMobile/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connectors/argentMobile/index.ts b/src/connectors/argentMobile/index.ts index 9a095ea..3800a5c 100644 --- a/src/connectors/argentMobile/index.ts +++ b/src/connectors/argentMobile/index.ts @@ -33,7 +33,7 @@ import { isInArgentMobileAppBrowser } from "./helpers" import { InjectedConnector, InjectedConnectorOptions } from "../injected" export interface ArgentMobileConnectorOptions { - dappName?: string + dappName: string projectId?: string chainId?: constants.NetworkName description?: string @@ -46,7 +46,7 @@ export class ArgentMobileBaseConnector extends Connector { private _wallet: StarknetWindowObject | null = null private _options: ArgentMobileConnectorOptions - constructor(options: ArgentMobileConnectorOptions = {}) { + constructor(options: ArgentMobileConnectorOptions) { super() this._options = options } From 19c8c9569fb7775d0ed285ffd6b2db17c693f1d3 Mon Sep 17 00:00:00 2001 From: bluecco Date: Mon, 12 Aug 2024 16:36:50 +0200 Subject: [PATCH 2/2] fix: url required for argent mobile connector --- src/connectors/argentMobile/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connectors/argentMobile/index.ts b/src/connectors/argentMobile/index.ts index 3800a5c..20f7c90 100644 --- a/src/connectors/argentMobile/index.ts +++ b/src/connectors/argentMobile/index.ts @@ -37,7 +37,7 @@ export interface ArgentMobileConnectorOptions { projectId?: string chainId?: constants.NetworkName description?: string - url?: string + url: string icons?: string[] rpcUrl?: string }