bancorprotocol / webapp

Bancor Swap/Analytics webapp
https://app.bancor.network
MIT License
32 stars 45 forks source link

Bump eosjs from 21.0.4 to 22.0.0 #1501

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps eosjs from 21.0.4 to 22.0.0.

Release notes

Sourced from eosjs's releases.

EOSJS v22.0.0 Release Notes

This release is the stable release of EOSJS v22.0.0 and contains features, security, stability and miscellaneous fixes. Please note that since this release promotes EOSJS v22.0.0-rc2 to v22.0.0 (stable), using the @​latest tag will now automatically cause an upgrade from v21.0.x to v22.0.0.

Support for Action Return Values

This release introduces support for the new feature of return values from actions within smart contracts. More information can be found here in the documentation for eosio.cdt and here in the documentation specific to eosjs.

Additionally, an example application has been created to demonstrate how to use this new feature with nodeos and eosjs.

Support for Key Value Databases

This release introduces support for the new key value database feature. More information can be found here in the documentation for eosio.cdt and here in the documentation specific to eosjs.

Due to differences in the format of key value databases in smart contract ABIs, abi.abi.json has been removed and added directly into the code of eosjs-serialize.ts.

A new data type in EOSIO.CDT v1.8.0 called eosio::kv::map provides the underlying functionality and should be used in contracts over the type called eosio::kv::table that is currently in a developer preview state.

Additionally, an example application has been created to demonstrate how to use this new feature with nodeos and eosjs.

New Method for Constructing Actions and Transactions

A concise new method for constructing actions has been added to improve the developer experience. It is now possible to either construct an action in either a shorter syntax or construct both actions and transactions by creating a stateful TransactionBuilder object that can be passed through an application before sending when ready. The details for this concise method can be found here in the eosjs documentation.

BREAKING CHANGE: New Endpoints and Typescript Types for Nodeos API Plugins

New endpoints have been added to eosjs to match the latest versions of the api plugins. New Typescript types have been added to assist developers in better understanding what to expect from certain features or responses from the nodeos api plugins. The goal of these new types is to facilitate accurate typescript support and additional documentation for eosjs but there is the possibility of backwards incompatibility. In these situations, it is advised to override the affected types with any or a user-defined type.

Other Changes

  • (#742) Removing RC1 from develop version
  • (#776) Merging changes from master or release/21.0.x that were not on develop
  • (#777) add bn.js as explicit dependency
  • (#778) Adding testing for Action return values
  • (#779) Documentation for action return values
  • (#780) Updating abi.abi.json to eosio::abi/1.2
  • (#789) Bumping develop version to 21.1.0
  • (#784) Additional types for documentation/development
  • (#792) Context Free Tests/Fixes
  • (#791) Allowing a name to be an empty string (develop branch)
  • (#796) Fixing an issue with response from fetch in the query method
  • (#803) Code to support KV Tables
  • (#804) updating how-to-get-table-information with kv example
  • (#805) Adjusting bios contracts and adding kv_bios
  • (#812) New chain_api endpoints and more efficient Tapos fields
  • (#813) Documentation for new transaction shorthand design
  • (#831) Adjusting CI/CD to use new bios/boot systems (release/22.0.x)
  • (#832) Webpack separating external packages and cross-platform building (release/22.0.x)
  • (#834) Additional types for JsonRPC endpoints (release/22.0.x)
  • (#841) Adding two pipelines for release branch for ci/cd (release 22.0.x)
  • (#849) Updating dependencies of eosjs to latest possible versions (release/22.0.x)
  • (#847) Switching to eosio/eosio docker image in CI/CD (release/22.0.x)
  • (#860) Bump docker/setup-qemu-action from 6520a2d2cb6db42c90c297c8025839c98e531268 to 1.0.2
  • (#863) Bump actions/setup-node from c6fd00ceb9747fb23ffdf72987450a2664414867 to 2.1.5
  • (#866) Bump docker/setup-buildx-action from 154c24e1f33dbb5865a021c99f1318cfebf27b32 to 1.1.2
  • (#869) Bump cypress-io/github-action from 6e9b583c9652e99b72b042a3957980fc6166efae to 2.9.11

... (truncated)

Commits
  • 31ac222 Merge pull request #939 from EOSIO/release/22.0.x
  • 83d3504 Merge pull request #940 from EOSIO/merging_master
  • 214807f Merge branch 'master' into merging_master
  • 5b4ac10 Merge pull request #938 from EOSIO/version_bump_release
  • 0a00096 Updating package.json and yarn.lock
  • 7591574 Bumping version to v22.0.0
  • 5a6d806 Merge pull request #935 from EOSIO/kv_docs_fix_22.0.x
  • 8349ac9 Fixing typo, removing expReturn and changing first example to indexValue
  • 2288c09 Merge pull request #933 from EOSIO/dependabot/github_actions/release/22.0.x/c...
  • b178bd9 Updating package.json and yarn.lock
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.