@dynamic-labs/legacy-client 5.4.0 → 5.6.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 +41 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/client/core/modules/webViewLoadControllerRegistry/webViewLoadControllerRegistry.d.ts +1 -1
- package/src/index.d.ts +2 -1
- package/src/modules/sdkModule/sdkModule.d.ts +1 -1
- package/src/webviewLoad/createWebViewLoadController/createWebViewLoadController.d.ts +1 -1
- package/src/webviewLoad/index.d.ts +1 -1
- package/src/webviewLoad/sdkWebViewLoadState/index.d.ts +1 -1
- package/src/webviewLoad/sdkWebViewLoadState/sdkWebViewLoadState.d.ts +1 -36
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,45 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.6.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.0...v5.6.1) (2026-09-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **sdk-react-core:** drop legacy-client dependency by moving SdkWebViewLoadState to types ([#12314](https://github.com/dynamic-labs/dynamic-auth/issues/12314)) ([8ae0110](https://github.com/dynamic-labs/dynamic-auth/commit/8ae011056604ec28de9daa5ab37c5ec2b6c378bb))
|
|
8
|
+
|
|
9
|
+
## [5.6.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.5.0...v5.6.0) (2026-09-01)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* forward target signer passwords ([#12300](https://github.com/dynamic-labs/dynamic-auth/issues/12300)) ([39b142b](https://github.com/dynamic-labs/dynamic-auth/commit/39b142b51767ad54ae57196a381bec19a892c06f))
|
|
15
|
+
|
|
16
|
+
## [5.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.1...v5.5.0) (2026-08-31)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **waas-evm:** route embedded EVM sends through gas sponsorship when enabled ([#12306](https://github.com/dynamic-labs/dynamic-auth/issues/12306)) ([6046ff3](https://github.com/dynamic-labs/dynamic-auth/commit/6046ff362d8de9402793bdaa7319fda645ff4c04))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **bitcoin:** resolve the active BTC wallet and network correctly across the widget ([#12308](https://github.com/dynamic-labs/dynamic-auth/issues/12308)) ([13e9eae](https://github.com/dynamic-labs/dynamic-auth/commit/13e9eaec19b3925db507c878988cfd82da5a6de6))
|
|
27
|
+
* **btc:** unbreak BTC transaction confirmation, testnet balances and taproot testnet switching ([#12305](https://github.com/dynamic-labs/dynamic-auth/issues/12305)) ([5fd999c](https://github.com/dynamic-labs/dynamic-auth/commit/5fd999c4c819d3a74e967c0cfa77c5877a74906b))
|
|
28
|
+
* **react-native-extension:** stop leaking expo-secure-store into consumer autolinking ([#12296](https://github.com/dynamic-labs/dynamic-auth/issues/12296)) ([1e0396a](https://github.com/dynamic-labs/dynamic-auth/commit/1e0396ab00c79aa0b2f45b6d7b1d339c1dac1203)), closes [#12254](https://github.com/dynamic-labs/dynamic-auth/issues/12254)
|
|
29
|
+
* **screening:** wire connected-wallet screening into the Send Balance UI (DYNT-1663) ([#12303](https://github.com/dynamic-labs/dynamic-auth/issues/12303)) ([5d26ff3](https://github.com/dynamic-labs/dynamic-auth/commit/5d26ff375118302522c39bd2f1fa9e04f7378eaf))
|
|
30
|
+
|
|
31
|
+
### [5.4.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.0...v5.4.1) (2026-08-26)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* **webview-controller:** resolve which keychain key a session belongs to ([#12246](https://github.com/dynamic-labs/dynamic-auth/issues/12246)) ([3d110db](https://github.com/dynamic-labs/dynamic-auth/commit/3d110db831c6e9d82d07d86841f5c7733924b17e))
|
|
37
|
+
* **bitcoin:** forward the password through the BTC importPrivateKey override ([#12278](https://github.com/dynamic-labs/dynamic-auth/issues/12278)) ([21e1df3](https://github.com/dynamic-labs/dynamic-auth/commit/21e1df3e33e96e2efdb15ffa0fd29a441056202e))
|
|
38
|
+
* **react-native-extension:** recover 4.x expo-secure-store sessions on keychain miss ([#12254](https://github.com/dynamic-labs/dynamic-auth/issues/12254)) ([217e991](https://github.com/dynamic-labs/dynamic-auth/commit/217e991838f3073c12e2d2fab7a2e12830faad9e)), closes [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)
|
|
39
|
+
* **transaction-card:** use walletConnector prop for network/fee instead of primaryWallet ([#12063](https://github.com/dynamic-labs/dynamic-auth/issues/12063)) ([81314d2](https://github.com/dynamic-labs/dynamic-auth/commit/81314d25fba4b20ab89631bc2d9ceeb9e2b6b2ac))
|
|
40
|
+
* **waas-svm:** instrument sponsorship retry attempts ([#12281](https://github.com/dynamic-labs/dynamic-auth/issues/12281)) ([7273a4b](https://github.com/dynamic-labs/dynamic-auth/commit/7273a4bc456cad512c0e9fbcd2abd66532a2f7df))
|
|
41
|
+
* **webview-controller:** recover 4.x secure-storage sessions and surface init failures ([#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)) ([b51605c](https://github.com/dynamic-labs/dynamic-auth/commit/b51605cc9bdbb5d695173192c502a58d899bbbdd)), closes [#12094](https://github.com/dynamic-labs/dynamic-auth/issues/12094) [#12095](https://github.com/dynamic-labs/dynamic-auth/issues/12095) [#12098](https://github.com/dynamic-labs/dynamic-auth/issues/12098) [dynamic-labs/flutter-sdk#256](https://github.com/dynamic-labs/flutter-sdk/issues/256)
|
|
42
|
+
|
|
2
43
|
## [5.4.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.2...v5.4.0) (2026-08-25)
|
|
3
44
|
|
|
4
45
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/legacy-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.1",
|
|
4
4
|
"description": "Core package for utilizing Dynamic's sdk",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@vue/reactivity": "^3.4.21",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
24
|
-
"@dynamic-labs/locale": "5.
|
|
25
|
-
"@dynamic-labs/logger": "5.
|
|
26
|
-
"@dynamic-labs/message-transport": "5.
|
|
27
|
-
"@dynamic-labs/types": "5.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
29
|
-
"@dynamic-labs/webview-messages": "5.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "5.6.1",
|
|
24
|
+
"@dynamic-labs/locale": "5.6.1",
|
|
25
|
+
"@dynamic-labs/logger": "5.6.1",
|
|
26
|
+
"@dynamic-labs/message-transport": "5.6.1",
|
|
27
|
+
"@dynamic-labs/types": "5.6.1",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "5.6.1",
|
|
29
|
+
"@dynamic-labs/webview-messages": "5.6.1",
|
|
30
30
|
"eventemitter3": "5.0.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
package/src/client/core/modules/webViewLoadControllerRegistry/webViewLoadControllerRegistry.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SdkWebViewLoadState } from '
|
|
1
|
+
import type { SdkWebViewLoadState } from '@dynamic-labs/types';
|
|
2
2
|
/**
|
|
3
3
|
* The surface of a webview load controller that client modules consume.
|
|
4
4
|
* Structurally satisfied by `createWebViewLoadController`'s return value —
|
package/src/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
export type { SdkWebViewLoadState, SdkWebViewLoadStatus, } from '@dynamic-labs/types';
|
|
1
2
|
export type { RegisteredDevice, SocialProvider, UpdateUserReturnPayload, } from '@dynamic-labs/webview-messages';
|
|
2
3
|
export { type Core } from './client/core';
|
|
3
4
|
export type { Wallet } from './types';
|
|
4
5
|
export { Extendable, type Extension } from './utils/Extendable';
|
|
5
6
|
export { hasExtension } from './utils/Extendable/hasExtension';
|
|
6
7
|
export { createClient, type BaseClient, type ClientProps, baseClientExtensionName, } from './client';
|
|
7
|
-
export { EMBEDDED_WEBVIEW_HTTP_ERROR_DOMAIN, WebViewFailedToLoadError, createWebViewLoadController, type CreateWebViewLoadControllerArgs, type
|
|
8
|
+
export { EMBEDDED_WEBVIEW_HTTP_ERROR_DOMAIN, WebViewFailedToLoadError, createWebViewLoadController, type CreateWebViewLoadControllerArgs, type WebViewFailedToLoadErrorMeta, type WebViewFailedToLoadErrorPhase, type WebViewLoadAdapter, type WebViewLoadAttemptFailure, type WebViewLoadController, type WebViewLoadEvent, type WebViewLoadOptions, type WebViewLoadWebviewType, } from './webviewLoad';
|
|
8
9
|
export type { AuthModule, WaitForAuthSuccessOptions, } from './modules/authModule';
|
|
9
10
|
export type { DeviceRegistrationModule } from './modules/deviceRegistrationModule';
|
|
10
11
|
export type { LocaleModule } from './modules/localeModule';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PickedEventListeners, StoreEventListeners } from '@dynamic-labs/message-transport';
|
|
2
|
+
import type { SdkWebViewLoadState } from '@dynamic-labs/types';
|
|
2
3
|
import { SdkModuleState } from '@dynamic-labs/webview-messages';
|
|
3
4
|
import { Core } from '../../client/core';
|
|
4
|
-
import { SdkWebViewLoadState } from '../../webviewLoad/sdkWebViewLoadState';
|
|
5
5
|
type SdkEvents = {
|
|
6
6
|
error: (error: Error | null) => void;
|
|
7
7
|
loadStateChanged: (loadState: SdkWebViewLoadState) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { SdkWebViewLoadState } from '@dynamic-labs/types';
|
|
1
2
|
import { Core } from '../../client/core';
|
|
2
|
-
import { SdkWebViewLoadState } from '../sdkWebViewLoadState';
|
|
3
3
|
import { WebViewLoadOptions } from '../webViewLoadOptions';
|
|
4
4
|
import { WebViewLoadEvent } from '../webViewLoadTypes';
|
|
5
5
|
import { WebViewLoadAdapter } from './webViewLoadAdapter';
|
|
@@ -8,7 +8,7 @@ export { DEFAULT_PAGE_LOAD_TIMEOUT_MS, DEFAULT_SDK_READY_TIMEOUT_MS, WEBVIEW_LOA
|
|
|
8
8
|
export { incrementRetryInUrl } from './incrementRetryInUrl';
|
|
9
9
|
export { isSdkReadyMessage } from './isSdkReadyMessage';
|
|
10
10
|
export { ORIGIN_PROBE_TIMEOUT_MS, probeOrigin, type OriginProbeResult, type ProbeOriginArgs, } from './probeOrigin';
|
|
11
|
-
export { createIdleSdkWebViewLoadState
|
|
11
|
+
export { createIdleSdkWebViewLoadState } from './sdkWebViewLoadState';
|
|
12
12
|
export type { WebViewLoadOptions } from './webViewLoadOptions';
|
|
13
13
|
export { FIRST_ATTEMPT_PAGE_LOAD_TIMEOUT_MS, MAX_LOAD_ATTEMPTS, createInitialWebViewLoadState, transitionWebViewLoadState, } from './webViewLoadStateMachine';
|
|
14
14
|
export type { WebViewLoadConfig, WebViewLoadEffect, WebViewLoadEvent, WebViewLoadNativeErrorEvent, WebViewLoadNativeErrorMeta, WebViewLoadPhase, WebViewLoadState, WebViewLoadStatus, WebViewLoadTransitionResult, } from './webViewLoadTypes';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createIdleSdkWebViewLoadState
|
|
1
|
+
export { createIdleSdkWebViewLoadState } from './sdkWebViewLoadState';
|
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Customer-facing lifecycle status of the webview load. This union is a
|
|
3
|
-
* stable contract: integrators may branch on these values.
|
|
4
|
-
*
|
|
5
|
-
* `waiting_to_retry` means the current attempt failed transiently and the
|
|
6
|
-
* next attempt is waiting out its backoff delay.
|
|
7
|
-
*/
|
|
8
|
-
export type SdkWebViewLoadStatus = 'idle' | 'loading' | 'waiting_to_retry' | 'ready' | 'failed';
|
|
9
|
-
/**
|
|
10
|
-
* Public projection of the webview load engine state, exposed as
|
|
11
|
-
* `client.sdk.loadState` and via the `loadStateChanged` event.
|
|
12
|
-
*/
|
|
13
|
-
export type SdkWebViewLoadState = {
|
|
14
|
-
/** Lifecycle status of the webview load. Stable contract. */
|
|
15
|
-
status: SdkWebViewLoadStatus;
|
|
16
|
-
/**
|
|
17
|
-
* The in-flight step of the current load attempt while `status` is
|
|
18
|
-
* `loading`. Diagnostic only — values may change between versions, so
|
|
19
|
-
* do not branch on them.
|
|
20
|
-
*/
|
|
21
|
-
phase: string | null;
|
|
22
|
-
/**
|
|
23
|
-
* 1-based counter of load attempts within the current load cycle.
|
|
24
|
-
* `0` until a webview load controller has been registered.
|
|
25
|
-
*/
|
|
26
|
-
attempt: number;
|
|
27
|
-
/**
|
|
28
|
-
* Total load-attempt budget of a load cycle. `0` until a webview load
|
|
29
|
-
* controller has been registered.
|
|
30
|
-
*/
|
|
31
|
-
maxAttempts: number;
|
|
32
|
-
/** Wall-clock timestamp the pending retry is due at, else `null`. */
|
|
33
|
-
nextRetryAt: number | null;
|
|
34
|
-
/** Proxies the SDK initialization error (`client.sdk.error`). */
|
|
35
|
-
error: Error | null;
|
|
36
|
-
};
|
|
1
|
+
import type { SdkWebViewLoadState } from '@dynamic-labs/types';
|
|
37
2
|
/**
|
|
38
3
|
* The `loadState` surface before any webview load controller has been
|
|
39
4
|
* registered (the controller is created by the platform extension, after
|