-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: update version of near-api-js #216
Conversation
ea9dc10
to
eb02ee4
Compare
e1e79b7
to
df2d4a0
Compare
df2d4a0
to
da3011d
Compare
@@ -217,7 +216,7 @@ export abstract class AccountManager implements NearAccountManager { | |||
} | |||
|
|||
protected get connection(): nearAPI.Connection { | |||
return new nearAPI.Connection(this.networkId, this.provider, this.signer); | |||
return new nearAPI.Connection(this.networkId, this.provider, this.signer, `jsvm.${this.networkId}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this added by mistake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, constructor of Connection
changed: https://github.com/near/near-api-js/blob/master/packages/accounts/src/connection.ts#L41
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transaction-result.ts is not changed, is dist rebuilt after resolve the conflict?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, I rebuit it in the directory of packages/js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
dependency of near-api-js was too old,update it from
0.44.1
to2.1.4