Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
closes: https://github.com/polkadot-js/api/issues/5883
Fixes
api.derive.accounts.identity
api.derive.accounts.info
This fix ensure the derive for identity also takes into the account the new logic in the Peoples Chain.
The identity type
IdentitiyInfo
has 4 fields that have been added or changed:This ensure it has support while also supporting the legacy structure.
Maybe I should add the new as
PeopleIdentityInfo
type to the augmented type generation? rel: https://github.com/polkadot-js/api/issues/5884