Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

update near call to use object args #782

Merged
merged 4 commits into from
Jun 2, 2021
Merged

Conversation

thisisjoshford
Copy link
Contributor

@thisisjoshford thisisjoshford commented Jun 1, 2021

In near-api-js, calling account.functionCall using positional args is being deprecated. This PR updates this command to use the newer function call method of passing arguments as an object.

Fixes #781

@lunarpulse
Copy link

lunarpulse commented Jun 1, 2021

Very fast fix. I appreciate it. I am the one flagged this on the dev channel on the telegram.

Copy link
Contributor

@mehtaphysical mehtaphysical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. There are a bunch of whitespace changes though that aren't necessary.

@thisisjoshford
Copy link
Contributor Author

thisisjoshford commented Jun 2, 2021

looks good. There are a bunch of whitespace changes though that aren't necessary.

It's what Prettier auto performed on save. Changes reverted @mehtaphysical.

@volovyks volovyks merged commit 85b848f into master Jun 2, 2021
@mikedotexe mikedotexe deleted the feat/update-near-call branch June 4, 2021 05:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

near call is using deprecated functionCall method
4 participants