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

Upgrade package version #278

Merged
merged 3 commits into from
May 7, 2024
Merged

Conversation

jiyoung-an
Copy link
Member

@jiyoung-an jiyoung-an commented May 7, 2024

Summary

  • upgrade ain-js version to 1.10.0.
  • upgrade ainize-js version to 1.1.3.

@jiyoung-an jiyoung-an self-assigned this May 7, 2024
@@ -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);
Copy link
Member

@platfowner platfowner May 7, 2024

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?

Copy link
Member Author

@jiyoung-an jiyoung-an May 7, 2024

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!

Copy link
Member

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

Copy link
Member

@platfowner platfowner left a 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!

@jiyoung-an jiyoung-an changed the title Upgrade version Upgrade package version May 7, 2024
@jiyoung-an
Copy link
Member Author

Thank you for quick review @platfowner! now merging...

@jiyoung-an jiyoung-an merged commit 2e1066f into develop May 7, 2024
2 checks passed
@jiyoung-an jiyoung-an mentioned this pull request Sep 13, 2024
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