This commit is contained in:
Jaco
2022-03-28 13:02:22 +03:00
committed by GitHub
parent bb75b42273
commit bab50b2d74
19 changed files with 173 additions and 166 deletions
+5 -5
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "7.14.2",
"version": "7.14.3",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.17.8",
"@polkadot/keyring": "^8.7.1",
"@polkadot/types-augment": "7.14.2",
"@polkadot/types-codec": "7.14.2",
"@polkadot/types-create": "7.14.2",
"@polkadot/types-augment": "7.14.3",
"@polkadot/types-codec": "7.14.3",
"@polkadot/types-create": "7.14.3",
"@polkadot/util": "^8.7.1",
"@polkadot/util-crypto": "^8.7.1",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@polkadot/keyring": "^8.7.1",
"@polkadot/types-support": "7.14.2"
"@polkadot/types-support": "7.14.3"
}
}
@@ -529,8 +529,8 @@ export class PortableRegistry extends Struct implements ILookup {
// NOTE: Currently the BitVec type is one-way only, i.e. we only use it to decode, not
// re-encode stuff. As such we ignore the msb/lsb identifier given by bitOrderType, or rather
// we don't pass it though at all, however we only currently cater for the default Lsb
assert(BITVEC_NS_LSB.includes(bitOrder.namespace || ''), () => `Unexpected bitOrder found as ${bitOrder.namespace || '<unknown>'}`);
// we don't pass it though at all (all displays in LSB)
assert(BITVEC_NS.includes(bitOrder.namespace || ''), () => `Unexpected bitOrder found as ${bitOrder.namespace || '<unknown>'}`);
assert(bitStore.info === TypeDefInfo.Plain && bitStore.type === 'u8', () => `Only u8 bitStore is currently supported, found ${bitStore.type}`);
return {