Bump deps (w/ latest util) (#5729)

* Bump deps (w/ latest util)

* CHANGELOG

* Fix typo
This commit is contained in:
Jaco
2023-09-15 10:34:33 +03:00
committed by GitHub
parent 700812aa60
commit c0d5408d8f
19 changed files with 299 additions and 291 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-augment": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"tslib": "^2.6.2"
}
}
+1 -1
View File
@@ -23,7 +23,7 @@
"dependencies": {
"@polkadot/rpc-core": "10.9.2-25-x",
"@polkadot/types": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
}
+3 -3
View File
@@ -26,13 +26,13 @@
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/types-create": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/api-augment": "10.9.2-25-x",
"@polkadot/keyring": "^12.4.2"
"@polkadot/keyring": "^12.5.1"
}
}
+3 -7
View File
@@ -12,7 +12,7 @@ import type { AbiConstructor, BlueprintOptions } from '../types.js';
import type { MapConstructorExec } from './types.js';
import { SubmittableResult } from '@polkadot/api';
import { BN_ZERO, compactAddLength, isU8a, isUndefined, isWasm, u8aEq, u8aToU8a } from '@polkadot/util';
import { BN_ZERO, compactAddLength, isRiscV, isUndefined, isWasm, u8aToU8a } from '@polkadot/util';
import { applyOnEvent } from '../util.js';
import { Base } from './Base.js';
@@ -34,12 +34,8 @@ export class CodeSubmittableResult<ApiType extends ApiTypes> extends Submittable
}
}
function isRiscV (bytes: unknown): bytes is Uint8Array {
const ELF_MAGIC = new Uint8Array([0x7f, 0x45, 0x4c, 0x46]); // ELF magic bytes: 0x7f, 'E', 'L', 'F'
return isU8a(bytes) && u8aEq(bytes.subarray(0, 4), ELF_MAGIC);
}
// checks to see if the code (or at least the header)
// is a valid/supported format
function isValidCode (code: Uint8Array): boolean {
return isWasm(code) || isRiscV(code);
}
+2 -2
View File
@@ -27,8 +27,8 @@
"@polkadot/rpc-core": "10.9.2-25-x",
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
+3 -3
View File
@@ -24,7 +24,7 @@
"@polkadot/api-augment": "10.9.2-25-x",
"@polkadot/api-base": "10.9.2-25-x",
"@polkadot/api-derive": "10.9.2-25-x",
"@polkadot/keyring": "^12.4.2",
"@polkadot/keyring": "^12.5.1",
"@polkadot/rpc-augment": "10.9.2-25-x",
"@polkadot/rpc-core": "10.9.2-25-x",
"@polkadot/rpc-provider": "10.9.2-25-x",
@@ -33,8 +33,8 @@
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/types-create": "10.9.2-25-x",
"@polkadot/types-known": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"eventemitter3": "^5.0.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
+1 -1
View File
@@ -24,7 +24,7 @@
"@polkadot/rpc-core": "10.9.2-25-x",
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"tslib": "^2.6.2"
}
}
+2 -2
View File
@@ -24,12 +24,12 @@
"@polkadot/rpc-augment": "10.9.2-25-x",
"@polkadot/rpc-provider": "10.9.2-25-x",
"@polkadot/types": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.4.2",
"@polkadot/keyring": "^12.5.1",
"@polkadot/rpc-augment": "10.9.2-25-x"
}
}
+9 -9
View File
@@ -21,23 +21,23 @@
"version": "10.9.2-25-x",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.4.2",
"@polkadot/keyring": "^12.5.1",
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-support": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/x-fetch": "^12.4.2",
"@polkadot/x-global": "^12.4.2",
"@polkadot/x-ws": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"@polkadot/x-fetch": "^12.5.1",
"@polkadot/x-global": "^12.5.1",
"@polkadot/x-ws": "^12.5.1",
"eventemitter3": "^5.0.1",
"mock-socket": "^9.2.1",
"mock-socket": "^9.3.1",
"nock": "^13.3.3",
"tslib": "^2.6.2"
},
"devDependencies": {
"@substrate/connect": "0.7.31"
"@substrate/connect": "0.7.32"
},
"optionalDependencies": {
"@substrate/connect": "0.7.31"
"@substrate/connect": "0.7.32"
}
}
+3 -3
View File
@@ -37,9 +37,9 @@
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/types-create": "10.9.2-25-x",
"@polkadot/types-support": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/x-ws": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"@polkadot/x-ws": "^12.5.1",
"handlebars": "^4.7.8",
"tslib": "^2.6.2",
"yargs": "^17.7.2"
+1 -1
View File
@@ -23,7 +23,7 @@
"dependencies": {
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"tslib": "^2.6.2"
}
}
+3 -3
View File
@@ -21,14 +21,14 @@
"version": "10.9.2-25-x",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.4.2",
"@polkadot/x-bigint": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/x-bigint": "^12.5.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-augment": "10.9.2-25-x",
"@polkadot/types-support": "10.9.2-25-x",
"@polkadot/util-crypto": "^12.4.2"
"@polkadot/util-crypto": "^12.5.1"
}
}
+1 -1
View File
@@ -22,7 +22,7 @@
"main": "index.js",
"dependencies": {
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"tslib": "^2.6.2"
},
"devDependencies": {
+2 -2
View File
@@ -21,11 +21,11 @@
"version": "10.9.2-25-x",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^12.4.2",
"@polkadot/networks": "^12.5.1",
"@polkadot/types": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/types-create": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"tslib": "^2.6.2"
},
"devDependencies": {
+1 -1
View File
@@ -21,7 +21,7 @@
"version": "10.9.2-25-x",
"main": "index.js",
"dependencies": {
"@polkadot/util": "^12.4.2",
"@polkadot/util": "^12.5.1",
"tslib": "^2.6.2"
}
}
+4 -4
View File
@@ -21,17 +21,17 @@
"version": "10.9.2-25-x",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^12.4.2",
"@polkadot/keyring": "^12.5.1",
"@polkadot/types-augment": "10.9.2-25-x",
"@polkadot/types-codec": "10.9.2-25-x",
"@polkadot/types-create": "10.9.2-25-x",
"@polkadot/util": "^12.4.2",
"@polkadot/util-crypto": "^12.4.2",
"@polkadot/util": "^12.5.1",
"@polkadot/util-crypto": "^12.5.1",
"rxjs": "^7.8.1",
"tslib": "^2.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^12.4.2",
"@polkadot/keyring": "^12.5.1",
"@polkadot/types-support": "10.9.2-25-x"
}
}