Skip to content

Releases: starknet-io/starknet.js

v4.8.0

05 Oct 13:37

Choose a tag to compare

v4.8.0 Pre-release
Pre-release

4.8.0 (2022-10-05)

Bug Fixes

  • adapted transactionTrace response (58c21c0)
  • estimate fee BigInt test (0489bed)
  • fixed and one-lined hash sort and added additional test case (023c7c7)
  • fixed hash arg sorting in merkle tree generation (ccbfecf)
  • is sequencer goerli fix (2d43d1b)
  • issue 296 (bfc1f70)
  • remove linter fix (272e2ec)
  • remove optional l1_origin_message from test (01050e3)
  • remove status_data as it is optional response parameter (9bb0a3e)
  • sequencer getBlock response (165bce7)

Features

  • sequencer estimateMessageFee (f1ffda7)

v4.7.0

22 Sep 12:37

Choose a tag to compare

v4.7.0 Pre-release
Pre-release

4.7.0 (2022-09-22)

Supports new transaction type (v1) only!
Support RPC 0.1.0 spec (Pathfined 0.3)

Bug Fixes

  • add blockIdentifier for getNonce (7f2edab)
  • addressSalt from BigNumberish to string | undefined (f77784c)
  • block_id identifier cleanup (24c24e8)
  • ci: use correct devnet image for release pipeline (fc2fcbb)
  • cleanup pr.yml (263e296)
  • fix tests for starknet 0.10 (c2da26d)
  • get_nonce response type (f0c30bd)
  • throw error only when nonce is not provided with contract.invoke (c6bba65)
  • ts types fixes and block_id (bad0b85)

Features

  • add getNonce method on account (8e935eb)
  • getNonce endpoint for sequencer (add4900)
  • is_valid_signature -> isValidSignature (f704f3e)
  • rpc options, methods, fetch with prop types, imp. types, clenup responseParser (0ab5769)
  • rpc optionsOrProvider extend with retries (46f9634)
  • transaction v1 changes (e928478)
  • update tests (1af16f4)
  • use starknet-devnet 0.3.1 (83e5dd7)

v4.6.0

15 Sep 21:46

Choose a tag to compare

v4.6.0 Pre-release
Pre-release

4.6.0 (2022-09-15)

Supports old transaction type (v0) only!
Support RPC 0.1.0 spec (Pathfined 0.3)

Bug Fixes

  • add test getTransactionCount [skip ci] (342755a)
  • estimateFee and call block id (ef1645f)
  • rpc test update, comepleted rpc to openrpc mapping, rpc provider methods (8b41e0f)

Features

  • new Block utility object, rpc fetch clenup, open rpc fetch api (0d381c8)
  • read, write and trace api (d488ab2)
  • retry rpc wait for transaction 200 times instead of 100 (3bc9118)
  • updated rpc tests with new methods (e369d95)

v4.5.0

09 Sep 12:34

Choose a tag to compare

v4.5.0 Pre-release
Pre-release

4.5.0 (2022-09-09)

Bug Fixes

  • prevent undefined rpc chainId in account (9f69229)
  • repair chain fix (d7758a6)

Features

  • optional abi field for deploy and declare rpc transactions (ce62648)

v4.4.2

07 Sep 13:02

Choose a tag to compare

4.4.2 (2022-09-07)

Bug Fixes

  • dont import fetch from crosshatch (a3ef41c)
  • use custom fetch ponyfill (78f904a)
  • use isomorphic-unfetch (c63b6a1)

v4.4.1

01 Sep 16:40

Choose a tag to compare

v4.4.1 Pre-release
Pre-release

4.4.1 (2022-09-01)

Bug Fixes

  • supply calldata as hexadecimal string array (44cb4c5)

v4.4.0

01 Sep 11:06

Choose a tag to compare

v4.4.0 Pre-release
Pre-release

4.4.0 (2022-09-01)

Bug Fixes

Features

  • add merkle trees (e9b8674)
  • add visibility modifiers (cd1a23d)
  • allow merkle trees as native type in eip712 like messages (65b7766)
  • session (9ac48cc)
  • session needs to be aware of the whole tree (11e10bd)

v4.3.1

31 Aug 10:09

Choose a tag to compare

v4.3.1 Pre-release
Pre-release

4.3.1 (2022-08-31)

Bug Fixes

  • getClassAt and Test Fixes (548cf6e)
  • getCode removed from RPC 0.1.0 (744a988)
  • merge (67d87fc)
  • naming (0c75f6f)
  • restore GetCode to common interface for backward compatibility (52f8e61)
  • rpc 0.1.0 getStorageAt (c622913)
  • RpcProvider: update of RpcProvider getBlock method to work with v0.3.0 of pathfinder (3b12421)
  • test getBlock('latest') (2c92f79)
  • test getBlock(latest) (0c5e31e)
  • unoptimise getClassAt test to work with integration (e98220b)

v4.3.0

09 Aug 13:45

Choose a tag to compare

v4.3.0 Pre-release
Pre-release

4.3.0 (2022-08-09)

Bug Fixes

  • intendations in provider.md (4a310c6)
  • sequenceProvider: feedergatewayUrl and gatewayUrl (e236d23)

Features

v4.2.0

09 Aug 12:18

Choose a tag to compare

v4.2.0 Pre-release
Pre-release

4.2.0 (2022-08-09)

Features

  • change checksum address hashing algorithm (0f32adf)