@dynamic-labs/web-extension 4.25.10 → 4.27.0

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,35 @@
1
1
 
2
+ ## [4.27.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.26.0...v4.27.0) (2025-08-16)
3
+
4
+
5
+ ### Features
6
+
7
+ * add cookie option to waas connectors ([#9335](https://github.com/dynamic-labs/dynamic-auth/issues/9335)) ([2330f58](https://github.com/dynamic-labs/dynamic-auth/commit/2330f58b5eb35da8568c3114d2d2507a742ad22c))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * ensure consistent dynamic api url ([#9357](https://github.com/dynamic-labs/dynamic-auth/issues/9357)) ([0cb9bde](https://github.com/dynamic-labs/dynamic-auth/commit/0cb9bdeb7eb6e4d103dafecea337d1548a62b9b7))
13
+
14
+ ## [4.26.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.10...v4.26.0) (2025-08-14)
15
+
16
+
17
+ ### Features
18
+
19
+ * add forceRefresh to useTokenBalances ([#9320](https://github.com/dynamic-labs/dynamic-auth/issues/9320)) ([22c4035](https://github.com/dynamic-labs/dynamic-auth/commit/22c403546496ffb6b1ed846510a079efc65c5d57))
20
+ * add signMessageWithContext to support user operations with WaaS ([#9287](https://github.com/dynamic-labs/dynamic-auth/issues/9287)) ([744c158](https://github.com/dynamic-labs/dynamic-auth/commit/744c158a890346c624a101ba8b20911eefbdd1ef))
21
+ * add sui support to react native ([#9236](https://github.com/dynamic-labs/dynamic-auth/issues/9236)) ([301d821](https://github.com/dynamic-labs/dynamic-auth/commit/301d821b16eb1bc112609882ed0ae5e9f2477ace))
22
+ * add whitelistedContracts to token balance hooks ([#9324](https://github.com/dynamic-labs/dynamic-auth/issues/9324)) ([86596dd](https://github.com/dynamic-labs/dynamic-auth/commit/86596dd692152f82a2553b9824ce21781024dac1))
23
+ * pass policy context to sign authorization ([#9327](https://github.com/dynamic-labs/dynamic-auth/issues/9327)) ([3e6d009](https://github.com/dynamic-labs/dynamic-auth/commit/3e6d009ca3d50e01a665550fa803d07bd3038eb1))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * don't prompt passkeys twice when component renders ([#9340](https://github.com/dynamic-labs/dynamic-auth/issues/9340)) ([8fbdd28](https://github.com/dynamic-labs/dynamic-auth/commit/8fbdd287d1dd67fee4720f16a3d506f75d9dafe7))
29
+ * onAuthSuccess with primaryWallet null when signing up with embedded wallets v3 ([#9345](https://github.com/dynamic-labs/dynamic-auth/issues/9345)) ([14e54a0](https://github.com/dynamic-labs/dynamic-auth/commit/14e54a093395a46cb32282aebc172b26c243d42f))
30
+ * rename passkey not automatically updating UI ([#9339](https://github.com/dynamic-labs/dynamic-auth/issues/9339)) ([b9ef253](https://github.com/dynamic-labs/dynamic-auth/commit/b9ef2532152a228feebb1fb9811937d7a14d81b1))
31
+ * wallet kit being initiated internally multiple times ([#9344](https://github.com/dynamic-labs/dynamic-auth/issues/9344)) ([49a3664](https://github.com/dynamic-labs/dynamic-auth/commit/49a3664c5995b0104693ec87b41b8540dd19bdca))
32
+
2
33
  ### [4.25.10](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.9...v4.25.10) (2025-08-07)
3
34
 
4
35
 
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.10";
6
+ var version = "4.27.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.25.10";
2
+ var version = "4.27.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/web-extension",
3
- "version": "4.25.10",
3
+ "version": "4.27.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -26,15 +26,15 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/sdk-api-core": "0.0.741",
29
+ "@dynamic-labs/sdk-api-core": "0.0.753",
30
30
  "@turnkey/webauthn-stamper": "0.5.0",
31
31
  "@simplewebauthn/browser": "13.1.0",
32
- "@dynamic-labs/assert-package-version": "4.25.10",
33
- "@dynamic-labs/client": "4.25.10",
34
- "@dynamic-labs/logger": "4.25.10",
35
- "@dynamic-labs/message-transport": "4.25.10",
36
- "@dynamic-labs/utils": "4.25.10",
37
- "@dynamic-labs/webauthn": "4.25.10"
32
+ "@dynamic-labs/assert-package-version": "4.27.0",
33
+ "@dynamic-labs/client": "4.27.0",
34
+ "@dynamic-labs/logger": "4.27.0",
35
+ "@dynamic-labs/message-transport": "4.27.0",
36
+ "@dynamic-labs/utils": "4.27.0",
37
+ "@dynamic-labs/webauthn": "4.27.0"
38
38
  },
39
39
  "peerDependencies": {}
40
40
  }
@@ -20,7 +20,9 @@ const WebExtension = ({ iFrameUrl = defaultIFrameUrl, } = {}) => (_, core) => {
20
20
  /**
21
21
  * Should not run this extension on react-native or SSR
22
22
  */
23
- if (typeof window === 'undefined' || typeof window.location === 'undefined')
23
+ if (typeof window === 'undefined' ||
24
+ typeof window.location === 'undefined' ||
25
+ typeof window.document === 'undefined')
24
26
  return {};
25
27
  core.manifest.setPlatform('browser');
26
28
  core.manifest.setRedirectUrl(window.location.href);
@@ -16,7 +16,9 @@ const WebExtension = ({ iFrameUrl = defaultIFrameUrl, } = {}) => (_, core) => {
16
16
  /**
17
17
  * Should not run this extension on react-native or SSR
18
18
  */
19
- if (typeof window === 'undefined' || typeof window.location === 'undefined')
19
+ if (typeof window === 'undefined' ||
20
+ typeof window.location === 'undefined' ||
21
+ typeof window.document === 'undefined')
20
22
  return {};
21
23
  core.manifest.setPlatform('browser');
22
24
  core.manifest.setRedirectUrl(window.location.href);