@dynamic-labs/starknet-core 4.0.0-alpha.4 → 4.0.0-alpha.6

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,38 @@
1
1
 
2
+ ## [4.0.0-alpha.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.5...v4.0.0-alpha.6) (2024-10-01)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * remove support to magic ([#7033](https://github.com/dynamic-labs/dynamic-auth/issues/7033)) ([0fdc41f](https://github.com/dynamic-labs/dynamic-auth/commit/0fdc41f05f87b32f56b73db068f984f18bdf69a0))
8
+
9
+ ### Features
10
+
11
+ * global connectivity disconnect ([#7008](https://github.com/dynamic-labs/dynamic-auth/issues/7008)) ([80d705b](https://github.com/dynamic-labs/dynamic-auth/commit/80d705ba252aa3b01cbf4861507fed00e460215f))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * add popper context to send balance ([#7016](https://github.com/dynamic-labs/dynamic-auth/issues/7016)) ([73aa6f1](https://github.com/dynamic-labs/dynamic-auth/commit/73aa6f122afe0db660ebb654f3e018ae7bf445c5))
17
+ * add retry to useConnectWithOtp ([#7012](https://github.com/dynamic-labs/dynamic-auth/issues/7012)) ([d551d72](https://github.com/dynamic-labs/dynamic-auth/commit/d551d72a463f8a03964858b30ec174d41985a7b1))
18
+ * don't re-fetch wallet address on network change ([#7019](https://github.com/dynamic-labs/dynamic-auth/issues/7019)) ([4e7900c](https://github.com/dynamic-labs/dynamic-auth/commit/4e7900cc24b3abda736bc81466eda7512cf7fc61))
19
+ * fix sign message with solana wallet standard provider ([#7014](https://github.com/dynamic-labs/dynamic-auth/issues/7014)) ([ffaf972](https://github.com/dynamic-labs/dynamic-auth/commit/ffaf972e8b190b0b8cd0103e0ef67bfdee6c8f7c))
20
+ * update wallet reference when user switches wallet in connect-only ([#7030](https://github.com/dynamic-labs/dynamic-auth/issues/7030)) ([75d9aa6](https://github.com/dynamic-labs/dynamic-auth/commit/75d9aa66f63fc5536caeff12d8b860c0ba86106f))
21
+
22
+
23
+ ## [4.0.0-alpha.5](https://github.com/dynamic-labs/DynamicAuth/compare/v4.0.0-alpha.4...v4.0.0-alpha.5) (2024-09-25)
24
+
25
+
26
+ ### Features
27
+
28
+ * add isInstalledOnBrowser prop to wallet options in useWalletOptions ([#6976](https://github.com/dynamic-labs/DynamicAuth/issues/6976)) ([0fda409](https://github.com/dynamic-labs/DynamicAuth/commit/0fda409b293c83d73869d791c3d38ac421dcdecb))
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **client:** return user profile when using sign in with external jwt ([#7004](https://github.com/dynamic-labs/DynamicAuth/issues/7004)) ([927cfb6](https://github.com/dynamic-labs/DynamicAuth/commit/927cfb69f3dd7f8b00e3f0f975277a84c99c830b))
34
+ * react-native-extension to include esm ([#6965](https://github.com/dynamic-labs/DynamicAuth/issues/6965)) ([336825b](https://github.com/dynamic-labs/DynamicAuth/commit/336825b50142002bbc67c6f8850bd63030bf384b))
35
+
2
36
  ## [4.0.0-alpha.4](https://github.com/dynamic-labs/DynamicAuth/compare/v4.0.0-alpha.3...v4.0.0-alpha.4) (2024-09-23)
3
37
 
4
38
 
package/package.cjs ADDED
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var version = "4.0.0-alpha.6";
7
+
8
+ exports.version = version;
package/package.js ADDED
@@ -0,0 +1,4 @@
1
+ 'use client'
2
+ var version = "4.0.0-alpha.6";
3
+
4
+ export { version };
package/package.json CHANGED
@@ -1,16 +1,7 @@
1
1
  {
2
2
  "name": "@dynamic-labs/starknet-core",
3
- "version": "4.0.0-alpha.4",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
7
- "directory": "packages/starknet-core"
8
- },
3
+ "version": "4.0.0-alpha.6",
9
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
10
- "bugs": {
11
- "url": "https://github.com/dynamic-labs/DynamicAuth/issues"
12
- },
13
- "homepage": "https://github.com/dynamic-labs/DynamicAuth#readme",
14
5
  "author": "Dynamic Labs, Inc.",
15
6
  "license": "MIT",
16
7
  "main": "./src/index.cjs",
@@ -25,10 +16,12 @@
25
16
  },
26
17
  "./package.json": "./package.json"
27
18
  },
19
+ "homepage": "https://www.dynamic.xyz/",
28
20
  "dependencies": {
29
21
  "starknet": "5.25.0",
30
- "@dynamic-labs/rpc-providers": "4.0.0-alpha.4",
31
- "@dynamic-labs/types": "4.0.0-alpha.4"
22
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.6",
23
+ "@dynamic-labs/rpc-providers": "4.0.0-alpha.6",
24
+ "@dynamic-labs/types": "4.0.0-alpha.6"
32
25
  },
33
26
  "peerDependencies": {}
34
27
  }
package/src/index.cjs CHANGED
@@ -4,9 +4,12 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var starknet = require('starknet');
7
+ var assertPackageVersion = require('@dynamic-labs/assert-package-version');
7
8
  var rpcProviders = require('@dynamic-labs/rpc-providers');
9
+ var _package = require('../package.cjs');
8
10
 
9
11
  /* eslint-disable @typescript-eslint/no-namespace */
12
+ assertPackageVersion.assertPackageVersion('@dynamic-labs/starknet-core', _package.version);
10
13
  rpcProviders.ChainRpcProviders.getStarknetRpcProviderByChainId = (config, chainId) => {
11
14
  var _a;
12
15
  const rpcProviders$1 = rpcProviders.ChainRpcProviders.getProviders(config);
package/src/index.js CHANGED
@@ -1,9 +1,12 @@
1
1
  'use client'
2
2
  import { RpcProvider } from 'starknet';
3
+ import { assertPackageVersion } from '@dynamic-labs/assert-package-version';
3
4
  import { ChainRpcProviders, ProviderChain } from '@dynamic-labs/rpc-providers';
4
5
  export * from '@dynamic-labs/rpc-providers';
6
+ import { version } from '../package.js';
5
7
 
6
8
  /* eslint-disable @typescript-eslint/no-namespace */
9
+ assertPackageVersion('@dynamic-labs/starknet-core', version);
7
10
  ChainRpcProviders.getStarknetRpcProviderByChainId = (config, chainId) => {
8
11
  var _a;
9
12
  const rpcProviders = ChainRpcProviders.getProviders(config);