@dynamic-labs/iframe-setup 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/README.md CHANGED
@@ -68,6 +68,34 @@ const App = () => {
68
68
 
69
69
  Once both steps are completed, the Dynamic SDK will be fully operational within your iframe environment.
70
70
 
71
+ ## Enabling Social Redirect
72
+
73
+ To enable social redirect functionality within your iframe application, you need to configure the `redirectUrl` setting in your `DynamicContextProvider`.
74
+
75
+ ```tsx
76
+ import { DynamicContextProvider } from '@dynamic-labs/sdk-react-core';
77
+ import { PlatformService } from '@dynamic-labs/utils';
78
+ import { setupInsideIframe } from '@dynamic-labs/utils';
79
+
80
+ // Initialize as early as possible in your iframe application
81
+ setupInsideIframe();
82
+
83
+ const App = () => {
84
+ return (
85
+ <DynamicContextProvider
86
+ settings={{
87
+ redirectUrl: PlatformService.getUrl().toString(),
88
+ // other settings
89
+ }}
90
+ >
91
+ {/* Your application */}
92
+ </DynamicContextProvider>
93
+ );
94
+ };
95
+ ```
96
+
97
+ This configuration ensures that after social authentication, users are properly redirected back to your application and not the iframe URL.
98
+
71
99
  ---
72
100
 
73
101
  ## Alternative Implementation
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/iframe-setup",
3
- "version": "4.24.0",
3
+ "version": "4.25.1",
4
4
  "description": "Collection of utilities to use the Dynamic SDK in an iframe",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/assert-package-version": "4.24.0"
21
+ "@dynamic-labs/assert-package-version": "4.25.1"
22
22
  },
23
23
  "peerDependencies": {}
24
24
  }