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

refactor(chain)!: drop stamps and use plain functions #1494

Merged
merged 2 commits into from
Apr 30, 2022

Conversation

davidyuk
Copy link
Member

No description provided.

BREAKING CHANGE: removed `sdk.balance` method
Use `sdk.getBalance` instead.

BREAKING CHANGE: removed `sdk.tx` method
Use `sdk.api.getTransactionByHash/getTransactionInfoByHash` instead.

BREAKING CHANGE: removed `sdk.getTxInfo` method
Use `sdk.api.getTransactionInfoByHash` instead.
BREAKING CHANGE: Dropped `Chain`, `ChainNode` stamps
Theirs methods added to `Ae` stamps, also they are exported by names in the package root.
Outside of Stamp context, they accepts the `onAccount`, `onNode` options.
Copy link
Collaborator

@subhod-i subhod-i left a comment

Choose a reason for hiding this comment

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

👍

@davidyuk davidyuk merged commit 88aa387 into develop Apr 30, 2022
@davidyuk davidyuk deleted the feature/refactor-chain branch April 30, 2022 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants