[CI Skip] 0.23.1
This commit is contained in:
+1
-1
@@ -10,5 +10,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.23.0"
|
||||
"version": "0.23.1"
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.22.11",
|
||||
"version": "0.23.1",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": "^10.1.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Available interfaces
|
||||
|
||||
Utility methods for this package are split into groups
|
||||
|
||||
|
||||
- [blake2](blake2.md) Create blake2b values with specified bitlengths
|
||||
- [keccak](keccak.md) Create Keccak256 values as hex & Uint8Array output
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-crypto",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "A collection of useful crypto utilities for @polkadot",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0-beta.47",
|
||||
"@polkadot/util": "^0.23.0",
|
||||
"@polkadot/util": "^0.23.1",
|
||||
"blakejs": "^1.1.0",
|
||||
"js-sha3": "^0.7.0",
|
||||
"tweetnacl": "^1.0.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-keyring",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "Keyring management",
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
@@ -36,8 +36,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0-beta.47",
|
||||
"@polkadot/util": "^0.23.0",
|
||||
"@polkadot/util-crypto": "^0.23.0",
|
||||
"@polkadot/util": "^0.23.1",
|
||||
"@polkadot/util-crypto": "^0.23.1",
|
||||
"bs58": "^4.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-rlp",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "RLP encoding and decoding",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0-beta.47",
|
||||
"@polkadot/util": "^0.23.0"
|
||||
"@polkadot/util": "^0.23.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ethereumjs-testing": "^1.0.4"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-triedb",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "Creation of triehash values",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -34,10 +34,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0-beta.47",
|
||||
"@polkadot/util": "^0.23.0",
|
||||
"@polkadot/util-crypto": "^0.23.0",
|
||||
"@polkadot/util-rlp": "^0.23.0",
|
||||
"@polkadot/util-triehash": "^0.23.0",
|
||||
"@polkadot/util": "^0.23.1",
|
||||
"@polkadot/util-crypto": "^0.23.1",
|
||||
"@polkadot/util-rlp": "^0.23.1",
|
||||
"@polkadot/util-triehash": "^0.23.1",
|
||||
"leveldown": "^4.0.1",
|
||||
"levelup": "^3.0.1",
|
||||
"memdown": "^3.0.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-triehash",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "Creation of triehash values",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -34,8 +34,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0-beta.47",
|
||||
"@polkadot/util": "^0.23.0",
|
||||
"@polkadot/util-crypto": "^0.23.0",
|
||||
"@polkadot/util-rlp": "^0.23.0"
|
||||
"@polkadot/util": "^0.23.1",
|
||||
"@polkadot/util-crypto": "^0.23.1",
|
||||
"@polkadot/util-rlp": "^0.23.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Available interfaces
|
||||
|
||||
Utility methods for this package are split into groups
|
||||
Utility methods for this package are split into groups
|
||||
|
||||
- [array](array.md) Utility methods that operates on arrays
|
||||
- [bn](bn.md) Utility methods to convert to and from `BN` objects
|
||||
@@ -16,7 +16,7 @@ Utility methods for this package are split into groups
|
||||
|
||||
## assert
|
||||
|
||||
Checks for a valid test, if not ExtError is thrown.
|
||||
Checks for a valid test, if not ExtError is thrown.
|
||||
|
||||
```js
|
||||
assert (test: mixed, message: string | () => string, code: number = ExtError.CODES.ASSERT, data: mixed): void
|
||||
@@ -35,7 +35,7 @@ assert(false, () => 'message'); // ExtError with 'message'
|
||||
|
||||
## Logger
|
||||
|
||||
Creates a consistent log interface for messages
|
||||
Creates a consistent log interface for messages
|
||||
|
||||
```js
|
||||
logger (type: string): Logger
|
||||
@@ -52,7 +52,7 @@ l.log('blah'); // <date> TEST: blah
|
||||
|
||||
## promisify
|
||||
|
||||
Wraps an async callback into a `Promise`
|
||||
Wraps an async callback into a `Promise`
|
||||
|
||||
```js
|
||||
function promisify (this: ?Object, fn: Function, ...params: Array<mixed>): Promise<any>
|
||||
@@ -66,4 +66,4 @@ const promisify from '@polkadot/util/promisify');
|
||||
|
||||
await promisify(null, ((a, cb) => cb(null, a), true); // resolves with `true`
|
||||
await promisify(null, (cb) => cb(new Error('error!'))); // rejects with `error!`
|
||||
```
|
||||
```
|
||||
@@ -1,12 +1,12 @@
|
||||
# ext
|
||||
|
||||
Extensions to basic classes
|
||||
Extensions to basic classes
|
||||
|
||||
- [ExtError](#exterror) Extension to the basic JS Error.
|
||||
|
||||
## ExtError
|
||||
|
||||
Extension to the basic JS Error.
|
||||
Extension to the basic JS Error.
|
||||
|
||||
```js
|
||||
ExtError (message: string = '', code: number = UNKNOWN_ERROR, value: any)
|
||||
@@ -19,4 +19,4 @@ The built-in JavaScript Error class is extended by adding a code to allow for Er
|
||||
const { ExtError } from '@polkadot/util');
|
||||
|
||||
throw new ExtError('some message', ExtError.CODES.METHOD_NOT_FOUND); // => error.code = -32601
|
||||
```
|
||||
```
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "A collection of useful utilities for @polkadot",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user