starknet 9.0.0-beta.3 → 9.0.0-beta.5
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 +25 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.global.js +9 -15
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +9 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [9.0.0-beta.5](https://github.com/starknet-io/starknet.js/compare/v9.0.0-beta.4...v9.0.0-beta.5) (2025-12-08)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- default value for starknetVersion has to be set ([8f3e675](https://github.com/starknet-io/starknet.js/commit/8f3e67538c981cc6880829e04413502f6973538e))
|
|
6
|
+
- replace alchemy with zan for public node ([264d86b](https://github.com/starknet-io/starknet.js/commit/264d86b7831ced1967c3a8824ecb58bda70e19c2))
|
|
7
|
+
|
|
8
|
+
# [9.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v9.0.0-beta.3...v9.0.0-beta.4) (2025-12-08)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- replace alchemy with zan for public node ([1d9f0dd](https://github.com/starknet-io/starknet.js/commit/1d9f0dd0b80796c2ed2f459d84cafb92b4138eeb))
|
|
13
|
+
|
|
1
14
|
# [9.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v9.0.0-beta.2...v9.0.0-beta.3) (2025-11-26)
|
|
2
15
|
|
|
3
16
|
### Bug Fixes
|
|
@@ -30,6 +43,18 @@
|
|
|
30
43
|
|
|
31
44
|
- starknetjs v9
|
|
32
45
|
|
|
46
|
+
## [8.9.2](https://github.com/starknet-io/starknet.js/compare/v8.9.1...v8.9.2) (2025-12-08)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
- replace alchemy with zan for public node ([264d86b](https://github.com/starknet-io/starknet.js/commit/264d86b7831ced1967c3a8824ecb58bda70e19c2))
|
|
51
|
+
|
|
52
|
+
## [8.9.1](https://github.com/starknet-io/starknet.js/compare/v8.9.0...v8.9.1) (2025-11-26)
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
- default value for starknetVersion has to be set ([8f3e675](https://github.com/starknet-io/starknet.js/commit/8f3e67538c981cc6880829e04413502f6973538e))
|
|
57
|
+
|
|
33
58
|
# [8.9.0](https://github.com/starknet-io/starknet.js/compare/v8.8.0...v8.9.0) (2025-11-13)
|
|
34
59
|
|
|
35
60
|
### Features
|
package/dist/index.d.ts
CHANGED
|
@@ -3908,8 +3908,8 @@ declare const DEFAULT_GLOBAL_CONFIG: {
|
|
|
3908
3908
|
blake: ((uint8Array: Uint8Array) => Uint8Array) | undefined;
|
|
3909
3909
|
};
|
|
3910
3910
|
declare const RPC_DEFAULT_NODES: {
|
|
3911
|
-
readonly SN_MAIN: readonly ["https://
|
|
3912
|
-
readonly SN_SEPOLIA: readonly ["https://
|
|
3911
|
+
readonly SN_MAIN: readonly ["https://api.zan.top/public/starknet-mainnet/rpc/"];
|
|
3912
|
+
readonly SN_SEPOLIA: readonly ["https://api.zan.top/public/starknet-sepolia/rpc/"];
|
|
3913
3913
|
};
|
|
3914
3914
|
declare const PAYMASTER_RPC_NODES: {
|
|
3915
3915
|
readonly SN_MAIN: readonly ["https://starknet.paymaster.avnu.fi"];
|
|
@@ -7771,7 +7771,9 @@ declare const getDefaultNodeUrl: (networkName?: _NetworkName, mute?: boolean, rp
|
|
|
7771
7771
|
/**
|
|
7772
7772
|
* return Defaults RPC Nodes endpoints
|
|
7773
7773
|
*/
|
|
7774
|
-
declare function getDefaultNodes(rpcVersion: _SupportedRpcVersion):
|
|
7774
|
+
declare function getDefaultNodes(rpcVersion: _SupportedRpcVersion): {
|
|
7775
|
+
[k: string]: string[];
|
|
7776
|
+
};
|
|
7775
7777
|
/**
|
|
7776
7778
|
* Return supported RPC versions
|
|
7777
7779
|
* @returns {SupportedRpcVersion[]} available RPC versions
|
package/dist/index.global.js
CHANGED
|
@@ -1202,8 +1202,8 @@ var starknet = (() => {
|
|
|
1202
1202
|
blake: void 0
|
|
1203
1203
|
};
|
|
1204
1204
|
var RPC_DEFAULT_NODES = {
|
|
1205
|
-
SN_MAIN: [`https://
|
|
1206
|
-
SN_SEPOLIA: [`https://
|
|
1205
|
+
SN_MAIN: [`https://api.zan.top/public/starknet-mainnet/rpc/`],
|
|
1206
|
+
SN_SEPOLIA: [`https://api.zan.top/public/starknet-sepolia/rpc/`]
|
|
1207
1207
|
};
|
|
1208
1208
|
var PAYMASTER_RPC_NODES = {
|
|
1209
1209
|
SN_MAIN: [`https://starknet.paymaster.avnu.fi`],
|
|
@@ -14778,19 +14778,13 @@ ${indent}}` : "}";
|
|
|
14778
14778
|
return nodes[randIdx];
|
|
14779
14779
|
};
|
|
14780
14780
|
function getDefaultNodes(rpcVersion) {
|
|
14781
|
-
const
|
|
14782
|
-
Object.
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
return `${it}${toApiVersion(rpcVersion)}/uYLxCteYbHTFJpKSoKdVm`;
|
|
14789
|
-
}
|
|
14790
|
-
return `${it}${toApiVersion(rpcVersion)}`;
|
|
14791
|
-
});
|
|
14792
|
-
});
|
|
14793
|
-
return nodes;
|
|
14781
|
+
const apiVersion = toApiVersion(rpcVersion);
|
|
14782
|
+
return Object.fromEntries(
|
|
14783
|
+
Object.entries(RPC_DEFAULT_NODES).map(([key, urls]) => [
|
|
14784
|
+
key,
|
|
14785
|
+
urls.map((url) => `${url}${apiVersion}`)
|
|
14786
|
+
])
|
|
14787
|
+
);
|
|
14794
14788
|
}
|
|
14795
14789
|
function getSupportedRpcVersions() {
|
|
14796
14790
|
return [...new Set(Object.values(_SupportedRpcVersion))];
|