Socket
Socket
Sign inDemoInstall

web3-utils

Package Overview
Dependencies
45
Maintainers
2
Versions
409
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
3436
41Next

1.2.11

Diff

Changelog

Source

[1.2.11]

Fixed

  • Fix Provider.request response (#3647)

Added

  • Add unit tests for isHex and isHexStrict (#3622)
ralxz
published 1.2.10 •

Changelog

Source

[1.2.10]

Added

  • Add support for EIP-1193 provider request method (#3625)

Changed

  • Upgrade minified bundle build process (from gulp to webpack) (#3618)
  • CI improvements: add dependency caching, netlify browser test preview (#3598, #3602)
  • Remove references to genesis block in 1.x documentation (#3594)
  • Disallow setting toBlock when subscribing to contract events (#3207)

Fixed

  • Extend _txInputFormatter with hex prefix check (#3317)
  • Extract revert reason string for geth >= 1.9.15 (#3520)
  • Fix Incorrect param encoding of BN object in arrayed inputs (#3592)
  • Remove mis-encoded whitespace characters from web3-utils files (#3601)
  • Fix incompatibilities with webpack Buffer polyfill for wallet.encrypt/decrypt (#3580)
  • Fix misformatted fromBlock value when re-subscribing to events over WS (#3596)
  • Support Function type log parameter decoding (#2826)
  • Add undefined callback check to websocket provider response queue (#3574)
  • Fix WS clientConfig type (#3563)
ralxz
published 1.2.10-rc.0 •

ralxz
published 1.2.9 •

Changelog

Source

[1.2.9]

Added

  • Add sending and sent events for tx submissions (#3438)
  • Add latestBlockHash arg to confirmation event handler payload (#3438)
  • Make socket providers' max listeners threshold configurable (#3469)
  • Documentation about testing & ci resources for Web3.js development (#3528)
  • More detailed documentation about how to use method.encodeABI (#3549)
  • Integration tests for transactionPollingTimeout (#3513)

Changed

  • Websocket package from @web3-js/websocket@1.0.29 to websocket@1.0.31 (#3371)
  • Upgrade @web3-js/scrypt-shim@0.1.0 to scrypt-js@3.0.1
  • sendSignedTransaction revert handling synthesizes tx without network call (#3457)
  • Make docs grammar more idiomatic, normalize punctuation (#3543)

Fixed

  • Size property de-referencing crash when calling web3.eth.clearSubscriptions (#3527)
  • Abi param encoding for tuple arrays (#3538)
  • account.hashMessage with non-ASCII characters (#3523)
  • Subscription support check in method confirmations loop (#3432)
  • TS bindings for handleRevert added (#3452)
  • Docs: spelling of pre-defined block number (#3539)
  • Docs: missing defaultBlock param option in method.call description (#3558)
ralxz
published 1.2.9-rc.0 •

ralxz
published 1.2.8 •

Changelog

Source

[1.2.8]

Added

  • Introduce review and release guidelines. (#3460)
  • Add EIP-1193 compatible provider to AbstractProvider interface. (#3499)
  • Add TypeScript definitions for contract methods and call. (#3454)
  • Update AbstractProvider and contract.methods TS definitions (#3521)
  • Add support for ENS contenthash methods. (#3392, #2782)

Changed

  • Change CI provider from Travis to GitHub Actions. (#3468)
  • Update web3-eth-abi ABICoder dependency. (#3490)
  • Update AbiCoder param formatting (#3522)
  • Improve code clarity of HttpProvider keepAlive option setting. (#3463)
  • Updated type definitions for Web3 HTTP Provider. (#3482)
  • Fix indentation of web3-eth documentation. (#3478)

Fixed

  • Fix intermittent CI build issues with dtslint. (#3479)
  • Fix WSS credentials Base64 encoding (for browser) (#3508)
  • Fire provider "error" and/or "end" events when Websocket provider disconnects. (#3485)
  • Remove web3-eth revert error return types to squash TS compilation errors. (#3496)
  • Backfill event subscriptions when WS connection dropped across multiple blocks. (#3491)
  • Stop swallowing errors when WS connection has died after exhausting reconnection attempts. (#3492)
  • Fix setContenthash docs formatting (#3511)
ralxz
published 1.2.8-rc.1 •

ralxz
published 1.2.8-rc.0 •

ralxz
published 1.2.7 •

Changelog

Source

[1.2.7]

Added

  • Add revert reason support to sendSignedTransaction (#3345)
  • ENS module extended with the possibility to add a custom registry (#3301)
  • Missing ENS Registry methods and Resolver.supportsInterface method added (#3325)
  • Add optional gas type to AbiItem typescript definitions (for ABIs generated by Vyper) (#3437)
  • Add görli testnet ENS registry to the known registries (#3252)
  • Add auto-reconnect option for Websockets (#3092, #1085, #1391, #1558, #1852, #1646)

Changed

  • Ensure '0x' prefix is existing for Accounts.sign and Accounts.privateKeyToAccount (#3041)
  • Repository cleanup (#3443)
    • Removed old docs/_build folder
    • Removed old bower and meteor artifacts
    • Moved logo assets to own folder
    • Moved github assets to own folder
    • Remove @types/node from (non-dev) dependency tree (#3965, #3227)
  • Please note: Geth v1.9.12 contains a breaking change for eth_call that will not default to your first account anymore if from is not set. If a sender is not explicitly defined, the eth_call will be executed from address(0). (#3467)
    • This was done to avoid the same input behaving differently in different environments. You should never do eth_call without explicitly setting a sender.
    • This means that if you're calling view methods that refer to a msg.sender without explicitly setting a from address in your request options, you may see unexpected behavior.
    • In web3.js, the from address can be specified on a per-call basis or by setting the defaultAccount property.

Fixed

  • Add missing subscription.on('connected') TS type definition (#3319)
  • Add missing bignumber.js dependency for TS types (#3386)
  • Upgrade swarm-js to 0.1.40 to remove npm vulnerability warning (#3399)
  • Upgrade devDeps to resolve security warnings (#3464)
    • dtslint 0.4.2 => 3.4.1
    • definitelytyped-header-parser 1.0.1 => 3.9.0
  • Race-condition when subscribing to historical logs as first client request (#3389)
  • Fix crash when using Web-Workers by removing any-promise dependency (#3377 #2211 #1774)
  • MaxListenersExceededWarning event emitter warning mitigated (#1648)
ralxz
published 1.2.7-rc.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc