Compare commits

...
6 Commits
Author SHA1 Message Date
github-actions[bot] 9becdced12 [CI Skip] release/stable 14.2.2
skip-checks: true
2024-10-31 14:02:24 +00:00
Tarik Gul 262372666c 14.2.2 (#6014) 2024-10-31 09:54:48 -04:00
github-actions[bot] 83907f79fe [CI Skip] bump/beta 14.2.2-1-x
skip-checks: true
2024-10-31 13:07:04 +00:00
filvecchiato abce780033 fix: update LRUcache to not keep thread (#6013) 2024-10-31 08:59:27 -04:00
github-actions[bot] a6b23ca635 [CI Skip] bump/beta 14.2.2-0-x
skip-checks: true
2024-10-29 12:07:23 +00:00
Tarik Gul 508439ce59 Adjust nextElected to use erasStakersOverview (#6011) 2024-10-29 13:59:31 +02:00
38 changed files with 239 additions and 243 deletions
+8
View File
@@ -1,5 +1,13 @@
# CHANGELOG
## 14.2.2 Oct 31, 2024
Changes:
- fix: update LRUcache to not keep thread ([#6013](https://github.com/polkadot-js/api/pull/6013))
- Adjust `api.derive.staking.nextElected` to use erasStakersOverview ([#6011](https://github.com/polkadot-js/api/pull/6011))
## 14.2.1 Oct 28, 2024
Changes:
+2 -1
View File
@@ -1,5 +1,5 @@
3512 Jaco Bump deps (#5785)
119 Tarik Gul 14.2.1 (#6009)
121 Tarik Gul 14.2.2 (#6014)
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)
@@ -76,6 +76,7 @@
1 Dylan Galea Updated users of the polkadot-js/api (#2027)
1 Ermal Kaleci fix cache key (rpc-provider) (#5745)
1 filvecchiato Add lru ttl cache implementation (#5997)
1 filvecchiato fix: update LRUcache to not keep thread (#6013)
1 flex Change BeefySignedCommitment signatures type to EcdsaSignature (#4204)
1 Florian Franzen metadataMd: use endpoint for rpc and runtime details too (#5628)
1 Francis O'Brien fix: Re-subscribe to chain updates on reconnection if not a clone (#5794)
+3 -3
View File
@@ -14,10 +14,10 @@
},
"sideEffects": false,
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"versions": {
"git": "14.2.1",
"npm": "14.2.1"
"git": "14.2.2",
"npm": "14.2.2"
},
"workspaces": [
"packages/*"
+6 -6
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-base": "14.2.1",
"@polkadot/rpc-augment": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/types-augment": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/api-base": "14.2.2",
"@polkadot/rpc-augment": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/types-augment": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/util": "^13.2.2",
"tslib": "^2.8.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: '14.2.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '14.2.2' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/rpc-core": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/util": "^13.2.2",
"rxjs": "^7.8.1",
"tslib": "^2.8.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: '14.2.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '14.2.2' };
+8 -8
View File
@@ -18,22 +18,22 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "14.2.1",
"@polkadot/api-augment": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/types-create": "14.2.1",
"@polkadot/api": "14.2.2",
"@polkadot/api-augment": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/types-create": "14.2.2",
"@polkadot/util": "^13.2.2",
"@polkadot/util-crypto": "^13.2.2",
"rxjs": "^7.8.1",
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/api-augment": "14.2.1",
"@polkadot/api-augment": "14.2.2",
"@polkadot/keyring": "^13.2.2",
"@polkadot/types-support": "14.2.1"
"@polkadot/types-support": "14.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '14.2.2' };
+12 -12
View File
@@ -18,25 +18,25 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/api": "14.2.1",
"@polkadot/api-augment": "14.2.1",
"@polkadot/api-base": "14.2.1",
"@polkadot/rpc-core": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/api": "14.2.2",
"@polkadot/api-augment": "14.2.2",
"@polkadot/api-base": "14.2.2",
"@polkadot/rpc-core": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/util": "^13.2.2",
"@polkadot/util-crypto": "^13.2.2",
"rxjs": "^7.8.1",
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/api": "14.2.1",
"@polkadot/api-augment": "14.2.1",
"@polkadot/rpc-augment": "14.2.1",
"@polkadot/rpc-provider": "14.2.1",
"@polkadot/types-support": "14.2.1"
"@polkadot/api": "14.2.2",
"@polkadot/api-augment": "14.2.2",
"@polkadot/rpc-augment": "14.2.2",
"@polkadot/rpc-provider": "14.2.2",
"@polkadot/types-support": "14.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '14.2.2' };
@@ -12,11 +12,11 @@ import { memo } from '../util/index.js';
export function nextElected (instanceId: string, api: DeriveApi): () => Observable<AccountId[]> {
return memo(instanceId, (): Observable<AccountId[]> =>
// Compatibility for future generation changes in staking.
api.query.staking.erasStakersPaged
api.query.staking.erasStakersOverview
? api.derive.session.indexes().pipe(
// only populate for next era in the last session, so track both here - entries are not
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
switchMap(({ currentEra }) => api.query.staking.erasStakersPaged.keys(currentEra)),
switchMap(({ currentEra }) => api.query.staking.erasStakersOverview.keys(currentEra)),
// Dedupe any duplicates
map((keys) => [...new Set(keys.map(({ args: [, accountId] }) => accountId.toString()))].map((a) => api.registry.createType('AccountId', a)))
)
+14 -14
View File
@@ -18,21 +18,21 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/api-augment": "14.2.1",
"@polkadot/api-base": "14.2.1",
"@polkadot/api-derive": "14.2.1",
"@polkadot/api-augment": "14.2.2",
"@polkadot/api-base": "14.2.2",
"@polkadot/api-derive": "14.2.2",
"@polkadot/keyring": "^13.2.2",
"@polkadot/rpc-augment": "14.2.1",
"@polkadot/rpc-core": "14.2.1",
"@polkadot/rpc-provider": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/types-augment": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/types-create": "14.2.1",
"@polkadot/types-known": "14.2.1",
"@polkadot/rpc-augment": "14.2.2",
"@polkadot/rpc-core": "14.2.2",
"@polkadot/rpc-provider": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/types-augment": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/types-create": "14.2.2",
"@polkadot/types-known": "14.2.2",
"@polkadot/util": "^13.2.2",
"@polkadot/util-crypto": "^13.2.2",
"eventemitter3": "^5.0.1",
@@ -40,7 +40,7 @@
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/api-augment": "14.2.1",
"@polkadot/types-support": "14.2.1"
"@polkadot/api-augment": "14.2.2",
"@polkadot/types-support": "14.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '14.2.2' };
+4 -4
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-core": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/rpc-core": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/util": "^13.2.2",
"tslib": "^2.8.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: '14.2.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '14.2.2' };
+5 -5
View File
@@ -18,18 +18,18 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/rpc-augment": "14.2.1",
"@polkadot/rpc-provider": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/rpc-augment": "14.2.2",
"@polkadot/rpc-provider": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/util": "^13.2.2",
"rxjs": "^7.8.1",
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/keyring": "^13.2.2",
"@polkadot/rpc-augment": "14.2.1"
"@polkadot/rpc-augment": "14.2.2"
}
}
-2
View File
@@ -146,8 +146,6 @@ export class RpcCore {
* @description Manually disconnect from the attached provider
*/
public async disconnect (): Promise<void> {
await this.#storageCache.clearInterval();
return this.provider.disconnect();
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '14.2.2' };
+3 -3
View File
@@ -18,12 +18,12 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.2.2",
"@polkadot/types": "14.2.1",
"@polkadot/types-support": "14.2.1",
"@polkadot/types": "14.2.2",
"@polkadot/types-support": "14.2.2",
"@polkadot/util": "^13.2.2",
"@polkadot/util-crypto": "^13.2.2",
"@polkadot/x-fetch": "^13.2.2",
+14 -5
View File
@@ -9,11 +9,7 @@ describe('LRUCache', (): void => {
let lru: LRUCache | undefined;
beforeEach((): void => {
lru = new LRUCache(4);
});
afterEach(async () => {
await lru?.clearInterval();
lru = undefined;
lru = new LRUCache(4, 500);
});
it('allows getting of items below capacity', (): void => {
@@ -62,4 +58,17 @@ describe('LRUCache', (): void => {
expect(lru?.entries()).toEqual([['6', '666'], ['4', '4433'], ['3', '333'], ['5', '555']]);
expect(lru?.length === lru?.lengthData && lru?.length === lru?.lengthRefs).toBe(true);
});
it('evicts items with TTL', (): void => {
const keys = ['1', '2', '3', '4', '5'];
keys.forEach((k) => lru?.set(k, `${k}${k}${k}`));
expect(lru?.entries()).toEqual([['5', '555'], ['4', '444'], ['3', '333'], ['2', '222']]);
setTimeout((): void => {
lru?.get('3');
expect(lru?.entries()).toEqual([['3', '333']]);
}, 800);
});
});
+30 -50
View File
@@ -9,25 +9,27 @@ export const DEFAULT_CAPACITY = 64;
class LRUNode {
readonly key: string;
#lastAccess: number;
#expires: number;
#ttl: number;
readonly createdAt: number;
public next: LRUNode;
public prev: LRUNode;
constructor (key: string) {
constructor (key: string, ttl: number) {
this.key = key;
this.#lastAccess = Date.now();
this.createdAt = this.#lastAccess;
this.#ttl = ttl;
this.#expires = Date.now() + ttl;
this.createdAt = Date.now();
this.next = this.prev = this;
}
public refresh (): void {
this.#lastAccess = Date.now();
this.#expires = Date.now() + this.#ttl;
}
public get lastAccess (): number {
return this.#lastAccess;
public get expiry (): number {
return this.#expires;
}
}
@@ -43,29 +45,17 @@ export class LRUCache {
#tail: LRUNode;
readonly #ttl: number;
readonly #ttlInterval: number;
#ttlTimerId: ReturnType<typeof setInterval> | null = null;
constructor (capacity = DEFAULT_CAPACITY, ttl = 30000, ttlInterval = 15000) {
constructor (capacity = DEFAULT_CAPACITY, ttl = 30000) {
this.capacity = capacity;
this.#ttl = ttl;
this.#ttlInterval = ttlInterval;
this.#head = this.#tail = new LRUNode('<empty>');
// make sure the interval is not longer than the ttl
if (this.#ttlInterval > this.#ttl) {
this.#ttlInterval = this.#ttl;
}
this.#head = this.#tail = new LRUNode('<empty>', ttl);
}
get ttl (): number {
return this.#ttl;
}
get ttlInterval (): number {
return this.#ttlInterval;
}
get length (): number {
return this.#length;
}
@@ -115,9 +105,14 @@ export class LRUCache {
if (data) {
this.#toHead(key);
// Evict TTL once data is refreshed
this.#evictTTL();
return data as T;
}
this.#evictTTL();
return null;
}
@@ -125,7 +120,7 @@ export class LRUCache {
if (this.#data.has(key)) {
this.#toHead(key);
} else {
const node = new LRUNode(key);
const node = new LRUNode(key, this.#ttl);
this.#refs.set(node.key, node);
@@ -148,32 +143,25 @@ export class LRUCache {
}
}
if (this.#ttl > 0 && !this.#ttlTimerId) {
this.#ttlTimerId = setInterval(() => {
this.#ttlClean();
}, this.#ttlInterval);
}
// Evict TTL once data is refreshed or added
this.#evictTTL();
this.#data.set(key, value);
}
#ttlClean () {
#evictTTL () {
// Find last node to keep
const expires = Date.now() - this.#ttl;
// traverse map to find the expired nodes
while (this.#tail.expiry && this.#tail.expiry < Date.now() && this.#length > 0) {
this.#refs.delete(this.#tail.key);
this.#data.delete(this.#tail.key);
this.#length -= 1;
this.#tail = this.#tail.prev;
this.#tail.next = this.#head;
}
// traverse map to find the lastAccessed
while (this.#tail.lastAccess && this.#tail.lastAccess < expires && this.#length > 0) {
if (this.#ttlTimerId && this.#length === 0) {
clearInterval(this.#ttlTimerId);
this.#ttlTimerId = null;
this.#head = this.#tail = new LRUNode('<empty>');
} else {
this.#refs.delete(this.#tail.key);
this.#data.delete(this.#tail.key);
this.#length -= 1;
this.#tail = this.#tail.prev;
this.#tail.next = this.#head;
}
if (this.#length === 0) {
this.#head = this.#tail = new LRUNode('<empty>', this.#ttl);
}
}
@@ -190,12 +178,4 @@ export class LRUCache {
this.#head = ref;
}
}
// eslint-disable-next-line @typescript-eslint/require-await
public async clearInterval (): Promise<void> {
if (this.#ttlTimerId) {
clearInterval(this.#ttlTimerId);
this.#ttlTimerId = null;
}
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '14.2.2' };
+10 -10
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"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": "14.2.1",
"@polkadot/api-augment": "14.2.1",
"@polkadot/rpc-augment": "14.2.1",
"@polkadot/rpc-provider": "14.2.1",
"@polkadot/types": "14.2.1",
"@polkadot/types-augment": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/types-create": "14.2.1",
"@polkadot/types-support": "14.2.1",
"@polkadot/api": "14.2.2",
"@polkadot/api-augment": "14.2.2",
"@polkadot/rpc-augment": "14.2.2",
"@polkadot/rpc-provider": "14.2.2",
"@polkadot/types": "14.2.2",
"@polkadot/types-augment": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/types-create": "14.2.2",
"@polkadot/types-support": "14.2.2",
"@polkadot/util": "^13.2.2",
"@polkadot/util-crypto": "^13.2.2",
"@polkadot/x-ws": "^13.2.2",
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '14.2.2' };
+3 -3
View File
@@ -18,11 +18,11 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/types": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/types": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/util": "^13.2.2",
"tslib": "^2.8.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: '14.2.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '14.2.2' };
+4 -4
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.2.2",
@@ -26,9 +26,9 @@
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/types": "14.2.1",
"@polkadot/types-augment": "14.2.1",
"@polkadot/types-support": "14.2.1",
"@polkadot/types": "14.2.2",
"@polkadot/types-augment": "14.2.2",
"@polkadot/types-support": "14.2.2",
"@polkadot/util-crypto": "^13.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '14.2.2' };
+3 -3
View File
@@ -18,14 +18,14 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "14.2.1",
"@polkadot/types-codec": "14.2.2",
"@polkadot/util": "^13.2.2",
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/types": "14.2.1"
"@polkadot/types": "14.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '14.2.2' };
+5 -5
View File
@@ -18,17 +18,17 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^13.2.2",
"@polkadot/types": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/types-create": "14.2.1",
"@polkadot/types": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/types-create": "14.2.2",
"@polkadot/util": "^13.2.2",
"tslib": "^2.8.0"
},
"devDependencies": {
"@polkadot/api": "14.2.1"
"@polkadot/api": "14.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '14.2.2' };
+1 -1
View File
@@ -18,7 +18,7 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^13.2.2",
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '14.2.2' };
+5 -5
View File
@@ -18,13 +18,13 @@
"./packageDetect.cjs"
],
"type": "module",
"version": "14.2.1",
"version": "14.2.2",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^13.2.2",
"@polkadot/types-augment": "14.2.1",
"@polkadot/types-codec": "14.2.1",
"@polkadot/types-create": "14.2.1",
"@polkadot/types-augment": "14.2.2",
"@polkadot/types-codec": "14.2.2",
"@polkadot/types-create": "14.2.2",
"@polkadot/util": "^13.2.2",
"@polkadot/util-crypto": "^13.2.2",
"rxjs": "^7.8.1",
@@ -32,6 +32,6 @@
},
"devDependencies": {
"@polkadot/keyring": "^13.2.2",
"@polkadot/types-support": "14.2.1"
"@polkadot/types-support": "14.2.2"
}
}
+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: '14.2.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '14.2.2' };
+79 -79
View File
@@ -447,26 +447,26 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/api-augment@npm:14.2.1, @polkadot/api-augment@workspace:packages/api-augment":
"@polkadot/api-augment@npm:14.2.2, @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:14.2.1"
"@polkadot/rpc-augment": "npm:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-augment": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/api-base": "npm:14.2.2"
"@polkadot/rpc-augment": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-augment": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
tslib: "npm:^2.8.0"
languageName: unknown
linkType: soft
"@polkadot/api-base@npm:14.2.1, @polkadot/api-base@workspace:packages/api-base":
"@polkadot/api-base@npm:14.2.2, @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:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/rpc-core": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.0"
@@ -477,13 +477,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
dependencies:
"@polkadot/api": "npm:14.2.1"
"@polkadot/api-augment": "npm:14.2.1"
"@polkadot/api": "npm:14.2.2"
"@polkadot/api-augment": "npm:14.2.2"
"@polkadot/keyring": "npm:^13.2.2"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types-create": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/types-create": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
rxjs: "npm:^7.8.1"
@@ -491,19 +491,19 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api-derive@npm:14.2.1, @polkadot/api-derive@workspace:packages/api-derive":
"@polkadot/api-derive@npm:14.2.2, @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:14.2.1"
"@polkadot/api-augment": "npm:14.2.1"
"@polkadot/api-base": "npm:14.2.1"
"@polkadot/rpc-augment": "npm:14.2.1"
"@polkadot/rpc-core": "npm:14.2.1"
"@polkadot/rpc-provider": "npm:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/api": "npm:14.2.2"
"@polkadot/api-augment": "npm:14.2.2"
"@polkadot/api-base": "npm:14.2.2"
"@polkadot/rpc-augment": "npm:14.2.2"
"@polkadot/rpc-core": "npm:14.2.2"
"@polkadot/rpc-provider": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
rxjs: "npm:^7.8.1"
@@ -511,23 +511,23 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/api@npm:14.2.1, @polkadot/api@workspace:packages/api":
"@polkadot/api@npm:14.2.2, @polkadot/api@workspace:packages/api":
version: 0.0.0-use.local
resolution: "@polkadot/api@workspace:packages/api"
dependencies:
"@polkadot/api-augment": "npm:14.2.1"
"@polkadot/api-base": "npm:14.2.1"
"@polkadot/api-derive": "npm:14.2.1"
"@polkadot/api-augment": "npm:14.2.2"
"@polkadot/api-base": "npm:14.2.2"
"@polkadot/api-derive": "npm:14.2.2"
"@polkadot/keyring": "npm:^13.2.2"
"@polkadot/rpc-augment": "npm:14.2.1"
"@polkadot/rpc-core": "npm:14.2.1"
"@polkadot/rpc-provider": "npm:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-augment": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types-create": "npm:14.2.1"
"@polkadot/types-known": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/rpc-augment": "npm:14.2.2"
"@polkadot/rpc-core": "npm:14.2.2"
"@polkadot/rpc-provider": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-augment": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/types-create": "npm:14.2.2"
"@polkadot/types-known": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
eventemitter3: "npm:^5.0.1"
@@ -657,39 +657,39 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/rpc-augment@npm:14.2.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
"@polkadot/rpc-augment@npm:14.2.2, @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:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/rpc-core": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
tslib: "npm:^2.8.0"
languageName: unknown
linkType: soft
"@polkadot/rpc-core@npm:14.2.1, @polkadot/rpc-core@workspace:packages/rpc-core":
"@polkadot/rpc-core@npm:14.2.2, @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.2.2"
"@polkadot/rpc-augment": "npm:14.2.1"
"@polkadot/rpc-provider": "npm:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/rpc-augment": "npm:14.2.2"
"@polkadot/rpc-provider": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
rxjs: "npm:^7.8.1"
tslib: "npm:^2.8.0"
languageName: unknown
linkType: soft
"@polkadot/rpc-provider@npm:14.2.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
"@polkadot/rpc-provider@npm:14.2.2, @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.2.2"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
"@polkadot/x-fetch": "npm:^13.2.2"
@@ -710,15 +710,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@polkadot/typegen@workspace:packages/typegen"
dependencies:
"@polkadot/api": "npm:14.2.1"
"@polkadot/api-augment": "npm:14.2.1"
"@polkadot/rpc-augment": "npm:14.2.1"
"@polkadot/rpc-provider": "npm:14.2.1"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-augment": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types-create": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/api": "npm:14.2.2"
"@polkadot/api-augment": "npm:14.2.2"
"@polkadot/rpc-augment": "npm:14.2.2"
"@polkadot/rpc-provider": "npm:14.2.2"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-augment": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/types-create": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
"@polkadot/x-ws": "npm:^13.2.2"
@@ -735,24 +735,24 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-augment@npm:14.2.1, @polkadot/types-augment@workspace:packages/types-augment":
"@polkadot/types-augment@npm:14.2.2, @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:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
tslib: "npm:^2.8.0"
languageName: unknown
linkType: soft
"@polkadot/types-codec@npm:14.2.1, @polkadot/types-codec@workspace:packages/types-codec":
"@polkadot/types-codec@npm:14.2.2, @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:14.2.1"
"@polkadot/types-augment": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-augment": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
"@polkadot/x-bigint": "npm:^13.2.2"
@@ -760,32 +760,32 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/types-create@npm:14.2.1, @polkadot/types-create@workspace:packages/types-create":
"@polkadot/types-create@npm:14.2.2, @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:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
tslib: "npm:^2.8.0"
languageName: unknown
linkType: soft
"@polkadot/types-known@npm:14.2.1, @polkadot/types-known@workspace:packages/types-known":
"@polkadot/types-known@npm:14.2.2, @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:14.2.1"
"@polkadot/api": "npm:14.2.2"
"@polkadot/networks": "npm:^13.2.2"
"@polkadot/types": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types-create": "npm:14.2.1"
"@polkadot/types": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/types-create": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
tslib: "npm:^2.8.0"
languageName: unknown
linkType: soft
"@polkadot/types-support@npm:14.2.1, @polkadot/types-support@workspace:packages/types-support":
"@polkadot/types-support@npm:14.2.2, @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:14.2.1, @polkadot/types@workspace:packages/types":
"@polkadot/types@npm:14.2.2, @polkadot/types@workspace:packages/types":
version: 0.0.0-use.local
resolution: "@polkadot/types@workspace:packages/types"
dependencies:
"@polkadot/keyring": "npm:^13.2.2"
"@polkadot/types-augment": "npm:14.2.1"
"@polkadot/types-codec": "npm:14.2.1"
"@polkadot/types-create": "npm:14.2.1"
"@polkadot/types-support": "npm:14.2.1"
"@polkadot/types-augment": "npm:14.2.2"
"@polkadot/types-codec": "npm:14.2.2"
"@polkadot/types-create": "npm:14.2.2"
"@polkadot/types-support": "npm:14.2.2"
"@polkadot/util": "npm:^13.2.2"
"@polkadot/util-crypto": "npm:^13.2.2"
rxjs: "npm:^7.8.1"