@taquito/michel-codec 20.0.2-beta.0 → 20.0.2-beta.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.
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.encodeBase58Check = exports.decodeBase58Check = exports.encodeBase58 = exports.decodeBase58 = exports.Base58DecodingError = void 0;
3
+ exports.Base58DecodingError = void 0;
4
+ exports.decodeBase58 = decodeBase58;
5
+ exports.encodeBase58 = encodeBase58;
6
+ exports.decodeBase58Check = decodeBase58Check;
7
+ exports.encodeBase58Check = encodeBase58Check;
4
8
  const core_1 = require("@taquito/core");
5
9
  const H = [
6
10
  0x6a09e667 | 0,
@@ -206,7 +210,6 @@ function decodeBase58(src) {
206
210
  }
207
211
  return acc.reverse();
208
212
  }
209
- exports.decodeBase58 = decodeBase58;
210
213
  function encodeBase58(src) {
211
214
  const acc = [];
212
215
  let i = 0;
@@ -230,7 +233,6 @@ function encodeBase58(src) {
230
233
  acc.reverse();
231
234
  return String.fromCharCode(...acc.map((v) => base58alphabetBwd[v] + 49));
232
235
  }
233
- exports.encodeBase58 = encodeBase58;
234
236
  function decodeBase58Check(src) {
235
237
  const buffer = decodeBase58(src);
236
238
  if (buffer.length < 4) {
@@ -247,9 +249,7 @@ function decodeBase58Check(src) {
247
249
  }
248
250
  return data;
249
251
  }
250
- exports.decodeBase58Check = decodeBase58Check;
251
252
  function encodeBase58Check(src) {
252
253
  const sum = sha256(sha256(src));
253
254
  return encodeBase58([...src, ...sum.slice(0, 4)]);
254
255
  }
255
- exports.encodeBase58Check = encodeBase58Check;
@@ -1,6 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decodePublicKeyBytes = exports.decodePublicKeyHashBytes = exports.decodeAddressBytes = exports.unpackDataBytes = exports.unpackData = exports.packDataBytes = exports.packData = void 0;
3
+ exports.packData = packData;
4
+ exports.packDataBytes = packDataBytes;
5
+ exports.unpackData = unpackData;
6
+ exports.unpackDataBytes = unpackDataBytes;
7
+ exports.decodeAddressBytes = decodeAddressBytes;
8
+ exports.decodePublicKeyHashBytes = decodePublicKeyHashBytes;
9
+ exports.decodePublicKeyBytes = decodePublicKeyBytes;
4
10
  const michelson_validator_1 = require("./michelson-validator");
5
11
  const utils_1 = require("./utils");
6
12
  // The order is important!
@@ -925,7 +931,6 @@ function packData(d, t) {
925
931
  writeExpr(d, w, t !== undefined ? getWriteTransformFunc(t) : writePassThrough);
926
932
  return w.buffer;
927
933
  }
928
- exports.packData = packData;
929
934
  /**
930
935
  * Serializes any value of packable type to its optimized binary representation
931
936
  * identical to the one used by PACK and UNPACK Michelson instructions.
@@ -951,7 +956,6 @@ exports.packData = packData;
951
956
  function packDataBytes(d, t) {
952
957
  return { bytes: (0, utils_1.hexBytes)(packData(d, t)) };
953
958
  }
954
- exports.packDataBytes = packDataBytes;
955
959
  const getReadTransformFuncs = (t) => {
956
960
  if ((0, utils_1.isPairType)(t)) {
957
961
  return [
@@ -1212,7 +1216,6 @@ function unpackData(src, t) {
1212
1216
  }
1213
1217
  throw new Error(); // never
1214
1218
  }
1215
- exports.unpackData = unpackData;
1216
1219
  /**
1217
1220
  * Deserialize a byte array into the corresponding Michelson value.
1218
1221
  * Same as {@link unpackData} but takes a `bytes` Michelson data literal instead of an array
@@ -1239,7 +1242,6 @@ function unpackDataBytes(src, t) {
1239
1242
  }
1240
1243
  return unpackData(bytes, t);
1241
1244
  }
1242
- exports.unpackDataBytes = unpackDataBytes;
1243
1245
  // helper functions also used by validator
1244
1246
  function decodeAddressBytes(b) {
1245
1247
  const bytes = (0, utils_1.parseBytes)(b.bytes);
@@ -1249,7 +1251,6 @@ function decodeAddressBytes(b) {
1249
1251
  const rd = new Reader(new Uint8Array(bytes));
1250
1252
  return readAddress(rd);
1251
1253
  }
1252
- exports.decodeAddressBytes = decodeAddressBytes;
1253
1254
  function decodePublicKeyHashBytes(b) {
1254
1255
  const bytes = (0, utils_1.parseBytes)(b.bytes);
1255
1256
  if (bytes === null) {
@@ -1258,7 +1259,6 @@ function decodePublicKeyHashBytes(b) {
1258
1259
  const rd = new Reader(new Uint8Array(bytes));
1259
1260
  return readPublicKeyHash(rd);
1260
1261
  }
1261
- exports.decodePublicKeyHashBytes = decodePublicKeyHashBytes;
1262
1262
  function decodePublicKeyBytes(b) {
1263
1263
  const bytes = (0, utils_1.parseBytes)(b.bytes);
1264
1264
  if (bytes === null) {
@@ -1267,4 +1267,3 @@ function decodePublicKeyBytes(b) {
1267
1267
  const rd = new Reader(new Uint8Array(bytes));
1268
1268
  return readPublicKey(rd);
1269
1269
  }
1270
- exports.decodePublicKeyBytes = decodePublicKeyBytes;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatError = exports.traceDumpFunc = exports.formatStack = void 0;
3
+ exports.formatStack = formatStack;
4
+ exports.traceDumpFunc = traceDumpFunc;
5
+ exports.formatError = formatError;
4
6
  const micheline_1 = require("./micheline");
5
7
  const michelson_typecheck_1 = require("./michelson-typecheck");
6
8
  const micheline_emitter_1 = require("./micheline-emitter");
@@ -16,7 +18,6 @@ function formatStack(s) {
16
18
  })
17
19
  .join('\n');
18
20
  }
19
- exports.formatStack = formatStack;
20
21
  function traceDumpFunc(blocks, cb) {
21
22
  return (v) => {
22
23
  var _a;
@@ -33,7 +34,6 @@ ${formatStack(v.out)}
33
34
  cb(msg);
34
35
  };
35
36
  }
36
- exports.traceDumpFunc = traceDumpFunc;
37
37
  function formatError(err) {
38
38
  var _a;
39
39
  if (err instanceof michelson_typecheck_1.MichelsonInstructionError) {
@@ -58,4 +58,3 @@ ${err.data
58
58
  return `Value: ${(0, micheline_emitter_1.emitMicheline)(err.val)}`;
59
59
  }
60
60
  }
61
- exports.formatError = formatError;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.expandGlobalConstants = void 0;
3
+ exports.expandGlobalConstants = expandGlobalConstants;
4
4
  function expandGlobalConstants(ex, hashAndValue) {
5
5
  if (ex.args !== undefined &&
6
6
  ex.args.length === 1 &&
@@ -10,4 +10,3 @@ function expandGlobalConstants(ex, hashAndValue) {
10
10
  }
11
11
  return ex;
12
12
  }
13
- exports.expandGlobalConstants = expandGlobalConstants;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.expandMacros = exports.MacroError = void 0;
3
+ exports.MacroError = void 0;
4
+ exports.expandMacros = expandMacros;
4
5
  const core_1 = require("@taquito/core");
5
6
  const michelson_types_1 = require("./michelson-types");
6
7
  /**
@@ -545,4 +546,3 @@ function expandMacros(ex, opt) {
545
546
  }
546
547
  return ex;
547
548
  }
548
- exports.expandMacros = expandMacros;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.emitMicheline = void 0;
3
+ exports.emitMicheline = emitMicheline;
4
4
  const micheline_1 = require("./micheline");
5
5
  class Formatter {
6
6
  constructor(opt, lev = 0) {
@@ -130,4 +130,3 @@ function emitMicheline(expr, opt, foldMacros = false) {
130
130
  }
131
131
  return emitExpr(expr, new Formatter(opt), foldMacros);
132
132
  }
133
- exports.emitMicheline = emitMicheline;
@@ -11,7 +11,20 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  return t;
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.isTypeEqual = exports.isDataValid = exports.isContractValid = exports.isTypeAnnotationsValid = exports.assertTypesEqual = exports.functionType = exports.assertDataValid = exports.assertContractValid = exports.contractEntryPoints = exports.contractEntryPoint = exports.contractViews = exports.contractSection = exports.assertTypeAnnotationsValid = exports.MichelsonInstructionError = void 0;
14
+ exports.MichelsonInstructionError = void 0;
15
+ exports.assertTypeAnnotationsValid = assertTypeAnnotationsValid;
16
+ exports.contractSection = contractSection;
17
+ exports.contractViews = contractViews;
18
+ exports.contractEntryPoint = contractEntryPoint;
19
+ exports.contractEntryPoints = contractEntryPoints;
20
+ exports.assertContractValid = assertContractValid;
21
+ exports.assertDataValid = assertDataValid;
22
+ exports.functionType = functionType;
23
+ exports.assertTypesEqual = assertTypesEqual;
24
+ exports.isTypeAnnotationsValid = isTypeAnnotationsValid;
25
+ exports.isContractValid = isContractValid;
26
+ exports.isDataValid = isDataValid;
27
+ exports.isTypeEqual = isTypeEqual;
15
28
  const michelson_types_1 = require("./michelson-types");
16
29
  const utils_1 = require("./utils");
17
30
  const base58_1 = require("./base58");
@@ -134,7 +147,6 @@ function assertTypeAnnotationsValid(t, field = false) {
134
147
  assertTypeAnnotationsValid(t.args[1]);
135
148
  }
136
149
  }
137
- exports.assertTypeAnnotationsValid = assertTypeAnnotationsValid;
138
150
  // Data integrity check
139
151
  function _compareMichelsonData(t, a, b) {
140
152
  if ((0, utils_1.isPairType)(t)) {
@@ -1565,7 +1577,6 @@ function contractSection(contract, section) {
1565
1577
  }
1566
1578
  throw new utils_1.MichelsonError(contract, `missing contract section: ${section}`);
1567
1579
  }
1568
- exports.contractSection = contractSection;
1569
1580
  function contractViews(contract) {
1570
1581
  const views = {};
1571
1582
  for (const s of contract) {
@@ -1575,7 +1586,6 @@ function contractViews(contract) {
1575
1586
  }
1576
1587
  return views;
1577
1588
  }
1578
- exports.contractViews = contractViews;
1579
1589
  function isContract(v) {
1580
1590
  if (Array.isArray(v)) {
1581
1591
  for (const s of v) {
@@ -1597,7 +1607,6 @@ function contractEntryPoint(src, ep) {
1597
1607
  }
1598
1608
  return null;
1599
1609
  }
1600
- exports.contractEntryPoint = contractEntryPoint;
1601
1610
  function isOrType(t) {
1602
1611
  return Array.isArray(t) || t.prim === 'or';
1603
1612
  }
@@ -1622,7 +1631,6 @@ function contractEntryPoints(src) {
1622
1631
  }
1623
1632
  return [];
1624
1633
  }
1625
- exports.contractEntryPoints = contractEntryPoints;
1626
1634
  // Contract validation
1627
1635
  function assertContractValid(contract, ctx) {
1628
1636
  const assertSection = (parameter, storage, ret, code) => {
@@ -1665,13 +1673,11 @@ function assertContractValid(contract, ctx) {
1665
1673
  }
1666
1674
  return ret;
1667
1675
  }
1668
- exports.assertContractValid = assertContractValid;
1669
1676
  // Exported wrapper functions
1670
1677
  function assertDataValid(d, t, ctx) {
1671
1678
  assertTypeAnnotationsValid(t);
1672
1679
  assertDataValidInternal(d, t, ctx || null);
1673
1680
  }
1674
- exports.assertDataValid = assertDataValid;
1675
1681
  function functionType(inst, stack, ctx) {
1676
1682
  for (const t of stack) {
1677
1683
  assertTypeAnnotationsValid(t);
@@ -1684,7 +1690,6 @@ function functionType(inst, stack, ctx) {
1684
1690
  }
1685
1691
  return functionTypeInternal(inst, stack, ctx || null);
1686
1692
  }
1687
- exports.functionType = functionType;
1688
1693
  function assertTypesEqual(a, b, field = false) {
1689
1694
  if (Array.isArray(a)) {
1690
1695
  // type guards don't work for parametrized generic types
@@ -1701,7 +1706,6 @@ function assertTypesEqual(a, b, field = false) {
1701
1706
  }
1702
1707
  assertScalarTypesEqual(a, b, field);
1703
1708
  }
1704
- exports.assertTypesEqual = assertTypesEqual;
1705
1709
  function isTypeAnnotationsValid(t, field = false) {
1706
1710
  try {
1707
1711
  assertTypeAnnotationsValid(t, field);
@@ -1711,7 +1715,6 @@ function isTypeAnnotationsValid(t, field = false) {
1711
1715
  return false;
1712
1716
  }
1713
1717
  }
1714
- exports.isTypeAnnotationsValid = isTypeAnnotationsValid;
1715
1718
  function isContractValid(contract, ctx) {
1716
1719
  try {
1717
1720
  return assertContractValid(contract, ctx);
@@ -1720,7 +1723,6 @@ function isContractValid(contract, ctx) {
1720
1723
  return null;
1721
1724
  }
1722
1725
  }
1723
- exports.isContractValid = isContractValid;
1724
1726
  function isDataValid(d, t, ctx) {
1725
1727
  try {
1726
1728
  assertDataValid(d, t, ctx);
@@ -1730,7 +1732,6 @@ function isDataValid(d, t, ctx) {
1730
1732
  return false;
1731
1733
  }
1732
1734
  }
1733
- exports.isDataValid = isDataValid;
1734
1735
  function isTypeEqual(a, b, field = false) {
1735
1736
  try {
1736
1737
  assertTypesEqual(a, b, field);
@@ -1740,4 +1741,3 @@ function isTypeEqual(a, b, field = false) {
1740
1741
  return false;
1741
1742
  }
1742
1743
  }
1743
- exports.isTypeEqual = isTypeEqual;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProtoInferiorTo = exports.ProtoGreaterOrEqual = exports.DefaultProtocol = exports.Protocol = exports.refContract = void 0;
3
+ exports.DefaultProtocol = exports.Protocol = exports.refContract = void 0;
4
+ exports.ProtoGreaterOrEqual = ProtoGreaterOrEqual;
5
+ exports.ProtoInferiorTo = ProtoInferiorTo;
4
6
  // Michelson types
5
7
  exports.refContract = Symbol('ref_contract');
6
8
  var Protocol;
@@ -68,8 +70,6 @@ const protoLevel = {
68
70
  function ProtoGreaterOrEqual(a, b) {
69
71
  return protoLevel[a] >= protoLevel[b];
70
72
  }
71
- exports.ProtoGreaterOrEqual = ProtoGreaterOrEqual;
72
73
  function ProtoInferiorTo(a, b) {
73
74
  return protoLevel[a] < protoLevel[b];
74
75
  }
75
- exports.ProtoInferiorTo = ProtoInferiorTo;
@@ -1,6 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertDataListIfAny = exports.isInstruction = exports.isMichelsonType = exports.isMichelsonCode = exports.isMichelsonData = exports.isMichelsonScript = exports.assertMichelsonContract = exports.assertMichelsonData = exports.assertMichelsonType = exports.assertViewNameValid = exports.assertMichelsonBigMapStorableType = exports.assertMichelsonPassableType = exports.assertMichelsonStorableType = exports.assertMichelsonPushableType = exports.assertMichelsonPackableType = exports.assertMichelsonComparableType = exports.assertMichelsonInstruction = exports.MichelsonValidationError = exports.instructionIDs = void 0;
3
+ exports.MichelsonValidationError = exports.instructionIDs = void 0;
4
+ exports.assertMichelsonInstruction = assertMichelsonInstruction;
5
+ exports.assertMichelsonComparableType = assertMichelsonComparableType;
6
+ exports.assertMichelsonPackableType = assertMichelsonPackableType;
7
+ exports.assertMichelsonPushableType = assertMichelsonPushableType;
8
+ exports.assertMichelsonStorableType = assertMichelsonStorableType;
9
+ exports.assertMichelsonPassableType = assertMichelsonPassableType;
10
+ exports.assertMichelsonBigMapStorableType = assertMichelsonBigMapStorableType;
11
+ exports.assertViewNameValid = assertViewNameValid;
12
+ exports.assertMichelsonType = assertMichelsonType;
13
+ exports.assertMichelsonData = assertMichelsonData;
14
+ exports.assertMichelsonContract = assertMichelsonContract;
15
+ exports.isMichelsonScript = isMichelsonScript;
16
+ exports.isMichelsonData = isMichelsonData;
17
+ exports.isMichelsonCode = isMichelsonCode;
18
+ exports.isMichelsonType = isMichelsonType;
19
+ exports.isInstruction = isInstruction;
20
+ exports.assertDataListIfAny = assertDataListIfAny;
4
21
  const utils_1 = require("./utils");
5
22
  // Michelson validator
6
23
  const maxViewNameLength = 31;
@@ -404,7 +421,6 @@ function assertMichelsonInstruction(ex) {
404
421
  }
405
422
  return true;
406
423
  }
407
- exports.assertMichelsonInstruction = assertMichelsonInstruction;
408
424
  function assertMichelsonComparableType(ex) {
409
425
  /* istanbul ignore else */
410
426
  if (assertPrimOrSeq(ex)) {
@@ -417,7 +433,6 @@ function assertMichelsonComparableType(ex) {
417
433
  }
418
434
  return true;
419
435
  }
420
- exports.assertMichelsonComparableType = assertMichelsonComparableType;
421
436
  function assertMichelsonPackableType(ex) {
422
437
  /* istanbul ignore else */
423
438
  if (assertPrimOrSeq(ex)) {
@@ -434,7 +449,6 @@ function assertMichelsonPackableType(ex) {
434
449
  }
435
450
  return true;
436
451
  }
437
- exports.assertMichelsonPackableType = assertMichelsonPackableType;
438
452
  function assertMichelsonPushableType(ex) {
439
453
  /* istanbul ignore else */
440
454
  if (assertPrimOrSeq(ex)) {
@@ -452,7 +466,6 @@ function assertMichelsonPushableType(ex) {
452
466
  }
453
467
  return true;
454
468
  }
455
- exports.assertMichelsonPushableType = assertMichelsonPushableType;
456
469
  function assertMichelsonStorableType(ex) {
457
470
  /* istanbul ignore else */
458
471
  if (assertPrimOrSeq(ex)) {
@@ -467,7 +480,6 @@ function assertMichelsonStorableType(ex) {
467
480
  }
468
481
  return true;
469
482
  }
470
- exports.assertMichelsonStorableType = assertMichelsonStorableType;
471
483
  function assertMichelsonPassableType(ex) {
472
484
  /* istanbul ignore else */
473
485
  if (assertPrimOrSeq(ex)) {
@@ -480,7 +492,6 @@ function assertMichelsonPassableType(ex) {
480
492
  }
481
493
  return true;
482
494
  }
483
- exports.assertMichelsonPassableType = assertMichelsonPassableType;
484
495
  function assertMichelsonBigMapStorableType(ex) {
485
496
  /* istanbul ignore else */
486
497
  if (assertPrimOrSeq(ex)) {
@@ -496,7 +507,6 @@ function assertMichelsonBigMapStorableType(ex) {
496
507
  }
497
508
  return true;
498
509
  }
499
- exports.assertMichelsonBigMapStorableType = assertMichelsonBigMapStorableType;
500
510
  const viewRe = new RegExp('^[a-zA-Z0-9_.%@]*$');
501
511
  function assertViewNameValid(name) {
502
512
  if (name.string.length > maxViewNameLength) {
@@ -506,7 +516,6 @@ function assertViewNameValid(name) {
506
516
  throw new MichelsonValidationError(name, `invalid character(s) in view name: ${name.string}`);
507
517
  }
508
518
  }
509
- exports.assertViewNameValid = assertViewNameValid;
510
519
  /**
511
520
  * Checks if the node is a valid Michelson type expression.
512
521
  * This is a type guard function which either returns true of throws an exception.
@@ -524,7 +533,6 @@ function assertMichelsonType(ex) {
524
533
  }
525
534
  return true;
526
535
  }
527
- exports.assertMichelsonType = assertMichelsonType;
528
536
  function traverseType(ex, cb) {
529
537
  if (Array.isArray(ex) || ex.prim === 'pair') {
530
538
  const args = Array.isArray(ex) ? ex : ex.args;
@@ -685,7 +693,6 @@ function assertMichelsonData(ex) {
685
693
  }
686
694
  return true;
687
695
  }
688
- exports.assertMichelsonData = assertMichelsonData;
689
696
  /**
690
697
  * Checks if the node is a valid Michelson smart contract source containing all required and valid properties such as `parameter`, `storage` and `code`.
691
698
  * This is a type guard function which either returns true of throws an exception.
@@ -752,7 +759,6 @@ function assertMichelsonContract(ex) {
752
759
  }
753
760
  return true;
754
761
  }
755
- exports.assertMichelsonContract = assertMichelsonContract;
756
762
  /**
757
763
  * Checks if the node is a valid Michelson smart contract source containing all required and valid properties such as `parameter`, `storage` and `code`.
758
764
  * @param ex An AST node
@@ -766,7 +772,6 @@ function isMichelsonScript(ex) {
766
772
  return false;
767
773
  }
768
774
  }
769
- exports.isMichelsonScript = isMichelsonScript;
770
775
  /**
771
776
  * Checks if the node is a valid Michelson data literal such as `(Pair {Elt "0" 0} 0)`.
772
777
  * @param ex An AST node
@@ -780,7 +785,6 @@ function isMichelsonData(ex) {
780
785
  return false;
781
786
  }
782
787
  }
783
- exports.isMichelsonData = isMichelsonData;
784
788
  /**
785
789
  * Checks if the node is a valid Michelson code (sequence of instructions).
786
790
  * @param ex An AST node
@@ -794,7 +798,6 @@ function isMichelsonCode(ex) {
794
798
  return false;
795
799
  }
796
800
  }
797
- exports.isMichelsonCode = isMichelsonCode;
798
801
  /**
799
802
  * Checks if the node is a valid Michelson type expression.
800
803
  * @param ex An AST node
@@ -808,11 +811,9 @@ function isMichelsonType(ex) {
808
811
  return false;
809
812
  }
810
813
  }
811
- exports.isMichelsonType = isMichelsonType;
812
814
  function isInstruction(p) {
813
815
  return Object.prototype.hasOwnProperty.call(exports.instructionIDs, p.prim);
814
816
  }
815
- exports.isInstruction = isInstruction;
816
817
  function assertDataListIfAny(d) {
817
818
  if (!Array.isArray(d)) {
818
819
  return false;
@@ -829,4 +830,3 @@ function assertDataListIfAny(d) {
829
830
  }
830
831
  return true;
831
832
  }
832
- exports.assertDataListIfAny = assertDataListIfAny;
package/dist/lib/scan.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.scan = exports.Literal = exports.ScanError = void 0;
3
+ exports.Literal = exports.ScanError = void 0;
4
+ exports.scan = scan;
4
5
  const core_1 = require("@taquito/core");
5
6
  /**
6
7
  * @category Error
@@ -125,4 +126,3 @@ function* scan(src, scanComments = false) {
125
126
  }
126
127
  }
127
128
  }
128
- exports.scan = scan;
package/dist/lib/utils.js CHANGED
@@ -1,6 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hexBytes = exports.parseHex = exports.parseDate = exports.isPairData = exports.isPairType = exports.unpackComb = exports.encodeTezosID = exports.checkDecodeTezosID = exports.tezosPrefix = exports.unpackAnnotations = exports.isNatural = exports.isDecimal = exports.compareBytes = exports.parseBytes = exports.LongInteger = exports.MichelsonTypeError = exports.isMichelsonError = exports.MichelsonError = void 0;
3
+ exports.tezosPrefix = exports.LongInteger = exports.MichelsonTypeError = exports.MichelsonError = void 0;
4
+ exports.isMichelsonError = isMichelsonError;
5
+ exports.parseBytes = parseBytes;
6
+ exports.compareBytes = compareBytes;
7
+ exports.isDecimal = isDecimal;
8
+ exports.isNatural = isNatural;
9
+ exports.unpackAnnotations = unpackAnnotations;
10
+ exports.checkDecodeTezosID = checkDecodeTezosID;
11
+ exports.encodeTezosID = encodeTezosID;
12
+ exports.unpackComb = unpackComb;
13
+ exports.isPairType = isPairType;
14
+ exports.isPairData = isPairData;
15
+ exports.parseDate = parseDate;
16
+ exports.parseHex = parseHex;
17
+ exports.hexBytes = hexBytes;
4
18
  const base58_1 = require("./base58");
5
19
  const errors_1 = require("./errors");
6
20
  const core_1 = require("@taquito/core");
@@ -25,7 +39,6 @@ exports.MichelsonError = MichelsonError;
25
39
  function isMichelsonError(err) {
26
40
  return err instanceof MichelsonError;
27
41
  }
28
- exports.isMichelsonError = isMichelsonError;
29
42
  class MichelsonTypeError extends MichelsonError {
30
43
  /**
31
44
  * @param val Value of a type node caused the error
@@ -116,7 +129,6 @@ function parseBytes(s) {
116
129
  }
117
130
  return ret;
118
131
  }
119
- exports.parseBytes = parseBytes;
120
132
  function compareBytes(a, b) {
121
133
  if (a.length !== b.length) {
122
134
  return a.length < b.length ? -1 : 1;
@@ -132,7 +144,6 @@ function compareBytes(a, b) {
132
144
  return 0;
133
145
  }
134
146
  }
135
- exports.compareBytes = compareBytes;
136
147
  function isDecimal(x) {
137
148
  try {
138
149
  new LongInteger(x);
@@ -142,7 +153,6 @@ function isDecimal(x) {
142
153
  return false;
143
154
  }
144
155
  }
145
- exports.isDecimal = isDecimal;
146
156
  function isNatural(x) {
147
157
  try {
148
158
  return new LongInteger(x).sign >= 0;
@@ -151,7 +161,6 @@ function isNatural(x) {
151
161
  return false;
152
162
  }
153
163
  }
154
- exports.isNatural = isNatural;
155
164
  const annRe = /^(@%|@%%|%@|[@:%]([_0-9a-zA-Z][_0-9a-zA-Z.%@]*)?)$/;
156
165
  function unpackAnnotations(p, opt) {
157
166
  if (Array.isArray(p)) {
@@ -193,35 +202,34 @@ function unpackAnnotations(p, opt) {
193
202
  }
194
203
  return { f: field, t: type, v: vars };
195
204
  }
196
- exports.unpackAnnotations = unpackAnnotations;
197
205
  exports.tezosPrefix = {
198
- BlockHash: [32, [1, 52]],
199
- OperationHash: [32, [5, 116]],
200
- OperationListHash: [32, [133, 233]],
201
- OperationListListHash: [32, [29, 159, 109]],
202
- ProtocolHash: [32, [2, 170]],
203
- ContextHash: [32, [79, 199]],
204
- ED25519PublicKeyHash: [20, [6, 161, 159]],
205
- SECP256K1PublicKeyHash: [20, [6, 161, 161]],
206
- P256PublicKeyHash: [20, [6, 161, 164]],
207
- ContractHash: [20, [2, 90, 121]],
208
- CryptoboxPublicKeyHash: [16, [153, 103]],
209
- ED25519Seed: [32, [13, 15, 58, 7]],
210
- ED25519PublicKey: [32, [13, 15, 37, 217]],
211
- SECP256K1SecretKey: [32, [17, 162, 224, 201]],
212
- P256SecretKey: [32, [16, 81, 238, 189]],
213
- ED25519EncryptedSeed: [56, [7, 90, 60, 179, 41]],
214
- SECP256K1EncryptedSecretKey: [56, [9, 237, 241, 174, 150]],
215
- P256EncryptedSecretKey: [56, [9, 48, 57, 115, 171]],
216
- SECP256K1PublicKey: [33, [3, 254, 226, 86]],
217
- P256PublicKey: [33, [3, 178, 139, 127]],
218
- SECP256K1Scalar: [33, [38, 248, 136]],
219
- SECP256K1Element: [33, [5, 92, 0]],
220
- ED25519SecretKey: [64, [43, 246, 78, 7]],
221
- ED25519Signature: [64, [9, 245, 205, 134, 18]],
222
- SECP256K1Signature: [64, [13, 115, 101, 19, 63]],
223
- P256Signature: [64, [54, 240, 44, 52]],
224
- GenericSignature: [64, [4, 130, 43]],
206
+ BlockHash: [32, [1, 52]], // B(51)
207
+ OperationHash: [32, [5, 116]], // o(51)
208
+ OperationListHash: [32, [133, 233]], // Lo(52)
209
+ OperationListListHash: [32, [29, 159, 109]], // LLo(53)
210
+ ProtocolHash: [32, [2, 170]], // P(51)
211
+ ContextHash: [32, [79, 199]], // Co(52)
212
+ ED25519PublicKeyHash: [20, [6, 161, 159]], // tz1(36)
213
+ SECP256K1PublicKeyHash: [20, [6, 161, 161]], // tz2(36)
214
+ P256PublicKeyHash: [20, [6, 161, 164]], // tz3(36)
215
+ ContractHash: [20, [2, 90, 121]], // KT1(36)
216
+ CryptoboxPublicKeyHash: [16, [153, 103]], // id(30)
217
+ ED25519Seed: [32, [13, 15, 58, 7]], // edsk(54)
218
+ ED25519PublicKey: [32, [13, 15, 37, 217]], // edpk(54)
219
+ SECP256K1SecretKey: [32, [17, 162, 224, 201]], // spsk(54)
220
+ P256SecretKey: [32, [16, 81, 238, 189]], // p2sk(54)
221
+ ED25519EncryptedSeed: [56, [7, 90, 60, 179, 41]], // edesk(88)
222
+ SECP256K1EncryptedSecretKey: [56, [9, 237, 241, 174, 150]], // spesk(88)
223
+ P256EncryptedSecretKey: [56, [9, 48, 57, 115, 171]], // p2esk(88)
224
+ SECP256K1PublicKey: [33, [3, 254, 226, 86]], // sppk(55)
225
+ P256PublicKey: [33, [3, 178, 139, 127]], // p2pk(55)
226
+ SECP256K1Scalar: [33, [38, 248, 136]], // SSp(53)
227
+ SECP256K1Element: [33, [5, 92, 0]], // GSp(54)
228
+ ED25519SecretKey: [64, [43, 246, 78, 7]], // edsk(98)
229
+ ED25519Signature: [64, [9, 245, 205, 134, 18]], // edsig(99)
230
+ SECP256K1Signature: [64, [13, 115, 101, 19, 63]], // spsig1(99)
231
+ P256Signature: [64, [54, 240, 44, 52]], // p2sig(98)
232
+ GenericSignature: [64, [4, 130, 43]], // sig(96)
225
233
  ChainID: [4, [87, 82, 0]],
226
234
  RollupAddress: [20, [1, 128, 120, 31]],
227
235
  };
@@ -241,7 +249,6 @@ function checkDecodeTezosID(id, ...types) {
241
249
  }
242
250
  return null;
243
251
  }
244
- exports.checkDecodeTezosID = checkDecodeTezosID;
245
252
  function encodeTezosID(id, data) {
246
253
  const [plen, p] = exports.tezosPrefix[id];
247
254
  if (data.length !== plen) {
@@ -249,7 +256,6 @@ function encodeTezosID(id, data) {
249
256
  }
250
257
  return (0, base58_1.encodeBase58Check)([...p, ...data]);
251
258
  }
252
- exports.encodeTezosID = encodeTezosID;
253
259
  function unpackComb(id, v) {
254
260
  const vv = v;
255
261
  const args = Array.isArray(vv) ? vv : vv.args;
@@ -274,15 +280,12 @@ function unpackComb(id, v) {
274
280
  },
275
281
  ] });
276
282
  }
277
- exports.unpackComb = unpackComb;
278
283
  function isPairType(t) {
279
284
  return Array.isArray(t) || t.prim === 'pair';
280
285
  }
281
- exports.isPairType = isPairType;
282
286
  function isPairData(d) {
283
287
  return Array.isArray(d) || ('prim' in d && d.prim === 'Pair');
284
288
  }
285
- exports.isPairData = isPairData;
286
289
  const rfc3339Re = /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])[T ]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|[+-]([01][0-9]|2[0-3]):([0-5][0-9]))$/;
287
290
  function parseDate(a) {
288
291
  if ('string' in a) {
@@ -301,7 +304,6 @@ function parseDate(a) {
301
304
  }
302
305
  return null;
303
306
  }
304
- exports.parseDate = parseDate;
305
307
  function parseHex(s) {
306
308
  const res = [];
307
309
  for (let i = 0; i < s.length; i += 2) {
@@ -314,8 +316,6 @@ function parseHex(s) {
314
316
  }
315
317
  return res;
316
318
  }
317
- exports.parseHex = parseHex;
318
319
  function hexBytes(bytes) {
319
320
  return bytes.map((x) => ((x >> 4) & 0xf).toString(16) + (x & 0xf).toString(16)).join('');
320
321
  }
321
- exports.hexBytes = hexBytes;
@@ -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": "8c7737cb6ad36ea87f5f8833e012a9d472832790",
7
- "version": "20.0.2-beta.0"
6
+ "commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97",
7
+ "version": "20.0.2-beta.2"
8
8
  };
@@ -1765,33 +1765,33 @@ function unpackAnnotations(p, opt) {
1765
1765
  return { f: field, t: type, v: vars };
1766
1766
  }
1767
1767
  const tezosPrefix = {
1768
- BlockHash: [32, [1, 52]],
1769
- OperationHash: [32, [5, 116]],
1770
- OperationListHash: [32, [133, 233]],
1771
- OperationListListHash: [32, [29, 159, 109]],
1772
- ProtocolHash: [32, [2, 170]],
1773
- ContextHash: [32, [79, 199]],
1774
- ED25519PublicKeyHash: [20, [6, 161, 159]],
1775
- SECP256K1PublicKeyHash: [20, [6, 161, 161]],
1776
- P256PublicKeyHash: [20, [6, 161, 164]],
1777
- ContractHash: [20, [2, 90, 121]],
1778
- CryptoboxPublicKeyHash: [16, [153, 103]],
1779
- ED25519Seed: [32, [13, 15, 58, 7]],
1780
- ED25519PublicKey: [32, [13, 15, 37, 217]],
1781
- SECP256K1SecretKey: [32, [17, 162, 224, 201]],
1782
- P256SecretKey: [32, [16, 81, 238, 189]],
1783
- ED25519EncryptedSeed: [56, [7, 90, 60, 179, 41]],
1784
- SECP256K1EncryptedSecretKey: [56, [9, 237, 241, 174, 150]],
1785
- P256EncryptedSecretKey: [56, [9, 48, 57, 115, 171]],
1786
- SECP256K1PublicKey: [33, [3, 254, 226, 86]],
1787
- P256PublicKey: [33, [3, 178, 139, 127]],
1788
- SECP256K1Scalar: [33, [38, 248, 136]],
1789
- SECP256K1Element: [33, [5, 92, 0]],
1790
- ED25519SecretKey: [64, [43, 246, 78, 7]],
1791
- ED25519Signature: [64, [9, 245, 205, 134, 18]],
1792
- SECP256K1Signature: [64, [13, 115, 101, 19, 63]],
1793
- P256Signature: [64, [54, 240, 44, 52]],
1794
- GenericSignature: [64, [4, 130, 43]],
1768
+ BlockHash: [32, [1, 52]], // B(51)
1769
+ OperationHash: [32, [5, 116]], // o(51)
1770
+ OperationListHash: [32, [133, 233]], // Lo(52)
1771
+ OperationListListHash: [32, [29, 159, 109]], // LLo(53)
1772
+ ProtocolHash: [32, [2, 170]], // P(51)
1773
+ ContextHash: [32, [79, 199]], // Co(52)
1774
+ ED25519PublicKeyHash: [20, [6, 161, 159]], // tz1(36)
1775
+ SECP256K1PublicKeyHash: [20, [6, 161, 161]], // tz2(36)
1776
+ P256PublicKeyHash: [20, [6, 161, 164]], // tz3(36)
1777
+ ContractHash: [20, [2, 90, 121]], // KT1(36)
1778
+ CryptoboxPublicKeyHash: [16, [153, 103]], // id(30)
1779
+ ED25519Seed: [32, [13, 15, 58, 7]], // edsk(54)
1780
+ ED25519PublicKey: [32, [13, 15, 37, 217]], // edpk(54)
1781
+ SECP256K1SecretKey: [32, [17, 162, 224, 201]], // spsk(54)
1782
+ P256SecretKey: [32, [16, 81, 238, 189]], // p2sk(54)
1783
+ ED25519EncryptedSeed: [56, [7, 90, 60, 179, 41]], // edesk(88)
1784
+ SECP256K1EncryptedSecretKey: [56, [9, 237, 241, 174, 150]], // spesk(88)
1785
+ P256EncryptedSecretKey: [56, [9, 48, 57, 115, 171]], // p2esk(88)
1786
+ SECP256K1PublicKey: [33, [3, 254, 226, 86]], // sppk(55)
1787
+ P256PublicKey: [33, [3, 178, 139, 127]], // p2pk(55)
1788
+ SECP256K1Scalar: [33, [38, 248, 136]], // SSp(53)
1789
+ SECP256K1Element: [33, [5, 92, 0]], // GSp(54)
1790
+ ED25519SecretKey: [64, [43, 246, 78, 7]], // edsk(98)
1791
+ ED25519Signature: [64, [9, 245, 205, 134, 18]], // edsig(99)
1792
+ SECP256K1Signature: [64, [13, 115, 101, 19, 63]], // spsig1(99)
1793
+ P256Signature: [64, [54, 240, 44, 52]], // p2sig(98)
1794
+ GenericSignature: [64, [4, 130, 43]], // sig(96)
1795
1795
  ChainID: [4, [87, 82, 0]],
1796
1796
  RollupAddress: [20, [1, 128, 120, 31]],
1797
1797
  };
@@ -5759,8 +5759,8 @@ ${err.data
5759
5759
 
5760
5760
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5761
5761
  const VERSION = {
5762
- "commitHash": "8c7737cb6ad36ea87f5f8833e012a9d472832790",
5763
- "version": "20.0.2-beta.0"
5762
+ "commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97",
5763
+ "version": "20.0.2-beta.2"
5764
5764
  };
5765
5765
 
5766
5766
  export { Contract, DefaultProtocol, JSONParseError, MacroError, MichelineParseError, MichelsonError, MichelsonInstructionError, MichelsonTypeError, MichelsonValidationError, Parser, ProtoGreaterOrEqual, ProtoInferiorTo, Protocol, VERSION, assertContractValid, assertDataListIfAny, assertDataValid, assertMichelsonBigMapStorableType, assertMichelsonComparableType, assertMichelsonContract, assertMichelsonData, assertMichelsonInstruction, assertMichelsonPackableType, assertMichelsonPassableType, assertMichelsonPushableType, assertMichelsonStorableType, assertMichelsonType, assertTypeAnnotationsValid, assertTypesEqual, assertViewNameValid, contractEntryPoint, contractEntryPoints, contractSection, contractViews, decodeAddressBytes, decodePublicKeyBytes, decodePublicKeyHashBytes, dummyContract, emitMicheline, formatError, formatStack, functionType, instructionIDs, isContractValid, isDataValid, isInstruction, isMichelsonCode, isMichelsonData, isMichelsonError, isMichelsonScript, isMichelsonType, isTypeAnnotationsValid, isTypeEqual, packData, packDataBytes, refContract, sourceReference, traceDumpFunc, unpackData, unpackDataBytes };
@@ -1769,33 +1769,33 @@
1769
1769
  return { f: field, t: type, v: vars };
1770
1770
  }
1771
1771
  const tezosPrefix = {
1772
- BlockHash: [32, [1, 52]],
1773
- OperationHash: [32, [5, 116]],
1774
- OperationListHash: [32, [133, 233]],
1775
- OperationListListHash: [32, [29, 159, 109]],
1776
- ProtocolHash: [32, [2, 170]],
1777
- ContextHash: [32, [79, 199]],
1778
- ED25519PublicKeyHash: [20, [6, 161, 159]],
1779
- SECP256K1PublicKeyHash: [20, [6, 161, 161]],
1780
- P256PublicKeyHash: [20, [6, 161, 164]],
1781
- ContractHash: [20, [2, 90, 121]],
1782
- CryptoboxPublicKeyHash: [16, [153, 103]],
1783
- ED25519Seed: [32, [13, 15, 58, 7]],
1784
- ED25519PublicKey: [32, [13, 15, 37, 217]],
1785
- SECP256K1SecretKey: [32, [17, 162, 224, 201]],
1786
- P256SecretKey: [32, [16, 81, 238, 189]],
1787
- ED25519EncryptedSeed: [56, [7, 90, 60, 179, 41]],
1788
- SECP256K1EncryptedSecretKey: [56, [9, 237, 241, 174, 150]],
1789
- P256EncryptedSecretKey: [56, [9, 48, 57, 115, 171]],
1790
- SECP256K1PublicKey: [33, [3, 254, 226, 86]],
1791
- P256PublicKey: [33, [3, 178, 139, 127]],
1792
- SECP256K1Scalar: [33, [38, 248, 136]],
1793
- SECP256K1Element: [33, [5, 92, 0]],
1794
- ED25519SecretKey: [64, [43, 246, 78, 7]],
1795
- ED25519Signature: [64, [9, 245, 205, 134, 18]],
1796
- SECP256K1Signature: [64, [13, 115, 101, 19, 63]],
1797
- P256Signature: [64, [54, 240, 44, 52]],
1798
- GenericSignature: [64, [4, 130, 43]],
1772
+ BlockHash: [32, [1, 52]], // B(51)
1773
+ OperationHash: [32, [5, 116]], // o(51)
1774
+ OperationListHash: [32, [133, 233]], // Lo(52)
1775
+ OperationListListHash: [32, [29, 159, 109]], // LLo(53)
1776
+ ProtocolHash: [32, [2, 170]], // P(51)
1777
+ ContextHash: [32, [79, 199]], // Co(52)
1778
+ ED25519PublicKeyHash: [20, [6, 161, 159]], // tz1(36)
1779
+ SECP256K1PublicKeyHash: [20, [6, 161, 161]], // tz2(36)
1780
+ P256PublicKeyHash: [20, [6, 161, 164]], // tz3(36)
1781
+ ContractHash: [20, [2, 90, 121]], // KT1(36)
1782
+ CryptoboxPublicKeyHash: [16, [153, 103]], // id(30)
1783
+ ED25519Seed: [32, [13, 15, 58, 7]], // edsk(54)
1784
+ ED25519PublicKey: [32, [13, 15, 37, 217]], // edpk(54)
1785
+ SECP256K1SecretKey: [32, [17, 162, 224, 201]], // spsk(54)
1786
+ P256SecretKey: [32, [16, 81, 238, 189]], // p2sk(54)
1787
+ ED25519EncryptedSeed: [56, [7, 90, 60, 179, 41]], // edesk(88)
1788
+ SECP256K1EncryptedSecretKey: [56, [9, 237, 241, 174, 150]], // spesk(88)
1789
+ P256EncryptedSecretKey: [56, [9, 48, 57, 115, 171]], // p2esk(88)
1790
+ SECP256K1PublicKey: [33, [3, 254, 226, 86]], // sppk(55)
1791
+ P256PublicKey: [33, [3, 178, 139, 127]], // p2pk(55)
1792
+ SECP256K1Scalar: [33, [38, 248, 136]], // SSp(53)
1793
+ SECP256K1Element: [33, [5, 92, 0]], // GSp(54)
1794
+ ED25519SecretKey: [64, [43, 246, 78, 7]], // edsk(98)
1795
+ ED25519Signature: [64, [9, 245, 205, 134, 18]], // edsig(99)
1796
+ SECP256K1Signature: [64, [13, 115, 101, 19, 63]], // spsig1(99)
1797
+ P256Signature: [64, [54, 240, 44, 52]], // p2sig(98)
1798
+ GenericSignature: [64, [4, 130, 43]], // sig(96)
1799
1799
  ChainID: [4, [87, 82, 0]],
1800
1800
  RollupAddress: [20, [1, 128, 120, 31]],
1801
1801
  };
@@ -5763,8 +5763,8 @@ ${err.data
5763
5763
 
5764
5764
  // IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
5765
5765
  const VERSION = {
5766
- "commitHash": "8c7737cb6ad36ea87f5f8833e012a9d472832790",
5767
- "version": "20.0.2-beta.0"
5766
+ "commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97",
5767
+ "version": "20.0.2-beta.2"
5768
5768
  };
5769
5769
 
5770
5770
  exports.Contract = Contract;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taquito/michel-codec",
3
- "version": "20.0.2-beta.0",
3
+ "version": "20.0.2-beta.2",
4
4
  "description": "Michelson parser/validator/formatter",
5
5
  "keywords": [
6
6
  "tezos",
@@ -66,29 +66,29 @@
66
66
  ]
67
67
  },
68
68
  "dependencies": {
69
- "@taquito/core": "^20.0.2-beta.0"
69
+ "@taquito/core": "^20.0.2-beta.2"
70
70
  },
71
71
  "devDependencies": {
72
- "@types/bluebird": "^3.5.40",
73
- "@types/jest": "^29.5.5",
74
- "@types/node": "^20",
75
- "@typescript-eslint/eslint-plugin": "^6.8.0",
76
- "@typescript-eslint/parser": "^6.8.0",
77
- "eslint": "^8.51.0",
72
+ "@types/bluebird": "^3.5.42",
73
+ "@types/jest": "^29.5.12",
74
+ "@types/node": "^22",
75
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
76
+ "@typescript-eslint/parser": "^6.21.0",
77
+ "eslint": "^8.57.0",
78
78
  "jest": "^29.7.0",
79
79
  "jest-config": "^29.7.0",
80
80
  "jest-extended": "^4.0.2",
81
- "lint-staged": "^14.0.1",
81
+ "lint-staged": "^15.2.7",
82
82
  "lodash.camelcase": "^4.3.0",
83
- "prettier": "^3.0.3",
84
- "rimraf": "^5.0.5",
85
- "rollup": "^4.1.4",
83
+ "prettier": "^3.3.3",
84
+ "rimraf": "^6.0.1",
85
+ "rollup": "^4.19.1",
86
86
  "rollup-plugin-json": "^4.0.0",
87
87
  "rollup-plugin-typescript2": "^0.36.0",
88
- "ts-jest": "^29.1.1",
89
- "ts-node": "^10.9.1",
88
+ "ts-jest": "^29.2.3",
89
+ "ts-node": "^10.9.2",
90
90
  "ts-toolbelt": "^9.6.0",
91
- "typescript": "~5.2.2"
91
+ "typescript": "~5.5.4"
92
92
  },
93
- "gitHead": "668e57eda3f7408503646f564346704d0f979327"
93
+ "gitHead": "f0f9e4d22a374c72913abbb1991b0e5b34f4c978"
94
94
  }