@dynamic-labs/legacy-client 5.5.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 +14 -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,18 @@
|
|
|
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
|
+
|
|
2
16
|
## [5.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.1...v5.5.0) (2026-08-31)
|
|
3
17
|
|
|
4
18
|
|
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
|