@polkadot/params
Advanced tools
Comparing version 0.28.14 to 0.28.15
@@ -10,3 +10,3 @@ "use strict"; | ||
var _values = _interopRequireDefault(require("@babel/runtime/core-js/object/values")); | ||
require("core-js/modules/web.dom.iterable"); | ||
@@ -30,3 +30,3 @@ var _assert = _interopRequireDefault(require("@polkadot/util/assert")); | ||
const section = (0, _values.default)(_index.default).find(({ | ||
const section = Object.values(_index.default).find(({ | ||
index | ||
@@ -37,3 +37,3 @@ }) => index[0] === input[0]); | ||
const methods = section[isPublic ? 'public' : 'private']; | ||
const extrinsic = (0, _values.default)(methods).find(({ | ||
const extrinsic = Object.values(methods).find(({ | ||
index | ||
@@ -40,0 +40,0 @@ }) => index[1] === input[1]); |
{ | ||
"name": "@polkadot/params", | ||
"version": "0.28.14", | ||
"version": "0.28.15", | ||
"description": "Type defintions for parameters as passed in calls", | ||
@@ -30,15 +30,10 @@ "main": "index.js", | ||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-params#readme", | ||
"scripts": { | ||
"build": "polkadot-dev-build-babel", | ||
"check": "eslint src && flow check", | ||
"test": "echo \"Tests only available from root wrapper\"" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0-beta.51", | ||
"@polkadot/extrinsics": "^0.28.14", | ||
"@polkadot/params": "^0.28.14", | ||
"@polkadot/primitives": "^0.28.14", | ||
"@polkadot/util": "^0.28.2", | ||
"@polkadot/util-keyring": "^0.28.2" | ||
"@babel/runtime": "^7.0.0-rc.1", | ||
"@polkadot/extrinsics": "^0.28.15", | ||
"@polkadot/params": "^0.28.15", | ||
"@polkadot/primitives": "^0.28.15", | ||
"@polkadot/util": "^0.28.3", | ||
"@polkadot/util-keyring": "^0.28.3" | ||
} | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
var _map = _interopRequireDefault(require("@babel/runtime/core-js/map")); | ||
require("core-js/modules/web.dom.iterable"); | ||
@@ -18,4 +18,4 @@ var _sizes = _interopRequireDefault(require("@polkadot/primitives/sizes")); | ||
// of the ISC license. See the LICENSE file for details. | ||
const Balance = new _map.default([['latest', _sizes.default.Balance], ['poc-1', 64]]); | ||
const AccountIndex = new _map.default([['latest', _sizes.default.AccountIndex], ['poc-1', 64]]); | ||
const Balance = new Map([['latest', _sizes.default.Balance], ['poc-1', 64]]); | ||
const AccountIndex = new Map([['latest', _sizes.default.AccountIndex], ['poc-1', 64]]); | ||
var _default = { | ||
@@ -22,0 +22,0 @@ AccountIndex, |
80628
Updated@babel/runtime@^7.0.0-rc.1
Updated@polkadot/params@^0.28.15
Updated@polkadot/util@^0.28.3