@dynamic-labs/starknet 4.8.0 → 4.8.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,11 @@
1
1
 
2
+ ### [4.8.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.8.0...v4.8.1) (2025-02-25)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * wc redirect for safari inside iframe ([#8131](https://github.com/dynamic-labs/dynamic-auth/issues/8131)) ([8c74bea](https://github.com/dynamic-labs/dynamic-auth/commit/8c74beae505014eb85be4fd211909709d0a339dd))
8
+
2
9
  ## [4.8.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.7.2...v4.8.0) (2025-02-25)
3
10
 
4
11
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.8.0";
6
+ var version = "4.8.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.8.0";
2
+ var version = "4.8.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/starknet",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -24,14 +24,14 @@
24
24
  "starknetkit": "2.6.2",
25
25
  "text-encoding": "0.7.0",
26
26
  "@dynamic-labs/sdk-api-core": "0.0.628",
27
- "@dynamic-labs/assert-package-version": "4.8.0",
28
- "@dynamic-labs/logger": "4.8.0",
29
- "@dynamic-labs/rpc-providers": "4.8.0",
30
- "@dynamic-labs/starknet-core": "4.8.0",
31
- "@dynamic-labs/types": "4.8.0",
32
- "@dynamic-labs/utils": "4.8.0",
33
- "@dynamic-labs/wallet-book": "4.8.0",
34
- "@dynamic-labs/wallet-connector-core": "4.8.0",
27
+ "@dynamic-labs/assert-package-version": "4.8.1",
28
+ "@dynamic-labs/logger": "4.8.1",
29
+ "@dynamic-labs/rpc-providers": "4.8.1",
30
+ "@dynamic-labs/starknet-core": "4.8.1",
31
+ "@dynamic-labs/types": "4.8.1",
32
+ "@dynamic-labs/utils": "4.8.1",
33
+ "@dynamic-labs/wallet-book": "4.8.1",
34
+ "@dynamic-labs/wallet-connector-core": "4.8.1",
35
35
  "assert": "2.1.0"
36
36
  },
37
37
  "peerDependencies": {}
@@ -68,7 +68,7 @@ class Injected extends StarknetWalletConnector.StarknetWalletConnector {
68
68
  const deepLink = inAppBrowserTemplate({
69
69
  encodedDappURI: window.location.toString().replace(/http(s)?:\/\//, ''),
70
70
  });
71
- window.location.href = deepLink;
71
+ utils.PlatformService.openURL(deepLink);
72
72
  return undefined;
73
73
  });
74
74
  }
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import { __awaiter } from '../../../_virtual/_tslib.js';
3
3
  import { WALLET_API } from '@starknet-io/types-js';
4
- import { DynamicError, isMobile, template } from '@dynamic-labs/utils';
4
+ import { DynamicError, isMobile, template, PlatformService } from '@dynamic-labs/utils';
5
5
  import { StarknetWalletConnector } from '../../StarknetWalletConnector.js';
6
6
 
7
7
  class Injected extends StarknetWalletConnector {
@@ -64,7 +64,7 @@ class Injected extends StarknetWalletConnector {
64
64
  const deepLink = inAppBrowserTemplate({
65
65
  encodedDappURI: window.location.toString().replace(/http(s)?:\/\//, ''),
66
66
  });
67
- window.location.href = deepLink;
67
+ PlatformService.openURL(deepLink);
68
68
  return undefined;
69
69
  });
70
70
  }