@dynamic-labs/multi-wallet 4.60.0 → 4.61.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/CHANGELOG.md CHANGED
@@ -1,4 +1,34 @@
1
1
 
2
+ ## [4.61.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.60.1...v4.61.0) (2026-02-10)
3
+
4
+
5
+ ### Features
6
+
7
+ * add unlockWallet and getWalletRecoveryState to WaaS ([#10407](https://github.com/dynamic-labs/dynamic-auth/issues/10407)) ([e0d1a28](https://github.com/dynamic-labs/dynamic-auth/commit/e0d1a2830f36eee6c6e84737011e8cf59966122d))
8
+ * add useWalletPassword hook for waas wallet password management ([#10399](https://github.com/dynamic-labs/dynamic-auth/issues/10399)) ([508835f](https://github.com/dynamic-labs/dynamic-auth/commit/508835fb0f4f17b7353a4378f4c254e02f0a46ff))
9
+ * add WaaS unlock and recovery UI to mobile demo ([#10408](https://github.com/dynamic-labs/dynamic-auth/issues/10408)) ([94cdb88](https://github.com/dynamic-labs/dynamic-auth/commit/94cdb882fca3c34d157b42d5208f56812008c43b))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * bump axios to fix high vulnerability ([#10406](https://github.com/dynamic-labs/dynamic-auth/issues/10406)) ([303e2dc](https://github.com/dynamic-labs/dynamic-auth/commit/303e2dcf1e7e8ecad4caf2d74e805ee427c1d00e))
15
+ * patch node-forge CVE-2025-12816 in global-wallet ([#10401](https://github.com/dynamic-labs/dynamic-auth/issues/10401)) ([46e6eb2](https://github.com/dynamic-labs/dynamic-auth/commit/46e6eb28a0add0052299eaa4ac2dcbe8b1faa98c))
16
+
17
+ ### [4.60.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.60.0...v4.60.1) (2026-02-09)
18
+
19
+
20
+ ### Features
21
+
22
+ * add WAAS password handlers to DynamicContextProvider settings ([#10360](https://github.com/dynamic-labs/dynamic-auth/issues/10360)) ([5fc3fa7](https://github.com/dynamic-labs/dynamic-auth/commit/5fc3fa7148c53b64d36672be2d1ae629cb9cdaf8))
23
+ * improve password handling and UI for wallet protection ([#10386](https://github.com/dynamic-labs/dynamic-auth/issues/10386)) ([d27936e](https://github.com/dynamic-labs/dynamic-auth/commit/d27936e5bea37facceefccc0f2507d25a775ad33))
24
+ * pass authToken to wallet recovery operations ([#10379](https://github.com/dynamic-labs/dynamic-auth/issues/10379)) ([294efc7](https://github.com/dynamic-labs/dynamic-auth/commit/294efc7ab5816f63b7e5cc49a150cf9d34d300af))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * override fast-xml-parser to 5.3.4 for CVE-2026-25128 ([#10381](https://github.com/dynamic-labs/dynamic-auth/issues/10381)) ([7fb4c22](https://github.com/dynamic-labs/dynamic-auth/commit/7fb4c221252b84bf38bbdab0b37b8f9a981ebe1a))
30
+ * unlock wallet view error handling and password error UI ([#10388](https://github.com/dynamic-labs/dynamic-auth/issues/10388)) ([5ffc8e1](https://github.com/dynamic-labs/dynamic-auth/commit/5ffc8e1e6dd0d7f32bb94c37ce3674be949f010b))
31
+
2
32
  ## [4.60.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.59.2...v4.60.0) (2026-02-05)
3
33
 
4
34
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.60.0";
6
+ var version = "4.61.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.60.0";
2
+ var version = "4.61.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@dynamic-labs/multi-wallet",
3
- "version": "4.60.0",
3
+ "version": "4.61.0",
4
4
  "dependencies": {
5
- "@dynamic-labs/sdk-api-core": "0.0.860",
5
+ "@dynamic-labs/sdk-api-core": "0.0.864",
6
6
  "tslib": "2.4.1",
7
- "@dynamic-labs/assert-package-version": "4.60.0",
8
- "@dynamic-labs/rpc-providers": "4.60.0",
9
- "@dynamic-labs/types": "4.60.0",
10
- "@dynamic-labs/utils": "4.60.0",
11
- "@dynamic-labs/wallet-book": "4.60.0",
12
- "@dynamic-labs/wallet-connector-core": "4.60.0"
7
+ "@dynamic-labs/assert-package-version": "4.61.0",
8
+ "@dynamic-labs/rpc-providers": "4.61.0",
9
+ "@dynamic-labs/types": "4.61.0",
10
+ "@dynamic-labs/utils": "4.61.0",
11
+ "@dynamic-labs/wallet-book": "4.61.0",
12
+ "@dynamic-labs/wallet-connector-core": "4.61.0"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@walletconnect/types": "2.21.5"
@@ -9,7 +9,12 @@ var getSupportedChainsForWalletConnector = require('../getSupportedChainsForWall
9
9
  // this function will return a list of connectors that are enabled based on the chains that are enabled
10
10
  const getEnabledWallets = (props) => {
11
11
  const supportedWallets = getSupportedWallets.getSupportedWallets(props.getSupportedWalletOpts);
12
- const allEnabledWallets = supportedWallets.filter((wallet) => props.enabledChains.some((chain) => getSupportedChainsForWalletConnector.getSupportedChainsForWalletConnector(props.getSupportedWalletOpts.walletBook, wallet).includes(chain)) || wallet.key === 'magiclink');
12
+ const allEnabledWallets = supportedWallets.filter((wallet) => {
13
+ const supportedChains = getSupportedChainsForWalletConnector.getSupportedChainsForWalletConnector(props.getSupportedWalletOpts.walletBook, wallet);
14
+ const isEnabled = props.enabledChains.some((chain) => supportedChains.includes(chain)) ||
15
+ wallet.key === 'magiclink'; // magic is evm, but disabling evm shouldn't disable magic if we enable sign in with magic email
16
+ return isEnabled;
17
+ });
13
18
  return allEnabledWallets;
14
19
  };
15
20
 
@@ -5,7 +5,12 @@ import { getSupportedChainsForWalletConnector } from '../getSupportedChainsForWa
5
5
  // this function will return a list of connectors that are enabled based on the chains that are enabled
6
6
  const getEnabledWallets = (props) => {
7
7
  const supportedWallets = getSupportedWallets(props.getSupportedWalletOpts);
8
- const allEnabledWallets = supportedWallets.filter((wallet) => props.enabledChains.some((chain) => getSupportedChainsForWalletConnector(props.getSupportedWalletOpts.walletBook, wallet).includes(chain)) || wallet.key === 'magiclink');
8
+ const allEnabledWallets = supportedWallets.filter((wallet) => {
9
+ const supportedChains = getSupportedChainsForWalletConnector(props.getSupportedWalletOpts.walletBook, wallet);
10
+ const isEnabled = props.enabledChains.some((chain) => supportedChains.includes(chain)) ||
11
+ wallet.key === 'magiclink'; // magic is evm, but disabling evm shouldn't disable magic if we enable sign in with magic email
12
+ return isEnabled;
13
+ });
9
14
  return allEnabledWallets;
10
15
  };
11
16
 
@@ -8,6 +8,7 @@ var walletBook = require('@dynamic-labs/wallet-book');
8
8
  const chainStringToChains = {
9
9
  'eip155:1': ['ETH', 'EVM'],
10
10
  'flow:mainnet': ['FLOW'],
11
+ 'ton:mainnet': ['TON'],
11
12
  };
12
13
  const getSupportedChainsForWalletConnector = (walletBook$1, walletConnector) => {
13
14
  var _a;
@@ -4,6 +4,7 @@ import { findWalletBookWallet } from '@dynamic-labs/wallet-book';
4
4
  const chainStringToChains = {
5
5
  'eip155:1': ['ETH', 'EVM'],
6
6
  'flow:mainnet': ['FLOW'],
7
+ 'ton:mainnet': ['TON'],
7
8
  };
8
9
  const getSupportedChainsForWalletConnector = (walletBook, walletConnector) => {
9
10
  var _a;