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
@@ -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';