@dynamic-labs/multi-wallet 4.96.3 → 4.97.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 +22 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +7 -7
- package/src/types.d.ts +2 -1
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.cjs +2 -1
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.d.ts +4 -2
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.97.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.96.4...v4.97.0) (2026-08-27)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **screening:** connected-wallet transaction screening [v4 backport] (DYNT-1663) ([#12284](https://github.com/dynamic-labs/dynamic-auth/issues/12284)) ([294adba](https://github.com/dynamic-labs/dynamic-auth/commit/294adba7dba8f321f3b1e8413f73545701e51252)), closes [#12160](https://github.com/dynamic-labs/dynamic-auth/issues/12160) [#12167](https://github.com/dynamic-labs/dynamic-auth/issues/12167) [#12168](https://github.com/dynamic-labs/dynamic-auth/issues/12168) [#12169](https://github.com/dynamic-labs/dynamic-auth/issues/12169) [#12172](https://github.com/dynamic-labs/dynamic-auth/issues/12172)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **screening:** wire connected-wallet screening into the Send Balance UI (DYNT-1663) ([#12289](https://github.com/dynamic-labs/dynamic-auth/issues/12289)) ([1587cd8](https://github.com/dynamic-labs/dynamic-auth/commit/1587cd833370e18fa383f942521500e4c1576390))
|
|
13
|
+
|
|
14
|
+
### [4.96.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.96.3...v4.96.4) (2026-08-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* remediate high-severity tar, nanoid and js-yaml vulnerabilities (v4) ([#12269](https://github.com/dynamic-labs/dynamic-auth/issues/12269)) ([15a32fe](https://github.com/dynamic-labs/dynamic-auth/commit/15a32fe023038efaa3298d6792997a86b5f0cb0b))
|
|
20
|
+
* **transaction-card:** use walletConnector prop for network/fee instead of primaryWallet [v4 backport] ([#12065](https://github.com/dynamic-labs/dynamic-auth/issues/12065)) ([699c42b](https://github.com/dynamic-labs/dynamic-auth/commit/699c42b876eba7e1b0129eda27fa096ba7e567fc)), closes [#12063](https://github.com/dynamic-labs/dynamic-auth/issues/12063)
|
|
21
|
+
* **waas-svm:** instrument sponsorship retry attempts [v4 backport] ([#12282](https://github.com/dynamic-labs/dynamic-auth/issues/12282)) ([b2f2392](https://github.com/dynamic-labs/dynamic-auth/commit/b2f23929093ebb48214c1ddb65b3e56a58e9f8da))
|
|
22
|
+
* **wallet-connect:** reopen WalletConnect IndexedDB when the browser closes the connection (v4 backport) ([#12263](https://github.com/dynamic-labs/dynamic-auth/issues/12263)) ([4d0105d](https://github.com/dynamic-labs/dynamic-auth/commit/4d0105d2343c5bf75f89382e4be01b75413569e7))
|
|
23
|
+
|
|
2
24
|
### [4.96.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.96.2...v4.96.3) (2026-08-19)
|
|
3
25
|
|
|
4
26
|
|
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.97.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
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.97.0",
|
|
8
|
+
"@dynamic-labs/rpc-providers": "4.97.0",
|
|
9
|
+
"@dynamic-labs/types": "4.97.0",
|
|
10
|
+
"@dynamic-labs/utils": "4.97.0",
|
|
11
|
+
"@dynamic-labs/wallet-book": "4.97.0",
|
|
12
|
+
"@dynamic-labs/wallet-connector-core": "4.97.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@walletconnect/types": "2.21.5"
|
package/src/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProjectSettings } from '@dynamic-labs/sdk-api-core';
|
|
2
2
|
import { Chain, WalletConnectorsMethod, DeepLinkVariant, InternalWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
3
|
-
import { type NetworkConfigurationMap, type WalletUiUtils, type CoinbaseWalletPreference, type MobileExperience, type AuthMode } from '@dynamic-labs/types';
|
|
3
|
+
import { type NetworkConfigurationMap, type TransactionScreeningService, type WalletUiUtils, type CoinbaseWalletPreference, type MobileExperience, type AuthMode } from '@dynamic-labs/types';
|
|
4
4
|
import { IChainRpcProviders } from '@dynamic-labs/rpc-providers';
|
|
5
5
|
import { WalletBookSchema } from '@dynamic-labs/wallet-book';
|
|
6
6
|
export type GetSupportedWalletsOpts = {
|
|
@@ -16,6 +16,7 @@ export type GetSupportedWalletsOpts = {
|
|
|
16
16
|
redirectUrl?: string;
|
|
17
17
|
settings: ProjectSettings;
|
|
18
18
|
skipMemo?: boolean;
|
|
19
|
+
transactionScreening?: TransactionScreeningService;
|
|
19
20
|
walletBook: WalletBookSchema;
|
|
20
21
|
walletConnectProjectId?: string;
|
|
21
22
|
walletConnectorsProp: WalletConnectorsMethod[];
|
package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var getEnabledProviders = require('../getEnabledProviders/getEnabledProviders.cj
|
|
|
8
8
|
var getApiProviders = require('../getApiProviders/getApiProviders.cjs');
|
|
9
9
|
var _const = require('../../const.cjs');
|
|
10
10
|
|
|
11
|
-
const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, redirectUrl, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk = true, }) => {
|
|
11
|
+
const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, redirectUrl, settings, transactionScreening, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk = true, }) => {
|
|
12
12
|
const aleoNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.aleo) || [];
|
|
13
13
|
const eclipseNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.eclipse) || [];
|
|
14
14
|
const evmNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) || [];
|
|
@@ -50,6 +50,7 @@ const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, c
|
|
|
50
50
|
suiNetworks: suiNetworkConfigs,
|
|
51
51
|
tempoNetworks: tempoNetworkConfigs,
|
|
52
52
|
tonNetworks: tonNetworkConfigs,
|
|
53
|
+
transactionScreening,
|
|
53
54
|
tronNetworks: tronNetworkConfigs,
|
|
54
55
|
useMetamaskSdk,
|
|
55
56
|
walletBook,
|
package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IChainRpcProviders } from '@dynamic-labs/rpc-providers';
|
|
2
2
|
import { ProjectSettings } from '@dynamic-labs/sdk-api-core';
|
|
3
|
-
import { AuthMode, CoinbaseWalletPreference, MobileExperience, NetworkConfigurationMap, WalletUiUtils } from '@dynamic-labs/types';
|
|
3
|
+
import { AuthMode, CoinbaseWalletPreference, MobileExperience, NetworkConfigurationMap, TransactionScreeningService, WalletUiUtils } from '@dynamic-labs/types';
|
|
4
4
|
import { WalletBookSchema } from '@dynamic-labs/wallet-book';
|
|
5
5
|
import { DeepLinkVariant, InternalWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
6
6
|
type WalletConnectorConstructorOptionsParams = {
|
|
@@ -15,13 +15,14 @@ type WalletConnectorConstructorOptionsParams = {
|
|
|
15
15
|
networkConfigurations?: NetworkConfigurationMap;
|
|
16
16
|
redirectUrl?: string;
|
|
17
17
|
settings: ProjectSettings;
|
|
18
|
+
transactionScreening?: TransactionScreeningService;
|
|
18
19
|
useMetamaskSdk?: boolean;
|
|
19
20
|
walletBook: WalletBookSchema;
|
|
20
21
|
walletConnectProjectId?: string;
|
|
21
22
|
walletUiUtils?: WalletUiUtils<InternalWalletConnector>;
|
|
22
23
|
walletConnectPreferredChains?: `eip155:${number}`[];
|
|
23
24
|
};
|
|
24
|
-
export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, redirectUrl, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk, }: WalletConnectorConstructorOptionsParams) => {
|
|
25
|
+
export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, redirectUrl, settings, transactionScreening, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk, }: WalletConnectorConstructorOptionsParams) => {
|
|
25
26
|
aleoNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
26
27
|
apiProviders: {
|
|
27
28
|
emailOnly?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
|
|
@@ -91,6 +92,7 @@ export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appNam
|
|
|
91
92
|
suiNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
92
93
|
tempoNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
93
94
|
tonNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
95
|
+
transactionScreening: TransactionScreeningService | undefined;
|
|
94
96
|
tronNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
95
97
|
useMetamaskSdk: boolean;
|
|
96
98
|
walletBook: {
|
package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.js
CHANGED
|
@@ -4,7 +4,7 @@ import { getEnabledProviders } from '../getEnabledProviders/getEnabledProviders.
|
|
|
4
4
|
import { getApiProviders } from '../getApiProviders/getApiProviders.js';
|
|
5
5
|
import { defaultWalletUiUtils } from '../../const.js';
|
|
6
6
|
|
|
7
|
-
const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, redirectUrl, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk = true, }) => {
|
|
7
|
+
const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, redirectUrl, settings, transactionScreening, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk = true, }) => {
|
|
8
8
|
const aleoNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.aleo) || [];
|
|
9
9
|
const eclipseNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.eclipse) || [];
|
|
10
10
|
const evmNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) || [];
|
|
@@ -46,6 +46,7 @@ const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, c
|
|
|
46
46
|
suiNetworks: suiNetworkConfigs,
|
|
47
47
|
tempoNetworks: tempoNetworkConfigs,
|
|
48
48
|
tonNetworks: tonNetworkConfigs,
|
|
49
|
+
transactionScreening,
|
|
49
50
|
tronNetworks: tronNetworkConfigs,
|
|
50
51
|
useMetamaskSdk,
|
|
51
52
|
walletBook,
|