@dynamic-labs/legacy-client 5.13.0 → 5.14.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 +10 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/client/client.d.ts +10 -3
- package/src/client/core/modules/manifestModule/createPartialManifest/createPartialManifest.cjs +2 -1
- package/src/client/core/modules/manifestModule/createPartialManifest/createPartialManifest.d.ts +1 -1
- package/src/client/core/modules/manifestModule/createPartialManifest/createPartialManifest.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.14.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.13.0...v5.14.0) (2026-10-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **bitcoin:** add allowedWitnessScripts to embedded wallet signPsbt ([#12575](https://github.com/dynamic-labs/dynamic-auth/issues/12575)) ([e7709bc](https://github.com/dynamic-labs/dynamic-auth/commit/e7709bc226bc78caa8c7aaae9b25858ca689176e)), closes [#1647](https://github.com/dynamic-labs/dynamic-auth/issues/1647) [#1648](https://github.com/dynamic-labs/dynamic-auth/issues/1648)
|
|
8
|
+
* **legacy-embedded-wallet-migration:** offer passkey recovery when export fails in upgrade flow ([#12640](https://github.com/dynamic-labs/dynamic-auth/issues/12640)) ([eda1d1a](https://github.com/dynamic-labs/dynamic-auth/commit/eda1d1a24f40c5850ae3ffd8049b4a9df45d489e))
|
|
9
|
+
* **webview:** forward policiesConsentLabels manifest field to SDK settings ([#12607](https://github.com/dynamic-labs/dynamic-auth/issues/12607)) ([ce3a9a0](https://github.com/dynamic-labs/dynamic-auth/commit/ce3a9a0840bd80c18401a94cd175c89ade5cc7cc))
|
|
10
|
+
|
|
11
|
+
|
|
2
12
|
## [5.13.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.12.4...v5.13.0) (2026-10-27)
|
|
3
13
|
|
|
4
14
|
|
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.14.0",
|
|
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.136.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.14.0",
|
|
24
|
+
"@dynamic-labs/locale": "5.14.0",
|
|
25
|
+
"@dynamic-labs/logger": "5.14.0",
|
|
26
|
+
"@dynamic-labs/message-transport": "5.14.0",
|
|
27
|
+
"@dynamic-labs/types": "5.14.0",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "5.14.0",
|
|
29
|
+
"@dynamic-labs/webview-messages": "5.14.0",
|
|
30
30
|
"eventemitter3": "5.0.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
package/src/client/client.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export type ClientProps = {
|
|
|
23
23
|
* Overrides for TON networks. See `bitcoinNetworks` for merge semantics.
|
|
24
24
|
*/
|
|
25
25
|
tonNetworks?: GenericNetwork[];
|
|
26
|
-
debug?: ClientManifest['debug']
|
|
27
|
-
globalWallets?: ClientManifest['globalWallets']
|
|
28
|
-
locale?: ClientManifest['locale']
|
|
26
|
+
debug?: NonNullable<ClientManifest['debug']>;
|
|
27
|
+
globalWallets?: NonNullable<ClientManifest['globalWallets']>;
|
|
28
|
+
locale?: NonNullable<ClientManifest['locale']>;
|
|
29
29
|
/**
|
|
30
30
|
* If true, enables connect-only mode where users can connect wallets
|
|
31
31
|
* without signing a message. This is useful for React Native apps where
|
|
@@ -53,6 +53,13 @@ export type ClientProps = {
|
|
|
53
53
|
legacyWalletMigrationModal?: {
|
|
54
54
|
autoOpen: boolean;
|
|
55
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Plain-text labels rendered next to each policies consent checkbox in the
|
|
58
|
+
* collect-user-data view, one checkbox per entry. Forwarded to the SDK's
|
|
59
|
+
* `policiesConsentInnerComponent` setting, restricted to strings because
|
|
60
|
+
* the manifest crosses the webview bridge.
|
|
61
|
+
*/
|
|
62
|
+
policiesConsentLabels?: string[];
|
|
56
63
|
/**
|
|
57
64
|
* If true, use MetaMask SDK for MetaMask connections.
|
|
58
65
|
* If false, use WalletConnect for MetaMask connections.
|
package/src/client/core/modules/manifestModule/createPartialManifest/createPartialManifest.cjs
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
|
|
6
6
|
var _package = require('../../../../../../package.cjs');
|
|
7
7
|
|
|
8
|
-
const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, bitcoinNetworks, solNetworks, tonNetworks, debug, globalWallets, locale, connectOnly, deviceRegistrationModal, legacyWalletMigrationModal, useMetamaskSdk, }) => ({
|
|
8
|
+
const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, bitcoinNetworks, solNetworks, tonNetworks, debug, globalWallets, locale, connectOnly, deviceRegistrationModal, legacyWalletMigrationModal, policiesConsentLabels, useMetamaskSdk, }) => ({
|
|
9
9
|
apiBaseUrl,
|
|
10
10
|
appLogoUrl,
|
|
11
11
|
appName,
|
|
@@ -20,6 +20,7 @@ const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName,
|
|
|
20
20
|
globalWallets,
|
|
21
21
|
legacyWalletMigrationModal,
|
|
22
22
|
locale,
|
|
23
|
+
policiesConsentLabels,
|
|
23
24
|
solNetworks,
|
|
24
25
|
tonNetworks,
|
|
25
26
|
useMetamaskSdk,
|
package/src/client/core/modules/manifestModule/createPartialManifest/createPartialManifest.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ClientManifest } from '@dynamic-labs/webview-messages';
|
|
2
2
|
import { ClientProps } from '../../../../client';
|
|
3
|
-
export declare const createPartialManifest: ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, bitcoinNetworks, solNetworks, tonNetworks, debug, globalWallets, locale, connectOnly, deviceRegistrationModal, legacyWalletMigrationModal, useMetamaskSdk, }: ClientProps) => Partial<ClientManifest>;
|
|
3
|
+
export declare const createPartialManifest: ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, bitcoinNetworks, solNetworks, tonNetworks, debug, globalWallets, locale, connectOnly, deviceRegistrationModal, legacyWalletMigrationModal, policiesConsentLabels, useMetamaskSdk, }: ClientProps) => Partial<ClientManifest>;
|
package/src/client/core/modules/manifestModule/createPartialManifest/createPartialManifest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { version } from '../../../../../../package.js';
|
|
3
3
|
|
|
4
|
-
const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, bitcoinNetworks, solNetworks, tonNetworks, debug, globalWallets, locale, connectOnly, deviceRegistrationModal, legacyWalletMigrationModal, useMetamaskSdk, }) => ({
|
|
4
|
+
const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, bitcoinNetworks, solNetworks, tonNetworks, debug, globalWallets, locale, connectOnly, deviceRegistrationModal, legacyWalletMigrationModal, policiesConsentLabels, useMetamaskSdk, }) => ({
|
|
5
5
|
apiBaseUrl,
|
|
6
6
|
appLogoUrl,
|
|
7
7
|
appName,
|
|
@@ -16,6 +16,7 @@ const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName,
|
|
|
16
16
|
globalWallets,
|
|
17
17
|
legacyWalletMigrationModal,
|
|
18
18
|
locale,
|
|
19
|
+
policiesConsentLabels,
|
|
19
20
|
solNetworks,
|
|
20
21
|
tonNetworks,
|
|
21
22
|
useMetamaskSdk,
|