@dynamic-labs/client 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 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
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.18.8";
6
+ var version = "4.19.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.18.8";
2
+ var version = "4.19.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/client",
3
- "version": "4.18.8",
3
+ "version": "4.19.1",
4
4
  "description": "Core package for utilizing Dynamic's sdk",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -19,10 +19,10 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@vue/reactivity": "^3.4.21",
22
- "@dynamic-labs/assert-package-version": "4.18.8",
23
- "@dynamic-labs/logger": "4.18.8",
24
- "@dynamic-labs/message-transport": "4.18.8",
25
- "@dynamic-labs/types": "4.18.8",
22
+ "@dynamic-labs/assert-package-version": "4.19.1",
23
+ "@dynamic-labs/logger": "4.19.1",
24
+ "@dynamic-labs/message-transport": "4.19.1",
25
+ "@dynamic-labs/types": "4.19.1",
26
26
  "eventemitter3": "5.0.1"
27
27
  },
28
28
  "peerDependencies": {}
@@ -9,12 +9,14 @@ var initializationModule = require('./modules/initializationModule/initializatio
9
9
  var manifestModule = require('./modules/manifestModule/manifestModule.cjs');
10
10
 
11
11
  const createCore = (props) => {
12
- const messageTransport$1 = messageTransport.applyDefaultMessageOrigin({
13
- defaultOrigin: 'host',
14
- messageTransport: messageTransport.makeWaitForInitEvent({
15
- bypassBlockIf: (message) => message.origin === 'webview',
16
- initializeMessageType: messageTransport.sdkHasLoadedEventName,
17
- messageTransport: messageTransport.createMessageTransport(),
12
+ const messageTransport$1 = messageTransport.applyRecoveryManager({
13
+ messageTransport: messageTransport.applyDefaultMessageOrigin({
14
+ defaultOrigin: 'host',
15
+ messageTransport: messageTransport.makeWaitForInitEvent({
16
+ bypassBlockIf: (message) => message.origin === 'webview',
17
+ initializeMessageType: messageTransport.sdkHasLoadedEventName,
18
+ messageTransport: messageTransport.createMessageTransport(),
19
+ }),
18
20
  }),
19
21
  });
20
22
  // Uncomment this to easily debug incoming/outgoing messages to webview
@@ -32,7 +32,7 @@ export declare const createCore: (props: ClientProps) => {
32
32
  * Note: Doesn't implement forwarding messages to/from webview yet.
33
33
  * The user is expected to extend the client with an Extension that implements that.
34
34
  */
35
- messageTransport: import("@dynamic-labs/message-transport").MessageTransport & {
35
+ messageTransport: import("dist/packages/message-transport/src/messageTransport/decorators/applyRecoveryManager").WithRecoveryManager<import("@dynamic-labs/message-transport").MessageTransport & {
36
36
  emit: (message: import("@dynamic-labs/message-transport").MessageTransportData, options?: {
37
37
  onEmit?: VoidFunction | undefined;
38
38
  } | undefined) => void;
@@ -42,5 +42,5 @@ export declare const createCore: (props: ClientProps) => {
42
42
  } & {
43
43
  defaultOrigin: "webview" | "host";
44
44
  emit: (message: import("@dynamic-labs/message-transport").MessageTransportDataOptionalOrigin) => void;
45
- };
45
+ }>;
46
46
  };
@@ -1,16 +1,18 @@
1
1
  'use client'
2
2
  import { reactive } from '@vue/reactivity';
3
- import { applyDefaultMessageOrigin, makeWaitForInitEvent, sdkHasLoadedEventName, createMessageTransport } from '@dynamic-labs/message-transport';
3
+ import { applyRecoveryManager, applyDefaultMessageOrigin, makeWaitForInitEvent, sdkHasLoadedEventName, createMessageTransport } from '@dynamic-labs/message-transport';
4
4
  import { createInitializationModule } from './modules/initializationModule/initializationModule.js';
5
5
  import { createManifestModule } from './modules/manifestModule/manifestModule.js';
6
6
 
7
7
  const createCore = (props) => {
8
- const messageTransport = applyDefaultMessageOrigin({
9
- defaultOrigin: 'host',
10
- messageTransport: makeWaitForInitEvent({
11
- bypassBlockIf: (message) => message.origin === 'webview',
12
- initializeMessageType: sdkHasLoadedEventName,
13
- messageTransport: createMessageTransport(),
8
+ const messageTransport = applyRecoveryManager({
9
+ messageTransport: applyDefaultMessageOrigin({
10
+ defaultOrigin: 'host',
11
+ messageTransport: makeWaitForInitEvent({
12
+ bypassBlockIf: (message) => message.origin === 'webview',
13
+ initializeMessageType: sdkHasLoadedEventName,
14
+ messageTransport: createMessageTransport(),
15
+ }),
14
16
  }),
15
17
  });
16
18
  // Uncomment this to easily debug incoming/outgoing messages to webview