Compare commits

..
3 Commits
Author SHA1 Message Date
Github Actions cc8639565d [CI Skip] release/stable 2.12.2
skip-checks: true
2020-06-02 08:31:51 +00:00
Jaco Greeff b77d2e6860 Linting 2020-06-02 10:28:25 +02:00
Jaco Greeff e1fbd8ff9f 2.12.2 2020-06-02 10:22:30 +02:00
10 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
5
2.6.2
2.6.22.12.2
+4
View File
@@ -1,5 +1,9 @@
# CHANGELOG
## 2.12.2 Jun 1, 2020
- Fix `isFunction` signature to assert `Function`
## 2.12.1 Jun 1, 2020
- **Important** Removed `mnemonicToSeed`, it is only for bip39, use `mnemonicToMiniSecret` for the Substrate variant
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "2.12.1"
"version": "2.12.2"
}
+1 -1
View File
@@ -26,5 +26,5 @@
"@polkadot/ts": "^0.3.25",
"@types/jest": "^25.2.3"
},
"version": "2.12.1"
"version": "2.12.2"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/keyring",
"version": "2.12.1",
"version": "2.12.2",
"description": "Keyring management",
"main": "index.js",
"publishConfig": {
@@ -28,7 +28,7 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme",
"dependencies": {
"@babel/runtime": "^7.9.6",
"@polkadot/util": "2.12.1",
"@polkadot/util-crypto": "2.12.1"
"@polkadot/util": "2.12.2",
"@polkadot/util-crypto": "2.12.2"
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/util-crypto",
"version": "2.12.1",
"version": "2.12.2",
"description": "A collection of useful crypto utilities for @polkadot",
"main": "index.js",
"keywords": [
@@ -26,7 +26,7 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
"dependencies": {
"@babel/runtime": "^7.9.6",
"@polkadot/util": "2.12.1",
"@polkadot/util": "2.12.2",
"@polkadot/wasm-crypto": "^1.2.1",
"base-x": "^3.0.8",
"bip39": "^3.0.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/util",
"version": "2.12.1",
"version": "2.12.2",
"description": "A collection of useful utilities for @polkadot",
"main": "index.js",
"keywords": [
+2 -1
View File
@@ -2,7 +2,8 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
type FnType = (...params: unknown[]) => unknown;
// eslint-disable-next-line @typescript-eslint/ban-types
type FnType = Function;
/**
* @name isFunction
+1 -1
View File
@@ -67,7 +67,7 @@ export function format (value: unknown): unknown {
function apply (log: LogType, type: string, values: Logger$Data): void {
if (values.length === 1 && isFunction(values[0])) {
const fnResult = values[0]();
const fnResult = values[0]() as unknown;
return apply(log, type, Array.isArray(fnResult) ? fnResult : [fnResult]);
}
+5 -5
View File
@@ -2758,8 +2758,8 @@ __metadata:
resolution: "@polkadot/keyring@workspace:packages/keyring"
dependencies:
"@babel/runtime": ^7.9.6
"@polkadot/util": 2.12.1
"@polkadot/util-crypto": 2.12.1
"@polkadot/util": 2.12.2
"@polkadot/util-crypto": 2.12.2
languageName: unknown
linkType: soft
@@ -2772,12 +2772,12 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/util-crypto@2.12.1, @polkadot/util-crypto@workspace:packages/util-crypto":
"@polkadot/util-crypto@2.12.2, @polkadot/util-crypto@workspace:packages/util-crypto":
version: 0.0.0-use.local
resolution: "@polkadot/util-crypto@workspace:packages/util-crypto"
dependencies:
"@babel/runtime": ^7.9.6
"@polkadot/util": 2.12.1
"@polkadot/util": 2.12.2
"@polkadot/wasm-crypto": ^1.2.1
"@types/bn.js": ^4.11.6
"@types/bs58": ^4.0.1
@@ -2797,7 +2797,7 @@ __metadata:
languageName: unknown
linkType: soft
"@polkadot/util@2.12.1, @polkadot/util@workspace:packages/util":
"@polkadot/util@2.12.2, @polkadot/util@workspace:packages/util":
version: 0.0.0-use.local
resolution: "@polkadot/util@workspace:packages/util"
dependencies: