Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps near-api-js from 5.1.1 to 7.0.0.

Release notes

Sourced from near-api-js's releases.

near-api-js@6.5.1

Patch Changes

  • #1662 aad9fd6 Thanks @​denbite! - Add duplicate of keyToImplicitAddress to @near-js/crypto to prevent cycle dependency between packages

  • #1663 8e9a81b Thanks @​denbite! - Remove a redundant assert call in @near-js/providers

  • #1661 5375dcc Thanks @​denbite! - Add @near-js/keystores as dependency to @near-js/accounts, not as dev-dep

  • Updated dependencies [aad9fd6, 8e9a81b, 5375dcc]:

    • @​near-js/crypto@​2.5.1
    • @​near-js/utils@​2.5.1
    • @​near-js/providers@​2.5.1
    • @​near-js/accounts@​2.5.1
    • @​near-js/keystores@​2.5.1
    • @​near-js/keystores-browser@​2.5.1
    • @​near-js/keystores-node@​2.5.1
    • @​near-js/signers@​2.5.1
    • @​near-js/transactions@​2.5.1
    • @​near-js/types@​2.5.1

near-api-js@6.5.0

Minor Changes

  • #1659 d4d33b9 Thanks @​denbite! - Add viewValidatorsV2 method to Provider that allows to query data using either epoch_id, or block_id

Patch Changes

  • Updated dependencies [d4d33b9]:
    • @​near-js/providers@​2.5.0
    • @​near-js/accounts@​2.5.0
    • @​near-js/crypto@​2.5.0
    • @​near-js/keystores@​2.5.0
    • @​near-js/keystores-browser@​2.5.0
    • @​near-js/keystores-node@​2.5.0
    • @​near-js/signers@​2.5.0
    • @​near-js/transactions@​2.5.0
    • @​near-js/types@​2.5.0
    • @​near-js/utils@​2.5.0

near-api-js@6.4.1

Patch Changes

... (truncated)

Changelog

Sourced from near-api-js's changelog.

7.0.0

Major Changes

  • #1691 f8666a0 Thanks @​r-near! - Update parseNearAmount to only accept either a numeric string, or actual number, and not undefined, as well as throw error rather than silently return null

  • #1691 f8666a0 Thanks @​r-near! - Rename stable viewValidatorsV2 function back to viewValidators

  • #1809 eee87c2 Thanks @​gagdiez! - Consolidate functionality of the @near-js/* packages into a single, tree-shakeable near-api-js package

  • #1805 9356419 Thanks @​denbite! - Remove no longer needed error utils like getErrorTypeFromErrorMessage, parseRpcError, parseResultError, etc from the package as errors are now handled internally thanks to strongly typed RPC errors and end users can simply catch them in their application using specific error classes imported from rpc-errors sub-path

  • #1781 1caddf4 Thanks @​denbite! - Replace TypedError class with a few specific errors created from fully type-safe RPC interfaces

  • #1808 bf7c148 Thanks @​denbite! - Rename TypedContract back to Contract

  • #1669 683e1db Thanks @​denbite! - Remove no longer maintained packages @near-js/iframe-rpc, @near-js/biometric-ed25519 and @near-js/client with @near-js/cookbook examples

  • #1670 54e4d48 Thanks @​denbite! - Remove no longer maintained packages @near-js/keystores, @near-js/keystores-node and @near-js/keystores-browser

  • #1673 5d86344 Thanks @​denbite! - Consolidate @near-js/* packages into a single near-api-js codebase

  • #1795 b96c604 Thanks @​denbite! - Renovate Provider.query by removing the deprecated inline-argument overload and fully aligning the method with the nearcore RPC API spec.

    Previously supported (no longer works):

    provider.query("view_account", JSON.stringify({ ... }));

    New required usage (fully typed):

    provider.query({
      request_type: "view_account",
      ...
    });

    Once request_type is specified, remaining parameters are inferred automatically by the IDE.

  • #1668 20672fb Thanks @​denbite! - Remove deprecated functionality

  • #1813 858783c Thanks @​gagdiez! - Renamed actionCreator helper object to simply "actions", and separated the helper addKey into addFullAccessKey and addFunctionCallKey

  • #1589 5cfdab8 Thanks @​AlexKushnir1! - Refactor the abstract class Signer to implement every method, except for getPublicKey and signBytes, which are intended for users

Minor Changes

  • #1790 2f7a30d Thanks @​denbite! - Introduce many specific errors based on generated response types from OpenAPI spec and which are thrown when calling Provider.sendJsonRpc method

... (truncated)

Commits
  • d108352 Merge pull request #1816 from near/changeset-release/master
  • ea3b0eb chore(release): publish packages
  • 158f40a chore: merge pre-release/v7 to main
  • 047d896 fix: readme and migration guide
  • 489fe39 chore: merge READMEs
  • 91e818e Merge pull request #1813 from near/fix-actions
  • 858783c chore: add changeset
  • b180a8b feat: fix exposed actions
  • 33e5fdb feat: separate addKey into 2 actions and rename actionCreator
  • d7be999 chore: exit changeset pre-release mode
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by frol, 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 5.1.1 to 7.0.0.
- [Release notes](https://github.com/near/near-api-js/releases)
- [Changelog](https://github.com/near/near-api-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/near/near-api-js/compare/near-api-js@5.1.1...v7.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 19, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 22, 2026

Superseded by #138.

@dependabot dependabot bot closed this Jan 22, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dspyt/near-api-js-7.0.0 branch January 22, 2026 15:13
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants