This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Commit 8ac5c0e
Types back-port from 2.x with changes to match the 1.x logic (#3132)
* docs: update readme to contain TS usage
* feat: learna dtslint
* feat: types for `web3` module
* feat: `web3` module install dtslint
* docs: readme web3 module types
* feat: `web3-core` types
* docs: update readme for `web3-core` for types
* feat: install type dependencies for `web3-core`
* feat: `web3-core-helper` types
* feat: install type dependency for `web3-core-helpers`
* docs: update readme for typings
* fix: remove @types/node from `web3-core-helpers`
* feat: `web3-core-method` types
* feat: install type dependencies for `web3-core-method`
* docs: update types for `web3-core-method` in readme
* feat: `web3-eth` typings
* feat: install type dependencies for `web3-eth`
* docs: update readme for `web3-eth`
* feat: `web3-eth-abi` typings
* feat: install type dependencies for `web3-eth-abi`
* docs: update readme for `web3-eth-abi`
* feat: `web3-eth-accounts` typings
* feat: install type dependencies for `web3-eth-accounts`
* docs: update readme for `web3-eth-accounts`
* feat: `web3-eth-contract` typings
* feat: `web3-eth-contract` tests
* feat: install types dependencies for `web3-eth-contract`
* docs: update readme for `web3-eth-contract`
* feat: `web3-eth-ens` typings
* test: `web3-eth-ens` tests
* feat: install type dependencies for `web3-eth-ens`
* docs: update readme for `web3-eth-ens`
* feat: `web3-eth-iban` typings
* test: `web3-eth-iban` typing tests
* feat: install `web3-eth-iban` typings dependencies
* docs: update readme for `web3-eth-iban`
* feat: `web3-eth-personal` typings
* test: `web3-eth-personal` typings tests
* feat: install dependencies for `web3-eth-personal`
* docs: update readme `web3-eth-personal`
* feat: `web3-net` typings
* fix: remove dev dependencies which are not relavant
* test: `web3-net` typings tests
* docs: update readme for `web3-net`
* feat: install dev dependencies for `web3-net`
* feat: `web3-shh` typings
* test: `web3-shh` typings tests
* docs: update `web3-shh` readme
* feat: install dev dependencies in `web3-shh`
* feat: web3-utils type config files
* feat: ascii to hex typings test
* feat: bytes to hex typings test
* feat: check address checksum typings test
* feat: from ascii typings test
* feat: from decimal typings test
* feat: from utf8 typings test
* feat: from wei typings test
* feat: get signature params typings test
* feat: get unit value typings test
* feat: hex to ascii typings test
* feat: hex to bytes typings test
* feat: hex to number string typings test
* feat: hex to number typings test
* feat: hex to string typings test
* feat: hex to utf8 typings test
* feat: is address typings test
* feat: is big number typings test
* feat: is bloom typings test
* feat: is bn typings test
* feat: is hex strict typings test
* feat: is hex typings test
* feat: is topic typings test
* feat: json interface method to string typings test
* feat: keccak256 typings test
* feat: left pad typings test
* feat: number to hex typings test
* feat: utils type tests
* feat: add types in package.json
* feat: new lock files for all packages
* feat: new lock files for web3-eth-account
* feat: new lock file for web3-provider.ws
* feat: install new dev dependencies for typings on root
* feat: export the typings in the package.json
* feat: web3 typings tests to reference web3-core
* feat: reference web3-core over web3-providers
* feat: typings moved around due to different approach in 2.x
* feat: web3-bzz types
* feat: web3-bzz dependencies
* test: web3 bzz types
* fix: resolve dtslint typing tests fails
* feat: web3-provider-http types
* test: web3-provider-http tests
* refactor: rename to `tests`
* docs: add author to the http provider
* feat: install web3-provider-ipc new dev dependencies
* docs: update readme for web3-provider-ipc
* feat: `web3-providers-ipc` typings
* test: web3-provider-ipc test typings
* feat: typings for web3-providers-ipc
* fix: remove file comment
* fix: resolve index.d.ts file
* feat: install type dependencies for web3-provider-ws
* feat: `web-providers-ws` typings
* feat: web3-providers-ws ts files
* test: web3-provider-ws-tests
* fix: remove batch request from web3-bzz
* feat: export errors from web3-core-helpers
* fix: remove options from `web3.shh`
* fix: define callback in the filter methods
* feat: remove `TransactionSigner`
* docs: add web3-eth-personal docs
* fix: resolve typings 1.0 from pr comments
* types updated
* ci script updated
* global install of typescript for CI added
* installation of typescript moved to before_script
* lerna-debug.log added to gitignore
* lerna-debug removed
* getNodeInfo added to types and documentation
* getChainId to types added
* travis.yml fixed
* global install of typescript removed and just added as dependency to the root package.json
* fix: dtslint to version `0.4.2`
* fix: remove repeating typings1 parent 03ed119 commit 8ac5c0e
File tree
185 files changed
+15179
-2145
lines changed- docs
- packages
- web3-bzz
- types
- tests
- web3-core-helpers
- types
- tests
- web3-core-method
- types
- web3-core-subscriptions
- src
- types
- tests
- web3-core
- types
- web3-eth-abi
- types
- tests
- web3-eth-accounts
- types
- tests
- web3-eth-contract
- types
- tests
- web3-eth-ens
- types
- tests
- web3-eth-iban
- types
- tests
- web3-eth-personal
- types
- tests
- web3-eth
- types
- tests
- web3-net
- types
- tests
- web3-providers-http
- types
- tests
- web3-providers-ipc
- types
- tests
- web3-providers-ws
- types
- tests
- web3-shh
- types
- tests
- web3-utils
- types
- tests
- web3
- types
- tests
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
185 files changed
+15179
-2145
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 83 | + | |
92 | 84 | | |
93 | | - | |
| 85 | + | |
94 | 86 | | |
95 | 87 | | |
96 | | - | |
97 | | - | |
| 88 | + | |
| 89 | + | |
98 | 90 | | |
99 | 91 | | |
100 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | | - | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
111 | | - | |
112 | | - | |
| 109 | + | |
| 110 | + | |
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
| |||
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
136 | | - | |
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
| |||
142 | 139 | | |
143 | 140 | | |
144 | 141 | | |
145 | | - | |
146 | | - | |
| 142 | + | |
| 143 | + | |
147 | 144 | | |
148 | 145 | | |
149 | | - | |
150 | | - | |
151 | 146 | | |
| 147 | + | |
| 148 | + | |
152 | 149 | | |
153 | 150 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
161 | 158 | | |
162 | 159 | | |
163 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
242 | 290 | | |
243 | 291 | | |
244 | 292 | | |
| |||
271 | 319 | | |
272 | 320 | | |
273 | 321 | | |
274 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
275 | 442 | | |
276 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1558 | 1558 | | |
1559 | 1559 | | |
1560 | 1560 | | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
0 commit comments