@dynamic-labs/multi-wallet 4.39.0 → 4.40.1

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,23 @@
1
1
 
2
+ ### [4.40.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.0...v4.40.1) (2025-10-24)
3
+
4
+ ### Bug Fixes
5
+
6
+ * add support for Keplr in-app browser redirect for cosmos chain ([#9770](https://github.com/dynamic-labs/dynamic-auth/issues/9770)) ([35652f3](https://github.com/dynamic-labs/dynamic-auth/commit/35652f3167a4e768f5d4c634ab1b4f127fd5076a))
7
+
8
+ ## [4.40.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.39.0...v4.40.0) (2025-10-22)
9
+
10
+
11
+ ### Features
12
+
13
+ * add Wallet Connect Solana as a wallet option ([#9719](https://github.com/dynamic-labs/dynamic-auth/issues/9719)) ([ece5f6b](https://github.com/dynamic-labs/dynamic-auth/commit/ece5f6b36c1fbefdf05cf8203fe0fee0b2e8ed3d))
14
+ * make updates to crypto.com onramp flow ([#9746](https://github.com/dynamic-labs/dynamic-auth/issues/9746)) ([22040d2](https://github.com/dynamic-labs/dynamic-auth/commit/22040d28d0d66b84f5c3be9bed4cfce7f1978944))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * return undefined if json payload is undefined in parse token ([#9750](https://github.com/dynamic-labs/dynamic-auth/issues/9750)) ([5751198](https://github.com/dynamic-labs/dynamic-auth/commit/575119867c93f89062e96e30c02b128161fb9675))
20
+
2
21
  ## [4.39.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.38.0...v4.39.0) (2025-10-17)
3
22
 
4
23
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.39.0";
6
+ var version = "4.40.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.39.0";
2
+ var version = "4.40.1";
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.39.0",
3
+ "version": "4.40.1",
4
4
  "dependencies": {
5
- "@dynamic-labs/sdk-api-core": "0.0.809",
5
+ "@dynamic-labs/sdk-api-core": "0.0.813",
6
6
  "tslib": "2.4.1",
7
- "@dynamic-labs/assert-package-version": "4.39.0",
8
- "@dynamic-labs/rpc-providers": "4.39.0",
9
- "@dynamic-labs/types": "4.39.0",
10
- "@dynamic-labs/utils": "4.39.0",
11
- "@dynamic-labs/wallet-book": "4.39.0",
12
- "@dynamic-labs/wallet-connector-core": "4.39.0"
7
+ "@dynamic-labs/assert-package-version": "4.40.1",
8
+ "@dynamic-labs/rpc-providers": "4.40.1",
9
+ "@dynamic-labs/types": "4.40.1",
10
+ "@dynamic-labs/utils": "4.40.1",
11
+ "@dynamic-labs/wallet-book": "4.40.1",
12
+ "@dynamic-labs/wallet-connector-core": "4.40.1"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@walletconnect/types": "2.21.5"
@@ -38,4 +38,6 @@ export declare const getApiProviders: (providers: Provider[]) => {
38
38
  blockaid?: Provider | undefined;
39
39
  passkey?: Provider | undefined;
40
40
  okta?: Provider | undefined;
41
+ sendgrid?: Provider | undefined;
42
+ resend?: Provider | undefined;
41
43
  };
@@ -39,10 +39,10 @@ const getSupportedWallets = (args) => {
39
39
  (!((_a = walletConnector.metadata) === null || _a === void 0 ? void 0 : _a.id) ||
40
40
  !disabledConnectors.includes(walletConnector.metadata.id));
41
41
  })
42
- // initialize the wallet connector if it's not a WalletConnect connector
43
- // or just the generic 'walletconnect' connector, not other WC connectors
42
+ // Don't auto initialize WalletConnect EVM connectors that are not the main "WalletConnect" connector
44
43
  .map((walletConnector) => {
45
44
  if (!(walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.isWalletConnect) ||
45
+ walletConnector.connectedChain === 'SOL' ||
46
46
  walletConnector.key === 'walletconnect') {
47
47
  walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.init();
48
48
  }
@@ -35,10 +35,10 @@ const getSupportedWallets = (args) => {
35
35
  (!((_a = walletConnector.metadata) === null || _a === void 0 ? void 0 : _a.id) ||
36
36
  !disabledConnectors.includes(walletConnector.metadata.id));
37
37
  })
38
- // initialize the wallet connector if it's not a WalletConnect connector
39
- // or just the generic 'walletconnect' connector, not other WC connectors
38
+ // Don't auto initialize WalletConnect EVM connectors that are not the main "WalletConnect" connector
40
39
  .map((walletConnector) => {
41
40
  if (!(walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.isWalletConnect) ||
41
+ walletConnector.connectedChain === 'SOL' ||
42
42
  walletConnector.key === 'walletconnect') {
43
43
  walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.init();
44
44
  }
@@ -20,6 +20,7 @@ const handleMobileWalletFilter = (connector) => {
20
20
  const hasWalletConnectLink = Boolean((_a = deepLinks === null || deepLinks === void 0 ? void 0 : deepLinks.mobile) === null || _a === void 0 ? void 0 : _a.universal) || Boolean((_b = deepLinks === null || deepLinks === void 0 ? void 0 : deepLinks.mobile) === null || _b === void 0 ? void 0 : _b.native);
21
21
  const shouldShowIfHadDownloadLink = !connector.isWalletConnect ||
22
22
  connector.key === 'walletconnect' ||
23
+ connector.key === 'walletconnectsol' ||
23
24
  hasWalletConnectLink;
24
25
  const walletLinks = walletConnectorCore.getWalletLinks(downloadLinks);
25
26
  if (utils.isIPad() || utils.isIPhone()) {
@@ -16,6 +16,7 @@ const handleMobileWalletFilter = (connector) => {
16
16
  const hasWalletConnectLink = Boolean((_a = deepLinks === null || deepLinks === void 0 ? void 0 : deepLinks.mobile) === null || _a === void 0 ? void 0 : _a.universal) || Boolean((_b = deepLinks === null || deepLinks === void 0 ? void 0 : deepLinks.mobile) === null || _b === void 0 ? void 0 : _b.native);
17
17
  const shouldShowIfHadDownloadLink = !connector.isWalletConnect ||
18
18
  connector.key === 'walletconnect' ||
19
+ connector.key === 'walletconnectsol' ||
19
20
  hasWalletConnectLink;
20
21
  const walletLinks = getWalletLinks(downloadLinks);
21
22
  if (isIPad() || isIPhone()) {
@@ -60,6 +60,8 @@ export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appNam
60
60
  blockaid?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
61
61
  passkey?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
62
62
  okta?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
63
+ sendgrid?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
64
+ resend?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
63
65
  };
64
66
  appLogoUrl: string | undefined;
65
67
  appName: string | undefined;