@dynamic-labs/iframe-setup 4.25.0 → 4.25.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,27 @@
1
1
 
2
+ ### [4.25.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.1...v4.25.2) (2025-07-18)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * ensure captcha is engaged only once ([#9197](https://github.com/dynamic-labs/dynamic-auth/issues/9197)) ([708edea](https://github.com/dynamic-labs/dynamic-auth/commit/708edea5d492f1dedb398886bf6201d458b40454))
8
+ * **GVTY-3193:** emit embedded wallet create event for waas ([#9179](https://github.com/dynamic-labs/dynamic-auth/issues/9179)) ([59c354d](https://github.com/dynamic-labs/dynamic-auth/commit/59c354d09524eed7d2f7727d1afbb567aabd1da2))
9
+ * reset user/wallet state when removing last wallet ([#9192](https://github.com/dynamic-labs/dynamic-auth/issues/9192)) ([78d84f9](https://github.com/dynamic-labs/dynamic-auth/commit/78d84f9bd6cafd75ec3f18a312600e2bf46db85f))
10
+
11
+ ### [4.25.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.0...v4.25.1) (2025-07-18)
12
+
13
+
14
+ ### Features
15
+
16
+ * 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))
17
+ * 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))
18
+ * 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))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * 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))
24
+
2
25
  ## [4.25.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.24.0...v4.25.0) (2025-07-17)
3
26
 
4
27
 
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.25.0";
6
+ var version = "4.25.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.25.0";
2
+ var version = "4.25.2";
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.25.0",
3
+ "version": "4.25.2",
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.25.0"
21
+ "@dynamic-labs/assert-package-version": "4.25.2"
22
22
  },
23
23
  "peerDependencies": {}
24
24
  }