Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7a5a409d8 | ||
|
|
bd0b6426a7 | ||
|
|
06cb4aadfa | ||
|
|
f76efa5f8a | ||
|
|
cdc8d68e8b | ||
|
|
a208cc9bb5 |
+2
-1
@@ -53,4 +53,5 @@
|
||||
7.14.3
|
||||
8.0.2
|
||||
8.3.2
|
||||
8.4.2
|
||||
8.4.2
|
||||
8.6.2
|
||||
@@ -1,5 +1,14 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 8.6.2 May 30, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
- Don't apply default to `Option<bool>` opt-in
|
||||
- Lower default historic LRU cache size (128 entries, 192MB est)
|
||||
- Cater for updates required by TS 4.7.2
|
||||
|
||||
|
||||
## 8.6.1 May 29, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
2982 Jaco 8.6.1 (#4870)
|
||||
2985 Jaco 8.6.2 (#4876)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
|
||||
+3
-3
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "commonjs",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
@@ -34,12 +34,12 @@
|
||||
"@babel/core": "^7.18.2",
|
||||
"@babel/register": "^7.17.7",
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/dev": "^0.66.30",
|
||||
"@polkadot/dev": "^0.66.32",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^27.5.1",
|
||||
"copyfiles": "^2.4.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^4.6.4"
|
||||
"typescript": "^4.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api-base": "8.6.1",
|
||||
"@polkadot/rpc-augment": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-augment": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/api-base": "8.6.2",
|
||||
"@polkadot/rpc-augment": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-augment": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "8.6.1"
|
||||
"@polkadot/types-support": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/rpc-core": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/rpc-core": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"rxjs": "^7.5.5"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types-create": "8.6.1",
|
||||
"@polkadot/api": "8.6.2",
|
||||
"@polkadot/types": "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/api-augment": "8.6.1",
|
||||
"@polkadot/api-augment": "8.6.2",
|
||||
"@polkadot/keyring": "^9.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,25 +20,25 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api": "8.6.1",
|
||||
"@polkadot/api-augment": "8.6.1",
|
||||
"@polkadot/api-base": "8.6.1",
|
||||
"@polkadot/rpc-core": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/api": "8.6.2",
|
||||
"@polkadot/api-augment": "8.6.2",
|
||||
"@polkadot/api-base": "8.6.2",
|
||||
"@polkadot/rpc-core": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"@polkadot/util-crypto": "^9.3.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "8.6.1",
|
||||
"@polkadot/api-augment": "8.6.1",
|
||||
"@polkadot/rpc-augment": "8.6.1",
|
||||
"@polkadot/rpc-provider": "8.6.1",
|
||||
"@polkadot/types-support": "8.6.1"
|
||||
"@polkadot/api": "8.6.2",
|
||||
"@polkadot/api-augment": "8.6.2",
|
||||
"@polkadot/rpc-augment": "8.6.2",
|
||||
"@polkadot/rpc-provider": "8.6.2",
|
||||
"@polkadot/types-support": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { u32, Vec } from '@polkadot/types';
|
||||
import type { AccountId, Balance, BlockNumber } from '@polkadot/types/interfaces';
|
||||
import type { AccountId32, Balance, BlockNumber } from '@polkadot/types/interfaces';
|
||||
import type { PalletElectionsPhragmenSeatHolder } from '@polkadot/types/lookup';
|
||||
import type { ITuple } from '@polkadot/types/types';
|
||||
import type { DeriveApi } from '../types';
|
||||
@@ -14,31 +14,31 @@ import { combineLatest, map, of } from 'rxjs';
|
||||
import { memo } from '../util';
|
||||
|
||||
// SeatHolder is current tuple is 2.x-era Substrate
|
||||
type Member = PalletElectionsPhragmenSeatHolder | ITuple<[AccountId, Balance]>;
|
||||
type Member = PalletElectionsPhragmenSeatHolder | ITuple<[AccountId32, Balance]>;
|
||||
|
||||
type Candidate = AccountId | ITuple<[AccountId, Balance]>;
|
||||
type Candidate = AccountId32 | ITuple<[AccountId32, Balance]>;
|
||||
|
||||
function isSeatHolder (value: Member): value is PalletElectionsPhragmenSeatHolder {
|
||||
return !Array.isArray(value);
|
||||
}
|
||||
|
||||
function isCandidateTuple (value: Candidate): value is ITuple<[AccountId, Balance]> {
|
||||
function isCandidateTuple (value: Candidate): value is ITuple<[AccountId32, Balance]> {
|
||||
return Array.isArray(value);
|
||||
}
|
||||
|
||||
function getAccountTuple (value: Member): [AccountId, Balance] {
|
||||
function getAccountTuple (value: Member): [AccountId32, Balance] {
|
||||
return isSeatHolder(value)
|
||||
? [value.who, value.stake]
|
||||
: value;
|
||||
}
|
||||
|
||||
function getCandidate (value: Candidate): AccountId {
|
||||
function getCandidate (value: Candidate): AccountId32 {
|
||||
return isCandidateTuple(value)
|
||||
? value[0]
|
||||
: value;
|
||||
}
|
||||
|
||||
function sortAccounts ([, balanceA]: [AccountId, Balance], [, balanceB]: [AccountId, Balance]): number {
|
||||
function sortAccounts ([, balanceA]: [AccountId32, Balance], [, balanceB]: [AccountId32, Balance]): number {
|
||||
return balanceB.cmp(balanceA);
|
||||
}
|
||||
|
||||
@@ -67,6 +67,24 @@ function getModules (api: DeriveApi): [string, string | null] {
|
||||
return [council, elections];
|
||||
}
|
||||
|
||||
function queryAll (api: DeriveApi, council: string, elections: string): Observable<[AccountId32[], Candidate[], Member[], Member[]]> {
|
||||
return api.queryMulti<[Vec<AccountId32>, Vec<Candidate>, Vec<Member>, Vec<Member>]>([
|
||||
api.query[council as 'council'].members,
|
||||
api.query[elections as 'phragmenElection'].candidates,
|
||||
api.query[elections as 'phragmenElection'].members,
|
||||
api.query[elections as 'phragmenElection'].runnersUp
|
||||
]);
|
||||
}
|
||||
|
||||
function queryCouncil (api: DeriveApi, council: string): Observable<[AccountId32[], Candidate[], Member[], Member[]]> {
|
||||
return combineLatest([
|
||||
api.query[council as 'council'].members(),
|
||||
of<Candidate[]>([]),
|
||||
of<Member[]>([]),
|
||||
of<Member[]>([])
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @name info
|
||||
* @returns An object containing the combined results of the storage queries for
|
||||
@@ -86,18 +104,8 @@ export function info (instanceId: string, api: DeriveApi): () => Observable<Deri
|
||||
|
||||
return (
|
||||
elections
|
||||
? api.queryMulti<[Vec<AccountId>, Vec<Candidate>, Vec<Member>, Vec<Member>]>([
|
||||
api.query[council].members,
|
||||
api.query[elections].candidates,
|
||||
api.query[elections].members,
|
||||
api.query[elections].runnersUp
|
||||
])
|
||||
: combineLatest([
|
||||
api.query[council].members<Vec<AccountId>>(),
|
||||
of<Candidate[]>([]),
|
||||
of<Member[]>([]),
|
||||
of<Member[]>([])
|
||||
])
|
||||
? queryAll(api, council, elections)
|
||||
: queryCouncil(api, council)
|
||||
).pipe(
|
||||
map(([councilMembers, candidates, members, runnersUp]): DeriveElectionsInfo => ({
|
||||
...getConstants(api, elections),
|
||||
@@ -105,7 +113,7 @@ export function info (instanceId: string, api: DeriveApi): () => Observable<Deri
|
||||
candidates: candidates.map(getCandidate),
|
||||
members: members.length
|
||||
? members.map(getAccountTuple).sort(sortAccounts)
|
||||
: councilMembers.map((a): [AccountId, Balance] => [a, api.registry.createType('Balance')]),
|
||||
: councilMembers.map((a): [AccountId32, Balance] => [a, api.registry.createType('Balance')]),
|
||||
runnersUp: runnersUp.map(getAccountTuple).sort(sortAccounts)
|
||||
}))
|
||||
);
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ExactDerive } from '.';
|
||||
|
||||
const testFunction = (api: ApiRx): any => {
|
||||
return <S extends keyof ExactDerive, M extends keyof (typeof api.derive[S])>(section: S, method: M, inputs: any[]): void => {
|
||||
describe(`derive.${section}.${method}`, (): void => {
|
||||
describe(`derive.${section}.${method as string}`, (): void => {
|
||||
it('should be a function', (): void => {
|
||||
expect(typeof api.derive[section][method]).toBe('function');
|
||||
});
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
+14
-14
@@ -20,29 +20,29 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api-augment": "8.6.1",
|
||||
"@polkadot/api-base": "8.6.1",
|
||||
"@polkadot/api-derive": "8.6.1",
|
||||
"@polkadot/api-augment": "8.6.2",
|
||||
"@polkadot/api-base": "8.6.2",
|
||||
"@polkadot/api-derive": "8.6.2",
|
||||
"@polkadot/keyring": "^9.3.1",
|
||||
"@polkadot/rpc-augment": "8.6.1",
|
||||
"@polkadot/rpc-core": "8.6.1",
|
||||
"@polkadot/rpc-provider": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-augment": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types-create": "8.6.1",
|
||||
"@polkadot/types-known": "8.6.1",
|
||||
"@polkadot/rpc-augment": "8.6.2",
|
||||
"@polkadot/rpc-core": "8.6.2",
|
||||
"@polkadot/rpc-provider": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-augment": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/types-create": "8.6.2",
|
||||
"@polkadot/types-known": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"@polkadot/util-crypto": "^9.3.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "8.6.1",
|
||||
"@polkadot/types-support": "8.6.1"
|
||||
"@polkadot/api-augment": "8.6.2",
|
||||
"@polkadot/types-support": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/rpc-core": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/rpc-core": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/rpc-augment": "8.6.1",
|
||||
"@polkadot/rpc-provider": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/rpc-augment": "8.6.2",
|
||||
"@polkadot/rpc-provider": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"rxjs": "^7.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^9.3.1",
|
||||
"@polkadot/rpc-augment": "8.6.1"
|
||||
"@polkadot/rpc-augment": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/keyring": "^9.3.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-support": "8.6.1",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-support": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"@polkadot/util-crypto": "^9.3.1",
|
||||
"@polkadot/x-fetch": "^9.3.1",
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2022 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Assuming all 1.5MB responses, we apply a default allowing for 576MB
|
||||
// Assuming all 1.5MB responses, we apply a default allowing for 192MB
|
||||
// cache space (depending on the historic queries this would vary, metadata
|
||||
// for Kusama/Polkadot/Substrate falls between 600-750K, 2x for estimate)
|
||||
const DEFAULT_CAPACITY = 384;
|
||||
const DEFAULT_CAPACITY = 128;
|
||||
|
||||
class LRUNode {
|
||||
public readonly key: string;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -300,7 +300,7 @@ export class WsProvider implements ProviderInterface {
|
||||
|
||||
const [id, body] = this.#coder.encodeJson(method, params);
|
||||
let resultPromise: Promise<T> | null = isCacheable
|
||||
? this.#callCache.get(body) as Promise<T>
|
||||
? this.#callCache.get(body)
|
||||
: null;
|
||||
|
||||
if (!resultPromise) {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
|
||||
@@ -33,15 +33,15 @@
|
||||
"@babel/core": "^7.18.2",
|
||||
"@babel/register": "^7.17.7",
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/api": "8.6.1",
|
||||
"@polkadot/api-augment": "8.6.1",
|
||||
"@polkadot/rpc-augment": "8.6.1",
|
||||
"@polkadot/rpc-provider": "8.6.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-augment": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types-create": "8.6.1",
|
||||
"@polkadot/types-support": "8.6.1",
|
||||
"@polkadot/api": "8.6.2",
|
||||
"@polkadot/api-augment": "8.6.2",
|
||||
"@polkadot/rpc-augment": "8.6.2",
|
||||
"@polkadot/rpc-provider": "8.6.2",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-augment": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/types-create": "8.6.2",
|
||||
"@polkadot/types-support": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1",
|
||||
"@polkadot/x-ws": "^9.3.1",
|
||||
"handlebars": "^4.7.7",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,16 +20,16 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/util": "^9.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-augment": "8.6.1",
|
||||
"@polkadot/types-support": "8.6.1",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-augment": "8.6.2",
|
||||
"@polkadot/types-support": "8.6.2",
|
||||
"@polkadot/util-crypto": "^9.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "8.6.1"
|
||||
"@polkadot/types": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { Codec, CodecClass, Registry, U8aBitLength, UIntBitLength } from '@polkadot/types-codec/types';
|
||||
import type { TypeDef } from '../types';
|
||||
|
||||
import { BTreeMap, BTreeSet, Bytes, CodecSet, Compact, DoNotConstruct, Enum, HashMap, Int, Null, Option, OptionBool, Range, RangeInclusive, Result, Struct, Tuple, U8aFixed, UInt, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
|
||||
import { BTreeMap, BTreeSet, Bytes, CodecSet, Compact, DoNotConstruct, Enum, HashMap, Int, Null, Option, Range, RangeInclusive, Result, Struct, Tuple, U8aFixed, UInt, Vec, VecFixed, WrapperKeepOpaque, WrapperOpaque } from '@polkadot/types-codec';
|
||||
import { assert, isNumber, stringify } from '@polkadot/util';
|
||||
|
||||
import { TypeDefInfo } from '../types';
|
||||
@@ -118,11 +118,12 @@ const infoMapping: Record<TypeDefInfo, (registry: Registry, value: TypeDef) => C
|
||||
[TypeDefInfo.Option]: (registry: Registry, value: TypeDef): CodecClass<Codec> => {
|
||||
assert(value.sub && !Array.isArray(value.sub), 'Expected type information for Option');
|
||||
|
||||
return (
|
||||
value.sub.type === 'bool'
|
||||
? OptionBool
|
||||
: createWithSub(Option, value)
|
||||
);
|
||||
// NOTE This is opt-in (unhandled), not by default
|
||||
// if (value.sub.type === 'bool') {
|
||||
// return OptionBool;
|
||||
// }
|
||||
|
||||
return createWithSub(Option, value);
|
||||
},
|
||||
|
||||
[TypeDefInfo.Plain]: (registry: Registry, value: TypeDef): CodecClass<Codec> =>
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/networks": "^9.3.1",
|
||||
"@polkadot/types": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types-create": "8.6.1",
|
||||
"@polkadot/types": "8.6.2",
|
||||
"@polkadot/types-codec": "8.6.2",
|
||||
"@polkadot/types-create": "8.6.2",
|
||||
"@polkadot/util": "^9.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
"./detectPackage.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "8.6.1",
|
||||
"version": "8.6.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.18.3",
|
||||
"@polkadot/keyring": "^9.3.1",
|
||||
"@polkadot/types-augment": "8.6.1",
|
||||
"@polkadot/types-codec": "8.6.1",
|
||||
"@polkadot/types-create": "8.6.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.1"
|
||||
"@polkadot/types-support": "8.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ const nf = registry.createType('[[[u8;32];5];3]');
|
||||
// with linkage
|
||||
const tl = registry.createType('(ValidatorPrefsWithCommission, Linkage<AccountId>)');
|
||||
|
||||
assert(ee[0].unwrap().unwrap().divn(123) && vb.unwrap().bitLength() && vv.toHuman() && vn[0][3][0].bitLength && vt.toHuman() && nf.toHuman() && tl[1].next, 'All ok');
|
||||
assert(ee[0].unwrap().unwrap().divn(123) && vb.unwrap().bitLength() && vv.toHuman() && vn[0][3][0].bitLength() && vt.toHuman() && nf.toHuman() && tl[1].next, 'All ok');
|
||||
|
||||
// tuple & struct
|
||||
const vs = registry.createType('(u8, {"a":"u32","b":"(u32,u64)"},(u8,u16),{"foo":"Bar"},u16)');
|
||||
@@ -76,7 +76,7 @@ const hh = registry.createType('[u128; 32]');
|
||||
// maps and sets
|
||||
const ms = registry.createType('(BTreeSet<u8>, BTreeMap<u16, u32>, HashMap<u64, u128>)');
|
||||
|
||||
assert(hh[0].bitLength() && ms[0].strings && ms[1].values && ms[2].keys, 'All ok');
|
||||
assert(hh[0].bitLength() && ms[0].strings && ms[1].values() && ms[2].keys, 'All ok');
|
||||
|
||||
// tuple! ITuple<[u32, Compact<u64>, u128, Codec]>
|
||||
const tt1 = registry.createType('(u32, Compact<u64>, u128 , Something)');
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.6.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '8.6.2' };
|
||||
|
||||
@@ -1950,28 +1950,28 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@8.6.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@8.6.2, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/api-base": 8.6.1
|
||||
"@polkadot/rpc-augment": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-augment": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/api-base": 8.6.2
|
||||
"@polkadot/rpc-augment": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-augment": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@8.6.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@8.6.2, @polkadot/api-base@workspace:packages/api-base":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/rpc-core": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/rpc-core": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
@@ -1982,56 +1982,56 @@ __metadata:
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/api": 8.6.1
|
||||
"@polkadot/api-augment": 8.6.1
|
||||
"@polkadot/api": 8.6.2
|
||||
"@polkadot/api-augment": 8.6.2
|
||||
"@polkadot/keyring": ^9.3.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-create": 8.6.1
|
||||
"@polkadot/types": 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
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@8.6.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@8.6.2, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/api": 8.6.1
|
||||
"@polkadot/api-augment": 8.6.1
|
||||
"@polkadot/api-base": 8.6.1
|
||||
"@polkadot/rpc-augment": 8.6.1
|
||||
"@polkadot/rpc-core": 8.6.1
|
||||
"@polkadot/rpc-provider": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/api": 8.6.2
|
||||
"@polkadot/api-augment": 8.6.2
|
||||
"@polkadot/api-base": 8.6.2
|
||||
"@polkadot/rpc-augment": 8.6.2
|
||||
"@polkadot/rpc-core": 8.6.2
|
||||
"@polkadot/rpc-provider": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
"@polkadot/util-crypto": ^9.3.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@8.6.1, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@8.6.2, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/api-augment": 8.6.1
|
||||
"@polkadot/api-base": 8.6.1
|
||||
"@polkadot/api-derive": 8.6.1
|
||||
"@polkadot/api-augment": 8.6.2
|
||||
"@polkadot/api-base": 8.6.2
|
||||
"@polkadot/api-derive": 8.6.2
|
||||
"@polkadot/keyring": ^9.3.1
|
||||
"@polkadot/rpc-augment": 8.6.1
|
||||
"@polkadot/rpc-core": 8.6.1
|
||||
"@polkadot/rpc-provider": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-augment": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-create": 8.6.1
|
||||
"@polkadot/types-known": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/rpc-augment": 8.6.2
|
||||
"@polkadot/rpc-core": 8.6.2
|
||||
"@polkadot/rpc-provider": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-augment": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/types-create": 8.6.2
|
||||
"@polkadot/types-known": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
"@polkadot/util-crypto": ^9.3.1
|
||||
eventemitter3: ^4.0.7
|
||||
@@ -2039,9 +2039,9 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/dev@npm:^0.66.30":
|
||||
version: 0.66.30
|
||||
resolution: "@polkadot/dev@npm:0.66.30"
|
||||
"@polkadot/dev@npm:^0.66.32":
|
||||
version: 0.66.32
|
||||
resolution: "@polkadot/dev@npm:0.66.32"
|
||||
dependencies:
|
||||
"@babel/cli": ^7.17.10
|
||||
"@babel/core": ^7.18.2
|
||||
@@ -2102,9 +2102,9 @@ __metadata:
|
||||
mkdirp: ^1.0.4
|
||||
prettier: ^2.6.2
|
||||
rimraf: ^3.0.2
|
||||
rollup: ^2.75.0
|
||||
rollup: ^2.75.3
|
||||
rollup-plugin-cleanup: ^3.2.1
|
||||
typescript: ^4.6.4
|
||||
typescript: ^4.7.2
|
||||
yargs: ^17.5.1
|
||||
bin:
|
||||
polkadot-ci-ghact-build: scripts/polkadot-ci-ghact-build.mjs
|
||||
@@ -2128,7 +2128,7 @@ __metadata:
|
||||
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
|
||||
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
|
||||
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
|
||||
checksum: fe4412fb8631e4f15ad35d099465efb0e91cbb7e24f0677801fc3665d64e1f507744b8c1dd822efc5540ddd0592e015e176f798da2085e6822c66dadbcfc04da
|
||||
checksum: 725d42db2ab7c684e91831a1da88bc39793bf836d8eaa5a97ea5ea9497682707a7f60b6674ac5dbaafc4020a036525c5fdfedf3353ec6d51b026f50bca5ac71f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -2157,40 +2157,40 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@8.6.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@8.6.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/rpc-core": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/rpc-core": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@8.6.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@8.6.2, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/keyring": ^9.3.1
|
||||
"@polkadot/rpc-augment": 8.6.1
|
||||
"@polkadot/rpc-provider": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/rpc-augment": 8.6.2
|
||||
"@polkadot/rpc-provider": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
rxjs: ^7.5.5
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@8.6.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@8.6.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/keyring": ^9.3.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
"@polkadot/util-crypto": ^9.3.1
|
||||
"@polkadot/x-fetch": ^9.3.1
|
||||
@@ -2210,15 +2210,15 @@ __metadata:
|
||||
"@babel/core": ^7.18.2
|
||||
"@babel/register": ^7.17.7
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/api": 8.6.1
|
||||
"@polkadot/api-augment": 8.6.1
|
||||
"@polkadot/rpc-augment": 8.6.1
|
||||
"@polkadot/rpc-provider": 8.6.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-augment": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-create": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/api": 8.6.2
|
||||
"@polkadot/api-augment": 8.6.2
|
||||
"@polkadot/rpc-augment": 8.6.2
|
||||
"@polkadot/rpc-provider": 8.6.2
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-augment": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/types-create": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
"@polkadot/x-ws": ^9.3.1
|
||||
"@types/websocket": ^1.0.5
|
||||
@@ -2235,55 +2235,55 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@8.6.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@8.6.2, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@8.6.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@8.6.2, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-augment": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-augment": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
"@polkadot/util-crypto": ^9.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@8.6.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@8.6.2, @polkadot/types-create@workspace:packages/types-create":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@8.6.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@8.6.2, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/networks": ^9.3.1
|
||||
"@polkadot/types": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-create": 8.6.1
|
||||
"@polkadot/types": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/types-create": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@8.6.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@8.6.2, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
@@ -2292,16 +2292,16 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@8.6.1, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@8.6.2, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/keyring": ^9.3.1
|
||||
"@polkadot/types-augment": 8.6.1
|
||||
"@polkadot/types-codec": 8.6.1
|
||||
"@polkadot/types-create": 8.6.1
|
||||
"@polkadot/types-support": 8.6.1
|
||||
"@polkadot/types-augment": 8.6.2
|
||||
"@polkadot/types-codec": 8.6.2
|
||||
"@polkadot/types-create": 8.6.2
|
||||
"@polkadot/types-support": 8.6.2
|
||||
"@polkadot/util": ^9.3.1
|
||||
"@polkadot/util-crypto": ^9.3.1
|
||||
rxjs: ^7.5.5
|
||||
@@ -9237,9 +9237,9 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rollup@npm:^2.75.0":
|
||||
version: 2.75.1
|
||||
resolution: "rollup@npm:2.75.1"
|
||||
"rollup@npm:^2.75.3":
|
||||
version: 2.75.3
|
||||
resolution: "rollup@npm:2.75.3"
|
||||
dependencies:
|
||||
fsevents: ~2.3.2
|
||||
dependenciesMeta:
|
||||
@@ -9247,7 +9247,7 @@ resolve@^2.0.0-next.3:
|
||||
optional: true
|
||||
bin:
|
||||
rollup: dist/bin/rollup
|
||||
checksum: a48d2df765cc87c2d351e9df2ce3483cdc406e583cee271af2c38fe9371ccbae8484f0c50af4ac9293667c3eded082297008934712079d53798ec2841eef0339
|
||||
checksum: ac33a2336df049f21dea64e4c9faee2551bddf2920944ea6214b2ed214f3861c9a4e1a8b7a32d2af6632f649a25a2bf4da8fad9f84f5093f2bf4d7e77933756b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -9258,7 +9258,7 @@ resolve@^2.0.0-next.3:
|
||||
"@babel/core": ^7.18.2
|
||||
"@babel/register": ^7.17.7
|
||||
"@babel/runtime": ^7.18.3
|
||||
"@polkadot/dev": ^0.66.30
|
||||
"@polkadot/dev": ^0.66.32
|
||||
"@polkadot/typegen": "workspace:packages/typegen"
|
||||
"@types/jest": ^27.5.1
|
||||
copyfiles: ^2.4.1
|
||||
@@ -10163,23 +10163,23 @@ resolve@^2.0.0-next.3:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:^4.6.4":
|
||||
version: 4.6.4
|
||||
resolution: "typescript@npm:4.6.4"
|
||||
"typescript@npm:^4.7.2":
|
||||
version: 4.7.2
|
||||
resolution: "typescript@npm:4.7.2"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: e7bfcc39cd4571a63a54e5ea21f16b8445268b9900bf55aee0e02ad981be576acc140eba24f1af5e3c1457767c96cea6d12861768fb386cf3ffb34013718631a
|
||||
checksum: 5163585e6b56410f77d5483b698d9489bbee8902c99029eb70cf6d21525a186530ce19a00951af84eefd4a131cc51d0959f5118e25e70ab61f45ac4057dbd1ef
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A^4.6.4#~builtin<compat/typescript>":
|
||||
version: 4.6.4
|
||||
resolution: "typescript@patch:typescript@npm%3A4.6.4#~builtin<compat/typescript>::version=4.6.4&hash=bda367"
|
||||
"typescript@patch:typescript@npm%3A^4.7.2#~builtin<compat/typescript>":
|
||||
version: 4.7.2
|
||||
resolution: "typescript@patch:typescript@npm%3A4.7.2#~builtin<compat/typescript>::version=4.7.2&hash=bda367"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 1cb434fbc637d347be90e3a0c6cd05e33c38f941713c8786d3031faf1842c2c148ba91d2fac01e7276b0ae3249b8633f1660e32686cc7a8c6a8fd5361dc52c66
|
||||
checksum: 09d93fc0983d38eadd9b0427f790b49b4437f45002a87d447be3fbe53120880e87a91dd03e1d900498f99205d6e0b7c9784fe41fca11d56f4bbce371f74bb160
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user