@dynamic-labs/client 4.24.0 → 4.25.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 CHANGED
@@ -1,4 +1,33 @@
1
1
 
2
+ ### [4.25.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.0...v4.25.1) (2025-07-18)
3
+
4
+
5
+ ### Features
6
+
7
+ * add passkey sign in react hook ([#9188](https://github.com/dynamic-labs/dynamic-auth/issues/9188)) ([9d36886](https://github.com/dynamic-labs/dynamic-auth/commit/9d368860ca097777addf5e6f7e57c039cfbbb503))
8
+ * add support for social redirect with iframe-setup ([#9193](https://github.com/dynamic-labs/dynamic-auth/issues/9193)) ([fdfb321](https://github.com/dynamic-labs/dynamic-auth/commit/fdfb321220185d56d061342782754ad72e4b404e))
9
+ * update Argent wallet names to Ready branding ([#9142](https://github.com/dynamic-labs/dynamic-auth/issues/9142)) ([194e4cf](https://github.com/dynamic-labs/dynamic-auth/commit/194e4cf68ede58e2d38c6c720c01428b4e79cdf3))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * show hcaptcha for email and sms headless ([#9187](https://github.com/dynamic-labs/dynamic-auth/issues/9187)) ([9fa0860](https://github.com/dynamic-labs/dynamic-auth/commit/9fa086015196ff2c043d88e23f029964ddee92ab))
15
+
16
+ ## [4.25.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.24.0...v4.25.0) (2025-07-17)
17
+
18
+
19
+ ### Features
20
+
21
+ * add passkey 1fa to react native ([#9167](https://github.com/dynamic-labs/dynamic-auth/issues/9167)) ([8f9b166](https://github.com/dynamic-labs/dynamic-auth/commit/8f9b166de3e0ab329c1539597c350681f1254bfb))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * add waas iframe retry ([#9185](https://github.com/dynamic-labs/dynamic-auth/issues/9185)) ([ebe40d5](https://github.com/dynamic-labs/dynamic-auth/commit/ebe40d5ecdf214362b013502b4ac1313ba356aeb))
27
+ * ensure storage service defaults to local storage ([#9182](https://github.com/dynamic-labs/dynamic-auth/issues/9182)) ([d6ce48e](https://github.com/dynamic-labs/dynamic-auth/commit/d6ce48e8c1d2edb32d8db41efe3f56b97275c32a))
28
+ * add account address to wallet properties ([#9172](https://github.com/dynamic-labs/dynamic-auth/issues/9172)) ([61de8ca](https://github.com/dynamic-labs/dynamic-auth/commit/61de8caccb95c5d52126283ac7a1ebd5a36aa33c))
29
+ * show hcaptcha for headless social sign in ([#9154](https://github.com/dynamic-labs/dynamic-auth/issues/9154)) ([262b752](https://github.com/dynamic-labs/dynamic-auth/commit/262b75257ec6dcc05f67804b71f7285ec5919f91))
30
+
2
31
  ## [4.24.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.23.1...v4.24.0) (2025-07-15)
3
32
 
4
33
  ### Features
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.24.0";
6
+ var version = "4.25.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.24.0";
2
+ var version = "4.25.1";
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.24.0",
3
+ "version": "4.25.1",
4
4
  "description": "Core package for utilizing Dynamic's sdk",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -19,11 +19,11 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@vue/reactivity": "^3.4.21",
22
- "@dynamic-labs/sdk-api-core": "0.0.715",
23
- "@dynamic-labs/assert-package-version": "4.24.0",
24
- "@dynamic-labs/logger": "4.24.0",
25
- "@dynamic-labs/message-transport": "4.24.0",
26
- "@dynamic-labs/types": "4.24.0",
22
+ "@dynamic-labs/sdk-api-core": "0.0.718",
23
+ "@dynamic-labs/assert-package-version": "4.25.1",
24
+ "@dynamic-labs/logger": "4.25.1",
25
+ "@dynamic-labs/message-transport": "4.25.1",
26
+ "@dynamic-labs/types": "4.25.1",
27
27
  "eventemitter3": "5.0.1"
28
28
  },
29
29
  "peerDependencies": {}
@@ -7,6 +7,7 @@ var messageTransport = require('@dynamic-labs/message-transport');
7
7
  var pickListenerActions = require('../../utils/pickListenerActions/pickListenerActions.cjs');
8
8
  var emailAuthModule = require('./emailAuthModule/emailAuthModule.cjs');
9
9
  var externalAuthModule = require('./externalAuthModule/externalAuthModule.cjs');
10
+ var passkeyAuthModule = require('./passkeyAuthModule/passkeyAuthModule.cjs');
10
11
  var smsAuthModule = require('./smsAuthModule/smsAuthModule.cjs');
11
12
  var socialAuthModule = require('./socialAuthModule/socialAuthModule.cjs');
12
13
 
@@ -35,6 +36,7 @@ const createAuthModule = (core) => {
35
36
  email: emailAuthModule.createEmailAuthModule(core),
36
37
  external: externalAuthModule.createExternalAuthModule(core),
37
38
  logout: () => requestChannel.request('logout'),
39
+ passkey: passkeyAuthModule.createPasskeyAuthModule(core),
38
40
  refreshUser: () => requestChannel.request('refreshUser'),
39
41
  setHandler: (_, handler) => (handlers.userAuthenticated = handler),
40
42
  sms: smsAuthModule.createSmsAuthModule(core),
@@ -3,10 +3,12 @@ import type { UserProfile } from '@dynamic-labs/types';
3
3
  import { Core } from '../../client/core';
4
4
  import { EmailAuthModule } from './emailAuthModule';
5
5
  import { ExternalAuthModule } from './externalAuthModule';
6
+ import { PasskeyAuthModule } from './passkeyAuthModule';
6
7
  import { SmsAuthModule } from './smsAuthModule';
7
8
  import { SocialAuthModule } from './socialAuthModule';
8
9
  type PublicAuthModuleMessages = Pick<AuthModuleMessages, typeof authEventNames[number]>;
9
10
  export type AuthModule = AuthModuleState & StoreEventListeners<AuthModuleState> & PickedEventListeners<PublicAuthModuleMessages> & {
11
+ passkey: PasskeyAuthModule;
10
12
  sms: SmsAuthModule;
11
13
  email: EmailAuthModule;
12
14
  social: SocialAuthModule;
@@ -3,6 +3,7 @@ import { createStore, createEventEmitterForMessages, authEventNames, createReque
3
3
  import { pickListenerActions } from '../../utils/pickListenerActions/pickListenerActions.js';
4
4
  import { createEmailAuthModule } from './emailAuthModule/emailAuthModule.js';
5
5
  import { createExternalAuthModule } from './externalAuthModule/externalAuthModule.js';
6
+ import { createPasskeyAuthModule } from './passkeyAuthModule/passkeyAuthModule.js';
6
7
  import { createSmsAuthModule } from './smsAuthModule/smsAuthModule.js';
7
8
  import { createSocialAuthModule } from './socialAuthModule/socialAuthModule.js';
8
9
 
@@ -31,6 +32,7 @@ const createAuthModule = (core) => {
31
32
  email: createEmailAuthModule(core),
32
33
  external: createExternalAuthModule(core),
33
34
  logout: () => requestChannel.request('logout'),
35
+ passkey: createPasskeyAuthModule(core),
34
36
  refreshUser: () => requestChannel.request('refreshUser'),
35
37
  setHandler: (_, handler) => (handlers.userAuthenticated = handler),
36
38
  sms: createSmsAuthModule(core),
@@ -0,0 +1 @@
1
+ export { createPasskeyAuthModule, type PasskeyAuthModule, } from './passkeyAuthModule';
@@ -0,0 +1,15 @@
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 createPasskeyAuthModule = (core) => {
9
+ const passkeyRequestChannel = messageTransport.createRequestChannel(core.messageTransport);
10
+ return {
11
+ signIn: () => passkeyRequestChannel.request('signInWithPasskey'),
12
+ };
13
+ };
14
+
15
+ exports.createPasskeyAuthModule = createPasskeyAuthModule;
@@ -0,0 +1,8 @@
1
+ import { PasskeyMessages } from '@dynamic-labs/message-transport';
2
+ import { Core } from '../../../client/core';
3
+ export type PasskeyAuthModule = {
4
+ signIn: PasskeyMessages['signInWithPasskey'];
5
+ };
6
+ export declare const createPasskeyAuthModule: (core: Core) => {
7
+ signIn: () => Promise<import("@dynamic-labs/sdk-api-core").VerifyResponse>;
8
+ };
@@ -0,0 +1,11 @@
1
+ 'use client'
2
+ import { createRequestChannel } from '@dynamic-labs/message-transport';
3
+
4
+ const createPasskeyAuthModule = (core) => {
5
+ const passkeyRequestChannel = createRequestChannel(core.messageTransport);
6
+ return {
7
+ signIn: () => passkeyRequestChannel.request('signInWithPasskey'),
8
+ };
9
+ };
10
+
11
+ export { createPasskeyAuthModule };