[CI Skip] 0.19.5
This commit is contained in:
+1
-1
@@ -10,5 +10,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.19.4"
|
||||
"version": "0.19.5"
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.19.4",
|
||||
"version": "0.19.5",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-crypto",
|
||||
"version": "0.19.4",
|
||||
"version": "0.19.5",
|
||||
"description": "A collection of useful crypto utilities for @polkadot",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
|
||||
- [address](address.md)
|
||||
- [pair](pair.md)
|
||||
|
||||
# Available methods
|
||||
@@ -0,0 +1,3 @@
|
||||
# address
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-keyring",
|
||||
"version": "0.19.4",
|
||||
"version": "0.19.5",
|
||||
"description": "Keyring management",
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
@@ -31,8 +31,8 @@
|
||||
"test": "echo \"Tests only available from root wrapper\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^0.19.4",
|
||||
"@polkadot/util-crypto": "^0.19.4",
|
||||
"@polkadot/util": "^0.19.5",
|
||||
"@polkadot/util-crypto": "^0.19.5",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"bs58": "^4.0.1"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-rlp",
|
||||
"version": "0.19.4",
|
||||
"version": "0.19.5",
|
||||
"description": "RLP encoding and decoding",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -29,7 +29,7 @@
|
||||
"test": "echo \"Tests only available from root wrapper\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^0.19.4",
|
||||
"@polkadot/util": "^0.19.5",
|
||||
"babel-runtime": "^6.26.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-triehash",
|
||||
"version": "0.19.4",
|
||||
"version": "0.19.5",
|
||||
"description": "Creation of triehash values",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -29,9 +29,9 @@
|
||||
"test": "echo \"Tests only available from root wrapper\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^0.19.4",
|
||||
"@polkadot/util-crypto": "^0.19.4",
|
||||
"@polkadot/util-rlp": "^0.19.4",
|
||||
"@polkadot/util": "^0.19.5",
|
||||
"@polkadot/util-crypto": "^0.19.5",
|
||||
"@polkadot/util-rlp": "^0.19.5",
|
||||
"babel-runtime": "^6.26.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Type checking utilities
|
||||
|
||||
- [isBN](#isbn) Tests for a `BN` object instance.
|
||||
- [isBn](#isbn) Tests for a `BN` object instance.
|
||||
- [isBoolean](#isboolean) Tests for a boolean value.
|
||||
- [isBuffer](#isbuffer) Tests for a `Buffer` object instance.
|
||||
- [isError](#iserror) Tests for a `Error` object instance.
|
||||
@@ -13,11 +13,12 @@ Type checking utilities
|
||||
- [isNull](#isnull) Tests for a `null` values.
|
||||
- [isNumber](#isnumber) Tests for a JavaScript number.
|
||||
- [isObject](#isobject) Tests for an `object`.
|
||||
- [isBObservable](#isbobservable) Tests for a `Observable` object instance.
|
||||
- [isString](#isstring) Tests for a string.
|
||||
- [isU8a](#isu8a) Tests for a `Uint8Array` object instance.
|
||||
- [isUndefined](#isundefined) Tests for a `undefined` values.
|
||||
|
||||
## isBN
|
||||
## isBn
|
||||
|
||||
Tests for a `BN` object instance.
|
||||
|
||||
@@ -30,9 +31,9 @@ Checks to see if the input object is an instance of `BN` (bn.js).
|
||||
|
||||
```js
|
||||
import BN from 'bn.js';
|
||||
import { isBN } from '@polkadot/util';
|
||||
import { isBn } from '@polkadot/util';
|
||||
|
||||
console.log('isBN', isBN(new BN(1))); // => true
|
||||
console.log('isBn', isBn(new BN(1))); // => true
|
||||
```
|
||||
|
||||
## isBoolean
|
||||
@@ -210,6 +211,23 @@ isObject({}); // => true
|
||||
isObject('something'); // => false
|
||||
```
|
||||
|
||||
## isBObservable
|
||||
|
||||
Tests for a `Observable` object instance.
|
||||
|
||||
```js
|
||||
isObservable (value: mixed): boolean
|
||||
```
|
||||
|
||||
|
||||
Checks to see if the input object is an instance of `BN` (bn.js).
|
||||
|
||||
```js
|
||||
import { isObservable } from '@polkadot/util';
|
||||
|
||||
console.log('isObservable', isObservable(...));
|
||||
```
|
||||
|
||||
## isString
|
||||
|
||||
Tests for a string.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util",
|
||||
"version": "0.19.4",
|
||||
"version": "0.19.5",
|
||||
"description": "A collection of useful utilities for @polkadot",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user