@dynamic-labs/solana-core 4.91.2 → 4.91.4
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,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* conditionally use /op/ route for AA transactions based on block explorer support ([#11628](https://github.com/dynamic-labs/dynamic-auth/issues/11628)) ([95822dc](https://github.com/dynamic-labs/dynamic-auth/commit/95822dc0edbcd739afe870f0b3881555fdb17eb6))
|
|
8
|
+
* require error codes in all SDK error classes ([#11761](https://github.com/dynamic-labs/dynamic-auth/issues/11761)) ([5744811](https://github.com/dynamic-labs/dynamic-auth/commit/5744811efdd1e415aaf51eec5b3300b323ec1347))
|
|
9
|
+
|
|
10
|
+
### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **bitcoin:** detect late-registering wallet-standard wallets (DYNT-1210) ([#11747](https://github.com/dynamic-labs/dynamic-auth/issues/11747)) ([17809f6](https://github.com/dynamic-labs/dynamic-auth/commit/17809f6e811fe101367cc31a2d899a8d0b0d107e))
|
|
16
|
+
* fetch onramp providers lazily instead of eagerly on mount ([#11767](https://github.com/dynamic-labs/dynamic-auth/issues/11767)) ([3ee6708](https://github.com/dynamic-labs/dynamic-auth/commit/3ee67087142ae1942f865e0ab37b7108700b3327))
|
|
17
|
+
* **iframe-setup:** sync parent URL to iframe on pushState/replaceState ([#11751](https://github.com/dynamic-labs/dynamic-auth/issues/11751)) ([c8be3af](https://github.com/dynamic-labs/dynamic-auth/commit/c8be3afc301f77b349f23398bed940ce40f93b73))
|
|
18
|
+
* **nonce:** fetch nonce on demand when missing before wallet verification ([#11753](https://github.com/dynamic-labs/dynamic-auth/issues/11753)) ([4f01a21](https://github.com/dynamic-labs/dynamic-auth/commit/4f01a21b6081c852f32868c8a5e04d70aaf280a2)), closes [#1](https://github.com/dynamic-labs/dynamic-auth/issues/1)
|
|
19
|
+
* **react-native-extension:** arm loading timer before setUrl to cover pre-onLoadStart gap ([#11764](https://github.com/dynamic-labs/dynamic-auth/issues/11764)) ([31f2015](https://github.com/dynamic-labs/dynamic-auth/commit/31f20151a4b59279f9c133b723e50de771b06436))
|
|
20
|
+
* **webview-controller:** unwrap ZeroDev smart wallet for native gasless ([#11758](https://github.com/dynamic-labs/dynamic-auth/issues/11758)) ([989714e](https://github.com/dynamic-labs/dynamic-auth/commit/989714e414556868c8e0c54401aac1ed7354331b))
|
|
21
|
+
|
|
2
22
|
### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
|
|
3
23
|
|
|
4
24
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/solana-core",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.4",
|
|
4
4
|
"description": "Core package for utilities and types for solana",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.1046",
|
|
22
|
-
"@dynamic-labs/utils": "4.91.
|
|
22
|
+
"@dynamic-labs/utils": "4.91.4",
|
|
23
23
|
"@solana/web3.js": "1.98.1",
|
|
24
24
|
"@solana/spl-token": "0.4.14",
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.91.
|
|
26
|
-
"@dynamic-labs/rpc-providers": "4.91.
|
|
27
|
-
"@dynamic-labs/types": "4.91.
|
|
28
|
-
"@dynamic-labs/wallet-book": "4.91.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.91.4",
|
|
26
|
+
"@dynamic-labs/rpc-providers": "4.91.4",
|
|
27
|
+
"@dynamic-labs/types": "4.91.4",
|
|
28
|
+
"@dynamic-labs/wallet-book": "4.91.4",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.91.4",
|
|
30
30
|
"eventemitter3": "5.0.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
|
@@ -102,7 +102,7 @@ class SolanaWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
102
102
|
var _a;
|
|
103
103
|
const network = this.getSelectedNetwork();
|
|
104
104
|
if (!network) {
|
|
105
|
-
throw new utils.DynamicError('No enabled networks');
|
|
105
|
+
throw new utils.DynamicError('No enabled networks', 'no_enabled_networks');
|
|
106
106
|
}
|
|
107
107
|
const rpcUrl = getOverrideRpcUrlForNetwork.getOverrideRpcUrlForNetwork(this.connectionConfig, network);
|
|
108
108
|
return new web3_js.Connection(rpcUrl, (_a = this.connectionConfig) !== null && _a !== void 0 ? _a : 'confirmed');
|
|
@@ -165,7 +165,7 @@ class SolanaWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
165
165
|
if (this.isHardwareWalletEnabled) {
|
|
166
166
|
const nonce = extractNonce.extractNonce(messageToSign);
|
|
167
167
|
if (!nonce) {
|
|
168
|
-
throw new utils.DynamicError('Nonce missing');
|
|
168
|
+
throw new utils.DynamicError('Nonce missing', 'nonce_missing');
|
|
169
169
|
}
|
|
170
170
|
return this.signMessageViaTransaction(nonce);
|
|
171
171
|
}
|
|
@@ -176,14 +176,14 @@ class SolanaWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
176
176
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
177
177
|
const address = yield this.getAddress();
|
|
178
178
|
if (!address) {
|
|
179
|
-
throw new utils.DynamicError('Address missing');
|
|
179
|
+
throw new utils.DynamicError('Address missing', 'address_missing');
|
|
180
180
|
}
|
|
181
181
|
const transaction = this.buildAuthTx(messageToSign);
|
|
182
182
|
transaction.feePayer = new web3_js.PublicKey(address);
|
|
183
183
|
transaction.recentBlockhash = (yield this.getWalletClient().getLatestBlockhash()).blockhash;
|
|
184
184
|
const signer = yield this.getSigner();
|
|
185
185
|
if (!signer) {
|
|
186
|
-
throw new utils.DynamicError('Signer not found');
|
|
186
|
+
throw new utils.DynamicError('Signer not found', 'signer_not_found');
|
|
187
187
|
}
|
|
188
188
|
const signedTransaction = yield signer.signTransaction(transaction);
|
|
189
189
|
const serializedSignedTransaction = signedTransaction.serialize();
|
|
@@ -98,7 +98,7 @@ class SolanaWalletConnector extends WalletConnectorBase {
|
|
|
98
98
|
var _a;
|
|
99
99
|
const network = this.getSelectedNetwork();
|
|
100
100
|
if (!network) {
|
|
101
|
-
throw new DynamicError('No enabled networks');
|
|
101
|
+
throw new DynamicError('No enabled networks', 'no_enabled_networks');
|
|
102
102
|
}
|
|
103
103
|
const rpcUrl = getOverrideRpcUrlForNetwork(this.connectionConfig, network);
|
|
104
104
|
return new Connection(rpcUrl, (_a = this.connectionConfig) !== null && _a !== void 0 ? _a : 'confirmed');
|
|
@@ -161,7 +161,7 @@ class SolanaWalletConnector extends WalletConnectorBase {
|
|
|
161
161
|
if (this.isHardwareWalletEnabled) {
|
|
162
162
|
const nonce = extractNonce(messageToSign);
|
|
163
163
|
if (!nonce) {
|
|
164
|
-
throw new DynamicError('Nonce missing');
|
|
164
|
+
throw new DynamicError('Nonce missing', 'nonce_missing');
|
|
165
165
|
}
|
|
166
166
|
return this.signMessageViaTransaction(nonce);
|
|
167
167
|
}
|
|
@@ -172,14 +172,14 @@ class SolanaWalletConnector extends WalletConnectorBase {
|
|
|
172
172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
173
173
|
const address = yield this.getAddress();
|
|
174
174
|
if (!address) {
|
|
175
|
-
throw new DynamicError('Address missing');
|
|
175
|
+
throw new DynamicError('Address missing', 'address_missing');
|
|
176
176
|
}
|
|
177
177
|
const transaction = this.buildAuthTx(messageToSign);
|
|
178
178
|
transaction.feePayer = new PublicKey(address);
|
|
179
179
|
transaction.recentBlockhash = (yield this.getWalletClient().getLatestBlockhash()).blockhash;
|
|
180
180
|
const signer = yield this.getSigner();
|
|
181
181
|
if (!signer) {
|
|
182
|
-
throw new DynamicError('Signer not found');
|
|
182
|
+
throw new DynamicError('Signer not found', 'signer_not_found');
|
|
183
183
|
}
|
|
184
184
|
const signedTransaction = yield signer.signTransaction(transaction);
|
|
185
185
|
const serializedSignedTransaction = signedTransaction.serialize();
|