Bump deps, update with stricter TS checks from dev (#415)
* Bump deps, update with stricter TS checks from dev * Add pretty to tsc
This commit is contained in:
@@ -33,6 +33,6 @@
|
||||
"@polkadot/jsonrpc": "^0.32.6",
|
||||
"@polkadot/rpc-provider": "^0.32.6",
|
||||
"@polkadot/types": "^0.32.6",
|
||||
"@polkadot/util": "^0.33.1"
|
||||
"@polkadot/util": "^0.33.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.1.5",
|
||||
"@polkadot/keyring": "^0.33.1",
|
||||
"@polkadot/keyring": "^0.33.2",
|
||||
"@polkadot/storage": "^0.32.6",
|
||||
"@polkadot/util": "^0.33.1",
|
||||
"@polkadot/util-crypto": "^0.33.1",
|
||||
"@polkadot/util": "^0.33.2",
|
||||
"@polkadot/util-crypto": "^0.33.2",
|
||||
"@types/nock": "^9.3.0",
|
||||
"eventemitter3": "^3.1.0",
|
||||
"isomorphic-fetch": "^2.2.1",
|
||||
|
||||
@@ -127,7 +127,7 @@ export default class Mock implements ProviderInterface {
|
||||
// Do something every 1 seconds
|
||||
setInterval(() => {
|
||||
if (!this.isUpdating) {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
// create a new header (next block)
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.1.5",
|
||||
"@polkadot/types": "^0.32.6",
|
||||
"@polkadot/util": "^0.33.1"
|
||||
"@polkadot/util": "^0.33.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,9 +30,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-storage#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.1.5",
|
||||
"@polkadot/keyring": "^0.33.1",
|
||||
"@polkadot/keyring": "^0.33.2",
|
||||
"@polkadot/types": "^0.32.6",
|
||||
"@polkadot/util": "^0.33.1",
|
||||
"@polkadot/util-crypto": "^0.33.1"
|
||||
"@polkadot/util": "^0.33.2",
|
||||
"@polkadot/util-crypto": "^0.33.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.1.5",
|
||||
"@polkadot/keyring": "^0.33.1",
|
||||
"@polkadot/util": "^0.33.1"
|
||||
"@polkadot/keyring": "^0.33.2",
|
||||
"@polkadot/util": "^0.33.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ export default class Compact extends Base<UInt | Moment> implements Codec {
|
||||
static encodeU8a = compactToU8a;
|
||||
|
||||
static stripLengthPrefix (u8a: Uint8Array, bitLength: UIntBitLength = DEFAULT_BITLENGTH): Uint8Array {
|
||||
const [_, value] = compactStripLength(u8a, bitLength);
|
||||
const [, value] = compactStripLength(u8a, bitLength);
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
@@ -36,8 +36,7 @@ function generateSectionLinks (sectionName: string, metadata: Metadata) {
|
||||
).join('');
|
||||
|
||||
default:
|
||||
console.error('Unknown section name provided to generate anchors');
|
||||
break;
|
||||
throw new Error('Unknown section name provided to generate anchors');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user