[CI Skip] 0.19.5

This commit is contained in:
Travis CI
2018-05-05 18:12:19 +00:00
parent 05f4754857
commit 46706bc950
10 changed files with 39 additions and 17 deletions
+1 -1
View File
@@ -10,5 +10,5 @@
"packages": [
"packages/*"
],
"version": "0.19.4"
"version": "0.19.5"
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": "0.19.4",
"version": "0.19.5",
"private": true,
"workspaces": [
"packages/*"
+1 -1
View File
@@ -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": [
+1
View File
@@ -2,6 +2,7 @@
- [address](address.md)
- [pair](pair.md)
# Available methods
+3
View File
@@ -0,0 +1,3 @@
# address
+3 -3
View File
@@ -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"
}
+2 -2
View File
@@ -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": {
+4 -4
View File
@@ -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"
}
}
+22 -4
View File
@@ -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 -1
View File
@@ -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": [