@dynamic-labs/multi-wallet 4.19.3 → 4.19.5
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 +9 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +7 -7
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.cjs +2 -1
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.d.ts +3 -1
- package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.19.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.4...v4.19.5) (2025-06-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add cleanup for waas connectors ([#8849](https://github.com/dynamic-labs/dynamic-auth/issues/8849)) ([5899169](https://github.com/dynamic-labs/dynamic-auth/commit/5899169abaf7ce86add2b1393cfd9b967da5e388))
|
|
8
|
+
|
|
9
|
+
### [4.19.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.3...v4.19.4) (2025-05-31)
|
|
10
|
+
|
|
2
11
|
### [4.19.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.2...v4.19.3) (2025-05-28)
|
|
3
12
|
|
|
4
13
|
|
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.19.
|
|
3
|
+
"version": "4.19.5",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
6
6
|
"tslib": "2.4.1",
|
|
7
|
-
"@dynamic-labs/assert-package-version": "4.19.
|
|
8
|
-
"@dynamic-labs/rpc-providers": "4.19.
|
|
9
|
-
"@dynamic-labs/types": "4.19.
|
|
10
|
-
"@dynamic-labs/utils": "4.19.
|
|
11
|
-
"@dynamic-labs/wallet-book": "4.19.
|
|
12
|
-
"@dynamic-labs/wallet-connector-core": "4.19.
|
|
7
|
+
"@dynamic-labs/assert-package-version": "4.19.5",
|
|
8
|
+
"@dynamic-labs/rpc-providers": "4.19.5",
|
|
9
|
+
"@dynamic-labs/types": "4.19.5",
|
|
10
|
+
"@dynamic-labs/utils": "4.19.5",
|
|
11
|
+
"@dynamic-labs/wallet-book": "4.19.5",
|
|
12
|
+
"@dynamic-labs/wallet-connector-core": "4.19.5"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@walletconnect/types": "2.19.1"
|
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, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, }) => {
|
|
11
|
+
const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk = true, }) => {
|
|
12
12
|
const eclipseNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.eclipse) || [];
|
|
13
13
|
const evmNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) || [];
|
|
14
14
|
const solanaNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.solana) || [];
|
|
@@ -34,6 +34,7 @@ const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, c
|
|
|
34
34
|
solNetworks: solanaNetworkConfigs,
|
|
35
35
|
starknetNetworks: starknetNetworkConfigs,
|
|
36
36
|
suiNetworks: suiNetworkConfigs,
|
|
37
|
+
useMetamaskSdk,
|
|
37
38
|
walletBook,
|
|
38
39
|
walletConnectPreferredChains,
|
|
39
40
|
walletConnectorEventsEmitter: walletConnectorCore.walletConnectorEvents,
|
package/src/utils/getWalletConnectorConstructorOptions/getWalletConnectorConstructorOptions.d.ts
CHANGED
|
@@ -14,12 +14,13 @@ type WalletConnectorConstructorOptionsParams = {
|
|
|
14
14
|
mobileExperience?: MobileExperience;
|
|
15
15
|
networkConfigurations?: NetworkConfigurationMap;
|
|
16
16
|
settings: ProjectSettings;
|
|
17
|
+
useMetamaskSdk?: boolean;
|
|
17
18
|
walletBook: WalletBookSchema;
|
|
18
19
|
walletConnectProjectId?: string;
|
|
19
20
|
walletUiUtils?: WalletUiUtils<InternalWalletConnector>;
|
|
20
21
|
walletConnectPreferredChains?: `eip155:${number}`[];
|
|
21
22
|
};
|
|
22
|
-
export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, }: WalletConnectorConstructorOptionsParams) => {
|
|
23
|
+
export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk, }: WalletConnectorConstructorOptionsParams) => {
|
|
23
24
|
apiProviders: {
|
|
24
25
|
emailOnly?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
|
|
25
26
|
magicLink?: import("@dynamic-labs/sdk-api-core").Provider | undefined;
|
|
@@ -73,6 +74,7 @@ export declare const getWalletConnectorConstructorOptions: ({ appLogoUrl, appNam
|
|
|
73
74
|
solNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
74
75
|
starknetNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
75
76
|
suiNetworks: import("@dynamic-labs/types").GenericNetwork[];
|
|
77
|
+
useMetamaskSdk: boolean;
|
|
76
78
|
walletBook: {
|
|
77
79
|
groups: Record<string, {
|
|
78
80
|
name: string;
|
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, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, }) => {
|
|
7
|
+
const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, coinbaseWalletPreference, chainRpcProviders, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, settings, walletConnectProjectId, walletUiUtils, walletBook, walletConnectPreferredChains, useMetamaskSdk = true, }) => {
|
|
8
8
|
const eclipseNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.eclipse) || [];
|
|
9
9
|
const evmNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.evm) || [];
|
|
10
10
|
const solanaNetworkConfigs = (networkConfigurations === null || networkConfigurations === void 0 ? void 0 : networkConfigurations.solana) || [];
|
|
@@ -30,6 +30,7 @@ const getWalletConnectorConstructorOptions = ({ appLogoUrl, appName, authMode, c
|
|
|
30
30
|
solNetworks: solanaNetworkConfigs,
|
|
31
31
|
starknetNetworks: starknetNetworkConfigs,
|
|
32
32
|
suiNetworks: suiNetworkConfigs,
|
|
33
|
+
useMetamaskSdk,
|
|
33
34
|
walletBook,
|
|
34
35
|
walletConnectPreferredChains,
|
|
35
36
|
walletConnectorEventsEmitter: walletConnectorEvents,
|