@taquito/utils 23.1.0 → 24.0.0-RC.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/dist/lib/version.js
CHANGED
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
5
5
|
exports.VERSION = {
|
|
6
|
-
"commitHash": "
|
|
7
|
-
"version": "
|
|
6
|
+
"commitHash": "0e66f21b0164a7add990b5c0d60698086daece99",
|
|
7
|
+
"version": "24.0.0-RC.0"
|
|
8
8
|
};
|
|
@@ -851,8 +851,8 @@ function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
|
|
|
851
851
|
byteOffset = 0;
|
|
852
852
|
} else if (byteOffset > 0x7fffffff) {
|
|
853
853
|
byteOffset = 0x7fffffff;
|
|
854
|
-
} else if (byteOffset < -
|
|
855
|
-
byteOffset = -
|
|
854
|
+
} else if (byteOffset < -2147483648) {
|
|
855
|
+
byteOffset = -2147483648;
|
|
856
856
|
}
|
|
857
857
|
byteOffset = +byteOffset; // Coerce to Number.
|
|
858
858
|
if (isNaN(byteOffset)) {
|
|
@@ -1611,7 +1611,7 @@ Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, no
|
|
|
1611
1611
|
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
1612
1612
|
value = +value;
|
|
1613
1613
|
offset = offset | 0;
|
|
1614
|
-
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -
|
|
1614
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -128);
|
|
1615
1615
|
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);
|
|
1616
1616
|
if (value < 0) value = 0xff + value + 1;
|
|
1617
1617
|
this[offset] = (value & 0xff);
|
|
@@ -1621,7 +1621,7 @@ Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
|
1621
1621
|
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
1622
1622
|
value = +value;
|
|
1623
1623
|
offset = offset | 0;
|
|
1624
|
-
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -
|
|
1624
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
|
|
1625
1625
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1626
1626
|
this[offset] = (value & 0xff);
|
|
1627
1627
|
this[offset + 1] = (value >>> 8);
|
|
@@ -1634,7 +1634,7 @@ Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert)
|
|
|
1634
1634
|
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
1635
1635
|
value = +value;
|
|
1636
1636
|
offset = offset | 0;
|
|
1637
|
-
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -
|
|
1637
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
|
|
1638
1638
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1639
1639
|
this[offset] = (value >>> 8);
|
|
1640
1640
|
this[offset + 1] = (value & 0xff);
|
|
@@ -1647,7 +1647,7 @@ Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert)
|
|
|
1647
1647
|
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
1648
1648
|
value = +value;
|
|
1649
1649
|
offset = offset | 0;
|
|
1650
|
-
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -
|
|
1650
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
|
|
1651
1651
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1652
1652
|
this[offset] = (value & 0xff);
|
|
1653
1653
|
this[offset + 1] = (value >>> 8);
|
|
@@ -1662,7 +1662,7 @@ Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert)
|
|
|
1662
1662
|
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
1663
1663
|
value = +value;
|
|
1664
1664
|
offset = offset | 0;
|
|
1665
|
-
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -
|
|
1665
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
|
|
1666
1666
|
if (value < 0) value = 0xffffffff + value + 1;
|
|
1667
1667
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1668
1668
|
this[offset] = (value >>> 24);
|
|
@@ -2978,8 +2978,8 @@ function validateSmartRollupAddress(value) {
|
|
|
2978
2978
|
|
|
2979
2979
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
2980
2980
|
const VERSION = {
|
|
2981
|
-
"commitHash": "
|
|
2982
|
-
"version": "
|
|
2981
|
+
"commitHash": "0e66f21b0164a7add990b5c0d60698086daece99",
|
|
2982
|
+
"version": "24.0.0-RC.0"
|
|
2983
2983
|
};
|
|
2984
2984
|
|
|
2985
2985
|
const BLS12_381_DST = 'BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_';
|
|
@@ -846,8 +846,8 @@
|
|
|
846
846
|
byteOffset = 0;
|
|
847
847
|
} else if (byteOffset > 0x7fffffff) {
|
|
848
848
|
byteOffset = 0x7fffffff;
|
|
849
|
-
} else if (byteOffset < -
|
|
850
|
-
byteOffset = -
|
|
849
|
+
} else if (byteOffset < -2147483648) {
|
|
850
|
+
byteOffset = -2147483648;
|
|
851
851
|
}
|
|
852
852
|
byteOffset = +byteOffset; // Coerce to Number.
|
|
853
853
|
if (isNaN(byteOffset)) {
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
1607
1607
|
value = +value;
|
|
1608
1608
|
offset = offset | 0;
|
|
1609
|
-
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -
|
|
1609
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -128);
|
|
1610
1610
|
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value);
|
|
1611
1611
|
if (value < 0) value = 0xff + value + 1;
|
|
1612
1612
|
this[offset] = (value & 0xff);
|
|
@@ -1616,7 +1616,7 @@
|
|
|
1616
1616
|
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
1617
1617
|
value = +value;
|
|
1618
1618
|
offset = offset | 0;
|
|
1619
|
-
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -
|
|
1619
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
|
|
1620
1620
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1621
1621
|
this[offset] = (value & 0xff);
|
|
1622
1622
|
this[offset + 1] = (value >>> 8);
|
|
@@ -1629,7 +1629,7 @@
|
|
|
1629
1629
|
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
1630
1630
|
value = +value;
|
|
1631
1631
|
offset = offset | 0;
|
|
1632
|
-
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -
|
|
1632
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -32768);
|
|
1633
1633
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1634
1634
|
this[offset] = (value >>> 8);
|
|
1635
1635
|
this[offset + 1] = (value & 0xff);
|
|
@@ -1642,7 +1642,7 @@
|
|
|
1642
1642
|
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
1643
1643
|
value = +value;
|
|
1644
1644
|
offset = offset | 0;
|
|
1645
|
-
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -
|
|
1645
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
|
|
1646
1646
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1647
1647
|
this[offset] = (value & 0xff);
|
|
1648
1648
|
this[offset + 1] = (value >>> 8);
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
1658
1658
|
value = +value;
|
|
1659
1659
|
offset = offset | 0;
|
|
1660
|
-
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -
|
|
1660
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -2147483648);
|
|
1661
1661
|
if (value < 0) value = 0xffffffff + value + 1;
|
|
1662
1662
|
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1663
1663
|
this[offset] = (value >>> 24);
|
|
@@ -2973,8 +2973,8 @@
|
|
|
2973
2973
|
|
|
2974
2974
|
// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
|
|
2975
2975
|
const VERSION = {
|
|
2976
|
-
"commitHash": "
|
|
2977
|
-
"version": "
|
|
2976
|
+
"commitHash": "0e66f21b0164a7add990b5c0d60698086daece99",
|
|
2977
|
+
"version": "24.0.0-RC.0"
|
|
2978
2978
|
};
|
|
2979
2979
|
|
|
2980
2980
|
const BLS12_381_DST = 'BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taquito/utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-RC.0",
|
|
4
4
|
"description": "converts michelson data and types into convenient JS/TS objects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tezos",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@noble/curves": "^1.9.7",
|
|
66
66
|
"@stablelib/blake2b": "^1.0.1",
|
|
67
67
|
"@stablelib/ed25519": "^1.0.3",
|
|
68
|
-
"@taquito/core": "^
|
|
68
|
+
"@taquito/core": "^24.0.0-RC.0",
|
|
69
69
|
"@types/bs58check": "^2.1.2",
|
|
70
70
|
"bignumber.js": "^9.1.2",
|
|
71
71
|
"blakejs": "^1.2.1",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"ts-toolbelt": "^9.6.0",
|
|
103
103
|
"typescript": "~5.5.4"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "784d536e73487529e402a3379be899bc5ac0342c"
|
|
106
106
|
}
|