@dynamic-labs/ethereum 5.13.0 → 5.15.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 +38 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/EthereumWalletConnectors.cjs +0 -1
- package/src/EthereumWalletConnectors.js +0 -1
- package/src/index.cjs +0 -2
- package/src/index.js +0 -1
- package/src/injected/InjectedWalletBase.d.ts +3 -3
- package/src/injected/fetchInjectedWalletConnectors.cjs +0 -2
- package/src/injected/fetchInjectedWalletConnectors.js +0 -2
- package/src/injected/index.d.ts +0 -1
- package/src/injected/ExodusEvm.cjs +0 -18
- package/src/injected/ExodusEvm.d.ts +0 -6
- package/src/injected/ExodusEvm.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.15.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.14.0...v5.15.0) (2026-11-05)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* **wallet-book:** the ExodusEvm connector export and the exodus,
|
|
8
|
+
exodusevm and exodussol wallet-book entries are removed
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **tron:** support MetaMask via @metamask/connect-tron adapter ([#12671](https://github.com/dynamic-labs/dynamic-auth/issues/12671)) ([9b5bd65](https://github.com/dynamic-labs/dynamic-auth/commit/9b5bd65e51a0827fc06521804301fb4334698db5))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **deps:** bump joi to 17.13.9 for GHSA-4528-x5fx-h6hg ([#12685](https://github.com/dynamic-labs/dynamic-auth/issues/12685)) ([4b48f61](https://github.com/dynamic-labs/dynamic-auth/commit/4b48f6161cfac51820f3c3eb243bdaeedfdb974c))
|
|
18
|
+
* **deps:** override decode-uri-component to 0.5.1 for GHSA-qr28-fpjm-wq7f ([#12674](https://github.com/dynamic-labs/dynamic-auth/issues/12674)) ([5679fbe](https://github.com/dynamic-labs/dynamic-auth/commit/5679fbe96bef807b044d2af55cbef4583263e34a)), closes [#1203](https://github.com/dynamic-labs/dynamic-auth/issues/1203) [#1205](https://github.com/dynamic-labs/dynamic-auth/issues/1205) [#1206](https://github.com/dynamic-labs/dynamic-auth/issues/1206) [#1173](https://github.com/dynamic-labs/dynamic-auth/issues/1173) [#1176](https://github.com/dynamic-labs/dynamic-auth/issues/1176) [#1114](https://github.com/dynamic-labs/dynamic-auth/issues/1114) [#1115](https://github.com/dynamic-labs/dynamic-auth/issues/1115) [#12645](https://github.com/dynamic-labs/dynamic-auth/issues/12645)
|
|
19
|
+
* **iconic:** add Zerion wallet icon ([#12650](https://github.com/dynamic-labs/dynamic-auth/issues/12650)) ([578615c](https://github.com/dynamic-labs/dynamic-auth/commit/578615cc81245295624833ce307ade1c1630d9f7))
|
|
20
|
+
* **sdk-react-core:** default wallet return redirectUrl to current page ([#12659](https://github.com/dynamic-labs/dynamic-auth/issues/12659)) ([c41c9ef](https://github.com/dynamic-labs/dynamic-auth/commit/c41c9ef639ebcc505425d5f7014d695189d02835))
|
|
21
|
+
* **sdk-react-core:** scroll the whole modal box on the collect user data screen ([#12698](https://github.com/dynamic-labs/dynamic-auth/issues/12698)) ([6bafd1f](https://github.com/dynamic-labs/dynamic-auth/commit/6bafd1ff4732b8f9ae8f16622331b9b080300107))
|
|
22
|
+
* **waas-svm:** keep the blockhash of a transaction another key already signed ([#12676](https://github.com/dynamic-labs/dynamic-auth/issues/12676)) ([74bf588](https://github.com/dynamic-labs/dynamic-auth/commit/74bf588ae72a24f7951451ef791a3eebe6f5baf4))
|
|
23
|
+
* **waas:** wire elevated access token provider on all WaaS connectors ([#12711](https://github.com/dynamic-labs/dynamic-auth/issues/12711)) ([1c343be](https://github.com/dynamic-labs/dynamic-auth/commit/1c343bee5b6e04219be513e24afb16d5ac652723))
|
|
24
|
+
* **wallet-book:** restore Magic Eden WalletConnect connect flow on mobile ([#12657](https://github.com/dynamic-labs/dynamic-auth/issues/12657)) ([740026a](https://github.com/dynamic-labs/dynamic-auth/commit/740026a6637f441049678e563d36ffdac5e61e8b))
|
|
25
|
+
* **wallet-book:** use Backpack's ul/v1/browse link for the in-app browser ([#12702](https://github.com/dynamic-labs/dynamic-auth/issues/12702)) ([99f8e95](https://github.com/dynamic-labs/dynamic-auth/commit/99f8e956a51baccba3616a76104ab9fba2545847)), closes [#12053](https://github.com/dynamic-labs/dynamic-auth/issues/12053)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
* **wallet-book:** drop Exodus wallets ([#12664](https://github.com/dynamic-labs/dynamic-auth/issues/12664)) ([e3c850f](https://github.com/dynamic-labs/dynamic-auth/commit/e3c850fefb8db92bcd2706fb9b58f92e4a536533))
|
|
29
|
+
|
|
30
|
+
## [5.14.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.13.0...v5.14.0) (2026-10-30)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **bitcoin:** add allowedWitnessScripts to embedded wallet signPsbt ([#12575](https://github.com/dynamic-labs/dynamic-auth/issues/12575)) ([e7709bc](https://github.com/dynamic-labs/dynamic-auth/commit/e7709bc226bc78caa8c7aaae9b25858ca689176e)), closes [#1647](https://github.com/dynamic-labs/dynamic-auth/issues/1647) [#1648](https://github.com/dynamic-labs/dynamic-auth/issues/1648)
|
|
36
|
+
* **legacy-embedded-wallet-migration:** offer passkey recovery when export fails in upgrade flow ([#12640](https://github.com/dynamic-labs/dynamic-auth/issues/12640)) ([eda1d1a](https://github.com/dynamic-labs/dynamic-auth/commit/eda1d1a24f40c5850ae3ffd8049b4a9df45d489e))
|
|
37
|
+
* **webview:** forward policiesConsentLabels manifest field to SDK settings ([#12607](https://github.com/dynamic-labs/dynamic-auth/issues/12607)) ([ce3a9a0](https://github.com/dynamic-labs/dynamic-auth/commit/ce3a9a0840bd80c18401a94cd175c89ade5cc7cc))
|
|
38
|
+
|
|
39
|
+
|
|
2
40
|
## [5.13.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.12.4...v5.13.0) (2026-10-27)
|
|
3
41
|
|
|
4
42
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.15.0",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@coinbase/wallet-sdk": "4.3.7",
|
|
22
|
-
"@dynamic-labs/wallet-connect": "5.
|
|
22
|
+
"@dynamic-labs/wallet-connect": "5.15.0",
|
|
23
23
|
"@dynamic-labs-connectors/base-account-evm": "4.7.1",
|
|
24
24
|
"@dynamic-labs-connectors/metamask-evm": "4.7.1",
|
|
25
25
|
"@walletconnect/ethereum-provider": "2.23.2",
|
|
26
26
|
"eventemitter3": "5.0.1",
|
|
27
27
|
"buffer": "6.0.3",
|
|
28
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
29
|
-
"@dynamic-labs/ethereum-core": "5.
|
|
30
|
-
"@dynamic-labs/logger": "5.
|
|
31
|
-
"@dynamic-labs/rpc-providers": "5.
|
|
32
|
-
"@dynamic-labs/types": "5.
|
|
33
|
-
"@dynamic-labs/utils": "5.
|
|
34
|
-
"@dynamic-labs/waas-evm": "5.
|
|
35
|
-
"@dynamic-labs/wallet-book": "5.
|
|
36
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
28
|
+
"@dynamic-labs/assert-package-version": "5.15.0",
|
|
29
|
+
"@dynamic-labs/ethereum-core": "5.15.0",
|
|
30
|
+
"@dynamic-labs/logger": "5.15.0",
|
|
31
|
+
"@dynamic-labs/rpc-providers": "5.15.0",
|
|
32
|
+
"@dynamic-labs/types": "5.15.0",
|
|
33
|
+
"@dynamic-labs/utils": "5.15.0",
|
|
34
|
+
"@dynamic-labs/waas-evm": "5.15.0",
|
|
35
|
+
"@dynamic-labs/wallet-book": "5.15.0",
|
|
36
|
+
"@dynamic-labs/wallet-connector-core": "5.15.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"viem": "^2.45.3"
|
package/src/index.cjs
CHANGED
|
@@ -8,7 +8,6 @@ var assertPackageVersion = require('@dynamic-labs/assert-package-version');
|
|
|
8
8
|
var _package = require('../package.cjs');
|
|
9
9
|
var ethereumCore = require('@dynamic-labs/ethereum-core');
|
|
10
10
|
var PhantomEvm = require('./injected/PhantomEvm.cjs');
|
|
11
|
-
var ExodusEvm = require('./injected/ExodusEvm.cjs');
|
|
12
11
|
var FallbackEvmConnector = require('./injected/FallbackEvmConnector.cjs');
|
|
13
12
|
var fetchInjectedWalletConnectors = require('./injected/fetchInjectedWalletConnectors.cjs');
|
|
14
13
|
var InjectedWalletBase = require('./injected/InjectedWalletBase.cjs');
|
|
@@ -43,7 +42,6 @@ Object.defineProperty(exports, 'isEthereumWallet', {
|
|
|
43
42
|
get: function () { return ethereumCore.isEthereumWallet; }
|
|
44
43
|
});
|
|
45
44
|
exports.PhantomEvm = PhantomEvm.PhantomEvm;
|
|
46
|
-
exports.ExodusEvm = ExodusEvm.ExodusEvm;
|
|
47
45
|
exports.FallbackEvmConnector = FallbackEvmConnector.FallbackEvmConnector;
|
|
48
46
|
exports.fetchInjectedWalletConnector = fetchInjectedWalletConnectors.fetchInjectedWalletConnector;
|
|
49
47
|
exports.injectedWalletOverrides = fetchInjectedWalletConnectors.injectedWalletOverrides;
|
package/src/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import { assertPackageVersion } from '@dynamic-labs/assert-package-version';
|
|
|
4
4
|
import { version } from '../package.js';
|
|
5
5
|
export { EthereumWalletConnector, createConnector, isEthereumWallet } from '@dynamic-labs/ethereum-core';
|
|
6
6
|
export { PhantomEvm } from './injected/PhantomEvm.js';
|
|
7
|
-
export { ExodusEvm } from './injected/ExodusEvm.js';
|
|
8
7
|
export { FallbackEvmConnector } from './injected/FallbackEvmConnector.js';
|
|
9
8
|
export { fetchInjectedWalletConnector, injectedWalletOverrides } from './injected/fetchInjectedWalletConnectors.js';
|
|
10
9
|
export { InjectedWalletBase as EthereumInjectedConnector } from './injected/InjectedWalletBase.js';
|
|
@@ -44,7 +44,6 @@ export declare abstract class InjectedWalletBase extends EthereumWalletConnector
|
|
|
44
44
|
getAddresses: () => Promise<import("viem").GetAddressesReturnType>;
|
|
45
45
|
getCallsStatus: (parameters: import("viem").GetCallsStatusParameters) => Promise<{
|
|
46
46
|
chainId: number;
|
|
47
|
-
version: string;
|
|
48
47
|
id: string;
|
|
49
48
|
atomic: boolean;
|
|
50
49
|
capabilities?: {
|
|
@@ -53,6 +52,7 @@ export declare abstract class InjectedWalletBase extends EthereumWalletConnector
|
|
|
53
52
|
[x: string]: any;
|
|
54
53
|
} | undefined;
|
|
55
54
|
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
55
|
+
version: string;
|
|
56
56
|
statusCode: number;
|
|
57
57
|
status: "success" | "pending" | "failure" | undefined;
|
|
58
58
|
}>;
|
|
@@ -7266,7 +7266,6 @@ export declare abstract class InjectedWalletBase extends EthereumWalletConnector
|
|
|
7266
7266
|
}>;
|
|
7267
7267
|
sendCallsSync: <const calls_1 extends readonly unknown[], chainOverride_4 extends ViemChain | undefined = undefined>(parameters: import("viem").SendCallsSyncParameters<ViemChain, Account, chainOverride_4, calls_1>) => Promise<{
|
|
7268
7268
|
chainId: number;
|
|
7269
|
-
version: string;
|
|
7270
7269
|
id: string;
|
|
7271
7270
|
atomic: boolean;
|
|
7272
7271
|
capabilities?: {
|
|
@@ -7275,6 +7274,7 @@ export declare abstract class InjectedWalletBase extends EthereumWalletConnector
|
|
|
7275
7274
|
[x: string]: any;
|
|
7276
7275
|
} | undefined;
|
|
7277
7276
|
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
7277
|
+
version: string;
|
|
7278
7278
|
statusCode: number;
|
|
7279
7279
|
status: "success" | "pending" | "failure" | undefined;
|
|
7280
7280
|
}>;
|
|
@@ -8681,7 +8681,6 @@ export declare abstract class InjectedWalletBase extends EthereumWalletConnector
|
|
|
8681
8681
|
switchChain: (args: import("viem").SwitchChainParameters) => Promise<void>;
|
|
8682
8682
|
waitForCallsStatus: (parameters: import("viem").WaitForCallsStatusParameters) => Promise<{
|
|
8683
8683
|
chainId: number;
|
|
8684
|
-
version: string;
|
|
8685
8684
|
id: string;
|
|
8686
8685
|
atomic: boolean;
|
|
8687
8686
|
capabilities?: {
|
|
@@ -8690,6 +8689,7 @@ export declare abstract class InjectedWalletBase extends EthereumWalletConnector
|
|
|
8690
8689
|
[x: string]: any;
|
|
8691
8690
|
} | undefined;
|
|
8692
8691
|
receipts?: import("viem").WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
8692
|
+
version: string;
|
|
8693
8693
|
statusCode: number;
|
|
8694
8694
|
status: "success" | "pending" | "failure" | undefined;
|
|
8695
8695
|
}>;
|
|
@@ -8,11 +8,9 @@ var utils = require('@dynamic-labs/utils');
|
|
|
8
8
|
var getConnectorConstructorForEip6963Wallet = require('../utils/getConnectorConstructorForEip6963Wallet/getConnectorConstructorForEip6963Wallet.cjs');
|
|
9
9
|
var getConnectorConstructorInjectedWallet = require('../utils/getConnectorConstructorInjectedWallet/getConnectorConstructorInjectedWallet.cjs');
|
|
10
10
|
var PhantomEvm = require('./PhantomEvm.cjs');
|
|
11
|
-
var ExodusEvm = require('./ExodusEvm.cjs');
|
|
12
11
|
|
|
13
12
|
const injectedWalletOverrides = [
|
|
14
13
|
PhantomEvm.PhantomEvm,
|
|
15
|
-
ExodusEvm.ExodusEvm,
|
|
16
14
|
];
|
|
17
15
|
let removeEip6963EventsListener;
|
|
18
16
|
// should add eip6963 connector only if not in wallet-book, to avoid adding duplicate connectors
|
|
@@ -4,11 +4,9 @@ import { Eip6963ProviderSingleton, sanitizeName, listenToEip6963Events } from '@
|
|
|
4
4
|
import { getConnectorConstructorForEip6963Wallet } from '../utils/getConnectorConstructorForEip6963Wallet/getConnectorConstructorForEip6963Wallet.js';
|
|
5
5
|
import { getConnectorConstructorInjectedWallet } from '../utils/getConnectorConstructorInjectedWallet/getConnectorConstructorInjectedWallet.js';
|
|
6
6
|
import { PhantomEvm } from './PhantomEvm.js';
|
|
7
|
-
import { ExodusEvm } from './ExodusEvm.js';
|
|
8
7
|
|
|
9
8
|
const injectedWalletOverrides = [
|
|
10
9
|
PhantomEvm,
|
|
11
|
-
ExodusEvm,
|
|
12
10
|
];
|
|
13
11
|
let removeEip6963EventsListener;
|
|
14
12
|
// should add eip6963 connector only if not in wallet-book, to avoid adding duplicate connectors
|
package/src/injected/index.d.ts
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var InjectedWalletBase = require('./InjectedWalletBase.cjs');
|
|
7
|
-
|
|
8
|
-
// leaving ExodusEvm in here due to a backwards compatibility issue with this one wallet and v18
|
|
9
|
-
class ExodusEvm extends InjectedWalletBase.InjectedWalletBase {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.name = 'ExodusEvm';
|
|
13
|
-
this.overrideKey = 'exodusevm';
|
|
14
|
-
this.walletConnectorFallback = true;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
exports.ExodusEvm = ExodusEvm;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
import { InjectedWalletBase } from './InjectedWalletBase.js';
|
|
3
|
-
|
|
4
|
-
// leaving ExodusEvm in here due to a backwards compatibility issue with this one wallet and v18
|
|
5
|
-
class ExodusEvm extends InjectedWalletBase {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.name = 'ExodusEvm';
|
|
9
|
-
this.overrideKey = 'exodusevm';
|
|
10
|
-
this.walletConnectorFallback = true;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { ExodusEvm };
|