@dynamic-labs/client 4.52.1 → 4.52.2

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,16 @@
1
1
 
2
+ ### [4.52.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.1...v4.52.2) (2025-12-27)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * 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))
13
+
2
14
  ### [4.52.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.52.0...v4.52.1) (2025-12-23)
3
15
 
4
16
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.52.1";
6
+ var version = "4.52.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.52.1";
2
+ var version = "4.52.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/client",
3
- "version": "4.52.1",
3
+ "version": "4.52.2",
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.1",
24
- "@dynamic-labs/locale": "4.52.1",
25
- "@dynamic-labs/logger": "4.52.1",
26
- "@dynamic-labs/message-transport": "4.52.1",
27
- "@dynamic-labs/types": "4.52.1",
28
- "@dynamic-labs/webview-messages": "4.52.1",
23
+ "@dynamic-labs/assert-package-version": "4.52.2",
24
+ "@dynamic-labs/locale": "4.52.2",
25
+ "@dynamic-labs/logger": "4.52.2",
26
+ "@dynamic-labs/message-transport": "4.52.2",
27
+ "@dynamic-labs/types": "4.52.2",
28
+ "@dynamic-labs/webview-messages": "4.52.2",
29
29
  "eventemitter3": "5.0.1"
30
30
  },
31
31
  "peerDependencies": {}
@@ -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
@@ -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;
@@ -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>;
@@ -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 };