@dynamic-labs/solana 4.18.5 → 4.18.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,18 @@
1
1
 
2
+ ### [4.18.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.5...v4.18.6) (2025-05-16)
3
+
4
+
5
+ ### Features
6
+
7
+ * remove alert on wallet icon fail errors ([#8719](https://github.com/dynamic-labs/dynamic-auth/issues/8719)) ([3257160](https://github.com/dynamic-labs/dynamic-auth/commit/3257160ec2ce422e76ccf5e5adc10f92e73c3c61))
8
+ * evm export waas ([#8669](https://github.com/dynamic-labs/dynamic-auth/issues/8669)) ([c8f6199](https://github.com/dynamic-labs/dynamic-auth/commit/c8f6199914c5c0791996e0dfad1ac5642c327bea))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * onramps hook ([#8700](https://github.com/dynamic-labs/dynamic-auth/issues/8700)) ([33d0fb5](https://github.com/dynamic-labs/dynamic-auth/commit/33d0fb5e83db627aeea5ce2f07871cd4029c118a))
14
+ * use mainnet as default SVM cluster ([#8721](https://github.com/dynamic-labs/dynamic-auth/issues/8721)) ([5408f9a](https://github.com/dynamic-labs/dynamic-auth/commit/5408f9afbd2b4c6dfaf041c661cc3fb4802b6c05))
15
+
2
16
  ### [4.18.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.4...v4.18.5) (2025-05-15)
3
17
 
4
18
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.18.5";
6
+ var version = "4.18.6";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.18.5";
2
+ var version = "4.18.6";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/solana",
3
- "version": "4.18.5",
3
+ "version": "4.18.6",
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",
@@ -25,16 +25,16 @@
25
25
  "@wallet-standard/experimental-features": "0.1.1",
26
26
  "bs58": "5.0.0",
27
27
  "tweetnacl": "1.0.3",
28
- "@dynamic-labs/assert-package-version": "4.18.5",
29
- "@dynamic-labs/embedded-wallet-solana": "4.18.5",
30
- "@dynamic-labs/logger": "4.18.5",
31
- "@dynamic-labs/rpc-providers": "4.18.5",
32
- "@dynamic-labs/sdk-api-core": "0.0.667",
33
- "@dynamic-labs/solana-core": "4.18.5",
34
- "@dynamic-labs/types": "4.18.5",
35
- "@dynamic-labs/utils": "4.18.5",
36
- "@dynamic-labs/wallet-book": "4.18.5",
37
- "@dynamic-labs/wallet-connector-core": "4.18.5"
28
+ "@dynamic-labs/assert-package-version": "4.18.6",
29
+ "@dynamic-labs/embedded-wallet-solana": "4.18.6",
30
+ "@dynamic-labs/logger": "4.18.6",
31
+ "@dynamic-labs/rpc-providers": "4.18.6",
32
+ "@dynamic-labs/sdk-api-core": "0.0.669",
33
+ "@dynamic-labs/solana-core": "4.18.6",
34
+ "@dynamic-labs/types": "4.18.6",
35
+ "@dynamic-labs/utils": "4.18.6",
36
+ "@dynamic-labs/wallet-book": "4.18.6",
37
+ "@dynamic-labs/wallet-connector-core": "4.18.6"
38
38
  },
39
39
  "peerDependencies": {}
40
40
  }
@@ -51,7 +51,7 @@ const createSolanaSignerFromWalletStandard = ({ wallet, walletConnector, }) => {
51
51
  throw new Error('Network not found');
52
52
  }
53
53
  //for SVM netwroks, the cluster name is stored in shortName for now
54
- const cluster = (_a = currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet-beta';
54
+ const cluster = (_a = currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet';
55
55
  return `solana:${cluster}`;
56
56
  };
57
57
  const signTransaction = (transaction) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
@@ -47,7 +47,7 @@ const createSolanaSignerFromWalletStandard = ({ wallet, walletConnector, }) => {
47
47
  throw new Error('Network not found');
48
48
  }
49
49
  //for SVM netwroks, the cluster name is stored in shortName for now
50
- const cluster = (_a = currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet-beta';
50
+ const cluster = (_a = currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet';
51
51
  return `solana:${cluster}`;
52
52
  };
53
53
  const signTransaction = (transaction) => __awaiter(void 0, void 0, void 0, function* () {
@@ -63,7 +63,7 @@ class PhantomRedirect extends solanaCore.SolanaWalletConnector {
63
63
  href.includes('0.0.0.0') ||
64
64
  href.includes('127.0.0.1');
65
65
  const currentNetwork = this.getSelectedNetwork();
66
- const cluster = (_a = currentNetwork === null || currentNetwork === void 0 ? void 0 : currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet-beta';
66
+ const cluster = (_a = currentNetwork === null || currentNetwork === void 0 ? void 0 : currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet';
67
67
  const params = new URLSearchParams({
68
68
  app_url: isLocalHost ? 'https://demo.dynamic.xyz' : href,
69
69
  cluster,
@@ -54,7 +54,7 @@ class PhantomRedirect extends SolanaWalletConnector {
54
54
  href.includes('0.0.0.0') ||
55
55
  href.includes('127.0.0.1');
56
56
  const currentNetwork = this.getSelectedNetwork();
57
- const cluster = (_a = currentNetwork === null || currentNetwork === void 0 ? void 0 : currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet-beta';
57
+ const cluster = (_a = currentNetwork === null || currentNetwork === void 0 ? void 0 : currentNetwork.cluster) !== null && _a !== void 0 ? _a : 'mainnet';
58
58
  const params = new URLSearchParams({
59
59
  app_url: isLocalHost ? 'https://demo.dynamic.xyz' : href,
60
60
  cluster,