Skip to content
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

AccountMultisig - update for near-cli support #414

Merged
merged 4 commits into from
Oct 2, 2020
Merged

Conversation

mattlockyer
Copy link
Contributor

This PR makes AccountMutlisig aware if it's running in the browser or node.

When running in node it uses:

  • an inMemory cache of the current multisig request to confirm
  • node-fetch library to send CH requests

@mattlockyer
Copy link
Contributor Author

Open to suggestions regarding the node-fetch package. Basically needed a quick way to communicate with CH that works in browser/node at the same time.

@mattlockyer mattlockyer changed the title Node aware code and added node-fetch for CH methods Update for near-cli support Sep 29, 2020
@mattlockyer mattlockyer changed the title Update for near-cli support AccountMultisig - update for near-cli support Sep 29, 2020
dist/near-api-js.js Outdated Show resolved Hide resolved
src/account_multisig.ts Outdated Show resolved Hide resolved
@vgrichina vgrichina merged commit bb36d27 into master Oct 2, 2020
@chadoh chadoh deleted the fix-multisig-1 branch October 6, 2020 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants