@elizaos/project-tee-starter 1.7.2-alpha.3 → 1.7.2-alpha.5

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/index.js CHANGED
@@ -721,7 +721,7 @@ var init_hmac = __esm(() => {
721
721
  });
722
722
 
723
723
  // ../../node_modules/viem/_esm/errors/version.js
724
- var version = "2.44.1";
724
+ var version = "2.44.4";
725
725
 
726
726
  // ../../node_modules/viem/_esm/errors/base.js
727
727
  function walk(err, fn) {
@@ -1089,7 +1089,17 @@ function hexToBigInt(hex, opts = {}) {
1089
1089
  return value - BigInt(`0x${"f".padStart(size2 * 2, "f")}`) - 1n;
1090
1090
  }
1091
1091
  function hexToNumber(hex, opts = {}) {
1092
- return Number(hexToBigInt(hex, opts));
1092
+ const value = hexToBigInt(hex, opts);
1093
+ const number = Number(value);
1094
+ if (!Number.isSafeInteger(number))
1095
+ throw new IntegerOutOfRangeError({
1096
+ max: `${Number.MAX_SAFE_INTEGER}`,
1097
+ min: `${Number.MIN_SAFE_INTEGER}`,
1098
+ signed: opts.signed,
1099
+ size: opts.size,
1100
+ value: `${value}n`
1101
+ });
1102
+ return number;
1093
1103
  }
1094
1104
  var init_fromHex = __esm(() => {
1095
1105
  init_encoding();
@@ -35678,5 +35688,5 @@ export {
35678
35688
  StarterService
35679
35689
  };
35680
35690
 
35681
- //# debugId=9E40446023918C2764756E2164756E21
35691
+ //# debugId=B34E73D7554FED7D64756E2164756E21
35682
35692
  //# sourceMappingURL=index.js.map