@dynamic-labs/multi-wallet 4.38.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 +21 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/utils/getApiProviders/getApiProviders.d.ts +2 -0
- package/src/utils/getSupportedWallets/getSupportedWallets.cjs +3 -2
- package/src/utils/getSupportedWallets/getSupportedWallets.js +3 -2
- package/src/utils/getSupportedWallets/handleMobileWalletFilter/handleMobileWalletFilter.cjs +1 -0
- package/src/utils/getSupportedWallets/handleMobileWalletFilter/handleMobileWalletFilter.js +1 -0
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
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
|
+
|
|
15
|
+
## [4.39.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.38.0...v4.39.0) (2025-10-17)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add crypto.com as an onramp option in deposit ([#9580](https://github.com/dynamic-labs/dynamic-auth/issues/9580)) ([4988acc](https://github.com/dynamic-labs/dynamic-auth/commit/4988accfeafa5556297ad6e9873073e30c504c7f)), closes [#3](https://github.com/dynamic-labs/dynamic-auth/issues/3)
|
|
21
|
+
* add sui non-native token sending thru dynamic widget ([#9715](https://github.com/dynamic-labs/dynamic-auth/issues/9715)) ([9d9ea3b](https://github.com/dynamic-labs/dynamic-auth/commit/9d9ea3b233706766516b89d725a52d63cceb01f6))
|
|
22
|
+
|
|
2
23
|
## [4.38.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.2...v4.38.0) (2025-10-14)
|
|
3
24
|
|
|
4
25
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/multi-wallet",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.40.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
5
|
+
"@dynamic-labs/sdk-api-core": "0.0.813",
|
|
6
6
|
"tslib": "2.4.1",
|
|
7
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
8
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
9
|
-
"@dynamic-labs/types": "4.
|
|
10
|
-
"@dynamic-labs/utils": "4.
|
|
11
|
-
"@dynamic-labs/wallet-book": "4.
|
|
12
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
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"
|
|
@@ -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()) {
|
package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.d.ts
CHANGED
|
@@ -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;
|