@dynamic-labs/multi-wallet 4.39.0 → 4.40.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,17 @@
1
1
 
2
+ ## [4.40.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.39.0...v4.40.0) (2025-10-22)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+ * 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))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 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))
14
+
2
15
  ## [4.39.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.38.0...v4.39.0) (2025-10-17)
3
16
 
4
17
 
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.0";
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.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.39.0",
3
+ "version": "4.40.0",
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.0",
8
+ "@dynamic-labs/rpc-providers": "4.40.0",
9
+ "@dynamic-labs/types": "4.40.0",
10
+ "@dynamic-labs/utils": "4.40.0",
11
+ "@dynamic-labs/wallet-book": "4.40.0",
12
+ "@dynamic-labs/wallet-connector-core": "4.40.0"
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
  };
@@ -40,10 +40,11 @@ const getSupportedWallets = (args) => {
40
40
  !disabledConnectors.includes(walletConnector.metadata.id));
41
41
  })
42
42
  // initialize the wallet connector if it's not a WalletConnect connector
43
- // or just the generic 'walletconnect' connector, not other WC connectors
43
+ // or just the generic 'walletconnect' connector (for both EVM and SOL), not other WC connectors
44
44
  .map((walletConnector) => {
45
45
  if (!(walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.isWalletConnect) ||
46
- walletConnector.key === 'walletconnect') {
46
+ walletConnector.key === 'walletconnect' ||
47
+ walletConnector.key === 'walletconnectsol') {
47
48
  walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.init();
48
49
  }
49
50
  return walletConnector;
@@ -36,10 +36,11 @@ const getSupportedWallets = (args) => {
36
36
  !disabledConnectors.includes(walletConnector.metadata.id));
37
37
  })
38
38
  // initialize the wallet connector if it's not a WalletConnect connector
39
- // or just the generic 'walletconnect' connector, not other WC connectors
39
+ // or just the generic 'walletconnect' connector (for both EVM and SOL), not other WC connectors
40
40
  .map((walletConnector) => {
41
41
  if (!(walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.isWalletConnect) ||
42
- walletConnector.key === 'walletconnect') {
42
+ walletConnector.key === 'walletconnect' ||
43
+ walletConnector.key === 'walletconnectsol') {
43
44
  walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.init();
44
45
  }
45
46
  return walletConnector;
@@ -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;