@dynamic-labs/starknet 4.91.3 → 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,12 @@
|
|
|
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
|
+
|
|
2
10
|
### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
|
|
3
11
|
|
|
4
12
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/starknet",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.4",
|
|
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.10.4",
|
|
25
25
|
"text-encoding": "0.7.0",
|
|
26
26
|
"@dynamic-labs/sdk-api-core": "0.0.1046",
|
|
27
|
-
"@dynamic-labs/assert-package-version": "4.91.
|
|
28
|
-
"@dynamic-labs/logger": "4.91.
|
|
29
|
-
"@dynamic-labs/rpc-providers": "4.91.
|
|
30
|
-
"@dynamic-labs/starknet-core": "4.91.
|
|
31
|
-
"@dynamic-labs/types": "4.91.
|
|
32
|
-
"@dynamic-labs/utils": "4.91.
|
|
33
|
-
"@dynamic-labs/wallet-book": "4.91.
|
|
34
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
27
|
+
"@dynamic-labs/assert-package-version": "4.91.4",
|
|
28
|
+
"@dynamic-labs/logger": "4.91.4",
|
|
29
|
+
"@dynamic-labs/rpc-providers": "4.91.4",
|
|
30
|
+
"@dynamic-labs/starknet-core": "4.91.4",
|
|
31
|
+
"@dynamic-labs/types": "4.91.4",
|
|
32
|
+
"@dynamic-labs/utils": "4.91.4",
|
|
33
|
+
"@dynamic-labs/wallet-book": "4.91.4",
|
|
34
|
+
"@dynamic-labs/wallet-connector-core": "4.91.4",
|
|
35
35
|
"assert": "2.1.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {}
|
|
@@ -90,7 +90,7 @@ class StarknetWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
90
90
|
}
|
|
91
91
|
catch (error) {
|
|
92
92
|
this.logger.error(error);
|
|
93
|
-
throw new utils.DynamicError('Something went wrong');
|
|
93
|
+
throw new utils.DynamicError('Something went wrong', 'fetch_balance_failed');
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
96
|
}
|
|
@@ -16,7 +16,7 @@ class Injected extends StarknetWalletConnector.StarknetWalletConnector {
|
|
|
16
16
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
17
17
|
const wallet = this.getWindowWallet();
|
|
18
18
|
if (!wallet) {
|
|
19
|
-
throw new utils.DynamicError('No wallet available to send RPC requests to');
|
|
19
|
+
throw new utils.DynamicError('No wallet available to send RPC requests to', 'no_wallet_available_to_send_rpc');
|
|
20
20
|
}
|
|
21
21
|
this.logger.debug('[prompt] Sending wallet_requestAccounts with silent_mode:', options.silently);
|
|
22
22
|
const accounts = yield wallet.request({
|
|
@@ -12,7 +12,7 @@ class Injected extends StarknetWalletConnector {
|
|
|
12
12
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13
13
|
const wallet = this.getWindowWallet();
|
|
14
14
|
if (!wallet) {
|
|
15
|
-
throw new DynamicError('No wallet available to send RPC requests to');
|
|
15
|
+
throw new DynamicError('No wallet available to send RPC requests to', 'no_wallet_available_to_send_rpc');
|
|
16
16
|
}
|
|
17
17
|
this.logger.debug('[prompt] Sending wallet_requestAccounts with silent_mode:', options.silently);
|
|
18
18
|
const accounts = yield wallet.request({
|