@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.
Files changed (144) hide show
  1. package/abstract/Array.js +1 -1
  2. package/abstract/Base.js +1 -1
  3. package/abstract/BigInt.js +1 -1
  4. package/abstract/Int.js +1 -1
  5. package/abstract/index.js +1 -1
  6. package/base/Compact.js +1 -1
  7. package/base/DoNotConstruct.js +1 -1
  8. package/base/Enum.js +1 -1
  9. package/base/Int.js +1 -1
  10. package/base/Null.js +1 -1
  11. package/base/Option.js +1 -1
  12. package/base/Result.js +1 -1
  13. package/base/Tuple.js +1 -1
  14. package/base/UInt.js +1 -1
  15. package/base/Vec.js +1 -1
  16. package/base/VecAny.js +1 -1
  17. package/base/VecFixed.js +1 -1
  18. package/base/index.js +1 -1
  19. package/bundle.js +1 -1
  20. package/cjs/abstract/Array.js +1 -1
  21. package/cjs/abstract/Base.js +1 -1
  22. package/cjs/abstract/BigInt.js +1 -1
  23. package/cjs/abstract/Int.js +1 -1
  24. package/cjs/base/Compact.js +1 -1
  25. package/cjs/base/DoNotConstruct.js +1 -1
  26. package/cjs/base/Enum.js +1 -1
  27. package/cjs/base/Int.js +1 -1
  28. package/cjs/base/Null.js +1 -1
  29. package/cjs/base/Option.js +1 -1
  30. package/cjs/base/Result.js +1 -1
  31. package/cjs/base/Tuple.js +1 -1
  32. package/cjs/base/UInt.js +1 -1
  33. package/cjs/base/Vec.js +1 -1
  34. package/cjs/base/VecAny.js +1 -1
  35. package/cjs/base/VecFixed.js +1 -1
  36. package/cjs/detectOther.js +1 -1
  37. package/cjs/detectPackage.js +1 -1
  38. package/cjs/extended/BTreeMap.js +1 -1
  39. package/cjs/extended/BTreeSet.js +1 -1
  40. package/cjs/extended/BitVec.js +1 -1
  41. package/cjs/extended/Bytes.js +1 -1
  42. package/cjs/extended/HashMap.js +1 -1
  43. package/cjs/extended/Linkage.js +1 -1
  44. package/cjs/extended/Map.js +1 -1
  45. package/cjs/extended/OptionBool.js +1 -1
  46. package/cjs/extended/Range.js +1 -1
  47. package/cjs/extended/RangeInclusive.js +1 -1
  48. package/cjs/extended/Type.js +1 -1
  49. package/cjs/extended/U8aFixed.js +1 -1
  50. package/cjs/extended/WrapperKeepOpaque.js +1 -1
  51. package/cjs/extended/WrapperOpaque.js +1 -1
  52. package/cjs/native/Bool.js +1 -1
  53. package/cjs/native/Date.js +1 -1
  54. package/cjs/native/Float.js +1 -1
  55. package/cjs/native/Json.js +1 -1
  56. package/cjs/native/Raw.js +1 -1
  57. package/cjs/native/Set.js +1 -1
  58. package/cjs/native/Struct.data.js +1 -1
  59. package/cjs/native/Struct.js +1 -1
  60. package/cjs/native/Text.js +1 -1
  61. package/cjs/packageInfo.js +2 -2
  62. package/cjs/primitive/F32.js +1 -1
  63. package/cjs/primitive/F64.js +1 -1
  64. package/cjs/primitive/I128.js +1 -1
  65. package/cjs/primitive/I16.js +1 -1
  66. package/cjs/primitive/I256.js +1 -1
  67. package/cjs/primitive/I32.js +1 -1
  68. package/cjs/primitive/I64.js +1 -1
  69. package/cjs/primitive/I8.js +1 -1
  70. package/cjs/primitive/U128.js +1 -1
  71. package/cjs/primitive/U16.js +1 -1
  72. package/cjs/primitive/U256.js +1 -1
  73. package/cjs/primitive/U32.js +1 -1
  74. package/cjs/primitive/U64.js +1 -1
  75. package/cjs/primitive/U8.js +1 -1
  76. package/cjs/primitive/USize.js +1 -1
  77. package/cjs/utils/compareArray.js +1 -1
  78. package/cjs/utils/compareMap.js +1 -1
  79. package/cjs/utils/compareSet.js +1 -1
  80. package/cjs/utils/decodeU8a.js +1 -1
  81. package/cjs/utils/mapToTypeMap.js +1 -1
  82. package/cjs/utils/sanitize.js +1 -1
  83. package/cjs/utils/sortValues.js +1 -1
  84. package/cjs/utils/typeToConstructor.js +1 -1
  85. package/cjs/utils/typesToMap.js +1 -1
  86. package/cjs/utils/util.js +1 -1
  87. package/detectOther.js +1 -1
  88. package/detectPackage.js +1 -1
  89. package/extended/BTreeMap.js +1 -1
  90. package/extended/BTreeSet.js +1 -1
  91. package/extended/BitVec.js +1 -1
  92. package/extended/Bytes.js +1 -1
  93. package/extended/HashMap.js +1 -1
  94. package/extended/Linkage.js +1 -1
  95. package/extended/Map.js +1 -1
  96. package/extended/OptionBool.js +1 -1
  97. package/extended/Range.js +1 -1
  98. package/extended/RangeInclusive.js +1 -1
  99. package/extended/Type.js +1 -1
  100. package/extended/U8aFixed.js +1 -1
  101. package/extended/WrapperKeepOpaque.js +1 -1
  102. package/extended/WrapperOpaque.js +1 -1
  103. package/extended/index.js +1 -1
  104. package/index.js +1 -1
  105. package/native/Bool.js +1 -1
  106. package/native/Date.js +1 -1
  107. package/native/Float.js +1 -1
  108. package/native/Json.js +1 -1
  109. package/native/Raw.js +1 -1
  110. package/native/Set.js +1 -1
  111. package/native/Struct.data.js +1 -1
  112. package/native/Struct.js +1 -1
  113. package/native/Text.js +1 -1
  114. package/native/index.js +1 -1
  115. package/package.json +4 -4
  116. package/packageInfo.js +2 -2
  117. package/primitive/F32.js +1 -1
  118. package/primitive/F64.js +1 -1
  119. package/primitive/I128.js +1 -1
  120. package/primitive/I16.js +1 -1
  121. package/primitive/I256.js +1 -1
  122. package/primitive/I32.js +1 -1
  123. package/primitive/I64.js +1 -1
  124. package/primitive/I8.js +1 -1
  125. package/primitive/U128.js +1 -1
  126. package/primitive/U16.js +1 -1
  127. package/primitive/U256.js +1 -1
  128. package/primitive/U32.js +1 -1
  129. package/primitive/U64.js +1 -1
  130. package/primitive/U8.js +1 -1
  131. package/primitive/USize.js +1 -1
  132. package/primitive/index.js +1 -1
  133. package/types/index.js +1 -1
  134. package/utils/compareArray.js +1 -1
  135. package/utils/compareMap.js +1 -1
  136. package/utils/compareSet.js +1 -1
  137. package/utils/decodeU8a.js +1 -1
  138. package/utils/index.js +1 -1
  139. package/utils/mapToTypeMap.js +1 -1
  140. package/utils/sanitize.js +1 -1
  141. package/utils/sortValues.js +1 -1
  142. package/utils/typeToConstructor.js +1 -1
  143. package/utils/typesToMap.js +1 -1
  144. package/utils/util.js +1 -1
package/abstract/Array.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { compactToU8a, u8aConcatStrict, u8aToHex } from '@polkadot/util';
package/abstract/Base.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { BigInt } from '@polkadot/x-bigint';
package/abstract/Int.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
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
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export { AbstractArray } from "./Array.js";
package/base/Compact.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { compactFromU8a, compactFromU8aLim, compactToU8a, isU8a } from '@polkadot/util';
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  /**
package/base/Enum.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
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
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { AbstractInt } from "../abstract/Int.js";
package/base/Null.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { isNull } from '@polkadot/util';
package/base/Option.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { isCodec, isNull, isU8a, isUndefined, u8aToHex } from '@polkadot/util';
package/base/Result.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { Enum } from "./Enum.js";
package/base/Tuple.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
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
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { AbstractInt } from "../abstract/Int.js";
package/base/Vec.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { compactFromU8aLim, isU8a, logger, u8aToU8a } from '@polkadot/util';
package/base/VecAny.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { AbstractArray } from "../abstract/Array.js";
package/base/VecFixed.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  import { isU8a, u8aConcatStrict } from '@polkadot/util';
package/base/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export { Compact } from "./Compact.js";
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
1
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
4
  export { packageInfo } from "./packageInfo.js";
@@ -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-2022 @polkadot/types-codec authors & contributors
9
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
10
10
  // SPDX-License-Identifier: Apache-2.0
11
11
 
12
12
  /**
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.AbstractBase = void 0;
7
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
7
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
8
8
  // SPDX-License-Identifier: Apache-2.0
9
9
 
10
10
  /**
@@ -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-2022 @polkadot/types-codec authors & contributors
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
@@ -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-2022 @polkadot/types-codec authors & contributors
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;
@@ -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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
8
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
 
11
11
  /**
@@ -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-2022 @polkadot/types-codec authors & contributors
10
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
11
11
  // SPDX-License-Identifier: Apache-2.0
12
12
 
13
13
  function noopSetDefinition(d) {
@@ -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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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;
@@ -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-2022 @polkadot/types-codec authors & contributors
8
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
 
11
11
  /**
@@ -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-2022 @polkadot/types-codec authors & contributors
11
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
12
12
  // SPDX-License-Identifier: Apache-2.0
13
13
 
14
14
  function noopSetDefinition(d) {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
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 = [];
@@ -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-2022 @polkadot/types-codec authors & contributors
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
@@ -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-2022 @polkadot/types-codec authors & contributors
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 {
@@ -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-2022 @polkadot/types-codec authors & contributors
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');
@@ -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-2022 @polkadot/types-codec authors & contributors
9
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
10
10
  // SPDX-License-Identifier: Apache-2.0
11
11
 
12
12
  /** @internal */
@@ -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-2022 @polkadot/types-codec authors & contributors
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
@@ -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-2022 @polkadot/types-codec authors & contributors
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 {
@@ -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-2022 @polkadot/types-codec authors & contributors
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();
@@ -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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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) {
@@ -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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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 {
@@ -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-2022 @polkadot/types-codec authors & contributors
9
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
10
10
  // SPDX-License-Identifier: Apache-2.0
11
11
 
12
12
  /**
@@ -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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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 {
@@ -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-2022 @polkadot/types-codec authors & contributors
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.CodecDate = void 0;
7
7
  var _util = require("@polkadot/util");
8
- // Copyright 2017-2022 @polkadot/types-codec authors & contributors
8
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
 
11
11
  const BITLENGTH = 64;
@@ -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-2022 @polkadot/types-codec authors & contributors
8
+ // Copyright 2017-2023 @polkadot/types-codec authors & contributors
9
9
  // SPDX-License-Identifier: Apache-2.0
10
10
 
11
11
  /**
@@ -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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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-2022 @polkadot/types-codec authors & contributors
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) {