@dynamic-labs/solana 4.9.8 → 4.9.10

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,23 @@
1
1
 
2
+ ### [4.9.10](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.9...v4.9.10) (2025-03-26)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * auto select primary wallet when embedded wallets are disabled ([#8374](https://github.com/dynamic-labs/dynamic-auth/issues/8374)) ([780f3f1](https://github.com/dynamic-labs/dynamic-auth/commit/780f3f16ebd06dd8bc41fa85e8b4393c906989e2))
8
+
9
+ ### [4.9.9](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.8...v4.9.9) (2025-03-26)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **global-wallet-client:** properly clean up the popup state when popup is closed ([#8379](https://github.com/dynamic-labs/dynamic-auth/issues/8379)) ([782963f](https://github.com/dynamic-labs/dynamic-auth/commit/782963f87fcb2658b921ff6cc6f22c63be9714fb))
15
+ * hanging promises when a starknet wallet is connected but locked ([#8376](https://github.com/dynamic-labs/dynamic-auth/issues/8376)) ([a753939](https://github.com/dynamic-labs/dynamic-auth/commit/a7539395d4653be49f000ae51d15347a176b5b6c))
16
+ * token balance list should respect sort from backend ([#8383](https://github.com/dynamic-labs/dynamic-auth/issues/8383)) ([1c3bef4](https://github.com/dynamic-labs/dynamic-auth/commit/1c3bef47dbfd319e2444368a4a503b0839b5ad4b))
17
+
18
+
19
+ * add message auth code to global wallet ([#8354](https://github.com/dynamic-labs/dynamic-auth/issues/8354)) ([c847bf8](https://github.com/dynamic-labs/dynamic-auth/commit/c847bf8d66db54534348622255997f30f4309542))
20
+
2
21
  ### [4.9.8](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.7...v4.9.8) (2025-03-24)
3
22
 
4
23
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.9.8";
6
+ var version = "4.9.10";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.9.8";
2
+ var version = "4.9.10";
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.9.8",
3
+ "version": "4.9.10",
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.9.8",
29
- "@dynamic-labs/embedded-wallet-solana": "4.9.8",
30
- "@dynamic-labs/logger": "4.9.8",
31
- "@dynamic-labs/rpc-providers": "4.9.8",
28
+ "@dynamic-labs/assert-package-version": "4.9.10",
29
+ "@dynamic-labs/embedded-wallet-solana": "4.9.10",
30
+ "@dynamic-labs/logger": "4.9.10",
31
+ "@dynamic-labs/rpc-providers": "4.9.10",
32
32
  "@dynamic-labs/sdk-api-core": "0.0.644",
33
- "@dynamic-labs/solana-core": "4.9.8",
34
- "@dynamic-labs/types": "4.9.8",
35
- "@dynamic-labs/utils": "4.9.8",
36
- "@dynamic-labs/wallet-book": "4.9.8",
37
- "@dynamic-labs/wallet-connector-core": "4.9.8"
33
+ "@dynamic-labs/solana-core": "4.9.10",
34
+ "@dynamic-labs/types": "4.9.10",
35
+ "@dynamic-labs/utils": "4.9.10",
36
+ "@dynamic-labs/wallet-book": "4.9.10",
37
+ "@dynamic-labs/wallet-connector-core": "4.9.10"
38
38
  },
39
39
  "peerDependencies": {}
40
40
  }
@@ -112,8 +112,8 @@ const createSolanaSignerFromWalletStandard = ({ wallet, walletConnector, }) => {
112
112
  return;
113
113
  }
114
114
  const wrappedListener = (prop) => {
115
- var _a;
116
- const publicKey = (_a = prop.accounts) === null || _a === void 0 ? void 0 : _a[0].publicKey;
115
+ var _a, _b;
116
+ const publicKey = (_b = (_a = prop.accounts) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.publicKey;
117
117
  if (publicKey) {
118
118
  listener(new TextDecoder().decode(publicKey));
119
119
  }
@@ -159,8 +159,8 @@ const createSolanaSignerFromWalletStandard = ({ wallet, walletConnector, }) => {
159
159
  },
160
160
  providers: [],
161
161
  get publicKey() {
162
- var _a;
163
- if (!((_a = wallet.accounts) === null || _a === void 0 ? void 0 : _a[0].publicKey)) {
162
+ var _a, _b;
163
+ if (!((_b = (_a = wallet.accounts) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.publicKey)) {
164
164
  return undefined;
165
165
  }
166
166
  return new web3_js.PublicKey(wallet.accounts[0].publicKey);
@@ -108,8 +108,8 @@ const createSolanaSignerFromWalletStandard = ({ wallet, walletConnector, }) => {
108
108
  return;
109
109
  }
110
110
  const wrappedListener = (prop) => {
111
- var _a;
112
- const publicKey = (_a = prop.accounts) === null || _a === void 0 ? void 0 : _a[0].publicKey;
111
+ var _a, _b;
112
+ const publicKey = (_b = (_a = prop.accounts) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.publicKey;
113
113
  if (publicKey) {
114
114
  listener(new TextDecoder().decode(publicKey));
115
115
  }
@@ -155,8 +155,8 @@ const createSolanaSignerFromWalletStandard = ({ wallet, walletConnector, }) => {
155
155
  },
156
156
  providers: [],
157
157
  get publicKey() {
158
- var _a;
159
- if (!((_a = wallet.accounts) === null || _a === void 0 ? void 0 : _a[0].publicKey)) {
158
+ var _a, _b;
159
+ if (!((_b = (_a = wallet.accounts) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.publicKey)) {
160
160
  return undefined;
161
161
  }
162
162
  return new PublicKey(wallet.accounts[0].publicKey);