-
Notifications
You must be signed in to change notification settings - Fork 0
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
Upgrade package version #278
Conversation
@@ -61,7 +61,7 @@ export default class AinftJs { | |||
const chainId = _.get(config, 'chainId') || AIN_BLOCKCHAIN_CHAIN_ID[stage]; | |||
setEnv(stage); | |||
|
|||
this.ain = new Ain(endpoint, chainId); | |||
this.ain = new Ain(endpoint, undefined, chainId); |
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.
how about using 'null' more explicitly here and below?
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.
@platfowner this constructor allows only string or undefined types.
If you update it to allow null as well, I'll adjust too!
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.
Ah, I added 'null' to the member variable but forgot updating the constructor prototype.. I'll do it soon. Please feel free to move forward.
https://github.com/ainblockchain/ain-js/blob/master/src/ain.ts#L27
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.
LGTM with some comments.
Thanks!
Thank you for quick review @platfowner! now merging... |
Summary