starknet 7.0.0 → 7.1.0

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,3 +1,253 @@
1
+ # [7.1.0](https://github.com/starknet-io/starknet.js/compare/v7.0.1...v7.1.0) (2025-04-14)
2
+
3
+ ### Bug Fixes
4
+
5
+ - ensure enum replacement objects are reachable for type resolution ([#1375](https://github.com/starknet-io/starknet.js/issues/1375)) ([eb8b10d](https://github.com/starknet-io/starknet.js/commit/eb8b10dd075475d83cbd4748b610d911f945823f))
6
+ - make the provider create method generic to enable it when mixins are applied ([#1370](https://github.com/starknet-io/starknet.js/issues/1370)) ([1f48dc6](https://github.com/starknet-io/starknet.js/commit/1f48dc6957aea8d5480f5413c184ac82ea5dd0db))
7
+
8
+ ### Features
9
+
10
+ - update to rpc 0.8.1 ([83e17b8](https://github.com/starknet-io/starknet.js/commit/83e17b8b385fe00b5d2ed476de80a6773565bd9a))
11
+
12
+ ## [7.0.1](https://github.com/starknet-io/starknet.js/compare/v7.0.0...v7.0.1) (2025-03-28)
13
+
14
+ ### Bug Fixes
15
+
16
+ - preserve value for numeric arguments within address padding utility ([abc7958](https://github.com/starknet-io/starknet.js/commit/abc7958a68f5edc396f038f2352a9d747980502f))
17
+
18
+ # [7.0.0](https://github.com/starknet-io/starknet.js/compare/v6.24.1...v7.0.0) (2025-03-28)
19
+
20
+ - Implement RPC 0.8 and V3 transactions ([#1328](https://github.com/starknet-io/starknet.js/issues/1328)) ([316ae27](https://github.com/starknet-io/starknet.js/commit/316ae2789376368dcffe653ce4817eebf0a63d97))
21
+
22
+ ### Bug Fixes
23
+
24
+ - contract withOptions Fix/1252 ([#1255](https://github.com/starknet-io/starknet.js/issues/1255)) ([b59952e](https://github.com/starknet-io/starknet.js/commit/b59952e74baf82641d6028c96625db104049c02e))
25
+ - update ws impl, add TEST_WS_URL, update token constants ([411eeec](https://github.com/starknet-io/starknet.js/commit/411eeec1df6a38358f28612260066b38fc942957))
26
+
27
+ ### Features
28
+
29
+ - drop fetch-cookie dependency ([9a57daf](https://github.com/starknet-io/starknet.js/commit/9a57dafce473432df7040f68e0824e9e78f6e215))
30
+ - drop isomorphic-fetch dependency ([9da0083](https://github.com/starknet-io/starknet.js/commit/9da0083d2084b0bd9ec7da06ea9a80f267f4e397))
31
+ - prune deprecated functionalities ([cbd18f5](https://github.com/starknet-io/starknet.js/commit/cbd18f59fb0749c558ba4eabc0f094464941b088))
32
+ - the WebSockets ([#1251](https://github.com/starknet-io/starknet.js/issues/1251)) ([fabca27](https://github.com/starknet-io/starknet.js/commit/fabca27a7a3e398030a99cf8d78bffa51cebfe9a)), closes [#1272](https://github.com/starknet-io/starknet.js/issues/1272)
33
+ - Update Beta to latest Develop ([#1312](https://github.com/starknet-io/starknet.js/issues/1312)) ([2958051](https://github.com/starknet-io/starknet.js/commit/295805116cf0f57b8708f545cc187f19f79588f4)), closes [#949](https://github.com/starknet-io/starknet.js/issues/949) [#970](https://github.com/starknet-io/starknet.js/issues/970)
34
+ - v7 fee, new methods, tests ([#1337](https://github.com/starknet-io/starknet.js/issues/1337)) ([00743de](https://github.com/starknet-io/starknet.js/commit/00743de2cad5375a558844646f11b4adef15188b))
35
+
36
+ ### BREAKING CHANGES
37
+
38
+ - Removed multiple functionalities that have been marked as deprecated
39
+ - Library defaults to RPC 0.8 with the corresponding API changes, dropped RPC 0.6 support
40
+
41
+ # [7.0.0-beta.4](https://github.com/starknet-io/starknet.js/compare/v7.0.0-beta.3...v7.0.0-beta.4) (2025-03-28)
42
+
43
+ ### Bug Fixes
44
+
45
+ - repair snip-12 enum type nested dependency ([#1289](https://github.com/starknet-io/starknet.js/issues/1289)) ([1cd4219](https://github.com/starknet-io/starknet.js/commit/1cd4219df5e61a676bc58ba8c8673269695fc2db))
46
+
47
+ ### Features
48
+
49
+ - drop fetch-cookie dependency ([9a57daf](https://github.com/starknet-io/starknet.js/commit/9a57dafce473432df7040f68e0824e9e78f6e215))
50
+ - drop isomorphic-fetch dependency ([9da0083](https://github.com/starknet-io/starknet.js/commit/9da0083d2084b0bd9ec7da06ea9a80f267f4e397))
51
+ - prune deprecated functionalities ([cbd18f5](https://github.com/starknet-io/starknet.js/commit/cbd18f59fb0749c558ba4eabc0f094464941b088))
52
+
53
+ ### BREAKING CHANGES
54
+
55
+ - Removed multiple functionalities that have been marked as deprecated
56
+
57
+ # [7.0.0-beta.3](https://github.com/starknet-io/starknet.js/compare/v7.0.0-beta.2...v7.0.0-beta.3) (2025-03-13)
58
+
59
+ ### Features
60
+
61
+ - add simulate and estimate fee utility methods for outside execution ([#1327](https://github.com/starknet-io/starknet.js/issues/1327)) ([3668b01](https://github.com/starknet-io/starknet.js/commit/3668b01c4f63969bb0770ee6120fe3eac72d0335))
62
+ - implement cairo fixed array support ([#1310](https://github.com/starknet-io/starknet.js/issues/1310)) ([45df63e](https://github.com/starknet-io/starknet.js/commit/45df63e7bb7f7cb2de2e98900387b1c44a95f257))
63
+
64
+ # [7.0.0-beta.2](https://github.com/starknet-io/starknet.js/compare/v7.0.0-beta.1...v7.0.0-beta.2) (2025-03-10)
65
+
66
+ ### Bug Fixes
67
+
68
+ - contract withOptions Fix/1252 ([#1255](https://github.com/starknet-io/starknet.js/issues/1255)) ([b59952e](https://github.com/starknet-io/starknet.js/commit/b59952e74baf82641d6028c96625db104049c02e))
69
+ - update ws impl, add TEST_WS_URL, update token constants ([411eeec](https://github.com/starknet-io/starknet.js/commit/411eeec1df6a38358f28612260066b38fc942957))
70
+
71
+ ### Features
72
+
73
+ - the WebSockets ([#1251](https://github.com/starknet-io/starknet.js/issues/1251)) ([fabca27](https://github.com/starknet-io/starknet.js/commit/fabca27a7a3e398030a99cf8d78bffa51cebfe9a)), closes [#1272](https://github.com/starknet-io/starknet.js/issues/1272)
74
+ - v7 fee, new methods, tests ([#1337](https://github.com/starknet-io/starknet.js/issues/1337)) ([00743de](https://github.com/starknet-io/starknet.js/commit/00743de2cad5375a558844646f11b4adef15188b))
75
+
76
+ # [7.0.0-beta.1](https://github.com/starknet-io/starknet.js/compare/v6.24.0-beta.1...v7.0.0-beta.1) (2025-03-04)
77
+
78
+ - Implement RPC 0.8 and V3 transactions ([#1328](https://github.com/starknet-io/starknet.js/issues/1328)) ([316ae27](https://github.com/starknet-io/starknet.js/commit/316ae2789376368dcffe653ce4817eebf0a63d97))
79
+
80
+ ### BREAKING CHANGES
81
+
82
+ - Library defaults to RPC 0.8 with the corresponding API changes, dropped RPC 0.6 support
83
+
84
+ ## [6.24.1](https://github.com/starknet-io/starknet.js/compare/v6.24.0...v6.24.1) (2025-03-20)
85
+
86
+ ### Bug Fixes
87
+
88
+ - repair snip-12 enum type nested dependency ([#1289](https://github.com/starknet-io/starknet.js/issues/1289)) ([1cd4219](https://github.com/starknet-io/starknet.js/commit/1cd4219df5e61a676bc58ba8c8673269695fc2db))
89
+
90
+ # [6.24.0](https://github.com/starknet-io/starknet.js/compare/v6.23.1...v6.24.0) (2025-03-12)
91
+
92
+ ### Features
93
+
94
+ - add simulate and estimate fee utility methods for outside execution ([#1327](https://github.com/starknet-io/starknet.js/issues/1327)) ([3668b01](https://github.com/starknet-io/starknet.js/commit/3668b01c4f63969bb0770ee6120fe3eac72d0335))
95
+ - implement cairo fixed array support ([#1310](https://github.com/starknet-io/starknet.js/issues/1310)) ([45df63e](https://github.com/starknet-io/starknet.js/commit/45df63e7bb7f7cb2de2e98900387b1c44a95f257))
96
+
97
+ ## [6.23.1](https://github.com/starknet-io/starknet.js/compare/v6.23.0...v6.23.1) (2025-02-05)
98
+
99
+ ### Bug Fixes
100
+
101
+ - conf. TxV in Account, conf. string auto. all methods, fix unbdef… ([#1311](https://github.com/starknet-io/starknet.js/issues/1311)) ([1d91ec0](https://github.com/starknet-io/starknet.js/commit/1d91ec00c9b3f5c47dfc77946c7250b7022728a6))
102
+
103
+ # [6.23.0](https://github.com/starknet-io/starknet.js/compare/v6.22.0...v6.23.0) (2025-01-29)
104
+
105
+ ### Features
106
+
107
+ - logger, config, deprecate legacy tx ([#1302](https://github.com/starknet-io/starknet.js/issues/1302)) ([d0ffbcc](https://github.com/starknet-io/starknet.js/commit/d0ffbcc9bef8b6069f79644d3b54667b3d75dbf2))
108
+
109
+ # [6.22.0](https://github.com/starknet-io/starknet.js/compare/v6.21.2...v6.22.0) (2025-01-29)
110
+
111
+ ### Features
112
+
113
+ - units utils ([#1277](https://github.com/starknet-io/starknet.js/issues/1277)) ([26037e9](https://github.com/starknet-io/starknet.js/commit/26037e92c4cdfa220c29fd1147beae7408d8d004))
114
+
115
+ ## [6.21.2](https://github.com/starknet-io/starknet.js/compare/v6.21.1...v6.21.2) (2025-01-29)
116
+
117
+ ### Bug Fixes
118
+
119
+ - add starkid improvements ([#1301](https://github.com/starknet-io/starknet.js/issues/1301)) ([51702db](https://github.com/starknet-io/starknet.js/commit/51702dbd8dd3dcb0d6e7960b6b320c8c17afff1b))
120
+
121
+ ## [6.21.1](https://github.com/starknet-io/starknet.js/compare/v6.21.0...v6.21.1) (2025-01-23)
122
+
123
+ ### Bug Fixes
124
+
125
+ - pass signerDetails to fix estimateFeeBulk ([#1299](https://github.com/starknet-io/starknet.js/issues/1299)) ([f09f20d](https://github.com/starknet-io/starknet.js/commit/f09f20da47396456350d26610dabd2e2641a5a98))
126
+
127
+ # [6.21.0](https://github.com/starknet-io/starknet.js/compare/v6.20.3...v6.21.0) (2025-01-08)
128
+
129
+ ### Bug Fixes
130
+
131
+ - correct enum typed data hashing ([#1281](https://github.com/starknet-io/starknet.js/issues/1281)) ([6e353d3](https://github.com/starknet-io/starknet.js/commit/6e353d3d50226907ce6b5ad53309d55ed51c6874))
132
+ - rectify snip-12 violation by removing extra `:` in enum encoding ([#1288](https://github.com/starknet-io/starknet.js/issues/1288)) ([b903116](https://github.com/starknet-io/starknet.js/commit/b903116e629af5bc375151deb3635cdbe23cc317))
133
+ - repair fetch utility for browser environments ([#1293](https://github.com/starknet-io/starknet.js/issues/1293)) ([2cb1332](https://github.com/starknet-io/starknet.js/commit/2cb13327ffe669000e8152b509d14e060b3ea73b))
134
+
135
+ ### Features
136
+
137
+ - enable base fetch override ([#1279](https://github.com/starknet-io/starknet.js/issues/1279)) ([0fce61e](https://github.com/starknet-io/starknet.js/commit/0fce61e40535a4f1b3b05fdd9da60f9218250c99))
138
+
139
+ ## [6.20.3](https://github.com/starknet-io/starknet.js/compare/v6.20.2...v6.20.3) (2024-11-28)
140
+
141
+ ### Bug Fixes
142
+
143
+ - remove shadowed WalletAccount address property ([3251ffc](https://github.com/starknet-io/starknet.js/commit/3251ffca5551714e24ea6c1fb5488db06919c24e))
144
+
145
+ ## [6.20.2](https://github.com/starknet-io/starknet.js/compare/v6.20.1...v6.20.2) (2024-11-28)
146
+
147
+ ### Bug Fixes
148
+
149
+ - bump typejs 0.7.10 ([#1275](https://github.com/starknet-io/starknet.js/issues/1275)) ([edfa6dd](https://github.com/starknet-io/starknet.js/commit/edfa6dd2466933d4c4b8a8dacb7220778b2669fc))
150
+
151
+ ## [6.20.1](https://github.com/starknet-io/starknet.js/compare/v6.20.0...v6.20.1) (2024-11-28)
152
+
153
+ ### Bug Fixes
154
+
155
+ - bump types js ([#1273](https://github.com/starknet-io/starknet.js/issues/1273)) ([34dee40](https://github.com/starknet-io/starknet.js/commit/34dee407af2d9487050f3cf6f2969068937960d6))
156
+
157
+ # [6.20.0](https://github.com/starknet-io/starknet.js/compare/v6.19.0...v6.20.0) (2024-11-27)
158
+
159
+ ### Features
160
+
161
+ - add support for parsing emitted events ([#1227](https://github.com/starknet-io/starknet.js/issues/1227)) ([321ecae](https://github.com/starknet-io/starknet.js/commit/321ecaed2af5828501eccb982dc8744ec3e90f1f))
162
+
163
+ # [6.19.0](https://github.com/starknet-io/starknet.js/compare/v6.18.1...v6.19.0) (2024-11-26)
164
+
165
+ ### Features
166
+
167
+ - Ledger signer 221 ([#1246](https://github.com/starknet-io/starknet.js/issues/1246)) ([03e2d50](https://github.com/starknet-io/starknet.js/commit/03e2d50edee7e2e9e8efb678a97effaf09adee70))
168
+
169
+ ## [6.18.1](https://github.com/starknet-io/starknet.js/compare/v6.18.0...v6.18.1) (2024-11-25)
170
+
171
+ ### Bug Fixes
172
+
173
+ - expose BatchClient class ([8d3a0de](https://github.com/starknet-io/starknet.js/commit/8d3a0de85230e6f08edebf67b6581d6e79ea191a))
174
+
175
+ # [6.18.0](https://github.com/starknet-io/starknet.js/compare/v6.17.0...v6.18.0) (2024-11-18)
176
+
177
+ ### Features
178
+
179
+ - WalletAccount non-breaking temp solution ([#1259](https://github.com/starknet-io/starknet.js/issues/1259)) ([84b267c](https://github.com/starknet-io/starknet.js/commit/84b267cd20122de2954fe9fd87b50503b19c1baa))
180
+
181
+ # [6.17.0](https://github.com/starknet-io/starknet.js/compare/v6.16.0...v6.17.0) (2024-10-24)
182
+
183
+ ### Features
184
+
185
+ - Cairo u96 implementation ([#1247](https://github.com/starknet-io/starknet.js/issues/1247)) ([06f0a80](https://github.com/starknet-io/starknet.js/commit/06f0a8013405ded4685d0a21c4f245a25e7d4827))
186
+
187
+ # [6.16.0](https://github.com/starknet-io/starknet.js/compare/v6.15.0...v6.16.0) (2024-10-24)
188
+
189
+ ### Features
190
+
191
+ - increase rpc error information propagation ([#1213](https://github.com/starknet-io/starknet.js/issues/1213)) ([947e8b4](https://github.com/starknet-io/starknet.js/commit/947e8b457d08a7533139072b911ace4e382988ae))
192
+
193
+ # [6.15.0](https://github.com/starknet-io/starknet.js/compare/v6.14.1...v6.15.0) (2024-10-16)
194
+
195
+ ### Features
196
+
197
+ - num.toHex64 ensure 0x(64 char) format ([#1222](https://github.com/starknet-io/starknet.js/issues/1222)) ([56020cd](https://github.com/starknet-io/starknet.js/commit/56020cdbcd9d1cbe7d58d66b554790bbea8762fe))
198
+
199
+ ## [6.14.1](https://github.com/starknet-io/starknet.js/compare/v6.14.0...v6.14.1) (2024-09-30)
200
+
201
+ ### Bug Fixes
202
+
203
+ - adjust module configuration ([47e52cf](https://github.com/starknet-io/starknet.js/commit/47e52cf39a71bf99188edc4991b002018e296504))
204
+
205
+ # [6.14.0](https://github.com/starknet-io/starknet.js/compare/v6.13.1...v6.14.0) (2024-09-04)
206
+
207
+ ### Features
208
+
209
+ - isClassDeclared prepareInvocations, fix cairo0 test ([#1211](https://github.com/starknet-io/starknet.js/issues/1211)) ([9fdf54f](https://github.com/starknet-io/starknet.js/commit/9fdf54f9a4547ba4072cb26c9a544c6df9e05853))
210
+
211
+ ## [6.13.1](https://github.com/starknet-io/starknet.js/compare/v6.13.0...v6.13.1) (2024-09-03)
212
+
213
+ ### Bug Fixes
214
+
215
+ - revert companion pattern except constants ([#1193](https://github.com/starknet-io/starknet.js/issues/1193)) ([ebf9f35](https://github.com/starknet-io/starknet.js/commit/ebf9f356fad701be7d3d5dddb539c59222843377))
216
+
217
+ # [6.13.0](https://github.com/starknet-io/starknet.js/compare/v6.12.1...v6.13.0) (2024-08-27)
218
+
219
+ ### Bug Fixes
220
+
221
+ - repair enum type lookup for typed data hashing ([36f8c3c](https://github.com/starknet-io/starknet.js/commit/36f8c3c0c04b798138756baa373c135fed5a5339))
222
+ - sync cryptographic dependencies ([da20310](https://github.com/starknet-io/starknet.js/commit/da20310ddfd57b30df2c053494220eb50fdfa1b3))
223
+
224
+ ### Features
225
+
226
+ - implement SNIP-9 outside execution functionality ([#1208](https://github.com/starknet-io/starknet.js/issues/1208)) ([e3c80c5](https://github.com/starknet-io/starknet.js/commit/e3c80c558c84e7554935f90650968310452a25d5)), closes [#1111](https://github.com/starknet-io/starknet.js/issues/1111) [#1202](https://github.com/starknet-io/starknet.js/issues/1202)
227
+ - improve message verification utilities ([#1198](https://github.com/starknet-io/starknet.js/issues/1198)) ([bdad9a5](https://github.com/starknet-io/starknet.js/commit/bdad9a586ad77c2883d37f2c76cf6a152f2d1a38))
228
+
229
+ ## [6.12.1](https://github.com/starknet-io/starknet.js/compare/v6.12.0...v6.12.1) (2024-07-30)
230
+
231
+ ### Bug Fixes
232
+
233
+ - deprecate url utility methods ([bbbf3d8](https://github.com/starknet-io/starknet.js/commit/bbbf3d8add56021b9609395ffff3d93ac084acb1))
234
+ - remove ledger transport dependency ([91493bb](https://github.com/starknet-io/starknet.js/commit/91493bb73762f0eb2c4605352c73d35645194593))
235
+
236
+ # [6.12.0](https://github.com/starknet-io/starknet.js/compare/v6.11.1...v6.12.0) (2024-07-26)
237
+
238
+ ### Bug Fixes
239
+
240
+ - jest debut fix api requests match using uid ([b1d10a1](https://github.com/starknet-io/starknet.js/commit/b1d10a13fd2308c927a072cd0c87115b294c26ae))
241
+ - move BatchClient to utils ([f494902](https://github.com/starknet-io/starknet.js/commit/f49490206eaf396813b9662adefbce36ec219a12))
242
+ - rpc batch type errors ([04ad50d](https://github.com/starknet-io/starknet.js/commit/04ad50d4a03a74595790cff235d4af26de5d4969))
243
+
244
+ ### Features
245
+
246
+ - add L1->L2 hashes ([f8c1dac](https://github.com/starknet-io/starknet.js/commit/f8c1dacc164d487eeac014f932a395ca064e9545))
247
+ - ledger Signer ([078c37d](https://github.com/starknet-io/starknet.js/commit/078c37df5687c2ee84ba9a8dfbc5d01153aeb066))
248
+ - rpc batch remove delayedAction class ([01f48ef](https://github.com/starknet-io/starknet.js/commit/01f48ef2a85597afc53f3406ecd9a505b12da5b0))
249
+ - rpc batch requests ([ce48afc](https://github.com/starknet-io/starknet.js/commit/ce48afc41396d39a89724bbdf2a005822d538725))
250
+
1
251
  # [7.0.0](https://github.com/starknet-io/starknet.js/compare/v6.11.0...v7.0.0) (2024-07-03)
2
252
 
3
253
  ### Bug Fixes
package/README.md CHANGED
@@ -32,6 +32,9 @@
32
32
  <a href="https://twitter.com/starknetjs">
33
33
  <img src="https://img.shields.io/badge/follow_us-Twitter-blue">
34
34
  </a>
35
+ <a href="https://www.drips.network/app/projects/github/starknet-io/starknet.js" target="_blank">
36
+ <img src="https://www.drips.network/api/embed/project/https%3A%2F%2Fgithub.com%2Fstarknet-io%2Fstarknet.js/support.png?background=light&style=github&text=project&stat=none" alt="Support starknet.js on drips.network" height="20">
37
+ </a>
35
38
  </p>
36
39
 
37
40
  ## Installation
@@ -59,7 +62,7 @@ Play with [Code Examples](https://github.com/PhilippeR26/starknet.js-workshop-ty
59
62
 
60
63
  If you consider to contribute to this project please read [CONTRIBUTING.md](https://github.com/starknet-io/starknet.js/blob/main/CONTRIBUTING.md) first.
61
64
 
62
- You can also join our dedicated channel for [Starknet.js](https://discord.com/channels/793094838509764618/927918707613786162) on the [Starknet Discord](https://discord.com/invite/YgsdxEx3)
65
+ You can also join our dedicated channel for [Starknet.js](https://discord.com/channels/793094838509764618/1270119831559078061) on the [Starknet Discord](https://discord.com/invite/starknet-community)
63
66
 
64
67
  ## ❤️ Special Thanks
65
68
 
@@ -69,7 +72,7 @@ Special thanks to all the [contributors](https://github.com/starknet-io/starknet
69
72
 
70
73
  - Janek ([@janek26](https://github.com/janek26)) and Dhruv ([@dhruvkelawala](https://github.com/dhruvkelawala)) from [Argent](https://github.com/argentlabs)
71
74
 
72
- - Toni ([@tabaktoni](https://github.com/tabaktoni)) and Ivan ([@ivpavici](https://github.com/ivpavici)) from [SpaceShard](https://www.spaceshard.io/)
75
+ - Toni ([@tabaktoni](https://github.com/tabaktoni)), Petar ([@penovicp](https://github.com/penovicp)) and Ivan ([@ivpavici](https://github.com/ivpavici)) from [SpaceShard](https://www.spaceshard.io/)
73
76
 
74
77
  - Philippe ROSTAN ([@PhilippeR26](https://github.com/PhilippeR26))
75
78