* Bump util

* util 8.0.4

* 8.0.4
This commit is contained in:
Jaco
2021-11-30 07:25:50 +02:00
committed by GitHub
parent 4bbba5bb35
commit 41cc8b34aa
19 changed files with 184 additions and 183 deletions
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/api": "6.10.2-0",
"@polkadot/types": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/api": "6.10.2",
"@polkadot/types": "6.10.2",
"@polkadot/util": "^8.0.4",
"rxjs": "^7.4.0"
}
}
+8 -8
View File
@@ -20,19 +20,19 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/api": "6.10.2-0",
"@polkadot/rpc-core": "6.10.2-0",
"@polkadot/types": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/api": "6.10.2",
"@polkadot/rpc-core": "6.10.2",
"@polkadot/types": "6.10.2",
"@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^8.0.4",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2",
"@polkadot/rpc-provider": "6.10.2-0"
"@polkadot/keyring": "^8.0.4",
"@polkadot/rpc-provider": "6.10.2"
}
}
+9 -9
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/api-derive": "6.10.2-0",
"@polkadot/keyring": "^8.0.2",
"@polkadot/rpc-core": "6.10.2-0",
"@polkadot/rpc-provider": "6.10.2-0",
"@polkadot/types": "6.10.2-0",
"@polkadot/types-known": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/api-derive": "6.10.2",
"@polkadot/keyring": "^8.0.4",
"@polkadot/rpc-core": "6.10.2",
"@polkadot/rpc-provider": "6.10.2",
"@polkadot/types": "6.10.2",
"@polkadot/types-known": "6.10.2",
"@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^8.0.4",
"eventemitter3": "^4.0.7",
"rxjs": "^7.4.0"
}
+5 -5
View File
@@ -20,16 +20,16 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/rpc-provider": "6.10.2-0",
"@polkadot/types": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/rpc-provider": "6.10.2",
"@polkadot/types": "6.10.2",
"@polkadot/util": "^8.0.4",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2"
"@polkadot/keyring": "^8.0.4"
}
}
+9 -9
View File
@@ -20,21 +20,21 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/types": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/x-fetch": "^8.0.2",
"@polkadot/x-global": "^8.0.2",
"@polkadot/x-ws": "^8.0.2",
"@polkadot/types": "6.10.2",
"@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^8.0.4",
"@polkadot/x-fetch": "^8.0.4",
"@polkadot/x-global": "^8.0.4",
"@polkadot/x-ws": "^8.0.4",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2",
"@polkadot/types": "6.10.2-0",
"@polkadot/keyring": "^8.0.4",
"@polkadot/types": "6.10.2",
"mock-socket": "^9.0.8",
"nock": "^13.2.1"
}
+6 -6
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,11 +33,11 @@
"@babel/core": "^7.16.0",
"@babel/register": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@polkadot/api": "6.10.2-0",
"@polkadot/rpc-provider": "6.10.2-0",
"@polkadot/types": "6.10.2-0",
"@polkadot/types-support": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/api": "6.10.2",
"@polkadot/rpc-provider": "6.10.2",
"@polkadot/types": "6.10.2",
"@polkadot/types-support": "6.10.2",
"@polkadot/util": "^8.0.4",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.2.1"
+4 -4
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/networks": "^8.0.2",
"@polkadot/types": "6.10.2-0",
"@polkadot/util": "^8.0.2"
"@polkadot/networks": "^8.0.4",
"@polkadot/types": "6.10.2",
"@polkadot/util": "^8.0.4"
}
}
+2 -2
View File
@@ -20,10 +20,10 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/util": "^8.0.2"
"@polkadot/util": "^8.0.4"
}
}
+6 -6
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "6.10.2-0",
"version": "6.10.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.16.3",
"@polkadot/types-known": "6.10.2-0",
"@polkadot/util": "^8.0.2",
"@polkadot/util-crypto": "^8.0.2",
"@polkadot/types-known": "6.10.2",
"@polkadot/util": "^8.0.4",
"@polkadot/util-crypto": "^8.0.4",
"rxjs": "^7.4.0"
},
"devDependencies": {
"@polkadot/keyring": "^8.0.2",
"@polkadot/types-support": "6.10.2-0",
"@polkadot/keyring": "^8.0.4",
"@polkadot/types-support": "6.10.2",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
@@ -1146,7 +1146,7 @@ export default {
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
Age: 'u32',
age: 'u32',
senderDeposit: 'u128',
maxMessageSize: 'u32',
maxCapacity: 'u32',
@@ -3169,7 +3169,7 @@ export default {
initial: 'Compact<u32>',
maximum: 'Compact<u32>',
refcount: 'Compact<u64>',
Reserved: 'Option<Null>',
reserved: 'Option<Null>',
code: 'Bytes',
originalCodeLen: 'u32'
},
@@ -3179,7 +3179,7 @@ export default {
PalletContractsStorageRawContractInfo: {
trieId: 'Bytes',
codeHash: 'H256',
Reserved: 'Option<Null>'
reserved: 'Option<Null>'
},
/**
* Lookup412: pallet_contracts::storage::DeletedContract
@@ -3216,14 +3216,14 @@ export default {
**/
PalletContractsScheduleInstructionWeights: {
_alias: {
r_If: 'r#If'
r_if: 'r#if'
},
version: 'u32',
i64const: 'u32',
i64load: 'u32',
i64store: 'u32',
select: 'u32',
r_If: 'u32',
r_if: 'u32',
br: 'u32',
brIf: 'u32',
brTable: 'u32',
@@ -3276,7 +3276,7 @@ export default {
**/
PalletContractsScheduleHostFnWeights: {
_alias: {
r_Return: 'r#Return'
r_return: 'r#return'
},
caller: 'u64',
address: 'u64',
@@ -3291,7 +3291,7 @@ export default {
gas: 'u64',
input: 'u64',
inputPerByte: 'u64',
r_Return: 'u64',
r_return: 'u64',
returnPerByte: 'u64',
terminate: 'u64',
random: 'u64',
@@ -1022,7 +1022,7 @@ declare module '@polkadot/types/lookup' {
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (553) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly Age: u32;
readonly age: u32;
readonly senderDeposit: u128;
readonly maxMessageSize: u32;
readonly maxCapacity: u32;
@@ -3394,7 +3394,7 @@ declare module '@polkadot/types/lookup' {
readonly initial: Compact<u32>;
readonly maximum: Compact<u32>;
readonly refcount: Compact<u64>;
readonly Reserved: Option<Null>;
readonly reserved: Option<Null>;
readonly code: Bytes;
readonly originalCodeLen: u32;
}
@@ -3403,7 +3403,7 @@ declare module '@polkadot/types/lookup' {
export interface PalletContractsStorageRawContractInfo extends Struct {
readonly trieId: Bytes;
readonly codeHash: H256;
readonly Reserved: Option<Null>;
readonly reserved: Option<Null>;
}
/** @name PalletContractsStorageDeletedContract (412) */
@@ -3440,7 +3440,7 @@ declare module '@polkadot/types/lookup' {
readonly i64load: u32;
readonly i64store: u32;
readonly select: u32;
readonly r_If: u32;
readonly r_if: u32;
readonly br: u32;
readonly brIf: u32;
readonly brTable: u32;
@@ -3504,7 +3504,7 @@ declare module '@polkadot/types/lookup' {
readonly gas: u64;
readonly input: u64;
readonly inputPerByte: u64;
readonly r_Return: u64;
readonly r_return: u64;
readonly returnPerByte: u64;
readonly terminate: u64;
readonly random: u64;
+6 -6
View File
@@ -378,18 +378,18 @@ export interface TransactionV0 extends LegacyTransaction {}
export interface TransactionV1 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEIP2930: boolean;
readonly asEIP2930: EIP2930Transaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
}
/** @name TransactionV2 */
export interface TransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEIP2930: boolean;
readonly asEIP2930: EIP2930Transaction;
readonly isEIP1559: boolean;
readonly asEIP1559: EIP1559Transaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
readonly isEip1559: boolean;
readonly asEip1559: EIP1559Transaction;
}
export type PHANTOM_ETH = 'eth';
@@ -5,8 +5,8 @@ import type { Enum } from '@polkadot/types';
/** @name StorageKind */
export interface StorageKind extends Enum {
readonly isPERSISTENT: boolean;
readonly isLOCAL: boolean;
readonly isPersistent: boolean;
readonly isLocal: boolean;
}
export type PHANTOM_OFFCHAIN = 'offchain';
@@ -35,9 +35,7 @@ describe('decorateConstants', (): void => {
// 0x34 removes as the length prefix removed
expect(
// stringToCamel behavior has changed
// consts.session.dedupKeyPrefix.toHex()
consts.session.dEDUPKEYPREFIX.toHex()
consts.session.dedupKeyPrefix.toHex()
).toEqual('0x3a73657373696f6e3a6b657973');
});
});