@dynamic-labs/viem-extension 4.18.8 → 4.19.1
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 +23 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +5 -5
- package/src/ViemExtension/createWalletClientForDynamic/createWalletClientForDynamic.cjs +1 -1
- package/src/ViemExtension/createWalletClientForDynamic/createWalletClientForDynamic.js +1 -1
- package/src/types.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.19.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.0...v4.19.1) (2025-05-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **react-native:** reload webview when disconnected ([#8765](https://github.com/dynamic-labs/dynamic-auth/issues/8765)) ([addf90b](https://github.com/dynamic-labs/dynamic-auth/commit/addf90b6fccbe4b883e9778cf7a07e0471f85318))
|
|
8
|
+
|
|
9
|
+
## [4.19.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.8...v4.19.0) (2025-05-23)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* expose 7702 kernel and add viem controller ([#8786](https://github.com/dynamic-labs/dynamic-auth/issues/8786)) ([eea710e](https://github.com/dynamic-labs/dynamic-auth/commit/eea710e238ccbc36e6be37d8f7493954b99858ef))
|
|
15
|
+
* use browser wallet client & iframe for waas operations ([#8697](https://github.com/dynamic-labs/dynamic-auth/issues/8697)) ([13a47b1](https://github.com/dynamic-labs/dynamic-auth/commit/13a47b1c9a2984f08682e833ca8c87605a3a872f))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **global-wallet:** close popup when page unloads to prevent orphaned popup windows ([#8787](https://github.com/dynamic-labs/dynamic-auth/issues/8787)) ([441b04c](https://github.com/dynamic-labs/dynamic-auth/commit/441b04ca04a02feb37473e43bca0e66c5d772ce2))
|
|
21
|
+
* override network when requesting BTC networks in useTokenBalances ([#8773](https://github.com/dynamic-labs/dynamic-auth/issues/8773)) ([fd07d09](https://github.com/dynamic-labs/dynamic-auth/commit/fd07d09de970c7e6f85b251a88854e8eca57e249))
|
|
22
|
+
* remove libmpc executor dependency global wallet ([#8792](https://github.com/dynamic-labs/dynamic-auth/issues/8792)) ([7502585](https://github.com/dynamic-labs/dynamic-auth/commit/75025859d2f952915322cf65504117ec2506152b))
|
|
23
|
+
* standardize font on headers ([#8734](https://github.com/dynamic-labs/dynamic-auth/issues/8734)) ([9f0900c](https://github.com/dynamic-labs/dynamic-auth/commit/9f0900cb7c4294201cc952ae7538648bdea83ff5))
|
|
24
|
+
|
|
2
25
|
### [4.18.8](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.7...v4.18.8) (2025-05-22)
|
|
3
26
|
|
|
4
27
|
### Bug Fixes
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/viem-extension",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.1",
|
|
4
4
|
"main": "./src/index.cjs",
|
|
5
5
|
"module": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"viem": "^2.28.4"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
21
|
-
"@dynamic-labs/client": "4.
|
|
22
|
-
"@dynamic-labs/message-transport": "4.
|
|
23
|
-
"@dynamic-labs/types": "4.
|
|
20
|
+
"@dynamic-labs/assert-package-version": "4.19.1",
|
|
21
|
+
"@dynamic-labs/client": "4.19.1",
|
|
22
|
+
"@dynamic-labs/message-transport": "4.19.1",
|
|
23
|
+
"@dynamic-labs/types": "4.19.1"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -47,7 +47,7 @@ const createWalletClientForDynamic = (messageTransport$1, _a) => _tslib.__awaite
|
|
|
47
47
|
const { network } = yield walletRequestChannel.request('getNetwork', {
|
|
48
48
|
wallet,
|
|
49
49
|
});
|
|
50
|
-
return viem.createWalletClient(Object.assign(Object.assign({}, params), {
|
|
50
|
+
return viem.createWalletClient(Object.assign(Object.assign({ account: wallet.address }, params), { chain: (_b = params.chain) !== null && _b !== void 0 ? _b : getChainFromId(network), transport: viem.custom(providerProxy, {
|
|
51
51
|
key: 'dynamic-client-transport',
|
|
52
52
|
name: 'Dynamic Client Transport',
|
|
53
53
|
retryCount: 3,
|
|
@@ -23,7 +23,7 @@ const createWalletClientForDynamic = (messageTransport, _a) => __awaiter(void 0,
|
|
|
23
23
|
const { network } = yield walletRequestChannel.request('getNetwork', {
|
|
24
24
|
wallet,
|
|
25
25
|
});
|
|
26
|
-
return createWalletClient(Object.assign(Object.assign({}, params), {
|
|
26
|
+
return createWalletClient(Object.assign(Object.assign({ account: wallet.address }, params), { chain: (_b = params.chain) !== null && _b !== void 0 ? _b : getChainFromId(network), transport: custom(providerProxy, {
|
|
27
27
|
key: 'dynamic-client-transport',
|
|
28
28
|
name: 'Dynamic Client Transport',
|
|
29
29
|
retryCount: 3,
|
package/src/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type PublicClientConfigDynamic<C extends Chain | undefined> = Omit<Public
|
|
|
9
9
|
/**
|
|
10
10
|
* Params for the createWalletClient method of Dynamic's client
|
|
11
11
|
*/
|
|
12
|
-
export type WalletClientConfigDynamic<C extends Chain | undefined> = Omit<WalletClientConfig<CustomTransport, C>, 'transport'
|
|
12
|
+
export type WalletClientConfigDynamic<C extends Chain | undefined> = Omit<WalletClientConfig<CustomTransport, C>, 'transport'> & {
|
|
13
13
|
wallet: BaseWallet;
|
|
14
14
|
};
|
|
15
15
|
export type IViemExtension = {
|