@polkadot/types-codec 9.10.5 → 9.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstract/Array.js +1 -1
- package/abstract/Base.js +1 -1
- package/abstract/BigInt.js +1 -1
- package/abstract/Int.js +1 -1
- package/abstract/index.js +1 -1
- package/base/Compact.js +1 -1
- package/base/DoNotConstruct.js +1 -1
- package/base/Enum.js +1 -1
- package/base/Int.js +1 -1
- package/base/Null.js +1 -1
- package/base/Option.js +1 -1
- package/base/Result.js +1 -1
- package/base/Tuple.js +1 -1
- package/base/UInt.js +1 -1
- package/base/Vec.js +1 -1
- package/base/VecAny.js +1 -1
- package/base/VecFixed.js +1 -1
- package/base/index.js +1 -1
- package/bundle.js +1 -1
- package/cjs/abstract/Array.js +1 -1
- package/cjs/abstract/Base.js +1 -1
- package/cjs/abstract/BigInt.js +1 -1
- package/cjs/abstract/Int.js +1 -1
- package/cjs/base/Compact.js +1 -1
- package/cjs/base/DoNotConstruct.js +1 -1
- package/cjs/base/Enum.js +1 -1
- package/cjs/base/Int.js +1 -1
- package/cjs/base/Null.js +1 -1
- package/cjs/base/Option.js +1 -1
- package/cjs/base/Result.js +1 -1
- package/cjs/base/Tuple.js +1 -1
- package/cjs/base/UInt.js +1 -1
- package/cjs/base/Vec.js +1 -1
- package/cjs/base/VecAny.js +1 -1
- package/cjs/base/VecFixed.js +1 -1
- package/cjs/detectOther.js +1 -1
- package/cjs/detectPackage.js +1 -1
- package/cjs/extended/BTreeMap.js +1 -1
- package/cjs/extended/BTreeSet.js +1 -1
- package/cjs/extended/BitVec.js +1 -1
- package/cjs/extended/Bytes.js +1 -1
- package/cjs/extended/HashMap.js +1 -1
- package/cjs/extended/Linkage.js +1 -1
- package/cjs/extended/Map.js +1 -1
- package/cjs/extended/OptionBool.js +1 -1
- package/cjs/extended/Range.js +1 -1
- package/cjs/extended/RangeInclusive.js +1 -1
- package/cjs/extended/Type.js +1 -1
- package/cjs/extended/U8aFixed.js +1 -1
- package/cjs/extended/WrapperKeepOpaque.js +1 -1
- package/cjs/extended/WrapperOpaque.js +1 -1
- package/cjs/native/Bool.js +1 -1
- package/cjs/native/Date.js +1 -1
- package/cjs/native/Float.js +1 -1
- package/cjs/native/Json.js +1 -1
- package/cjs/native/Raw.js +1 -1
- package/cjs/native/Set.js +1 -1
- package/cjs/native/Struct.data.js +1 -1
- package/cjs/native/Struct.js +1 -1
- package/cjs/native/Text.js +1 -1
- package/cjs/packageInfo.js +2 -2
- package/cjs/primitive/F32.js +1 -1
- package/cjs/primitive/F64.js +1 -1
- package/cjs/primitive/I128.js +1 -1
- package/cjs/primitive/I16.js +1 -1
- package/cjs/primitive/I256.js +1 -1
- package/cjs/primitive/I32.js +1 -1
- package/cjs/primitive/I64.js +1 -1
- package/cjs/primitive/I8.js +1 -1
- package/cjs/primitive/U128.js +1 -1
- package/cjs/primitive/U16.js +1 -1
- package/cjs/primitive/U256.js +1 -1
- package/cjs/primitive/U32.js +1 -1
- package/cjs/primitive/U64.js +1 -1
- package/cjs/primitive/U8.js +1 -1
- package/cjs/primitive/USize.js +1 -1
- package/cjs/utils/compareArray.js +1 -1
- package/cjs/utils/compareMap.js +1 -1
- package/cjs/utils/compareSet.js +1 -1
- package/cjs/utils/decodeU8a.js +1 -1
- package/cjs/utils/mapToTypeMap.js +1 -1
- package/cjs/utils/sanitize.js +1 -1
- package/cjs/utils/sortValues.js +1 -1
- package/cjs/utils/typeToConstructor.js +1 -1
- package/cjs/utils/typesToMap.js +1 -1
- package/cjs/utils/util.js +1 -1
- package/detectOther.js +1 -1
- package/detectPackage.js +1 -1
- package/extended/BTreeMap.js +1 -1
- package/extended/BTreeSet.js +1 -1
- package/extended/BitVec.js +1 -1
- package/extended/Bytes.js +1 -1
- package/extended/HashMap.js +1 -1
- package/extended/Linkage.js +1 -1
- package/extended/Map.js +1 -1
- package/extended/OptionBool.js +1 -1
- package/extended/Range.js +1 -1
- package/extended/RangeInclusive.js +1 -1
- package/extended/Type.js +1 -1
- package/extended/U8aFixed.js +1 -1
- package/extended/WrapperKeepOpaque.js +1 -1
- package/extended/WrapperOpaque.js +1 -1
- package/extended/index.js +1 -1
- package/index.js +1 -1
- package/native/Bool.js +1 -1
- package/native/Date.js +1 -1
- package/native/Float.js +1 -1
- package/native/Json.js +1 -1
- package/native/Raw.js +1 -1
- package/native/Set.js +1 -1
- package/native/Struct.data.js +1 -1
- package/native/Struct.js +1 -1
- package/native/Text.js +1 -1
- package/native/index.js +1 -1
- package/package.json +4 -4
- package/packageInfo.js +2 -2
- package/primitive/F32.js +1 -1
- package/primitive/F64.js +1 -1
- package/primitive/I128.js +1 -1
- package/primitive/I16.js +1 -1
- package/primitive/I256.js +1 -1
- package/primitive/I32.js +1 -1
- package/primitive/I64.js +1 -1
- package/primitive/I8.js +1 -1
- package/primitive/U128.js +1 -1
- package/primitive/U16.js +1 -1
- package/primitive/U256.js +1 -1
- package/primitive/U32.js +1 -1
- package/primitive/U64.js +1 -1
- package/primitive/U8.js +1 -1
- package/primitive/USize.js +1 -1
- package/primitive/index.js +1 -1
- package/types/index.js +1 -1
- package/utils/compareArray.js +1 -1
- package/utils/compareMap.js +1 -1
- package/utils/compareSet.js +1 -1
- package/utils/decodeU8a.js +1 -1
- package/utils/index.js +1 -1
- package/utils/mapToTypeMap.js +1 -1
- package/utils/sanitize.js +1 -1
- package/utils/sortValues.js +1 -1
- package/utils/typeToConstructor.js +1 -1
- package/utils/typesToMap.js +1 -1
- package/utils/util.js +1 -1
package/abstract/Array.js
CHANGED
package/abstract/Base.js
CHANGED
package/abstract/BigInt.js
CHANGED
package/abstract/Int.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
import { BN, BN_BILLION, BN_HUNDRED, BN_MILLION, BN_QUINTILL, bnToBn, bnToHex, bnToU8a, formatBalance, formatNumber, hexToBn, isBn, isFunction, isHex, isNumber, isObject, isString, isU8a, u8aToBn, u8aToNumber } from '@polkadot/util';
|
package/abstract/index.js
CHANGED
package/base/Compact.js
CHANGED
package/base/DoNotConstruct.js
CHANGED
package/base/Enum.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
import { isHex, isNumber, isObject, isString, isU8a, objectProperties, stringCamelCase, stringify, stringPascalCase, u8aConcatStrict, u8aToHex, u8aToU8a } from '@polkadot/util';
|
package/base/Int.js
CHANGED
package/base/Null.js
CHANGED
package/base/Option.js
CHANGED
package/base/Result.js
CHANGED
package/base/Tuple.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
import { isFunction, isHex, isString, isU8a, stringify, u8aConcatStrict, u8aToU8a } from '@polkadot/util';
|
package/base/UInt.js
CHANGED
package/base/Vec.js
CHANGED
package/base/VecAny.js
CHANGED
package/base/VecFixed.js
CHANGED
package/base/index.js
CHANGED
package/bundle.js
CHANGED
package/cjs/abstract/Array.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.AbstractArray = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _compareArray = require("../utils/compareArray");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
/**
|
package/cjs/abstract/Base.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.AbstractBase = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
/**
|
package/cjs/abstract/BigInt.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AbstractBigInt = void 0;
|
|
7
7
|
var _xBigint = require("@polkadot/x-bigint");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
// @ts-expect-error not extensible, we make it extensible here
|
package/cjs/abstract/Int.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.DEFAULT_UINT_BITS = exports.AbstractInt = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
const DEFAULT_UINT_BITS = 64;
|
package/cjs/base/Compact.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Compact = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
function noopSetDefinition(d) {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DoNotConstruct = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
/**
|
package/cjs/base/Enum.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.Enum = void 0;
|
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
9
|
var _Null = require("./Null");
|
|
10
|
-
// Copyright 2017-
|
|
10
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
11
11
|
// SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
|
|
13
13
|
function noopSetDefinition(d) {
|
package/cjs/base/Int.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Int = void 0;
|
|
7
7
|
var _Int = require("../abstract/Int");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/base/Null.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Null = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/base/Option.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.Option = void 0;
|
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
9
|
var _Null = require("./Null");
|
|
10
|
-
// Copyright 2017-
|
|
10
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
11
11
|
// SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
|
|
13
13
|
function noopSetDefinition(d) {
|
package/cjs/base/Result.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Result = void 0;
|
|
7
7
|
var _Enum = require("./Enum");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/base/Tuple.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.Tuple = void 0;
|
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _Array = require("../abstract/Array");
|
|
9
9
|
var _utils = require("../utils");
|
|
10
|
-
// Copyright 2017-
|
|
10
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
11
11
|
// SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
|
|
13
13
|
function noopSetDefinition(d) {
|
package/cjs/base/UInt.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.UInt = void 0;
|
|
7
7
|
var _Int = require("../abstract/Int");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/base/Vec.js
CHANGED
|
@@ -8,7 +8,7 @@ exports.decodeVec = decodeVec;
|
|
|
8
8
|
var _util = require("@polkadot/util");
|
|
9
9
|
var _Array = require("../abstract/Array");
|
|
10
10
|
var _utils = require("../utils");
|
|
11
|
-
// Copyright 2017-
|
|
11
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
12
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
13
|
|
|
14
14
|
const MAX_LENGTH = 64 * 1024;
|
package/cjs/base/VecAny.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.VecAny = void 0;
|
|
7
7
|
var _Array = require("../abstract/Array");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/base/VecFixed.js
CHANGED
|
@@ -8,7 +8,7 @@ var _util = require("@polkadot/util");
|
|
|
8
8
|
var _Array = require("../abstract/Array");
|
|
9
9
|
var _utils = require("../utils");
|
|
10
10
|
var _Vec = require("./Vec");
|
|
11
|
-
// Copyright 2017-
|
|
11
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
12
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
13
|
|
|
14
14
|
function noopSetDefinition(d) {
|
package/cjs/detectOther.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
// Empty template, auto-generated by @polkadot/dev
|
|
10
10
|
var _default = [];
|
package/cjs/detectPackage.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
var _util = require("@polkadot/util");
|
|
5
5
|
var _detectOther = _interopRequireDefault(require("./detectOther"));
|
|
6
6
|
var _packageInfo = require("./packageInfo");
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
// Do not edit, auto-generated by @polkadot/dev
|
package/cjs/extended/BTreeMap.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.BTreeMap = void 0;
|
|
7
7
|
var _Map = require("./Map");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
class BTreeMap extends _Map.CodecMap {
|
package/cjs/extended/BTreeSet.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.BTreeSet = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
const l = (0, _util.logger)('BTreeSet');
|
package/cjs/extended/BitVec.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.BitVec = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _Raw = require("../native/Raw");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
/** @internal */
|
package/cjs/extended/Bytes.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Bytes = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _Raw = require("../native/Raw");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
// Bytes are used for things like on-chain code, so it has a healthy limit
|
package/cjs/extended/HashMap.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.HashMap = void 0;
|
|
7
7
|
var _Map = require("./Map");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
class HashMap extends _Map.CodecMap {
|
package/cjs/extended/Linkage.js
CHANGED
|
@@ -8,7 +8,7 @@ var _Option = require("../base/Option");
|
|
|
8
8
|
var _Tuple = require("../base/Tuple");
|
|
9
9
|
var _Vec = require("../base/Vec");
|
|
10
10
|
var _Struct = require("../native/Struct");
|
|
11
|
-
// Copyright 2017-
|
|
11
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
12
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
13
|
|
|
14
14
|
const EMPTY = new Uint8Array();
|
package/cjs/extended/Map.js
CHANGED
|
@@ -10,7 +10,7 @@ var _Enum = require("../base/Enum");
|
|
|
10
10
|
var _Raw = require("../native/Raw");
|
|
11
11
|
var _Struct = require("../native/Struct");
|
|
12
12
|
var _utils = require("../utils");
|
|
13
|
-
// Copyright 2017-
|
|
13
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
14
14
|
// SPDX-License-Identifier: Apache-2.0
|
|
15
15
|
|
|
16
16
|
const l = (0, _util.logger)('Map');
|
|
@@ -7,7 +7,7 @@ exports.OptionBool = void 0;
|
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _Option = require("../base/Option");
|
|
9
9
|
var _Bool = require("../native/Bool");
|
|
10
|
-
// Copyright 2017-
|
|
10
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
11
11
|
// SPDX-License-Identifier: Apache-2.0
|
|
12
12
|
|
|
13
13
|
function decodeU8a(registry, value) {
|
package/cjs/extended/Range.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Range = void 0;
|
|
7
7
|
var _Tuple = require("../base/Tuple");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.RangeInclusive = void 0;
|
|
7
7
|
var _Range = require("./Range");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
class RangeInclusive extends _Range.Range {
|
package/cjs/extended/Type.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Type = void 0;
|
|
7
7
|
var _Text = require("../native/Text");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
/**
|
package/cjs/extended/U8aFixed.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.U8aFixed = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _Raw = require("../native/Raw");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
/** @internal */
|
|
@@ -8,7 +8,7 @@ var _util = require("@polkadot/util");
|
|
|
8
8
|
var _Raw = require("../native/Raw");
|
|
9
9
|
var _utils = require("../utils");
|
|
10
10
|
var _Bytes = require("./Bytes");
|
|
11
|
-
// Copyright 2017-
|
|
11
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
12
12
|
// SPDX-License-Identifier: Apache-2.0
|
|
13
13
|
|
|
14
14
|
function decodeRaw(registry, typeName, value) {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.WrapperOpaque = void 0;
|
|
7
7
|
var _WrapperKeepOpaque = require("./WrapperKeepOpaque");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
class WrapperOpaque extends _WrapperKeepOpaque.WrapperKeepOpaque {
|
package/cjs/native/Bool.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.bool = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/native/Date.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.CodecDate = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
const BITLENGTH = 64;
|
package/cjs/native/Float.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Float = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/native/Json.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Json = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
/** @internal */
|
package/cjs/native/Raw.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Raw = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
|
-
// Copyright 2017-
|
|
8
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
9
9
|
// SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
|
|
11
11
|
/**
|
package/cjs/native/Set.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.CodecSet = void 0;
|
|
7
7
|
var _util = require("@polkadot/util");
|
|
8
8
|
var _utils = require("../utils");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/types-codec authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
|
|
12
12
|
function encodeSet(setValues, values) {
|