@dynamic-labs/viem-extension 4.18.7 → 4.19.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 CHANGED
@@ -1,4 +1,27 @@
1
1
 
2
+ ## [4.19.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.8...v4.19.0) (2025-05-23)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+ * 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))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **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))
14
+ * 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))
15
+ * 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))
16
+ * standardize font on headers ([#8734](https://github.com/dynamic-labs/dynamic-auth/issues/8734)) ([9f0900c](https://github.com/dynamic-labs/dynamic-auth/commit/9f0900cb7c4294201cc952ae7538648bdea83ff5))
17
+
18
+ ### [4.18.8](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.7...v4.18.8) (2025-05-22)
19
+
20
+ ### Bug Fixes
21
+
22
+ * allow closing widget right after login ([#8760](https://github.com/dynamic-labs/dynamic-auth/issues/8760)) ([a9afff0](https://github.com/dynamic-labs/dynamic-auth/commit/a9afff0ab2a685853b39aed88e10bf1e700e4c8c))
23
+ * user wallets turning empty when linking new wallets ([#8775](https://github.com/dynamic-labs/dynamic-auth/issues/8775)) ([04215f5](https://github.com/dynamic-labs/dynamic-auth/commit/04215f5307e16ec4e1a7ff235a0d7df2340c3447))
24
+
2
25
  ### [4.18.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.6...v4.18.7) (2025-05-21)
3
26
 
4
27
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.18.7";
6
+ var version = "4.19.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.18.7";
2
+ var version = "4.19.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/viem-extension",
3
- "version": "4.18.7",
3
+ "version": "4.19.0",
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.18.7",
21
- "@dynamic-labs/client": "4.18.7",
22
- "@dynamic-labs/message-transport": "4.18.7",
23
- "@dynamic-labs/types": "4.18.7"
20
+ "@dynamic-labs/assert-package-version": "4.19.0",
21
+ "@dynamic-labs/client": "4.19.0",
22
+ "@dynamic-labs/message-transport": "4.19.0",
23
+ "@dynamic-labs/types": "4.19.0"
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), { account: wallet.address, chain: (_b = params.chain) !== null && _b !== void 0 ? _b : getChainFromId(network), transport: viem.custom(providerProxy, {
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), { account: wallet.address, chain: (_b = params.chain) !== null && _b !== void 0 ? _b : getChainFromId(network), transport: custom(providerProxy, {
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' | 'account'> & {
12
+ export type WalletClientConfigDynamic<C extends Chain | undefined> = Omit<WalletClientConfig<CustomTransport, C>, 'transport'> & {
13
13
  wallet: BaseWallet;
14
14
  };
15
15
  export type IViemExtension = {