@synnaxlabs/freighter 0.27.0 → 0.28.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.
Files changed (2) hide show
  1. package/dist/freighter.js +84 -84
  2. package/package.json +3 -3
package/dist/freighter.js CHANGED
@@ -110,24 +110,24 @@ new tt();
110
110
  new rt();
111
111
  const Q = s.tuple([s.number(), s.number()]);
112
112
  s.tuple([s.bigint(), s.bigint()]);
113
- const xe = s.object({ width: s.number(), height: s.number() }), nt = s.object({
113
+ const $e = s.object({ width: s.number(), height: s.number() }), nt = s.object({
114
114
  signedWidth: s.number(),
115
115
  signedHeight: s.number()
116
116
  }), st = ["width", "height"];
117
117
  s.enum(st);
118
118
  const it = ["start", "center", "end"], ot = ["signedWidth", "signedHeight"];
119
119
  s.enum(ot);
120
- const X = s.object({ x: s.number(), y: s.number() }), at = s.object({ clientX: s.number(), clientY: s.number() }), ut = ["x", "y"], $e = s.enum(ut), Ue = ["top", "right", "bottom", "left"];
120
+ const X = s.object({ x: s.number(), y: s.number() }), at = s.object({ clientX: s.number(), clientY: s.number() }), ut = ["x", "y"], xe = s.enum(ut), Ue = ["top", "right", "bottom", "left"];
121
121
  s.enum(Ue);
122
- const ct = ["left", "right"], Me = s.enum(ct), lt = ["top", "bottom"], Ce = s.enum(lt), Be = ["center"], ye = s.enum(Be), ht = [...Ue, ...Be], Re = s.enum(ht);
122
+ const ct = ["left", "right"], Ce = s.enum(ct), lt = ["top", "bottom"], Me = s.enum(lt), Be = ["center"], ye = s.enum(Be), ht = [...Ue, ...Be], Re = s.enum(ht);
123
123
  s.enum(it);
124
124
  const dt = ["first", "last"];
125
125
  s.enum(dt);
126
126
  const ft = s.object({ lower: s.number(), upper: s.number() }), pt = s.object({ lower: s.bigint(), upper: s.bigint() });
127
127
  s.union([ft, Q]);
128
128
  s.union([pt, Q]);
129
- s.union([$e, Re]);
130
- s.union([$e, Re, s.instanceof(String)]);
129
+ s.union([xe, Re]);
130
+ s.union([xe, Re, s.instanceof(String)]);
131
131
  const re = (r, e) => {
132
132
  const t = {};
133
133
  if (typeof r == "number" || typeof r == "bigint")
@@ -139,14 +139,14 @@ const re = (r, e) => {
139
139
  return ge(t);
140
140
  }, ge = (r) => r.lower > r.upper ? { lower: r.upper, upper: r.lower } : r;
141
141
  s.object({
142
- x: Me.or(ye),
143
- y: Ce.or(ye)
142
+ x: Ce.or(ye),
143
+ y: Me.or(ye)
144
144
  });
145
- const yt = s.object({ x: Me, y: Ce }), gt = Object.freeze({ x: "left", y: "top" }), mt = (r, e) => r.x === e.x && r.y === e.y, me = s.union([
145
+ const yt = s.object({ x: Ce, y: Me }), gt = Object.freeze({ x: "left", y: "top" }), mt = (r, e) => r.x === e.x && r.y === e.y, me = s.union([
146
146
  s.number(),
147
147
  X,
148
148
  Q,
149
- xe,
149
+ $e,
150
150
  nt,
151
151
  at
152
152
  ]), wt = (r, e) => {
@@ -198,13 +198,13 @@ const le = (r, e, t = 0, n = 0, i) => {
198
198
  const e = le(r);
199
199
  return { lower: e.one.y, upper: e.two.y };
200
200
  }, Ot = (r) => typeof r != "object" || r == null ? !1 : "one" in r && "two" in r && "root" in r;
201
- var vt = Object.defineProperty, bt = (r, e, t) => e in r ? vt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, C = (r, e, t) => bt(r, typeof e != "symbol" ? e + "" : e, t);
201
+ var vt = Object.defineProperty, bt = (r, e, t) => e in r ? vt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, M = (r, e, t) => bt(r, typeof e != "symbol" ? e + "" : e, t);
202
202
  const Tt = (r, e, t) => e !== void 0 && r < e ? e : t !== void 0 && r > t ? t : r;
203
203
  s.object({ offset: me, scale: me });
204
- const It = (r) => (e, t, n, i) => t === "dimension" ? [e, n] : [
204
+ const St = (r) => (e, t, n, i) => t === "dimension" ? [e, n] : [
205
205
  e,
206
206
  i ? n - r : n + r
207
- ], St = (r) => (e, t, n, i) => [
207
+ ], It = (r) => (e, t, n, i) => [
208
208
  e,
209
209
  i ? n / r : n * r
210
210
  ], Nt = (r) => (e, t, n) => {
@@ -218,12 +218,12 @@ const It = (r) => (e, t, n, i) => t === "dimension" ? [e, n] : [
218
218
  if (e === "dimension") return [r, t];
219
219
  const { lower: n, upper: i } = r;
220
220
  return [r, i - (t - n)];
221
- }, xt = (r) => (e, t, n) => {
221
+ }, $t = (r) => (e, t, n) => {
222
222
  const { lower: i, upper: a } = r;
223
223
  return n = Tt(n, i, a), [e, n];
224
224
  }, ae = class W {
225
225
  constructor() {
226
- C(this, "ops", []), C(this, "currBounds", null), C(this, "currType", null), C(this, "reversed", !1), this.ops = [];
226
+ M(this, "ops", []), M(this, "currBounds", null), M(this, "currType", null), M(this, "reversed", !1), this.ops = [];
227
227
  }
228
228
  static translate(e) {
229
229
  return new W().translate(e);
@@ -235,11 +235,11 @@ const It = (r) => (e, t, n, i) => t === "dimension" ? [e, n] : [
235
235
  return new W().scale(e, t);
236
236
  }
237
237
  translate(e) {
238
- const t = this.new(), n = It(e);
238
+ const t = this.new(), n = St(e);
239
239
  return n.type = "translate", t.ops.push(n), t;
240
240
  }
241
241
  magnify(e) {
242
- const t = this.new(), n = St(e);
242
+ const t = this.new(), n = It(e);
243
243
  return n.type = "magnify", t.ops.push(n), t;
244
244
  }
245
245
  scale(e, t) {
@@ -247,7 +247,7 @@ const It = (r) => (e, t, n, i) => t === "dimension" ? [e, n] : [
247
247
  return a.type = "scale", i.ops.push(a), i;
248
248
  }
249
249
  clamp(e, t) {
250
- const n = re(e, t), i = this.new(), a = xt(n);
250
+ const n = re(e, t), i = this.new(), a = $t(n);
251
251
  return a.type = "clamp", i.ops.push(a), i;
252
252
  }
253
253
  reBound(e, t) {
@@ -291,32 +291,32 @@ const It = (r) => (e, t, n, i) => t === "dimension" ? [e, n] : [
291
291
  }), e.reversed = !e.reversed, e;
292
292
  }
293
293
  };
294
- C(ae, "IDENTITY", new ae());
294
+ M(ae, "IDENTITY", new ae());
295
295
  let Oe = ae;
296
- const ve = class M {
296
+ const ve = class C {
297
297
  constructor(e = new Oe(), t = new Oe(), n = null) {
298
- C(this, "x"), C(this, "y"), C(this, "currRoot"), this.x = e, this.y = t, this.currRoot = n;
298
+ M(this, "x"), M(this, "y"), M(this, "currRoot"), this.x = e, this.y = t, this.currRoot = n;
299
299
  }
300
300
  static translate(e, t) {
301
- return new M().translate(e, t);
301
+ return new C().translate(e, t);
302
302
  }
303
303
  static translateX(e) {
304
- return new M().translateX(e);
304
+ return new C().translateX(e);
305
305
  }
306
306
  static translateY(e) {
307
- return new M().translateY(e);
307
+ return new C().translateY(e);
308
308
  }
309
309
  static clamp(e) {
310
- return new M().clamp(e);
310
+ return new C().clamp(e);
311
311
  }
312
312
  static magnify(e) {
313
- return new M().magnify(e);
313
+ return new C().magnify(e);
314
314
  }
315
315
  static scale(e) {
316
- return new M().scale(e);
316
+ return new C().scale(e);
317
317
  }
318
318
  static reBound(e) {
319
- return new M().reBound(e);
319
+ return new C().reBound(e);
320
320
  }
321
321
  translate(e, t) {
322
322
  const n = wt(e, t), i = this.copy();
@@ -351,7 +351,7 @@ const ve = class M {
351
351
  return t.x = this.x.clamp(ne(e)), t.y = this.y.clamp(se(e)), t;
352
352
  }
353
353
  copy() {
354
- const e = new M();
354
+ const e = new C();
355
355
  return e.currRoot = this.currRoot, e.x = this.x, e.y = this.y, e;
356
356
  }
357
357
  reverse() {
@@ -371,26 +371,26 @@ const ve = class M {
371
371
  );
372
372
  }
373
373
  };
374
- C(ve, "IDENTITY", new ve());
375
- const $t = s.object({ signedWidth: s.number(), signedHeight: s.number() });
376
- s.union([xe, $t, X, Q]);
377
- var Ut = Object.defineProperty, Mt = (r, e, t) => e in r ? Ut(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e, t) => Mt(r, typeof e != "symbol" ? e + "" : e, t);
374
+ M(ve, "IDENTITY", new ve());
375
+ const xt = s.object({ signedWidth: s.number(), signedHeight: s.number() });
376
+ s.union([$e, xt, X, Q]);
377
+ var Ut = Object.defineProperty, Ct = (r, e, t) => e in r ? Ut(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e, t) => Ct(r, typeof e != "symbol" ? e + "" : e, t);
378
378
  const De = (r, e) => {
379
379
  const t = new T(e);
380
380
  if (![
381
- I.DAY,
382
- I.HOUR,
383
- I.MINUTE,
384
- I.SECOND,
385
- I.MILLISECOND,
386
- I.MICROSECOND,
387
- I.NANOSECOND
381
+ S.DAY,
382
+ S.HOUR,
383
+ S.MINUTE,
384
+ S.SECOND,
385
+ S.MILLISECOND,
386
+ S.MICROSECOND,
387
+ S.NANOSECOND
388
388
  ].some((i) => i.equals(t)))
389
389
  throw new Error(
390
390
  "Invalid argument for remainder. Must be an even TimeSpan or Timestamp"
391
391
  );
392
392
  const n = r.valueOf() % t.valueOf();
393
- return r instanceof T ? new T(n) : new I(n);
393
+ return r instanceof T ? new T(n) : new S(n);
394
394
  }, p = class l {
395
395
  constructor(e, t = "UTC") {
396
396
  if (u(this, "value"), u(this, "encodeValue", !0), e == null) this.value = l.now().valueOf();
@@ -462,7 +462,7 @@ const De = (r, e) => {
462
462
  return `${t} ${n}`;
463
463
  }
464
464
  static get utcOffset() {
465
- return new I(
465
+ return new S(
466
466
  BigInt((/* @__PURE__ */ new Date()).getTimezoneOffset()) * l.MINUTE.valueOf()
467
467
  );
468
468
  }
@@ -505,7 +505,7 @@ const De = (r, e) => {
505
505
  * valid, regardless of the TimeStamp order.
506
506
  */
507
507
  range(e) {
508
- return new Ct(this, e).makeValid();
508
+ return new Mt(this, e).makeValid();
509
509
  }
510
510
  /**
511
511
  * Creates a TimeRange starting at the TimeStamp and spanning the given
@@ -611,7 +611,7 @@ const De = (r, e) => {
611
611
  }
612
612
  /** @returns true if the day portion TimeStamp is today, false otherwise. */
613
613
  get isToday() {
614
- return this.truncate(I.DAY).equals(l.now().truncate(I.DAY));
614
+ return this.truncate(S.DAY).equals(l.now().truncate(S.DAY));
615
615
  }
616
616
  truncate(e) {
617
617
  return this.sub(this.remainder(e));
@@ -861,7 +861,7 @@ u(y, "z", s.union([
861
861
  s.number().transform((r) => new y(r)),
862
862
  s.instanceof(y)
863
863
  ]));
864
- let I = y;
864
+ let S = y;
865
865
  const z = class V extends Number {
866
866
  constructor(e) {
867
867
  e instanceof Number ? super(e.valueOf()) : super(e);
@@ -880,7 +880,7 @@ const z = class V extends Number {
880
880
  * @returns A TimeSpan representing the period of the Rate.
881
881
  */
882
882
  get period() {
883
- return I.seconds(1 / this.valueOf());
883
+ return S.seconds(1 / this.valueOf());
884
884
  }
885
885
  /**
886
886
  * Calculates the number of samples in the given TimeSpan at this rate.
@@ -889,7 +889,7 @@ const z = class V extends Number {
889
889
  * @returns The number of samples in the given TimeSpan at this rate.
890
890
  */
891
891
  sampleCount(e) {
892
- return new I(e).seconds * this.valueOf();
892
+ return new S(e).seconds * this.valueOf();
893
893
  }
894
894
  /**
895
895
  * Calculates the number of bytes in the given TimeSpan at this rate.
@@ -908,7 +908,7 @@ const z = class V extends Number {
908
908
  * @returns A TimeSpan that corresponds to the given number of samples.
909
909
  */
910
910
  span(e) {
911
- return I.seconds(e / this.valueOf());
911
+ return S.seconds(e / this.valueOf());
912
912
  }
913
913
  /**
914
914
  * Calculates a TimeSpan given the number of bytes at this rate.
@@ -974,7 +974,7 @@ u(b, "z", s.union([
974
974
  s.instanceof(b)
975
975
  ]));
976
976
  let N = b;
977
- const x = class H {
977
+ const $ = class H {
978
978
  /**
979
979
  * Creates a TimeRange from the given start and end TimeStamps.
980
980
  *
@@ -986,7 +986,7 @@ const x = class H {
986
986
  }
987
987
  /** @returns The TimeSpan occupied by the TimeRange. */
988
988
  get span() {
989
- return new I(this.end.valueOf() - this.start.valueOf());
989
+ return new S(this.end.valueOf() - this.start.valueOf());
990
990
  }
991
991
  /**
992
992
  * Checks if the timestamp is valid i.e. the start is before the end.
@@ -1049,13 +1049,13 @@ const x = class H {
1049
1049
  * @param other - The other TimeRange to compare to.
1050
1050
  * @returns True if the two TimeRanges overlap, false otherwise.
1051
1051
  */
1052
- overlapsWith(e, t = I.ZERO) {
1052
+ overlapsWith(e, t = S.ZERO) {
1053
1053
  e = e.makeValid();
1054
1054
  const n = this.makeValid();
1055
1055
  if (this.equals(e)) return !0;
1056
1056
  if (e.end.equals(n.start) || n.end.equals(e.start)) return !1;
1057
1057
  const i = T.max(n.start, e.start), a = T.min(n.end, e.end);
1058
- return a.before(i) ? !1 : new I(a.sub(i)).greaterThanOrEqual(t);
1058
+ return a.before(i) ? !1 : new S(a.sub(i)).greaterThanOrEqual(t);
1059
1059
  }
1060
1060
  roughlyEquals(e, t) {
1061
1061
  let n = this.start.sub(e.start).valueOf(), i = this.end.sub(e.end).valueOf();
@@ -1069,33 +1069,33 @@ const x = class H {
1069
1069
  return e.start.after(this.start) && (t.start = e.start), e.start.after(this.end) && (t.end = e.start), e.end.before(this.end) && (t.end = e.end), e.end.before(this.start) && (t.start = e.end), t;
1070
1070
  }
1071
1071
  };
1072
- u(x, "MAX", new x(T.MIN, T.MAX)), /** The minimum possible time range. */
1073
- u(x, "MIN", new x(T.MAX, T.MIN)), /** A zero time range. */
1074
- u(x, "ZERO", new x(T.ZERO, T.ZERO)), /** A zod schema for validating and transforming time ranges */
1075
- u(x, "z", s.union([
1076
- s.object({ start: T.z, end: T.z }).transform((r) => new x(r.start, r.end)),
1077
- s.instanceof(x)
1072
+ u($, "MAX", new $(T.MIN, T.MAX)), /** The minimum possible time range. */
1073
+ u($, "MIN", new $(T.MAX, T.MIN)), /** A zero time range. */
1074
+ u($, "ZERO", new $(T.ZERO, T.ZERO)), /** A zod schema for validating and transforming time ranges */
1075
+ u($, "z", s.union([
1076
+ s.object({ start: T.z, end: T.z }).transform((r) => new $(r.start, r.end)),
1077
+ s.instanceof($)
1078
1078
  ]));
1079
- let Ct = x;
1080
- const o = class $ extends String {
1079
+ let Mt = $;
1080
+ const o = class x extends String {
1081
1081
  constructor(e) {
1082
- if (e instanceof $ || typeof e == "string" || typeof e.valueOf() == "string") {
1082
+ if (e instanceof x || typeof e == "string" || typeof e.valueOf() == "string") {
1083
1083
  super(e.valueOf());
1084
1084
  return;
1085
1085
  } else {
1086
- const t = $.ARRAY_CONSTRUCTOR_DATA_TYPES.get(e.constructor.name);
1086
+ const t = x.ARRAY_CONSTRUCTOR_DATA_TYPES.get(e.constructor.name);
1087
1087
  if (t != null) {
1088
1088
  super(t.valueOf());
1089
1089
  return;
1090
1090
  }
1091
1091
  }
1092
- throw super($.UNKNOWN.valueOf()), new Error(`unable to find data type for ${e.toString()}`);
1092
+ throw super(x.UNKNOWN.valueOf()), new Error(`unable to find data type for ${e.toString()}`);
1093
1093
  }
1094
1094
  /**
1095
1095
  * @returns the TypedArray constructor for the DataType.
1096
1096
  */
1097
1097
  get Array() {
1098
- const e = $.ARRAY_CONSTRUCTORS.get(this.toString());
1098
+ const e = x.ARRAY_CONSTRUCTORS.get(this.toString());
1099
1099
  if (e == null)
1100
1100
  throw new Error(`unable to find array constructor for ${this.valueOf()}`);
1101
1101
  return e;
@@ -1117,10 +1117,10 @@ const o = class $ extends String {
1117
1117
  return this.valueOf();
1118
1118
  }
1119
1119
  get isVariable() {
1120
- return this.equals($.JSON) || this.equals($.STRING);
1120
+ return this.equals(x.JSON) || this.equals(x.STRING);
1121
1121
  }
1122
1122
  get isNumeric() {
1123
- return !this.isVariable && !this.equals($.UUID);
1123
+ return !this.isVariable && !this.equals(x.UUID);
1124
1124
  }
1125
1125
  get isInteger() {
1126
1126
  return this.toString().startsWith("int");
@@ -1129,7 +1129,7 @@ const o = class $ extends String {
1129
1129
  return this.toString().startsWith("float");
1130
1130
  }
1131
1131
  get density() {
1132
- const e = $.DENSITIES.get(this.toString());
1132
+ const e = x.DENSITIES.get(this.toString());
1133
1133
  if (e == null) throw new Error(`unable to find density for ${this.valueOf()}`);
1134
1134
  return e;
1135
1135
  }
@@ -1154,7 +1154,7 @@ const o = class $ extends String {
1154
1154
  return this.toString();
1155
1155
  }
1156
1156
  get usesBigInt() {
1157
- return $.BIG_INT_TYPES.some((e) => e.equals(this));
1157
+ return x.BIG_INT_TYPES.some((e) => e.equals(this));
1158
1158
  }
1159
1159
  };
1160
1160
  u(o, "UNKNOWN", new o("unknown")), /** Represents a 64-bit floating point value. */
@@ -1237,7 +1237,7 @@ u(o, "z", s.union([
1237
1237
  s.string().transform((r) => new o(r)),
1238
1238
  s.instanceof(o)
1239
1239
  ]));
1240
- const S = class v extends Number {
1240
+ const I = class v extends Number {
1241
1241
  constructor(e) {
1242
1242
  super(e.valueOf());
1243
1243
  }
@@ -1327,17 +1327,17 @@ const S = class v extends Number {
1327
1327
  return this.valueOf() === 0;
1328
1328
  }
1329
1329
  };
1330
- u(S, "BYTE", new S(1)), /** A kilobyte */
1331
- u(S, "KILOBYTE", S.kilobytes(1)), /** A megabyte */
1332
- u(S, "MEGABYTE", S.megabytes(1)), /** A gigabyte */
1333
- u(S, "GIGABYTE", S.gigabytes(1)), /** A terabyte. */
1334
- u(S, "TERABYTE", S.terabytes(1)), /** The zero value for Size */
1335
- u(S, "ZERO", new S(0)), /** A zod schema for a Size. */
1336
- u(S, "z", s.union([
1337
- s.number().transform((r) => new S(r)),
1338
- s.instanceof(S)
1330
+ u(I, "BYTE", new I(1)), /** A kilobyte */
1331
+ u(I, "KILOBYTE", I.kilobytes(1)), /** A megabyte */
1332
+ u(I, "MEGABYTE", I.megabytes(1)), /** A gigabyte */
1333
+ u(I, "GIGABYTE", I.gigabytes(1)), /** A terabyte. */
1334
+ u(I, "TERABYTE", I.terabytes(1)), /** The zero value for Size */
1335
+ u(I, "ZERO", new I(0)), /** A zod schema for a Size. */
1336
+ u(I, "z", s.union([
1337
+ s.number().transform((r) => new I(r)),
1338
+ s.instanceof(I)
1339
1339
  ]));
1340
- let Bt = S;
1340
+ let Bt = I;
1341
1341
  s.union([
1342
1342
  s.instanceof(Uint8Array),
1343
1343
  s.instanceof(Uint16Array),
@@ -1482,19 +1482,19 @@ class Kt {
1482
1482
  }
1483
1483
  decode(e) {
1484
1484
  if (e == null || e.type === Te) return null;
1485
- if (e.type === be) return new Ie(e.data);
1485
+ if (e.type === be) return new Se(e.data);
1486
1486
  for (const t of this.providers) {
1487
1487
  const n = t.decode(e);
1488
1488
  if (n != null) return n;
1489
1489
  }
1490
- return new Ie(e.data);
1490
+ return new Se(e.data);
1491
1491
  }
1492
1492
  }
1493
1493
  const de = new Kt(), Xt = ({
1494
1494
  encode: r,
1495
1495
  decode: e
1496
1496
  }) => de.register({ encode: r, decode: e }), pr = (r) => de.encode(r), Fe = (r) => de.decode(r);
1497
- class Ie extends _ {
1497
+ class Se extends _ {
1498
1498
  constructor(t) {
1499
1499
  super(t);
1500
1500
  f(this, "type", "unknown");
@@ -1579,7 +1579,7 @@ class Ge {
1579
1579
  return await i(e);
1580
1580
  }
1581
1581
  }
1582
- const qe = "Content-Type", Se = (r) => {
1582
+ const qe = "Content-Type", Ie = (r) => {
1583
1583
  if (Pe.RUNTIME !== "node") return fetch;
1584
1584
  const e = require("node-fetch");
1585
1585
  if (r === "http") return e;
@@ -1592,7 +1592,7 @@ class yr extends Ge {
1592
1592
  f(this, "endpoint");
1593
1593
  f(this, "encoder");
1594
1594
  f(this, "fetch");
1595
- return this.endpoint = t.replace({ protocol: i ? "https" : "http" }), this.encoder = n, this.fetch = Se(this.endpoint.protocol), new Proxy(this, {
1595
+ return this.endpoint = t.replace({ protocol: i ? "https" : "http" }), this.encoder = n, this.fetch = Ie(this.endpoint.protocol), new Proxy(this, {
1596
1596
  get: (a, c, h) => c === "endpoint" ? this.endpoint : Reflect.get(a, c, h)
1597
1597
  });
1598
1598
  }
@@ -1621,7 +1621,7 @@ class yr extends Ge {
1621
1621
  };
1622
1622
  let A;
1623
1623
  try {
1624
- A = await Se(O.protocol)(O.target, g);
1624
+ A = await Ie(O.protocol)(O.target, g);
1625
1625
  } catch (U) {
1626
1626
  let E = U;
1627
1627
  return E.message === "Load failed" && (E = new D({ url: h })), [w, E];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synnaxlabs/freighter",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "type": "module",
5
5
  "description": "a modular transport abstraction",
6
6
  "repository": "https://github.com/synnaxlabs/synnax/tree/main/freighter/ts",
@@ -17,8 +17,8 @@
17
17
  "node-fetch": "3.3.2",
18
18
  "ws": "^8.18.0",
19
19
  "zod": "3.23.8",
20
- "@synnaxlabs/alamos": "0.27.0",
21
- "@synnaxlabs/x": "0.27.0"
20
+ "@synnaxlabs/alamos": "0.28.0",
21
+ "@synnaxlabs/x": "0.28.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.2.0",