8.6.2 (#4876)
This commit is contained in:
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.2-1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/keyring": "^9.3.1",
|
||||
"@polkadot/types-augment": "8.6.2-1",
|
||||
"@polkadot/types-codec": "8.6.2-1",
|
||||
"@polkadot/types-create": "8.6.2-1",
|
||||
"@polkadot/types-augment": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/types-create": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"@polkadot/util-crypto": "^9.3.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^9.3.1",
|
||||
"@polkadot/types-support": "8.6.2-1"
|
||||
"@polkadot/types-support": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -784,12 +784,13 @@ export class PortableRegistry extends Struct implements ILookup {
|
||||
if (specialVariant === 'Option') {
|
||||
const sub = this.#createSiDef(params[0].type.unwrap());
|
||||
|
||||
if (sub.type === 'bool') {
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.Plain,
|
||||
type: 'OptionBool'
|
||||
});
|
||||
}
|
||||
// NOTE This is opt-in (unhandled), not by default
|
||||
// if (sub.type === 'bool') {
|
||||
// return withTypeString(this.registry, {
|
||||
// info: TypeDefInfo.Plain,
|
||||
// type: 'OptionBool'
|
||||
// });
|
||||
// }
|
||||
|
||||
return withTypeString(this.registry, {
|
||||
info: TypeDefInfo.Option,
|
||||
|
||||
Reference in New Issue
Block a user