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

API bump v0.1.14 #32

Merged
merged 9 commits into from
Feb 10, 2023
Merged

API bump v0.1.14 #32

merged 9 commits into from
Feb 10, 2023

Conversation

niklabh
Copy link
Contributor

@niklabh niklabh commented Jan 30, 2023

  • Update polkadot js API
  • Removed api-derived stakers function

@niklabh niklabh changed the title API bump V0.1.14 API bump v0.1.14 Jan 30, 2023
package.json Outdated Show resolved Hide resolved
@impelcrypto
Copy link
Member

@niklabh
It looks like type annotation is not working again (related)🤔

image

image

@bobo-k2
Copy link
Contributor

bobo-k2 commented Feb 10, 2023

Please provide PR description. At least put what you did and why. Also some tips for reviewers can be helpful if applicable.

@@ -17,23 +15,6 @@ export function stakers(
): (contractAddress: ContractAddress) => Observable<AccountId[]> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why you removed this function? If not needed than maybe to remove whole function instead having one which does nothing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In current main branch this function does not return values. If we remove the whole function any external code using it will throw error. So better to have this stub with depreciation warning rather than removing completely.

packages/api-derive/src/index.spec.ts Show resolved Hide resolved
@impelcrypto
Copy link
Member

impelcrypto commented Feb 10, 2023

@niklabh

It looks like type annotation is not working again (https://github.com/AstarNetwork/astar.js/pull/30#issuecomment-1376925550)🤔

Sorry, it was false alarm. Type annotation is working.

@niklabh niklabh requested a review from bobo-k2 February 10, 2023 10:44
@niklabh niklabh merged commit 645f892 into main Feb 10, 2023
@niklabh niklabh deleted the v0.1.14 branch February 10, 2023 11:50
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.

4 participants