Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 26, 2022

Bumps near-api-js from 0.43.1 to 1.0.0.

Release notes

Sourced from near-api-js's releases.

v1.0.0 (!)

Highlights:

  • near-api-js v1.0.0 marks the beginning of proper semver versioning for near-api-js! From now on, breaking changes will be correctly represented by major version bumps, new features or added functionality will be represented as minor version bumps, and bug fixes will be represented by patch version bumps! See https://semver.org/ for more info.
  • You can now provide blockQuery as an argument to viewFunction and viewState calls (#863)
  • Lots of deprecated code has been removed, which simplifies TypeDoc descriptions for many commonly used functions
  • Account.viewFunction() now accepted its arguments as an object instead of positional arguments, making it consistent with other methods that have already undergone this migration such as Account.functionCall(), Account.signAndSendTransaction(). Using positional arguments for this function has been deprecated. (#918)
  • You can now await until sign in process is completely finished; this avoids a possible race condition where previously you could try to read a key from the keystore before it has been moved from 'temporary' to finalized state during initialization. (#842)
  • Attempting to use WalletConnection or WalletConnectedAccount objects outside of the browser context will now generate a user-friendly error message instead of throwing when trying to access local storage or the window object. (#896)
  • near-api-js now supports the latest version of Typescript (4.7)
  • Fixed a bug in JsonRpcProvider.txStatusReceipts() - providing txHash as a string rather than Uint8Array now works as expected (#866)
  • Account.findAccessKey() now throws a typed error if no key exists in keystore for the current account (#904)

Internal / Project Changes

  • near-api-js is now a mono-repo! We are working towards modularization of the functionality that near-api-js provides, to allow more explicit dependency handling for code that runs in different environments (browser, node, react-native, etc.), better discoverability and documentation.
  • We are moving to a CI based development flow! Expect a more rapid cadence of releases as we get the CI pipeline fully configured and automate things like changelog generation.

Pull Requests:

Internal:

  • #940 - build(deps-dev): bump danger from 11.1.1 to 11.1.2 - 9c8d5d25
  • #934 - build(deps-dev): bump lerna from 5.3.0 to 5.4.3 - ae77e1b4
  • #909 - Applied engines property on package.json - d4344edb
  • #913 - chore: Update CODEOWNERS - 3d3c259d
  • #908 - Naj 6 move current near api js to be a lerna package lernify the repo - 7f16b10e
  • #906 - fix: Fix eslint script/errors and run in PR builds - c0fe0a68
  • #899 - chore: Create Pull Request template - 87081fc2
  • #939 - fix(near-api-js): optional headers in NearConfig - 92d20e98
  • #828 - Deprecated functionality deleted - f87aa7d7
  • #890 - ci: Run tests on pull requests - 629dc30e
  • #903 - Update README.md - 804a29aa
  • #886 - build(deps-dev): bump danger from 10.7.0 to 11.1.1 - 320facbc
  • #864 - build(deps): bump bn.js from 5.2.0 to 5.2.1 - 1ea0aa56
  • #871 - build(deps-dev): bump ts-morph from 11.0.3 to 15.1.0 - 42337af0
  • #884 - build(deps): bump shell-quote from 1.7.2 to 1.7.3 - e7f4f609
  • #881 - Delete stale.yml - 22aa58b3
  • #910 - NAJ-113-delete-hacks-related-to-error-types - 5696829f

Documentation

  • #911 - docs revision 1 - ae9fa770
  • #901 - Fixed typo in quick reference docs - c2c35205
  • #859 - fix: typo isSingnedIn -> isSignedIn - 690c8687
  • #848 - Adding callbackUrl and meta to Call Contract - fae90841

Functional

  • #918 - feat: changed viewFuction to support both POJO and existing arguments - 3850213e
  • #896 - feat: explicit walletconnection errors on server - 3ba84236
  • #904 - Update error thrown when signTransaction() fails due to missing accessKey - 743a19ed
  • #842 - Be able to await until sign in process done completely - 4c68be25
  • #856 - modify interface Transaction in provider.ts - 83d7695d
  • #866 - Fix for json-rpc method EXPERIMENTAL_tx_status - 3e917adb
  • #863 - Support blockId in account viewFunction and fix viewState - 824059be

... (truncated)

Commits
  • ecc6fa8 v1.0.0
  • d8c4bbf Merge pull request #948 from near/1.0.0-final-fixes
  • 5d0f60f chore: update engines for typedoc compat and update typedoc to latest version...
  • 1769162 Merge pull request #942 from near/revert-927-naj-109
  • ceb5cf4 Revert "Fixed appKeyPrefix undefined value"
  • 9c8d5d2 Merge pull request #940 from near/dependabot/npm_and_yarn/danger-11.1.2
  • d886100 build(deps-dev): bump danger from 11.1.1 to 11.1.2
  • 2c93d39 Merge pull request #927 from near/naj-109
  • 40e049b fix: fixed broken assertion
  • 93ad16c fix: define nearFakeWithoutContract
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by maximushaximus, a new releaser for near-api-js since your current version.


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)

Bumps [near-api-js](https://github.com/near/near-api-js) from 0.43.1 to 1.0.0.
- [Release notes](https://github.com/near/near-api-js/releases)
- [Commits](near/near-api-js@v0.43.1...v1.0.0)

---
updated-dependencies:
- dependency-name: near-api-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 26, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 4, 2022

Superseded by #56.

@dependabot dependabot bot closed this Oct 4, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/near-api-js-1.0.0 branch October 4, 2022 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants