github starknet-io/starknet.js v7.0.0

latest release: v6.11.1
pre-release2 days ago

7.0.0 (2024-07-03)

Bug Fixes

  • acc deploy_acc (732cd94)
  • adjust max amount bound calculation for RPC v0.7.0 (dd34cdb)
  • apply bound for contract address from hash calculation (6d8c291)
  • beta: deploy account (#880) (00c58e3)
  • byteArray encoding for less than 31 chars (#1011) (653acc4)
  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (89715da)
  • Calldata.compile: do not split long entrypoint names before calling getSelectorFromName (9434bcd)
  • cannot infer ts2742 types from starknet-types@0.7 (#1098) (f1c3b8e)
  • change build cjs and mjs to unbuild (#1163) (bb4a93d)
  • drop abi-wan-kanabi-v1 support (30a4681)
  • estimateFeeBulk provided version (da717be)
  • expand encoding type for preset types (b992446)
  • move abiwan from dev dependencies to regular dependencies (#925) (6b7ee49)
  • next version (#1024) (07d4a26)
  • prioritize error states in waitForTransaction evaluation (ac54404)
  • provider rpc 0.5-0.6 getTransactionReceipt response standardization (76b6ab4)
  • remove [warning] from typedoc for external usage (#1095) (195186f), closes #1121 #1126
  • remove account_deployment_data from deploy Account (ede83bf)
  • repair Cairo 1 nested and enum tuple handling (ce2e541)
  • revert enums partially & tsup build (#1165) (57b2c72)
  • rpc event (ae3e265)
  • RpcChannel: allow client to provide specVersion (ae8cf8e)
  • second option bump semantic release to 0.5 (c90f9b2)
  • solve wrong response for account.verifyMessage (05f4095)
  • starkne types 0.7 (#1087) (b038c76)
  • test ci fix (3a6c924)
  • throw on negative param cairo.uint256 and bnToUint256 (e1ead14)
  • tslib (#1068) (dd7dc10)
  • typos (#862) (b2431d3)
  • update fetch-cookie dependency (518330c)
  • update starknetid sepolia contract addresses (#1016) (b50a3bd)
  • update to latest get-starknet dev (017702f)
  • utilize provided resourceBounds value (65bea53)
  • utils: fix block identifier (#1076) (0a3499d)
  • wallet circular dependency fix (621ae2d)

Features

  • abi-wan trigger (c10150a)
  • abiwan v2 intergation (87d15d3)
  • account preferred transaction version, setup v3 (5652eb2)
  • add getGasPrice rpc provider method (#1056) (d396275)
  • add provider.decodeParameters (39595f3)
  • add provider.decodeParameters (be6eec9)
  • add string types of cairo v2.4.0 (a8a73c1)
  • add type coverage (#1120) (eceda5d)
  • curves (405de46)
  • def rpc 0_6, sepolia nodes (4f59a8f)
  • default account UniversalDetails, rpc spec update, update interface (8dc9b8a)
  • dual specification with 0.6 implementation, not yet integrated (ac8c763)
  • enable cairo 2.6.0 contract declaration (0104c59)
  • ethereum signer (8473adb)
  • ethereum-signer (f37bfb2)
  • expand structured data hashing in line with SNIP-12 (#920) (cb20590)
  • Export function parseCalldataField() (4d59658)
  • get-starknet-core repacked for mjs, and initial implementation (ab7fa19)
  • hashes, signer, vip account, types, versions as string enum (6ceb9e3)
  • implement RPC v0.7.0-rc2 specification (de32936)
  • make Abi and CONTRACT_ABI types compatible with abiwan (9007816)
  • make fee margins configurable (cedd984)
  • new CairoUint256 cairo datatype model (b64abcc)
  • next-version (1687dd2)
  • pretty print rpc LibraryError params, make env.DEBUG usefull (cca723f)
  • provider.getL1MessageHash (#1123) (1489cf2)
  • provider: fix and clean provider response and response parser, removed seqeuncer api (7ecb069)
  • provider: pending response discrimination, pending type guards (013a22b)
  • readme & trigger release (5341c42)
  • remove old version constants, default types api rpc (ed9cb08)
  • replace in verifyMessage : response by Error (1abf91f)
  • req id counter (cedd1ea)
  • rpc 0.6 implementation as superset of 0.5 tx (5b2b299)
  • rpc 0.6.0-rc3 implementation (c2607ed)
  • rpc 0.7.1 (#1071) (11dc600)
  • rpc provider (0d9c2e5)
  • rpcChannel (181eea3)
  • sepolia (26d7044)
  • sepolia constants, rpc open change (6de46b5)
  • simulate skip validate by default, spec deploy acc fix (1b3e7ae)
  • skip signatures when skipValidate is true (6f784ea)
  • the WalletAccount handle changed channel (73603e1)
  • trigger release (fbf983f)
  • update default rpc nodes and version (9b9fe0e)
  • update starknetId class and add getStarkProfile function (ae71c97)
  • update verson (5dfe445)
  • use fetch-cookie package for cookie based sticky sessions (5a56485)
  • v3 transaction hashes (4fe40a1)
  • v3 tx hashes calculation (f0e760d)
  • v3 wip with est (b95c462)
  • wallet deploy contract and patches (dbf53b6)
  • walletAccount extract methods and update new ones (0dfb5db)

Reverts

  • Revert "chore: add examples to JsDoc for transaction.ts file (#1105)" (#1108) (59eb01e)

BREAKING CHANGES

  • v3 transactions

Don't miss a new starknet.js release

NewReleases is sending notifications on new releases.