@web3auth/modal 6.0.2-alpha.0 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3auth/modal",
3
- "version": "6.0.2-alpha.0",
3
+ "version": "6.1.0",
4
4
  "homepage": "https://github.com/Web3Auth/Web3Auth#readme",
5
5
  "license": "ISC",
6
6
  "main": "dist/modal.cjs.js",
@@ -19,18 +19,18 @@
19
19
  "pre-commit": "lint-staged --cwd ."
20
20
  },
21
21
  "dependencies": {
22
- "@web3auth/base": "^6.0.1-alpha.0",
23
- "@web3auth/base-provider": "^6.0.1-alpha.0",
24
- "@web3auth/ethereum-provider": "^6.0.1-alpha.0",
25
- "@web3auth/metamask-adapter": "^6.0.1-alpha.0",
26
- "@web3auth/no-modal": "^6.0.2-alpha.0",
27
- "@web3auth/openlogin-adapter": "^6.0.1-alpha.0",
28
- "@web3auth/phantom-adapter": "^6.0.1-alpha.0",
29
- "@web3auth/solana-provider": "^6.0.1-alpha.0",
30
- "@web3auth/torus-evm-adapter": "^6.0.1-alpha.0",
31
- "@web3auth/torus-solana-adapter": "^6.0.1-alpha.0",
32
- "@web3auth/ui": "^6.0.1-alpha.0",
33
- "@web3auth/wallet-connect-v2-adapter": "^6.0.1-alpha.0"
22
+ "@web3auth/base": "^6.0.1",
23
+ "@web3auth/base-provider": "^6.1.0",
24
+ "@web3auth/ethereum-provider": "^6.1.0",
25
+ "@web3auth/metamask-adapter": "^6.0.1",
26
+ "@web3auth/no-modal": "^6.1.0",
27
+ "@web3auth/openlogin-adapter": "^6.1.0",
28
+ "@web3auth/phantom-adapter": "^6.1.0",
29
+ "@web3auth/solana-provider": "^6.1.0",
30
+ "@web3auth/torus-evm-adapter": "^6.0.1",
31
+ "@web3auth/torus-solana-adapter": "^6.1.0",
32
+ "@web3auth/ui": "^6.0.1",
33
+ "@web3auth/wallet-connect-v2-adapter": "^6.1.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@svgr/webpack": "^8.0.1",
@@ -71,5 +71,5 @@
71
71
  "node": ">=16.18.1",
72
72
  "npm": ">=8.x"
73
73
  },
74
- "gitHead": "cbc2a351dae27f9ec430341e18d22c6b6d0e0358"
74
+ "gitHead": "972260f16dbe48b1f403dac3a8b123967223f73e"
75
75
  }
package/src/default.ts CHANGED
@@ -12,7 +12,7 @@ export async function getPrivateKeyProvider(chainConfig: CustomChainConfig): Pro
12
12
  } else if (chainConfig.chainNamespace === CHAIN_NAMESPACES.OTHER) {
13
13
  // Modal doesn't support ripple provider
14
14
  // Can always override this with a custom provider
15
- return new CommonPrivateKeyProvider();
15
+ return new CommonPrivateKeyProvider({ config: { chainConfig } });
16
16
  }
17
17
  throw new Error(`Invalid chainNamespace: ${chainConfig.chainNamespace} found while connecting to wallet`);
18
18
  }