@polkadot/types-codec 7.8.2-7 → 7.9.2-0

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/primitive/I16.cjs CHANGED
@@ -16,11 +16,8 @@ var _Int = require("../base/Int.cjs");
16
16
  * A 16-bit signed integer
17
17
  */
18
18
  class i16 extends _Int.Int.with(16) {
19
- constructor() {
20
- super(...arguments);
21
- this.__IntType = 'i16';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __IntType = 'i16';
24
21
  }
25
22
 
26
23
  exports.i16 = i16;
@@ -16,11 +16,8 @@ var _Int = require("../base/Int.cjs");
16
16
  * A 256-bit signed integer
17
17
  */
18
18
  class i256 extends _Int.Int.with(256) {
19
- constructor() {
20
- super(...arguments);
21
- this.__IntType = 'i256';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __IntType = 'i256';
24
21
  }
25
22
 
26
23
  exports.i256 = i256;
package/primitive/I32.cjs CHANGED
@@ -16,11 +16,8 @@ var _Int = require("../base/Int.cjs");
16
16
  * A 32-bit signed integer
17
17
  */
18
18
  class i32 extends _Int.Int.with(32) {
19
- constructor() {
20
- super(...arguments);
21
- this.__IntType = 'i32';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __IntType = 'i32';
24
21
  }
25
22
 
26
23
  exports.i32 = i32;
package/primitive/I64.cjs CHANGED
@@ -16,11 +16,8 @@ var _Int = require("../base/Int.cjs");
16
16
  * A 64-bit signed integer
17
17
  */
18
18
  class i64 extends _Int.Int.with(64) {
19
- constructor() {
20
- super(...arguments);
21
- this.__IntType = 'i64';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __IntType = 'i64';
24
21
  }
25
22
 
26
23
  exports.i64 = i64;
package/primitive/I8.cjs CHANGED
@@ -16,11 +16,8 @@ var _Int = require("../base/Int.cjs");
16
16
  * An 8-bit signed integer
17
17
  */
18
18
  class i8 extends _Int.Int.with(8) {
19
- constructor() {
20
- super(...arguments);
21
- this.__IntType = 'i8';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __IntType = 'i8';
24
21
  }
25
22
 
26
23
  exports.i8 = i8;
@@ -16,11 +16,8 @@ var _UInt = require("../base/UInt.cjs");
16
16
  * A 128-bit unsigned integer
17
17
  */
18
18
  class u128 extends _UInt.UInt.with(128) {
19
- constructor() {
20
- super(...arguments);
21
- this.__UIntType = 'u128';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __UIntType = 'u128';
24
21
  }
25
22
 
26
23
  exports.u128 = u128;
package/primitive/U16.cjs CHANGED
@@ -16,11 +16,8 @@ var _UInt = require("../base/UInt.cjs");
16
16
  * A 16-bit unsigned integer
17
17
  */
18
18
  class u16 extends _UInt.UInt.with(16) {
19
- constructor() {
20
- super(...arguments);
21
- this.__UIntType = 'u16';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __UIntType = 'u16';
24
21
  }
25
22
 
26
23
  exports.u16 = u16;
@@ -16,11 +16,8 @@ var _UInt = require("../base/UInt.cjs");
16
16
  * A 256-bit unsigned integer
17
17
  */
18
18
  class u256 extends _UInt.UInt.with(256) {
19
- constructor() {
20
- super(...arguments);
21
- this.__UIntType = 'u256';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __UIntType = 'u256';
24
21
  }
25
22
 
26
23
  exports.u256 = u256;
package/primitive/U32.cjs CHANGED
@@ -16,11 +16,8 @@ var _UInt = require("../base/UInt.cjs");
16
16
  * A 32-bit unsigned integer
17
17
  */
18
18
  class u32 extends _UInt.UInt.with(32) {
19
- constructor() {
20
- super(...arguments);
21
- this.__UIntType = 'u32';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __UIntType = 'u32';
24
21
  }
25
22
 
26
23
  exports.u32 = u32;
package/primitive/U64.cjs CHANGED
@@ -16,11 +16,8 @@ var _UInt = require("../base/UInt.cjs");
16
16
  * A 64-bit unsigned integer
17
17
  */
18
18
  class u64 extends _UInt.UInt.with(64) {
19
- constructor() {
20
- super(...arguments);
21
- this.__UIntType = 'u64';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __UIntType = 'u64';
24
21
  }
25
22
 
26
23
  exports.u64 = u64;
package/primitive/U8.cjs CHANGED
@@ -16,11 +16,8 @@ var _UInt = require("../base/UInt.cjs");
16
16
  * An 8-bit unsigned integer
17
17
  */
18
18
  class u8 extends _UInt.UInt.with(8) {
19
- constructor() {
20
- super(...arguments);
21
- this.__UIntType = 'u8';
22
- }
23
-
19
+ // NOTE without this, we cannot properly determine extensions
20
+ __UIntType = 'u8';
24
21
  }
25
22
 
26
23
  exports.u8 = u8;