rebase upstream and bump to 0.78.100

This commit is contained in:
ian.he
2019-05-27 15:46:59 +12:00
parent c91e72b60b
commit 019f1f761f
21 changed files with 37 additions and 44 deletions
+1 -1
View File
@@ -496,7 +496,7 @@ ___
▸ **proposalCount**(): `ProposalIndex`
- **summary**: Number of proposals that have been made.
▸ **proposals**(`ProposalIndex`): `Option<Proposal>`
▸ **proposals**(`ProposalIndex`): `Option<TreasuryProposal>`
- **summary**: Proposals that have been made.
▸ **spendPeriod**(): `BlockNumber`
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.77.102"
"version": "0.78.100"
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/api-derive",
"version": "0.77.102",
"version": "0.78.100",
"description": "Common functions used across Plugnet, derived from RPC calls and storage queries.",
"main": "index.js",
"keywords": [
@@ -31,8 +31,8 @@
"homepage": "https://github.com/plugblockchain/api.js/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/api": "^0.77.102",
"@plugnet/types": "^0.77.102",
"@plugnet/api": "^0.78.100",
"@plugnet/types": "^0.78.100",
"@types/memoizee": "^0.4.2",
"memoizee": "^0.4.14"
}
+2 -2
View File
@@ -2,8 +2,8 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { ApiInterface$Rx, QueryableStorageFunctionBase } from '@polkadot/api/types';
import { Codec } from '@polkadot/types/types';
import { ApiInterface$Rx, QueryableStorageFunctionBase } from '@plugnet/api/types';
import { Codec } from '@plugnet/types/types';
import { DerivedContractFees } from '../types';
import BN from 'bn.js';
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/api",
"version": "0.77.102",
"version": "0.78.100",
"description": "Promise and RxJS wrappers around the Plugnet JS RPC",
"main": "index.js",
"keywords": [
@@ -30,12 +30,12 @@
"homepage": "https://github.com/plugblockchain/api.js/tree/master/packages/api#readme",
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/api-derive": "^0.77.102",
"@plugnet/extrinsics": "^0.77.102",
"@plugnet/rpc-provider": "^0.77.102",
"@plugnet/rpc-rx": "^0.77.102",
"@plugnet/storage": "^0.77.102",
"@plugnet/types": "^0.77.102",
"@plugnet/api-derive": "^0.78.100",
"@plugnet/extrinsics": "^0.78.100",
"@plugnet/rpc-provider": "^0.78.100",
"@plugnet/rpc-rx": "^0.78.100",
"@plugnet/storage": "^0.78.100",
"@plugnet/types": "^0.78.100",
"@plugnet/util-crypto": "^0.90.100"
}
}
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/rpc-core",
"version": "0.77.102",
"version": "0.78.100",
"description": "A JavaScript wrapper for the Plugnet JsonRPC interface",
"main": "index.js",
"keywords": [
@@ -30,9 +30,9 @@
"homepage": "https://github.com/plugblockchain/api.js/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/jsonrpc": "^0.77.102",
"@plugnet/rpc-provider": "^0.77.102",
"@plugnet/types": "^0.77.102",
"@plugnet/jsonrpc": "^0.78.100",
"@plugnet/rpc-provider": "^0.78.100",
"@plugnet/types": "^0.78.100",
"@plugnet/util": "^0.90.100"
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/rpc-provider",
"version": "0.77.102",
"version": "0.78.100",
"description": "Transport providers for the API",
"main": "index.js",
"keywords": [
@@ -31,7 +31,7 @@
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/keyring": "^0.90.100",
"@plugnet/storage": "^0.77.102",
"@plugnet/storage": "^0.78.100",
"@plugnet/util": "^0.90.100",
"@plugnet/util-crypto": "^0.90.100",
"@types/nock": "^9.3.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/rpc-rx",
"version": "0.77.102",
"version": "0.78.100",
"description": "An RxJs wrapper around the Plugnet JS API",
"main": "index.js",
"keywords": [
@@ -30,8 +30,8 @@
"homepage": "https://github.com/plugblockchain/api.js/tree/master/packages/rpc-rx#readme",
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/rpc-core": "^0.77.102",
"@plugnet/rpc-provider": "^0.77.102",
"@plugnet/rpc-core": "^0.78.100",
"@plugnet/rpc-provider": "^0.78.100",
"@types/memoizee": "^0.4.2",
"@types/rx": "^4.1.1",
"memoizee": "^0.4.14",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/extrinsics",
"version": "0.77.102",
"version": "0.78.100",
"main": "index.js",
"repository": "https://github.com/plugblockchain/api.js.git",
"author": "Jaco Greeff <jacogr@gmail.com>",
@@ -11,7 +11,7 @@
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/types": "^0.77.102",
"@plugnet/types": "^0.78.100",
"@plugnet/util": "^0.90.100"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/jsonrpc",
"version": "0.77.102",
"version": "0.78.100",
"description": "Method definitions for the Plugnet RPC layer",
"main": "index.js",
"engines": {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/storage",
"version": "0.77.102",
"version": "0.78.100",
"description": "Generic wrapper wrapper around state storage",
"main": "index.js",
"engines": {
@@ -31,7 +31,7 @@
"dependencies": {
"@babel/runtime": "^7.4.4",
"@plugnet/keyring": "^0.90.100",
"@plugnet/types": "^0.77.102",
"@plugnet/types": "^0.78.100",
"@plugnet/util": "^0.90.100",
"@plugnet/util-crypto": "^0.90.100"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@plugnet/types",
"version": "0.77.102",
"version": "0.78.100",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [
@@ -69,13 +69,6 @@ export class StorageFunctionType extends EnumType<PlainType | MapType | DoubleMa
return this.toNumber() === 2;
}
/**
* @description `true` if the storage entry is a map
*/
get isMap (): boolean {
return this.toNumber() === 1;
}
/**
* @description The value as a double mapped value
*/
+1 -1
View File
@@ -4,7 +4,7 @@
import { AnyNumber } from '../../types';
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import EnumType from '../../codec/EnumType';
import Struct from '../../codec/Struct';
+1 -1
View File
@@ -4,7 +4,7 @@
import { AnyNumber } from '../../types';
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import Enum from '../../codec/Enum';
import EnumType from '../../codec/EnumType';
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import EnumType from '../codec/EnumType';
import Vector from '../codec/Vector';
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import EnumType from '../codec/EnumType';
import Struct from '../codec/Struct';
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import Bytes from '../primitive/Bytes';
import EnumType from '../codec/EnumType';
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import EnumType from '../codec/EnumType';
import Struct from '../codec/Struct';
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import EnumType from '../codec/EnumType';
import Struct from '../codec/Struct';
+1 -1
View File
@@ -4,7 +4,7 @@
import { AnyNumber } from '../types';
import { assert } from '@polkadot/util';
import { assert } from '@plugnet/util';
import EnumType from '../codec/EnumType';
import Struct from '../codec/Struct';