@sentio/runtime 2.36.0-rc.14 → 2.36.0-rc.16

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.
@@ -10708,13 +10708,13 @@ export const Notification_AttributesEntry = {
10708
10708
  },
10709
10709
  };
10710
10710
  function toTimestamp(date) {
10711
- const seconds = BigInt(Math.trunc(date.getTime() / 1000));
10712
- const nanos = (date.getTime() % 1000) * 1000000;
10711
+ const seconds = BigInt(Math.trunc(date.getTime() / 1_000));
10712
+ const nanos = (date.getTime() % 1_000) * 1_000_000;
10713
10713
  return { seconds, nanos };
10714
10714
  }
10715
10715
  function fromTimestamp(t) {
10716
- let millis = (globalThis.Number(t.seconds.toString()) || 0) * 1000;
10717
- millis += (t.nanos || 0) / 1000000;
10716
+ let millis = (globalThis.Number(t.seconds.toString()) || 0) * 1_000;
10717
+ millis += (t.nanos || 0) / 1_000_000;
10718
10718
  return new globalThis.Date(millis);
10719
10719
  }
10720
10720
  function fromJsonTimestamp(o) {