@dynamic-labs/legacy-client 5.5.0 → 5.7.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,32 @@
1
1
 
2
+ ## [5.7.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.1...v5.7.0) (2026-09-08)
3
+
4
+
5
+ ### Features
6
+
7
+ * **social:** add gemini social provider ([#12292](https://github.com/dynamic-labs/dynamic-auth/issues/12292)) ([fa72cb0](https://github.com/dynamic-labs/dynamic-auth/commit/fa72cb09f678506a5f34188eb7d62415bcb7073b))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **locale:** add missing dyn_upgrade_wallet.no_legacy_wallets and .close keys ([#12350](https://github.com/dynamic-labs/dynamic-auth/issues/12350)) ([50da3fa](https://github.com/dynamic-labs/dynamic-auth/commit/50da3fa3078de4ecbd88031a3e533a4ff6ced89b))
13
+ * **sdk-react-core:** expose SDK i18next instance for extension packages ([#12351](https://github.com/dynamic-labs/dynamic-auth/issues/12351)) ([f3d95b1](https://github.com/dynamic-labs/dynamic-auth/commit/f3d95b1bb1c30114d32d93dec4e9c2455ab4fdbb))
14
+ * **sdk-react-core:** publish ./icons and ./components subpath exports ([#12334](https://github.com/dynamic-labs/dynamic-auth/issues/12334)) ([519487c](https://github.com/dynamic-labs/dynamic-auth/commit/519487cf5f4f7abe895a125c5bf38800cae04bb5))
15
+
16
+ ### [5.6.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.6.0...v5.6.1) (2026-09-01)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **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))
22
+
23
+ ## [5.6.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.5.0...v5.6.0) (2026-09-01)
24
+
25
+
26
+ ### Features
27
+
28
+ * forward target signer passwords ([#12300](https://github.com/dynamic-labs/dynamic-auth/issues/12300)) ([39b142b](https://github.com/dynamic-labs/dynamic-auth/commit/39b142b51767ad54ae57196a381bec19a892c06f))
29
+
2
30
  ## [5.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.1...v5.5.0) (2026-08-31)
3
31
 
4
32
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.5.0";
6
+ var version = "5.7.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.5.0";
2
+ var version = "5.7.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/legacy-client",
3
- "version": "5.5.0",
3
+ "version": "5.7.0",
4
4
  "description": "Core package for utilizing Dynamic's sdk",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -19,14 +19,14 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@vue/reactivity": "^3.4.21",
22
- "@dynamic-labs/sdk-api-core": "0.12.0",
23
- "@dynamic-labs/assert-package-version": "5.5.0",
24
- "@dynamic-labs/locale": "5.5.0",
25
- "@dynamic-labs/logger": "5.5.0",
26
- "@dynamic-labs/message-transport": "5.5.0",
27
- "@dynamic-labs/types": "5.5.0",
28
- "@dynamic-labs/wallet-connector-core": "5.5.0",
29
- "@dynamic-labs/webview-messages": "5.5.0",
22
+ "@dynamic-labs/sdk-api-core": "0.32.0",
23
+ "@dynamic-labs/assert-package-version": "5.7.0",
24
+ "@dynamic-labs/locale": "5.7.0",
25
+ "@dynamic-labs/logger": "5.7.0",
26
+ "@dynamic-labs/message-transport": "5.7.0",
27
+ "@dynamic-labs/types": "5.7.0",
28
+ "@dynamic-labs/wallet-connector-core": "5.7.0",
29
+ "@dynamic-labs/webview-messages": "5.7.0",
30
30
  "eventemitter3": "5.0.1"
31
31
  },
32
32
  "peerDependencies": {}
@@ -14,6 +14,7 @@ var mfaModule = require('../modules/mfaModule/mfaModule.cjs');
14
14
  var networksModule = require('../modules/networksModule/networksModule.cjs');
15
15
  var passkeysModule = require('../modules/passkeysModule/passkeysModule.cjs');
16
16
  var sdkModule = require('../modules/sdkModule/sdkModule.cjs');
17
+ var stellarModule = require('../modules/stellarModule/stellarModule.cjs');
17
18
  var stepUpAuthModule = require('../modules/stepUpAuthModule/stepUpAuthModule.cjs');
18
19
  var tonModule = require('../modules/tonModule/tonModule.cjs');
19
20
  var userInterfaceModule = require('../modules/userInterfaceModule/userInterfaceModule.cjs');
@@ -58,6 +59,8 @@ const createClient = (props) => {
58
59
  passkeys: passkeysModule.createPasskeysModule(core$1),
59
60
  /** Module that gives insight over the state of the SDK */
60
61
  sdk: sdkModule.createSdkModule(core$1),
62
+ /** Module for Stellar-specific operations (sign, send, trustline, balance, network) */
63
+ stellar: stellarModule.createStellarModule(core$1),
61
64
  /** Module that provides access to step-up authentication features */
62
65
  stepUpAuth: stepUpAuthModule.createStepUpAuthModule(core$1),
63
66
  /** Module for TON-specific operations (sign, send TON, Jettons, balance, network) */
@@ -97,6 +97,8 @@ export declare const createClient: (props: ClientProps) => {
97
97
  };
98
98
  /** Module that gives insight over the state of the SDK */
99
99
  sdk: import("../modules/sdkModule").SdkModule;
100
+ /** Module for Stellar-specific operations (sign, send, trustline, balance, network) */
101
+ stellar: import("../modules/stellarModule").StellarModule;
100
102
  /** Module that provides access to step-up authentication features */
101
103
  stepUpAuth: import("../modules/stepUpAuthModule").StepUpAuthModule;
102
104
  /** Module for TON-specific operations (sign, send TON, Jettons, balance, network) */
@@ -10,6 +10,7 @@ import { createMfaModule } from '../modules/mfaModule/mfaModule.js';
10
10
  import { createNetworksModule } from '../modules/networksModule/networksModule.js';
11
11
  import { createPasskeysModule } from '../modules/passkeysModule/passkeysModule.js';
12
12
  import { createSdkModule } from '../modules/sdkModule/sdkModule.js';
13
+ import { createStellarModule } from '../modules/stellarModule/stellarModule.js';
13
14
  import { createStepUpAuthModule } from '../modules/stepUpAuthModule/stepUpAuthModule.js';
14
15
  import { createTonModule } from '../modules/tonModule/tonModule.js';
15
16
  import { createUserInterfaceModule } from '../modules/userInterfaceModule/userInterfaceModule.js';
@@ -54,6 +55,8 @@ const createClient = (props) => {
54
55
  passkeys: createPasskeysModule(core),
55
56
  /** Module that gives insight over the state of the SDK */
56
57
  sdk: createSdkModule(core),
58
+ /** Module for Stellar-specific operations (sign, send, trustline, balance, network) */
59
+ stellar: createStellarModule(core),
57
60
  /** Module that provides access to step-up authentication features */
58
61
  stepUpAuth: createStepUpAuthModule(core),
59
62
  /** Module for TON-specific operations (sign, send TON, Jettons, balance, network) */
@@ -1,4 +1,4 @@
1
- import { SdkWebViewLoadState } from '../../../../webviewLoad/sdkWebViewLoadState';
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 SdkWebViewLoadState, type SdkWebViewLoadStatus, type WebViewFailedToLoadErrorMeta, type WebViewFailedToLoadErrorPhase, type WebViewLoadAdapter, type WebViewLoadAttemptFailure, type WebViewLoadController, type WebViewLoadEvent, type WebViewLoadOptions, type WebViewLoadWebviewType, } from './webviewLoad';
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;
@@ -0,0 +1 @@
1
+ export { createStellarModule, type StellarModule } from './stellarModule';
@@ -0,0 +1,20 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var messageTransport = require('@dynamic-labs/message-transport');
7
+
8
+ const createStellarModule = (core) => {
9
+ const requestChannel = messageTransport.createRequestChannel(core.messageTransport);
10
+ return {
11
+ addTrustline: (args) => requestChannel.request('stellar_addTrustline', args),
12
+ getBalance: (args) => requestChannel.request('stellar_getBalance', args),
13
+ getNetwork: (args) => requestChannel.request('stellar_getNetwork', args),
14
+ sendBalance: (args) => requestChannel.request('stellar_sendBalance', args),
15
+ signMessage: (args) => requestChannel.request('stellar_signMessage', args),
16
+ signTransaction: (args) => requestChannel.request('stellar_signTransaction', args),
17
+ };
18
+ };
19
+
20
+ exports.createStellarModule = createStellarModule;
@@ -0,0 +1,17 @@
1
+ import type { StellarMessages } from '@dynamic-labs/webview-messages';
2
+ import { Core } from '../../client/core';
3
+ export type StellarModule = {
4
+ /** Signs a message with the specified Stellar wallet. */
5
+ signMessage: StellarMessages['stellar_signMessage'];
6
+ /** Signs a transaction envelope XDR with the specified Stellar wallet. */
7
+ signTransaction: StellarMessages['stellar_signTransaction'];
8
+ /** Sends XLM or a Stellar asset to a recipient address. */
9
+ sendBalance: StellarMessages['stellar_sendBalance'];
10
+ /** Adds a trustline for a non-native Stellar asset. */
11
+ addTrustline: StellarMessages['stellar_addTrustline'];
12
+ /** Returns the balance of the specified Stellar wallet. */
13
+ getBalance: StellarMessages['stellar_getBalance'];
14
+ /** Returns the network the specified Stellar wallet is connected to. */
15
+ getNetwork: StellarMessages['stellar_getNetwork'];
16
+ };
17
+ export declare const createStellarModule: (core: Core) => StellarModule;
@@ -0,0 +1,16 @@
1
+ 'use client'
2
+ import { createRequestChannel } from '@dynamic-labs/message-transport';
3
+
4
+ const createStellarModule = (core) => {
5
+ const requestChannel = createRequestChannel(core.messageTransport);
6
+ return {
7
+ addTrustline: (args) => requestChannel.request('stellar_addTrustline', args),
8
+ getBalance: (args) => requestChannel.request('stellar_getBalance', args),
9
+ getNetwork: (args) => requestChannel.request('stellar_getNetwork', args),
10
+ sendBalance: (args) => requestChannel.request('stellar_sendBalance', args),
11
+ signMessage: (args) => requestChannel.request('stellar_signMessage', args),
12
+ signTransaction: (args) => requestChannel.request('stellar_signTransaction', args),
13
+ };
14
+ };
15
+
16
+ export { createStellarModule };
@@ -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, type SdkWebViewLoadState, type SdkWebViewLoadStatus, } from './sdkWebViewLoadState';
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, type SdkWebViewLoadState, type SdkWebViewLoadStatus, } from './sdkWebViewLoadState';
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