* Bump deps

* Bump dev
This commit is contained in:
Jaco
2023-03-04 16:52:54 +02:00
committed by GitHub
parent 8fee66c0fa
commit 4ca9670e4e
23 changed files with 76 additions and 706 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
"@babel/core": "^7.21.0",
"@babel/register": "^7.21.0",
"@babel/runtime": "^7.21.0",
"@polkadot/dev": "^0.69.25",
"@polkadot/dev": "^0.69.27",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/node": "^18.14.5"
},
+2 -2
View File
@@ -23,12 +23,12 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/api-base": "9.14.3-10-x",
"@polkadot/rpc-augment": "9.14.3-10-x",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/types-augment": "9.14.3-10-x",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/util": "^10.4.2"
"@polkadot/util": "^10.4.2",
"tslib": "^2.5.0"
}
}
+2 -2
View File
@@ -23,10 +23,10 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/rpc-core": "9.14.3-10-x",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/util": "^10.4.2",
"rxjs": "^7.8.0"
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
}
}
+2 -2
View File
@@ -23,14 +23,14 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/api": "9.14.3-10-x",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/types-create": "9.14.3-10-x",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"rxjs": "^7.8.0"
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api-augment": "9.14.3-10-x",
+1 -1
View File
@@ -11,7 +11,7 @@ import { v3ToV4 } from './toV4';
// The versions where an enum is used, aka V0 is missing
// (Order from newest, i.e. we expect more on newest vs oldest)
export const enumVersions = <const> ['V4', 'V3', 'V2', 'V1'];
export const enumVersions = ['V4', 'V3', 'V2', 'V1'] as const;
type Versions = typeof enumVersions[number] | 'V0';
+2 -2
View File
@@ -23,11 +23,11 @@ interface ArgsEntry <T extends WithArgs> extends NamedEntry {
args: GetArgsType<T>['args'][0][];
}
const ARG_TYPES = <const> {
const ARG_TYPES = {
ContractConstructorSpec: 'ContractMessageParamSpecV2',
ContractEventSpec: 'ContractEventParamSpecV2',
ContractMessageSpec: 'ContractMessageParamSpecV2'
};
} as const;
function v1ToV2Label (entry: NamedEntry): { label: Text } {
return objectSpread({}, entry, {
+2 -2
View File
@@ -23,7 +23,6 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/api": "9.14.3-10-x",
"@polkadot/api-augment": "9.14.3-10-x",
"@polkadot/api-base": "9.14.3-10-x",
@@ -32,7 +31,8 @@
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"rxjs": "^7.8.0"
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api": "9.14.3-10-x",
+2 -2
View File
@@ -23,7 +23,6 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/api-augment": "9.14.3-10-x",
"@polkadot/api-base": "9.14.3-10-x",
"@polkadot/api-derive": "9.14.3-10-x",
@@ -39,7 +38,8 @@
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"eventemitter3": "^5.0.0",
"rxjs": "^7.8.0"
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api-augment": "9.14.3-10-x",
+2 -2
View File
@@ -23,10 +23,10 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/rpc-core": "9.14.3-10-x",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/util": "^10.4.2"
"@polkadot/util": "^10.4.2",
"tslib": "^2.5.0"
}
}
+2 -2
View File
@@ -23,12 +23,12 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/rpc-augment": "9.14.3-10-x",
"@polkadot/rpc-provider": "9.14.3-10-x",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/util": "^10.4.2",
"rxjs": "^7.8.0"
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/keyring": "^10.4.2",
+2 -2
View File
@@ -23,7 +23,6 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/keyring": "^10.4.2",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/types-support": "9.14.3-10-x",
@@ -34,7 +33,8 @@
"@polkadot/x-ws": "^10.4.2",
"eventemitter3": "^5.0.0",
"mock-socket": "^9.2.1",
"nock": "^13.3.0"
"nock": "^13.3.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@substrate/connect": "0.7.20"
+1 -1
View File
@@ -32,7 +32,6 @@
"dependencies": {
"@babel/core": "^7.21.0",
"@babel/register": "^7.21.0",
"@babel/runtime": "^7.21.0",
"@polkadot/api": "9.14.3-10-x",
"@polkadot/api-augment": "9.14.3-10-x",
"@polkadot/rpc-augment": "9.14.3-10-x",
@@ -46,6 +45,7 @@
"@polkadot/util-crypto": "^10.4.2",
"@polkadot/x-ws": "^10.4.2",
"handlebars": "^4.7.7",
"tslib": "^2.5.0",
"websocket": "^1.0.34",
"yargs": "^17.7.1"
},
+2 -2
View File
@@ -23,9 +23,9 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/util": "^10.4.2"
"@polkadot/util": "^10.4.2",
"tslib": "^2.5.0"
}
}
+2 -2
View File
@@ -23,9 +23,9 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/util": "^10.4.2",
"@polkadot/x-bigint": "^10.4.2"
"@polkadot/x-bigint": "^10.4.2",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/types": "9.14.3-10-x",
+2 -2
View File
@@ -23,9 +23,9 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/util": "^10.4.2"
"@polkadot/util": "^10.4.2",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/types": "9.14.3-10-x"
+2 -2
View File
@@ -23,12 +23,12 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/networks": "^10.4.2",
"@polkadot/types": "9.14.3-10-x",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/types-create": "9.14.3-10-x",
"@polkadot/util": "^10.4.2"
"@polkadot/util": "^10.4.2",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/api": "9.14.3-10-x"
@@ -11,7 +11,7 @@ import { ApiPromise, WsProvider } from '@polkadot/api';
import * as allMan from '../manual';
import * as allGen from '.';
const keys = <const> ['kusama', 'polkadot', 'westend'];
const keys = ['kusama', 'polkadot', 'westend'] as const;
const urls = {
kusama: 'wss://kusama-rpc.polkadot.io',
polkadot: 'wss://rpc.polkadot.io',
+2 -2
View File
@@ -23,7 +23,7 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/util": "^10.4.2"
"@polkadot/util": "^10.4.2",
"tslib": "^2.5.0"
}
}
+2 -2
View File
@@ -23,14 +23,14 @@
"version": "9.14.3-10-x",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.21.0",
"@polkadot/keyring": "^10.4.2",
"@polkadot/types-augment": "9.14.3-10-x",
"@polkadot/types-codec": "9.14.3-10-x",
"@polkadot/types-create": "9.14.3-10-x",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"rxjs": "^7.8.0"
"rxjs": "^7.8.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/keyring": "^10.4.2",
@@ -4,7 +4,7 @@
// order important in structs... :)
/* eslint-disable sort-keys */
export const AllHashers = <const> {
export const AllHashers = {
Blake2_128: null, // eslint-disable-line camelcase
Blake2_256: null, // eslint-disable-line camelcase
Blake2_128Concat: null, // eslint-disable-line camelcase
@@ -13,4 +13,4 @@ export const AllHashers = <const> {
Twox64Concat: null,
// new in v11
Identity: null
};
} as const;
+1 -1
View File
@@ -19,7 +19,7 @@ const allData: Record<string, HexString> = {
substrate
};
for (const type of <const> ['kusama', 'polkadot', 'substrate']) {
for (const type of ['kusama', 'polkadot', 'substrate'] as const) {
describe(`${type}metadata`, (): void => {
const metadata = new Metadata(new TypeRegistry(), allData[type]);
@@ -19,7 +19,7 @@ import { getUniqTypes, toCallsOnly } from './util';
// Use these to generate all the Meta* types below via template keys
// NOTE: Keep from latest -> earliest, see the LATEST_VERSION 0 index
const KNOWN_VERSIONS = <const> [14, 13, 12, 11, 10, 9];
const KNOWN_VERSIONS = [14, 13, 12, 11, 10, 9] as const;
const LATEST_VERSION = KNOWN_VERSIONS[0];
type MetaAll = typeof KNOWN_VERSIONS[number];
+38 -668
View File
File diff suppressed because it is too large Load Diff