Compare commits

..
6 Commits
Author SHA1 Message Date
github-actions[bot] 87b4cecc1b [CI Skip] release/stable 13.2.1
skip-checks: true
2024-09-23 13:32:34 +00:00
Tarik Gul d79a5301fb 13.2.1 (#5989) 2024-09-23 09:25:08 -04:00
github-actions[bot] 7481983e44 [CI Skip] bump/beta 13.1.2-1-x
skip-checks: true
2024-09-23 13:03:06 +00:00
Tarik Gul 47291533e6 Fix logging for older runtimes for runtimeapi decoration (#5988) 2024-09-23 15:55:26 +03:00
github-actions[bot] a15d0dd0df [CI Skip] bump/beta 13.1.2-0-x
skip-checks: true
2024-09-19 12:36:04 +00:00
Tarik Gul 1dca21d607 Generate Runtime Apis Dynamically (#5986)
* Generate Runtime Apis Dynamically

* Add inline docs
2024-09-19 15:28:41 +03:00
35 changed files with 295 additions and 225 deletions
+8
View File
@@ -1,5 +1,13 @@
# CHANGELOG
## 13.2.1 Sep 23, 2024
Changes:
- Generate Runtime Apis Dynamically ([#5986](https://github.com/polkadot-js/api/pull/5986))
- Fix logging for older runtimes for runtime-api decoration ([#5988](https://github.com/polkadot-js/api/pull/5988))
## 13.1.1 Sep 17, 2024
Changes:
+1 -1
View File
@@ -1,5 +1,5 @@
3512 Jaco Bump deps (#5785)
103 Tarik Gul 13.1.1 (#5985)
106 Tarik Gul 13.2.1 (#5989)
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
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"versions": {
"git": "13.1.1",
"npm": "13.1.1"
"git": "13.2.1",
"npm": "13.2.1"
},
"workspaces": [
"packages/*"
+6 -6
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "13.1.1",
"@polkadot/rpc-augment": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-augment": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/api-base": "13.2.1",
"@polkadot/rpc-augment": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-augment": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/util": "^13.1.1",
"tslib": "^2.7.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '13.2.1' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/rpc-core": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/util": "^13.1.1",
"rxjs": "^7.8.1",
"tslib": "^2.7.0"
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '13.2.1' };
+8 -8
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "13.1.1",
"@polkadot/api-augment": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/types-create": "13.1.1",
"@polkadot/api": "13.2.1",
"@polkadot/api-augment": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/types-create": "13.2.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"rxjs": "^7.8.1",
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/api-augment": "13.1.1",
"@polkadot/api-augment": "13.2.1",
"@polkadot/keyring": "^13.1.1",
"@polkadot/types-support": "13.1.1"
"@polkadot/types-support": "13.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '13.2.1' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api": "13.1.1",
"@polkadot/api-augment": "13.1.1",
"@polkadot/api-base": "13.1.1",
"@polkadot/rpc-core": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/api": "13.2.1",
"@polkadot/api-augment": "13.2.1",
"@polkadot/api-base": "13.2.1",
"@polkadot/rpc-core": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"rxjs": "^7.8.1",
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/api": "13.1.1",
"@polkadot/api-augment": "13.1.1",
"@polkadot/rpc-augment": "13.1.1",
"@polkadot/rpc-provider": "13.1.1",
"@polkadot/types-support": "13.1.1"
"@polkadot/api": "13.2.1",
"@polkadot/api-augment": "13.2.1",
"@polkadot/rpc-augment": "13.2.1",
"@polkadot/rpc-provider": "13.2.1",
"@polkadot/types-support": "13.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '13.2.1' };
+14 -14
View File
@@ -18,21 +18,21 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "13.1.1",
"@polkadot/api-base": "13.1.1",
"@polkadot/api-derive": "13.1.1",
"@polkadot/api-augment": "13.2.1",
"@polkadot/api-base": "13.2.1",
"@polkadot/api-derive": "13.2.1",
"@polkadot/keyring": "^13.1.1",
"@polkadot/rpc-augment": "13.1.1",
"@polkadot/rpc-core": "13.1.1",
"@polkadot/rpc-provider": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-augment": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/types-create": "13.1.1",
"@polkadot/types-known": "13.1.1",
"@polkadot/rpc-augment": "13.2.1",
"@polkadot/rpc-core": "13.2.1",
"@polkadot/rpc-provider": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-augment": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/types-create": "13.2.1",
"@polkadot/types-known": "13.2.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"eventemitter3": "^5.0.1",
@@ -40,7 +40,7 @@
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/api-augment": "13.1.1",
"@polkadot/types-support": "13.1.1"
"@polkadot/api-augment": "13.2.1",
"@polkadot/types-support": "13.2.1"
}
}
+103 -41
View File
@@ -4,11 +4,11 @@
import type { Observable } from 'rxjs';
import type { AugmentedCall, DeriveCustom, QueryableCalls } from '@polkadot/api-base/types';
import type { RpcInterface } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey, Text, u64 } from '@polkadot/types';
import type { Call, Hash, RuntimeVersion } from '@polkadot/types/interfaces';
import type { Metadata, StorageKey, Text, u64, Vec } from '@polkadot/types';
import type { Call, Hash, RuntimeApiMethodMetadataV15, RuntimeVersion } from '@polkadot/types/interfaces';
import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
import type { StorageEntry } from '@polkadot/types/primitive/types';
import type { AnyFunction, AnyJson, AnyTuple, CallFunction, Codec, DefinitionCallNamed, DefinitionRpc, DefinitionRpcSub, DefinitionsCall, DefinitionsCallEntry, DetectCodec, IMethod, IStorageKey, Registry, RegistryError, RegistryTypes } from '@polkadot/types/types';
import type { AnyFunction, AnyJson, AnyTuple, CallFunction, Codec, DefinitionCall, DefinitionCallNamed, DefinitionRpc, DefinitionRpcSub, DefinitionsCall, DefinitionsCallEntry, DetectCodec, IMethod, IStorageKey, Registry, RegistryError, RegistryTypes } from '@polkadot/types/types';
import type { HexString } from '@polkadot/util/types';
import type { SubmittableExtrinsic } from '../submittable/types.js';
import type { ApiDecoration, ApiInterfaceRx, ApiOptions, ApiTypes, AugmentedQuery, DecoratedErrors, DecoratedEvents, DecoratedRpc, DecorateMethod, GenericStorageEntryFunction, PaginationOptions, QueryableConsts, QueryableStorage, QueryableStorageEntry, QueryableStorageEntryAt, QueryableStorageMulti, QueryableStorageMultiArg, SubmittableExtrinsicFunction, SubmittableExtrinsics } from '../types/index.js';
@@ -492,64 +492,126 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
return Object.entries(result);
}
// pre-metadata decoration
// Helper for _getRuntimeDefsViaMetadata
protected _getMethods (registry: Registry, methods: Vec<RuntimeApiMethodMetadataV15>) {
const result: Record<string, DefinitionCall> = {};
methods.forEach((m) => {
const { docs, inputs, name, output } = m;
result[name.toString()] = {
description: docs.map((d) => d.toString()).join(),
params: inputs.map(({ name, type }) => {
return { name: name.toString(), type: registry.lookup.getName(type) || registry.lookup.getTypeDef(type).type };
}),
type: registry.lookup.getName(output) || registry.lookup.getTypeDef(output).type
};
});
return result;
}
// Maintains the same structure as `_getRuntimeDefs` in order to make conversion easier.
protected _getRuntimeDefsViaMetadata (registry: Registry): [string, DefinitionsCallEntry[]][] {
const result: DefinitionsCall = {};
const { apis } = registry.metadata;
for (let i = 0, count = apis.length; i < count; i++) {
const { methods, name } = apis[i];
result[name.toString()] = [{
methods: this._getMethods(registry, methods),
// We set the version to 0 here since it will not be relevant when we are grabbing the runtime apis
// from the Metadata.
version: 0
}];
}
return Object.entries(result);
}
// When the calls are available in the metadata, it will generate them based off of the metadata.
// When they are not available it will use the hardcoded calls generated in the static types.
protected _decorateCalls<ApiType extends ApiTypes> ({ registry, runtimeVersion: { apis, specName, specVersion } }: VersionedRegistry<any>, decorateMethod: DecorateMethod<ApiType>, blockHash?: Uint8Array | string | null): QueryableCalls<ApiType> {
const result = {} as QueryableCalls<ApiType>;
const named: Record<string, Record<string, DefinitionCallNamed>> = {};
const hashes: Record<HexString, boolean> = {};
const sections = this._getRuntimeDefs(registry, specName, this._runtimeChain);
const isApiInMetadata = registry.metadata.apis.length > 0;
const sections = isApiInMetadata ? this._getRuntimeDefsViaMetadata(registry) : this._getRuntimeDefs(registry, specName, this._runtimeChain);
const older: string[] = [];
const implName = `${specName.toString()}/${specVersion.toString()}`;
const hasLogged = this.#runtimeLog[implName] || false;
this.#runtimeLog[implName] = true;
for (let i = 0, scount = sections.length; i < scount; i++) {
const [_section, secs] = sections[i];
const sectionHash = blake2AsHex(_section, 64);
const rtApi = apis.find(([a]) => a.eq(sectionHash));
if (isApiInMetadata) {
for (let i = 0, scount = sections.length; i < scount; i++) {
const [_section, secs] = sections[i];
const sec = secs[0];
const sectionHash = blake2AsHex(_section, 64);
hashes[sectionHash] = true;
const section = stringCamelCase(_section);
const methods = Object.entries(sec.methods);
if (rtApi) {
const all = secs.map(({ version }) => version).sort();
const sec = secs.find(({ version }) => rtApi[1].eq(version));
if (!named[section]) {
named[section] = {};
}
if (sec) {
const section = stringCamelCase(_section);
const methods = Object.entries(sec.methods);
for (let m = 0, mcount = methods.length; m < mcount; m++) {
const [_method, def] = methods[m];
const method = stringCamelCase(_method);
if (methods.length) {
if (!named[section]) {
named[section] = {};
}
for (let m = 0, mcount = methods.length; m < mcount; m++) {
const [_method, def] = methods[m];
const method = stringCamelCase(_method);
named[section][method] = objectSpread({ method, name: `${_section}_${_method}`, section, sectionHash }, def);
}
}
} else {
older.push(`${_section}/${rtApi[1].toString()} (${all.join('/')} known)`);
named[section][method] = objectSpread({ method, name: `${_section}_${_method}`, section, sectionHash }, def);
}
}
}
} else {
for (let i = 0, scount = sections.length; i < scount; i++) {
const [_section, secs] = sections[i];
const sectionHash = blake2AsHex(_section, 64);
const rtApi = apis.find(([a]) => a.eq(sectionHash));
// find the runtimes that we don't have hashes for
const notFound = apis
.map(([a, v]): [HexString, string] => [a.toHex(), v.toString()])
.filter(([a]) => !hashes[a])
.map(([a, v]) => `${this._runtimeMap[a] || a}/${v}`);
hashes[sectionHash] = true;
if (!this._options.noInitWarn && !hasLogged) {
if (older.length) {
l.warn(`${implName}: Not decorating runtime apis without matching versions: ${older.join(', ')}`);
if (rtApi) {
const all = secs.map(({ version }) => version).sort();
const sec = secs.find(({ version }) => rtApi[1].eq(version));
if (sec) {
const section = stringCamelCase(_section);
const methods = Object.entries(sec.methods);
if (methods.length) {
if (!named[section]) {
named[section] = {};
}
for (let m = 0, mcount = methods.length; m < mcount; m++) {
const [_method, def] = methods[m];
const method = stringCamelCase(_method);
named[section][method] = objectSpread({ method, name: `${_section}_${_method}`, section, sectionHash }, def);
}
}
} else {
older.push(`${_section}/${rtApi[1].toString()} (${all.join('/')} known)`);
}
}
}
if (notFound.length) {
l.warn(`${implName}: Not decorating unknown runtime apis: ${notFound.join(', ')}`);
// find the runtimes that we don't have hashes for
const notFound = apis
.map(([a, v]): [HexString, string] => [a.toHex(), v.toString()])
.filter(([a]) => !hashes[a])
.map(([a, v]) => `${this._runtimeMap[a] || a}/${v}`);
if (!this._options.noInitWarn && !hasLogged) {
if (older.length) {
l.warn(`${implName}: Not decorating runtime apis without matching versions: ${older.join(', ')}`);
}
if (notFound.length) {
l.warn(`${implName}: Not decorating unknown runtime apis: ${notFound.join(', ')}`);
}
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '13.2.1' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/rpc-core": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/util": "^13.1.1",
"tslib": "^2.7.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '13.2.1' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "13.1.1",
"@polkadot/rpc-provider": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/rpc-augment": "13.2.1",
"@polkadot/rpc-provider": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/util": "^13.1.1",
"rxjs": "^7.8.1",
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/keyring": "^13.1.1",
"@polkadot/rpc-augment": "13.1.1"
"@polkadot/rpc-augment": "13.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '13.2.1' };
+3 -3
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-support": "13.1.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-support": "13.2.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"@polkadot/x-fetch": "^13.1.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '13.2.1' };
+10 -10
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
@@ -28,15 +28,15 @@
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
},
"dependencies": {
"@polkadot/api": "13.1.1",
"@polkadot/api-augment": "13.1.1",
"@polkadot/rpc-augment": "13.1.1",
"@polkadot/rpc-provider": "13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-augment": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/types-create": "13.1.1",
"@polkadot/types-support": "13.1.1",
"@polkadot/api": "13.2.1",
"@polkadot/api-augment": "13.2.1",
"@polkadot/rpc-augment": "13.2.1",
"@polkadot/rpc-provider": "13.2.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-augment": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/types-create": "13.2.1",
"@polkadot/types-support": "13.2.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"@polkadot/x-ws": "^13.1.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '13.2.1' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/types": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/util": "^13.1.1",
"tslib": "^2.7.0"
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '13.2.1' };
+4 -4
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.1.1",
@@ -26,9 +26,9 @@
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/types": "13.1.1",
"@polkadot/types-augment": "13.1.1",
"@polkadot/types-support": "13.1.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-augment": "13.2.1",
"@polkadot/types-support": "13.2.1",
"@polkadot/util-crypto": "^13.1.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '13.2.1' };
+3 -3
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "13.1.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/util": "^13.1.1",
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/types": "13.1.1"
"@polkadot/types": "13.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '13.2.1' };
+5 -5
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^13.1.1",
"@polkadot/types": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/types-create": "13.1.1",
"@polkadot/types": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/types-create": "13.2.1",
"@polkadot/util": "^13.1.1",
"tslib": "^2.7.0"
},
"devDependencies": {
"@polkadot/api": "13.1.1"
"@polkadot/api": "13.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '13.2.1' };
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.1.1",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '13.2.1' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "13.1.1",
"version": "13.2.1",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.1.1",
"@polkadot/types-augment": "13.1.1",
"@polkadot/types-codec": "13.1.1",
"@polkadot/types-create": "13.1.1",
"@polkadot/types-augment": "13.2.1",
"@polkadot/types-codec": "13.2.1",
"@polkadot/types-create": "13.2.1",
"@polkadot/util": "^13.1.1",
"@polkadot/util-crypto": "^13.1.1",
"rxjs": "^7.8.1",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^13.1.1",
"@polkadot/types-support": "13.1.1"
"@polkadot/types-support": "13.2.1"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '13.1.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '13.2.1' };
+79 -79
View File
@@ -447,26 +447,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:13.1.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:13.2.1, @polkadot/api-augment@workspace:packages/api-augment":
version: 0.0.0-use.local
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
dependencies:
"@polkadot/api-base": "npm:13.1.1"
"@polkadot/rpc-augment": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-augment": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/api-base": "npm:13.2.1"
"@polkadot/rpc-augment": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-augment": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
tslib: "npm:^2.7.0"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:13.1.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:13.2.1, @polkadot/api-base@workspace:packages/api-base":
version: 0.0.0-use.local
resolution: "@polkadot/api-base@workspace:packages/api-base"
dependencies:
"@polkadot/rpc-core": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/rpc-core": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.7.0"
@@ -477,13 +477,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:13.1.1"
"@polkadot/api-augment": "npm:13.1.1"
"@polkadot/api": "npm:13.2.1"
"@polkadot/api-augment": "npm:13.2.1"
"@polkadot/keyring": "npm:^13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types-create": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/types-create": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
rxjs: "npm:^7.8.1"
@@ -491,19 +491,19 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:13.1.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:13.2.1, @polkadot/api-derive@workspace:packages/api-derive":
version: 0.0.0-use.local
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
dependencies:
"@polkadot/api": "npm:13.1.1"
"@polkadot/api-augment": "npm:13.1.1"
"@polkadot/api-base": "npm:13.1.1"
"@polkadot/rpc-augment": "npm:13.1.1"
"@polkadot/rpc-core": "npm:13.1.1"
"@polkadot/rpc-provider": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/api": "npm:13.2.1"
"@polkadot/api-augment": "npm:13.2.1"
"@polkadot/api-base": "npm:13.2.1"
"@polkadot/rpc-augment": "npm:13.2.1"
"@polkadot/rpc-core": "npm:13.2.1"
"@polkadot/rpc-provider": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
rxjs: "npm:^7.8.1"
@@ -511,23 +511,23 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@npm:13.1.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:13.2.1, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:13.1.1"
"@polkadot/api-base": "npm:13.1.1"
"@polkadot/api-derive": "npm:13.1.1"
"@polkadot/api-augment": "npm:13.2.1"
"@polkadot/api-base": "npm:13.2.1"
"@polkadot/api-derive": "npm:13.2.1"
"@polkadot/keyring": "npm:^13.1.1"
"@polkadot/rpc-augment": "npm:13.1.1"
"@polkadot/rpc-core": "npm:13.1.1"
"@polkadot/rpc-provider": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-augment": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types-create": "npm:13.1.1"
"@polkadot/types-known": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/rpc-augment": "npm:13.2.1"
"@polkadot/rpc-core": "npm:13.2.1"
"@polkadot/rpc-provider": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-augment": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/types-create": "npm:13.2.1"
"@polkadot/types-known": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
eventemitter3: "npm:^5.0.1"
@@ -657,39 +657,39 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:13.1.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:13.2.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
dependencies:
"@polkadot/rpc-core": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/rpc-core": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
tslib: "npm:^2.7.0"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:13.1.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:13.2.1, @polkadot/rpc-core@workspace:packages/rpc-core":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
dependencies:
"@polkadot/keyring": "npm:^13.1.1"
"@polkadot/rpc-augment": "npm:13.1.1"
"@polkadot/rpc-provider": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/rpc-augment": "npm:13.2.1"
"@polkadot/rpc-provider": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.7.0"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:13.1.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:13.2.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
version: 0.0.0-use.local
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
dependencies:
"@polkadot/keyring": "npm:^13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
"@polkadot/x-fetch": "npm:^13.1.1"
@@ -710,15 +710,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:13.1.1"
"@polkadot/api-augment": "npm:13.1.1"
"@polkadot/rpc-augment": "npm:13.1.1"
"@polkadot/rpc-provider": "npm:13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-augment": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types-create": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/api": "npm:13.2.1"
"@polkadot/api-augment": "npm:13.2.1"
"@polkadot/rpc-augment": "npm:13.2.1"
"@polkadot/rpc-provider": "npm:13.2.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-augment": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/types-create": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
"@polkadot/x-ws": "npm:^13.1.1"
@@ -735,24 +735,24 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:13.1.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:13.2.1, @polkadot/types-augment@workspace:packages/types-augment":
version: 0.0.0-use.local
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
dependencies:
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
tslib: "npm:^2.7.0"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:13.1.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:13.2.1, @polkadot/types-codec@workspace:packages/types-codec":
version: 0.0.0-use.local
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
dependencies:
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-augment": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-augment": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
"@polkadot/x-bigint": "npm:^13.1.1"
@@ -760,32 +760,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:13.1.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:13.2.1, @polkadot/types-create@workspace:packages/types-create":
version: 0.0.0-use.local
resolution: "@polkadot/types-create@workspace:packages/types-create"
dependencies:
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
tslib: "npm:^2.7.0"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:13.1.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:13.2.1, @polkadot/types-known@workspace:packages/types-known":
version: 0.0.0-use.local
resolution: "@polkadot/types-known@workspace:packages/types-known"
dependencies:
"@polkadot/api": "npm:13.1.1"
"@polkadot/api": "npm:13.2.1"
"@polkadot/networks": "npm:^13.1.1"
"@polkadot/types": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types-create": "npm:13.1.1"
"@polkadot/types": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/types-create": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
tslib: "npm:^2.7.0"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:13.1.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:13.2.1, @polkadot/types-support@workspace:packages/types-support":
version: 0.0.0-use.local
resolution: "@polkadot/types-support@workspace:packages/types-support"
dependencies:
@@ -794,15 +794,15 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types@npm:13.1.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:13.2.1, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": "npm:^13.1.1"
"@polkadot/types-augment": "npm:13.1.1"
"@polkadot/types-codec": "npm:13.1.1"
"@polkadot/types-create": "npm:13.1.1"
"@polkadot/types-support": "npm:13.1.1"
"@polkadot/types-augment": "npm:13.2.1"
"@polkadot/types-codec": "npm:13.2.1"
"@polkadot/types-create": "npm:13.2.1"
"@polkadot/types-support": "npm:13.2.1"
"@polkadot/util": "npm:^13.1.1"
"@polkadot/util-crypto": "npm:^13.1.1"
rxjs: "npm:^7.8.1"