diff --git a/src/helpers/defaultConnectors.ts b/src/helpers/defaultConnectors.ts index fe962cd..55119ce 100644 --- a/src/helpers/defaultConnectors.ts +++ b/src/helpers/defaultConnectors.ts @@ -10,7 +10,7 @@ export const defaultConnectors = ({ argentMobileOptions, webWalletUrl, }: { - argentMobileOptions?: ArgentMobileConnectorOptions + argentMobileOptions: ArgentMobileConnectorOptions webWalletUrl?: string }): StarknetkitConnector[] => { const isSafari = diff --git a/src/hooks/useStarknetkitConnectModal.ts b/src/hooks/useStarknetkitConnectModal.ts index cba6767..23e0061 100644 --- a/src/hooks/useStarknetkitConnectModal.ts +++ b/src/hooks/useStarknetkitConnectModal.ts @@ -6,7 +6,7 @@ type UseStarknetkitConnectors = { } const useStarknetkitConnectModal = ( - options: Omit, + options: Omit, ): UseStarknetkitConnectors => { const starknetkitConnectModal = async (): Promise => { return await connect({ diff --git a/src/main.ts b/src/main.ts index 0077aec..0c2ee84 100644 --- a/src/main.ts +++ b/src/main.ts @@ -26,7 +26,7 @@ export const connect = async ({ connectors = [], resultType = "wallet", ...restOptions -}: ConnectOptions = {}): Promise => { +}: ConnectOptions): Promise => { // force null in case it was disconnected from mobile app selectedConnector = null const availableConnectors = diff --git a/src/window/modal.ts b/src/window/modal.ts index c31455f..26e66c7 100644 --- a/src/window/modal.ts +++ b/src/window/modal.ts @@ -10,7 +10,7 @@ import type { export type StoreVersion = "chrome" | "firefox" | "edge" export interface ConnectOptions extends GetWalletOptions { - argentMobileOptions?: ArgentMobileConnectorOptions + argentMobileOptions: ArgentMobileConnectorOptions dappName?: string connectors?: StarknetkitConnector[] modalMode?: "alwaysAsk" | "canAsk" | "neverAsk"