diff --git a/package.json b/package.json index 1bf275d..19e115d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wpdas/naxios", - "version": "2.2.2", + "version": "2.2.3", "description": "Promise based NEAR Contract and NEAR Wallet client for browser", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/src/managers/types.ts b/src/managers/types.ts index 22a3ca5..5f74d58 100644 --- a/src/managers/types.ts +++ b/src/managers/types.ts @@ -77,7 +77,10 @@ export type BuildViewInterfaceConfig = { export type NaxiosConstructor = Pick & { contractId: string network: Network - walletSelectorModules?: WalletModuleFactory[] + // INFO: included since version 2.2.3 to support the new WalletModuleFactory type + walletSelectorModules?: any[] + // INFO: removed since version 2.2.3 (version 2.2.1 and 2.2.1 was using a different version of this WalletModuleFactory) + // walletSelectorModules?: WalletModuleFactory[] // cache?: MemoryCache | StorageCache onInit?: () => void }