@dynamic-labs/client 4.52.1 → 4.52.3
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 +24 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +7 -7
- package/src/client/client.d.ts +7 -0
- 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,28 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.52.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.2...v4.52.3) (2026-01-06)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* create waas-bitcoin package ([#10037](https://github.com/dynamic-labs/dynamic-auth/issues/10037)) ([788fb5d](https://github.com/dynamic-labs/dynamic-auth/commit/788fb5d1f4cc1d5f7285f73c384d680215eb2701))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* add export for useWalletBackup ([#10166](https://github.com/dynamic-labs/dynamic-auth/issues/10166)) ([162f180](https://github.com/dynamic-labs/dynamic-auth/commit/162f180cb8689da65467e11239fe7e563892d300))
|
|
13
|
+
|
|
14
|
+
### [4.52.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.1...v4.52.2) (2025-12-27)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* expose usemetamasksdk in react native ([#10161](https://github.com/dynamic-labs/dynamic-auth/issues/10161)) ([f4dcfe7](https://github.com/dynamic-labs/dynamic-auth/commit/f4dcfe7bcf8c502990b2c2db17a44de1d58498a7))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* Handle Google consent during authentication flow when it’s required ([#10162](https://github.com/dynamic-labs/dynamic-auth/issues/10162)) ([138f7ff](https://github.com/dynamic-labs/dynamic-auth/commit/138f7ffd1b8660ce27d7e5faac7bd01d56817ff3))
|
|
25
|
+
|
|
2
26
|
### [4.52.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.0...v4.52.1) (2025-12-23)
|
|
3
27
|
|
|
4
28
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/client",
|
|
3
|
-
"version": "4.52.
|
|
3
|
+
"version": "4.52.3",
|
|
4
4
|
"description": "Core package for utilizing Dynamic's sdk",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@vue/reactivity": "^3.4.21",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.0.843",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.52.
|
|
24
|
-
"@dynamic-labs/locale": "4.52.
|
|
25
|
-
"@dynamic-labs/logger": "4.52.
|
|
26
|
-
"@dynamic-labs/message-transport": "4.52.
|
|
27
|
-
"@dynamic-labs/types": "4.52.
|
|
28
|
-
"@dynamic-labs/webview-messages": "4.52.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.52.3",
|
|
24
|
+
"@dynamic-labs/locale": "4.52.3",
|
|
25
|
+
"@dynamic-labs/logger": "4.52.3",
|
|
26
|
+
"@dynamic-labs/message-transport": "4.52.3",
|
|
27
|
+
"@dynamic-labs/types": "4.52.3",
|
|
28
|
+
"@dynamic-labs/webview-messages": "4.52.3",
|
|
29
29
|
"eventemitter3": "5.0.1"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
package/src/client/client.d.ts
CHANGED
|
@@ -19,6 +19,13 @@ export type ClientProps = {
|
|
|
19
19
|
* you want to allow wallet connections without full authentication.
|
|
20
20
|
*/
|
|
21
21
|
connectOnly?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* If true, use MetaMask SDK for MetaMask connections.
|
|
24
|
+
* If false or undefined, use WalletConnect for MetaMask connections.
|
|
25
|
+
* Only applies to mobile platforms (React Native, Flutter, Swift).
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
useMetamaskSdk?: boolean;
|
|
22
29
|
};
|
|
23
30
|
/**
|
|
24
31
|
* Generates a basic client that allows interacting with Dynamic's SDK, which
|
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, debug, globalWallets, locale, connectOnly, }) => ({
|
|
8
|
+
const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, debug, globalWallets, locale, connectOnly, useMetamaskSdk, }) => ({
|
|
9
9
|
apiBaseUrl,
|
|
10
10
|
appLogoUrl,
|
|
11
11
|
appName,
|
|
@@ -17,6 +17,7 @@ const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName,
|
|
|
17
17
|
evmNetworks,
|
|
18
18
|
globalWallets,
|
|
19
19
|
locale,
|
|
20
|
+
useMetamaskSdk,
|
|
20
21
|
});
|
|
21
22
|
|
|
22
23
|
exports.createPartialManifest = createPartialManifest;
|
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, debug, globalWallets, locale, connectOnly, }: ClientProps) => Partial<ClientManifest>;
|
|
3
|
+
export declare const createPartialManifest: ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, debug, globalWallets, locale, connectOnly, 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, debug, globalWallets, locale, connectOnly, }) => ({
|
|
4
|
+
const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName, cssOverrides, evmNetworks, debug, globalWallets, locale, connectOnly, useMetamaskSdk, }) => ({
|
|
5
5
|
apiBaseUrl,
|
|
6
6
|
appLogoUrl,
|
|
7
7
|
appName,
|
|
@@ -13,6 +13,7 @@ const createPartialManifest = ({ apiBaseUrl, environmentId, appLogoUrl, appName,
|
|
|
13
13
|
evmNetworks,
|
|
14
14
|
globalWallets,
|
|
15
15
|
locale,
|
|
16
|
+
useMetamaskSdk,
|
|
16
17
|
});
|
|
17
18
|
|
|
18
19
|
export { createPartialManifest };
|