Expose extracted type names in PortableRegistry
This commit is contained in:
@@ -2,9 +2,14 @@
|
||||
|
||||
## master
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add `Auction` to Polkadot pre-0.9.11 `ProxyType` (Thnaks to https://github.com/wirednkod)
|
||||
|
||||
Changes:
|
||||
|
||||
- Fix browser bundle imports for xcm-mapping (move to `types-known`)
|
||||
- Expose all extracted type names in `PortableRegistry`
|
||||
|
||||
|
||||
## 6.4.2 Oct 18, 2021
|
||||
|
||||
@@ -252,6 +252,10 @@ export class GenericPortableRegistry extends Struct {
|
||||
this.#types = extractTypeMap(this.types);
|
||||
}
|
||||
|
||||
public get names (): string[] {
|
||||
return Object.values(this.#names);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The types of the registry
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user