Skip to content

Major update for Signer and Account APIs #1513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 66 commits into from
May 21, 2025
Merged

Conversation

denbite
Copy link
Contributor

@denbite denbite commented Apr 9, 2025

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • Commit messages follow the conventional commits spec
  • If this is a code change: I have written unit tests.
  • If this changes code in a published package: I have run pnpm changeset to create a changeset JSON document appropriate for this change.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

This PR brings a major update to the near-api-js library, introducing a more streamlined and developer-friendly interface. The core of this update is a new abstraction of Signer, which has been redesigned to focus solely on signing. It no longer requires knowledge of the broader account or network context, allowing for cleaner separation of concerns and easier integration across different environments.

Key Changes

TBD

Example Usage

I’ve opened a companion PR in the near-api-examples repo that demonstrates the new API in action

near-examples/near-api-examples#6

Copy link

changeset-bot bot commented Apr 9, 2025

🦋 Changeset detected

Latest commit: eadfd44

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gagdiez gagdiez merged commit 03227d2 into master May 21, 2025
1 check passed
@gagdiez gagdiez deleted the major_api_improvements branch May 21, 2025 14:46
@github-project-automation github-project-automation bot moved this from NEW❗ to Shipped 🚀 in DevTools May 21, 2025
@github-actions github-actions bot mentioned this pull request May 21, 2025
@gagdiez gagdiez mentioned this pull request May 22, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Shipped 🚀
Development

Successfully merging this pull request may close these issues.

3 participants