@wishknish/knishio-client-js 0.7.8 → 0.8.1

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.
@@ -2,11 +2,11 @@ var en = Object.defineProperty;
2
2
  var tn = (o, e, t) => e in o ? en(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var Q = (o, e, t) => tn(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import L from "jssha";
5
- import { gql as O, cacheExchange as nn, fetchExchange as sn, subscriptionExchange as rn, createClient as on } from "@urql/core";
5
+ import { gql as E, cacheExchange as nn, fetchExchange as sn, subscriptionExchange as rn, createClient as on } from "@urql/core";
6
6
  import { createClient as an } from "graphql-ws";
7
7
  import { pipe as ln, map as cn, subscribe as un } from "wonka";
8
8
  typeof self > "u" && (global.self = global);
9
- class Wt {
9
+ class qt {
10
10
  /**
11
11
  * Converts the given buffer to a string containing its hexadecimal representation.
12
12
  *
@@ -99,10 +99,10 @@ function hn(o, e, t, n, s) {
99
99
  return a || "0";
100
100
  }
101
101
  function dn(o) {
102
- return Wt.toHex(o, {});
102
+ return qt.toHex(o, {});
103
103
  }
104
104
  function pn(o) {
105
- return Wt.toUint8Array(o);
105
+ return qt.toUint8Array(o);
106
106
  }
107
107
  function fn(o) {
108
108
  const e = pn(o);
@@ -437,7 +437,7 @@ class kn extends oe {
437
437
  super(), this.position = e, this.walletAddress = t, this.isotope = n, this.token = s, this.value = r, this.batchId = i, this.metaType = a, this.metaId = c, this.meta = u, this.index = l, this.createdAt = h, this.version = p;
438
438
  }
439
439
  }
440
- const qe = {
440
+ const We = {
441
441
  4: kn
442
442
  };
443
443
  class g {
@@ -471,7 +471,7 @@ class g {
471
471
  index: h = null,
472
472
  version: p = null
473
473
  }) {
474
- this.position = e, this.walletAddress = t, this.isotope = n, this.token = s, this.value = r !== null ? String(r) : null, this.batchId = i, this.metaType = a, this.metaId = c, this.meta = u ? pe.normalizeMeta(u) : [], this.index = h, this.otsFragment = l, this.createdAt = String(+/* @__PURE__ */ new Date()), p !== null && Object.prototype.hasOwnProperty.call(qe, p) && (this.version = String(p));
474
+ this.position = e, this.walletAddress = t, this.isotope = n, this.token = s, this.value = r !== null ? String(r) : null, this.batchId = i, this.metaType = a, this.metaId = c, this.meta = u ? pe.normalizeMeta(u) : [], this.index = h, this.otsFragment = l, this.createdAt = String(+/* @__PURE__ */ new Date()), p !== null && Object.prototype.hasOwnProperty.call(We, p) && (this.version = String(p));
475
475
  }
476
476
  /**
477
477
  *
@@ -650,8 +650,8 @@ class g {
650
650
  if (!(r instanceof g))
651
651
  throw new ae();
652
652
  return r;
653
- }), s.every((r) => r.version && Object.prototype.hasOwnProperty.call(qe, r.version)))
654
- n.update(JSON.stringify(s.map((r) => qe[r.version].create(r).view())));
653
+ }), s.every((r) => r.version && Object.prototype.hasOwnProperty.call(We, r.version)))
654
+ n.update(JSON.stringify(s.map((r) => We[r.version].create(r).view())));
655
655
  else {
656
656
  const r = String(e.length);
657
657
  let i = [];
@@ -710,7 +710,7 @@ class g {
710
710
  function nt(o = null, e = 2048) {
711
711
  if (o) {
712
712
  const t = new L("SHAKE256", "TEXT");
713
- return t.update(o), t.getHash("HEX", { outputLen: e * 2 });
713
+ return t.update(o), t.getHash("HEX", { outputLen: e * 4 });
714
714
  } else
715
715
  return st(e);
716
716
  }
@@ -808,14 +808,14 @@ class ze extends x {
808
808
  }
809
809
  }
810
810
  const Ce = /* @__PURE__ */ BigInt(2 ** 32 - 1), ct = /* @__PURE__ */ BigInt(32);
811
- function Sn(o, e = !1) {
811
+ function _n(o, e = !1) {
812
812
  return e ? { h: Number(o & Ce), l: Number(o >> ct & Ce) } : { h: Number(o >> ct & Ce) | 0, l: Number(o & Ce) | 0 };
813
813
  }
814
- function _n(o, e = !1) {
814
+ function Sn(o, e = !1) {
815
815
  const t = o.length;
816
816
  let n = new Uint32Array(t), s = new Uint32Array(t);
817
817
  for (let r = 0; r < t; r++) {
818
- const { h: i, l: a } = Sn(o[r], e);
818
+ const { h: i, l: a } = _n(o[r], e);
819
819
  [n[r], s[r]] = [i, a];
820
820
  }
821
821
  return [n, s];
@@ -851,7 +851,7 @@ function Tn(o, e) {
851
851
  if (o.length < t)
852
852
  throw new Error('"digestInto() output" expected to be of length >=' + t);
853
853
  }
854
- function qt(o) {
854
+ function Wt(o) {
855
855
  return new Uint32Array(o.buffer, o.byteOffset, Math.floor(o.byteLength / 4));
856
856
  }
857
857
  function Ut(...o) {
@@ -880,15 +880,15 @@ function On(o = 32) {
880
880
  }
881
881
  const Ne = (o) => ({
882
882
  oid: Uint8Array.from([6, 9, 96, 134, 72, 1, 101, 3, 4, 2, o])
883
- }), Rn = BigInt(0), ge = BigInt(1), Wn = BigInt(2), qn = BigInt(7), Un = BigInt(256), Bn = BigInt(113), Ht = [], Pt = [], Kt = [];
883
+ }), Rn = BigInt(0), ge = BigInt(1), qn = BigInt(2), Wn = BigInt(7), Un = BigInt(256), Bn = BigInt(113), Ht = [], Pt = [], Kt = [];
884
884
  for (let o = 0, e = ge, t = 1, n = 0; o < 24; o++) {
885
885
  [t, n] = [n, (2 * t + 3 * n) % 5], Ht.push(2 * (5 * n + t)), Pt.push((o + 1) * (o + 2) / 2 % 64);
886
886
  let s = Rn;
887
887
  for (let r = 0; r < 7; r++)
888
- e = (e << ge ^ (e >> qn) * Bn) % Un, e & Wn && (s ^= ge << (ge << BigInt(r)) - ge);
888
+ e = (e << ge ^ (e >> Wn) * Bn) % Un, e & qn && (s ^= ge << (ge << BigInt(r)) - ge);
889
889
  Kt.push(s);
890
890
  }
891
- const Nt = _n(Kt, !0), Hn = Nt[0], Pn = Nt[1], pt = (o, e, t) => t > 32 ? vn(o, e, t) : $n(o, e, t), ft = (o, e, t) => t > 32 ? xn(o, e, t) : An(o, e, t);
891
+ const Nt = Sn(Kt, !0), Hn = Nt[0], Pn = Nt[1], pt = (o, e, t) => t > 32 ? vn(o, e, t) : $n(o, e, t), ft = (o, e, t) => t > 32 ? xn(o, e, t) : An(o, e, t);
892
892
  function Kn(o, e = 24) {
893
893
  const t = new Uint32Array(10);
894
894
  for (let n = 24 - e; n < 24; n++) {
@@ -930,7 +930,7 @@ class Fe {
930
930
  Q(this, "rounds");
931
931
  if (this.blockLen = e, this.suffix = t, this.outputLen = n, this.enableXOF = s, this.rounds = r, ut(n, "outputLen"), !(0 < e && e < 200))
932
932
  throw new Error("only keccak-f1600 function is supported");
933
- this.state = new Uint8Array(200), this.state32 = qt(this.state);
933
+ this.state = new Uint8Array(200), this.state32 = Wt(this.state);
934
934
  }
935
935
  clone() {
936
936
  return this._cloneInto();
@@ -1043,14 +1043,14 @@ const yt = (o, e) => {
1043
1043
  throw new Error("FFT: wrong Polynomial length");
1044
1044
  s && a && mt(l);
1045
1045
  for (let h = 0, p = 1; h < c - i; h++) {
1046
- const d = s ? h + 1 + i : c - h, b = 1 << d, A = b >> 1, M = t >> d;
1046
+ const d = s ? h + 1 + i : c - h, b = 1 << d, A = b >> 1, O = t >> d;
1047
1047
  for (let f = 0; f < t; f += b)
1048
- for (let y = 0, w = p++; y < A; y++) {
1049
- const C = r ? s ? t - w : w : y * M, k = f + y, $ = f + y + A, v = n[C], I = l[$], S = l[k];
1048
+ for (let m = 0, w = p++; m < A; m++) {
1049
+ const M = r ? s ? t - w : w : m * O, k = f + m, $ = f + m + A, v = n[M], I = l[$], _ = l[k];
1050
1050
  if (u) {
1051
1051
  const U = o.mul(I, v);
1052
- l[k] = o.add(S, U), l[$] = o.sub(S, U);
1053
- } else r ? (l[k] = o.add(I, S), l[$] = o.mul(o.sub(I, S), v)) : (l[k] = o.add(S, I), l[$] = o.mul(o.sub(S, I), v));
1052
+ l[k] = o.add(_, U), l[$] = o.sub(_, U);
1053
+ } else r ? (l[k] = o.add(I, _), l[$] = o.mul(o.sub(I, _), v)) : (l[k] = o.add(_, I), l[$] = o.mul(o.sub(_, I), v));
1054
1054
  }
1055
1055
  }
1056
1056
  return !s && a && mt(l), l;
@@ -1128,25 +1128,25 @@ function bt(o) {
1128
1128
  }
1129
1129
  /*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) */
1130
1130
  const jn = (o) => {
1131
- const { newPoly: e, N: t, Q: n, F: s, ROOT_OF_UNITY: r, brvBits: i } = o, a = (f, y = n) => {
1132
- const w = f % y | 0;
1133
- return (w >= 0 ? w | 0 : y + w | 0) | 0;
1134
- }, c = (f, y = n) => {
1135
- const w = a(f, y) | 0;
1136
- return (w > y >> 1 ? w - y | 0 : w) | 0;
1131
+ const { newPoly: e, N: t, Q: n, F: s, ROOT_OF_UNITY: r, brvBits: i } = o, a = (f, m = n) => {
1132
+ const w = f % m | 0;
1133
+ return (w >= 0 ? w | 0 : m + w | 0) | 0;
1134
+ }, c = (f, m = n) => {
1135
+ const w = a(f, m) | 0;
1136
+ return (w > m >> 1 ? w - m | 0 : w) | 0;
1137
1137
  };
1138
1138
  function u() {
1139
1139
  const f = e(t);
1140
- for (let y = 0; y < t; y++) {
1141
- const w = Dt(y, i), C = BigInt(r) ** BigInt(w) % BigInt(n);
1142
- f[y] = Number(C) | 0;
1140
+ for (let m = 0; m < t; m++) {
1141
+ const w = Dt(m, i), M = BigInt(r) ** BigInt(w) % BigInt(n);
1142
+ f[m] = Number(M) | 0;
1143
1143
  }
1144
1144
  return f;
1145
1145
  }
1146
1146
  const l = u(), h = {
1147
- add: (f, y) => a((f | 0) + (y | 0)) | 0,
1148
- sub: (f, y) => a((f | 0) - (y | 0)) | 0,
1149
- mul: (f, y) => a((f | 0) * (y | 0)) | 0,
1147
+ add: (f, m) => a((f | 0) + (m | 0)) | 0,
1148
+ sub: (f, m) => a((f | 0) - (m | 0)) | 0,
1149
+ mul: (f, m) => a((f | 0) * (m | 0)) | 0,
1150
1150
  inv: (f) => {
1151
1151
  throw new Error("not implemented");
1152
1152
  }
@@ -1161,26 +1161,26 @@ const jn = (o) => {
1161
1161
  encode: (f) => d(f),
1162
1162
  decode: (f) => {
1163
1163
  b(f);
1164
- for (let y = 0; y < f.length; y++)
1165
- f[y] = a(s * f[y]);
1164
+ for (let m = 0; m < f.length; m++)
1165
+ f[m] = a(s * f[m]);
1166
1166
  return f;
1167
1167
  }
1168
- }, bitsCoder: (f, y) => {
1169
- const w = bt(f), C = f * (t / 8);
1168
+ }, bitsCoder: (f, m) => {
1169
+ const w = bt(f), M = f * (t / 8);
1170
1170
  return {
1171
- bytesLen: C,
1171
+ bytesLen: M,
1172
1172
  encode: (k) => {
1173
- const $ = new Uint8Array(C);
1174
- for (let v = 0, I = 0, S = 0, U = 0; v < k.length; v++)
1175
- for (I |= (y.encode(k[v]) & w) << S, S += f; S >= 8; S -= 8, I >>= 8)
1176
- $[U++] = I & bt(S);
1173
+ const $ = new Uint8Array(M);
1174
+ for (let v = 0, I = 0, _ = 0, U = 0; v < k.length; v++)
1175
+ for (I |= (m.encode(k[v]) & w) << _, _ += f; _ >= 8; _ -= 8, I >>= 8)
1176
+ $[U++] = I & bt(_);
1177
1177
  return $;
1178
1178
  },
1179
1179
  decode: (k) => {
1180
1180
  const $ = e(t);
1181
- for (let v = 0, I = 0, S = 0, U = 0; v < k.length; v++)
1182
- for (I |= k[v] << S, S += 8; S >= f; S -= f, I >>= f)
1183
- $[U++] = y.decode(I & w);
1181
+ for (let v = 0, I = 0, _ = 0, U = 0; v < k.length; v++)
1182
+ for (I |= k[v] << _, _ += 8; _ >= f; _ -= f, I >>= f)
1183
+ $[U++] = m.decode(I & w);
1184
1184
  return $;
1185
1185
  }
1186
1186
  };
@@ -1255,7 +1255,7 @@ function wt(o) {
1255
1255
  return e;
1256
1256
  }
1257
1257
  function we(o, e, t, n) {
1258
- const s = o(n * F / 4, e, t), r = new Uint16Array(F), i = qt(s);
1258
+ const s = o(n * F / 4, e, t), r = new Uint16Array(F), i = Wt(s);
1259
1259
  let a = 0;
1260
1260
  for (let c = 0, u = 0, l = 0, h = 0; c < i.length; c++) {
1261
1261
  let p = i[c];
@@ -1275,18 +1275,18 @@ const ns = (o) => {
1275
1275
  publicKey: p.bytesLen,
1276
1276
  cipherText: b.bytesLen
1277
1277
  },
1278
- keygen: (M) => {
1279
- D(M, 32, "seed");
1278
+ keygen: (O) => {
1279
+ D(O, 32, "seed");
1280
1280
  const f = new Uint8Array(33);
1281
- f.set(M), f[32] = e;
1282
- const y = s(f), [w, C] = A.decode(y), k = [], $ = [];
1283
- for (let S = 0; S < e; S++)
1284
- k.push(ne.encode(we(t, C, S, r)));
1281
+ f.set(O), f[32] = e;
1282
+ const m = s(f), [w, M] = A.decode(m), k = [], $ = [];
1283
+ for (let _ = 0; _ < e; _++)
1284
+ k.push(ne.encode(we(t, M, _, r)));
1285
1285
  const v = n(w);
1286
- for (let S = 0; S < e; S++) {
1287
- const U = ne.encode(we(t, C, e + S, r));
1286
+ for (let _ = 0; _ < e; _++) {
1287
+ const U = ne.encode(we(t, M, e + _, r));
1288
1288
  for (let R = 0; R < e; R++) {
1289
- const ce = wt(v.get(R, S));
1289
+ const ce = wt(v.get(R, _));
1290
1290
  se(U, Ee(ce, k[R]));
1291
1291
  }
1292
1292
  $.push(U);
@@ -1296,15 +1296,15 @@ const ns = (o) => {
1296
1296
  publicKey: p.encode([$, w]),
1297
1297
  secretKey: d.encode(k)
1298
1298
  };
1299
- return G(w, C, k, $, f, y), I;
1299
+ return G(w, M, k, $, f, m), I;
1300
1300
  },
1301
- encrypt: (M, f, y) => {
1302
- const [w, C] = p.decode(M), k = [];
1301
+ encrypt: (O, f, m) => {
1302
+ const [w, M] = p.decode(O), k = [];
1303
1303
  for (let R = 0; R < e; R++)
1304
- k.push(ne.encode(we(t, y, R, r)));
1305
- const $ = n(C), v = new Uint16Array(F), I = [];
1304
+ k.push(ne.encode(we(t, m, R, r)));
1305
+ const $ = n(M), v = new Uint16Array(F), I = [];
1306
1306
  for (let R = 0; R < e; R++) {
1307
- const ce = we(t, y, e + R, i), De = new Uint16Array(F);
1307
+ const ce = we(t, m, e + R, i), De = new Uint16Array(F);
1308
1308
  for (let Me = 0; Me < e; Me++) {
1309
1309
  const Yt = wt($.get(R, Me));
1310
1310
  se(De, Ee(Yt, k[Me]));
@@ -1312,16 +1312,16 @@ const ns = (o) => {
1312
1312
  se(ce, ne.decode(De)), I.push(ce), se(v, Ee(w[R], k[R])), G(De);
1313
1313
  }
1314
1314
  $.clean();
1315
- const S = we(t, y, 2 * e, i);
1316
- se(S, ne.decode(v));
1315
+ const _ = we(t, m, 2 * e, i);
1316
+ se(_, ne.decode(v));
1317
1317
  const U = u.decode(f);
1318
- return se(U, S), G(w, k, v, S), b.encode([I, U]);
1318
+ return se(U, _), G(w, k, v, _), b.encode([I, U]);
1319
1319
  },
1320
- decrypt: (M, f) => {
1321
- const [y, w] = b.decode(M), C = d.decode(f), k = new Uint16Array(F);
1320
+ decrypt: (O, f) => {
1321
+ const [m, w] = b.decode(O), M = d.decode(f), k = new Uint16Array(F);
1322
1322
  for (let $ = 0; $ < e; $++)
1323
- se(k, Ee(C[$], ne.encode(y[$])));
1324
- return es(w, ne.decode(k)), G(k, C, y), u.encode(w);
1323
+ se(k, Ee(M[$], ne.encode(m[$])));
1324
+ return es(w, ne.decode(k)), G(k, M, m), u.encode(w);
1325
1325
  }
1326
1326
  };
1327
1327
  };
@@ -1359,7 +1359,7 @@ function ss(o) {
1359
1359
  const p = a.bytesLen - 96, d = p + 32, b = t(h.subarray(p / 2, d));
1360
1360
  if (!Je(b, h.subarray(d, d + 32)))
1361
1361
  throw new Error("invalid secretKey: hash check failed");
1362
- const [A, M, f, y] = a.decode(h), w = e.decrypt(l, A), C = n.create().update(w).update(f).digest(), k = C.subarray(0, 32), $ = e.encrypt(M, w, C.subarray(32, 64)), v = Je(l, $), I = s.create({ dkLen: 32 }).update(y).update(l).digest();
1362
+ const [A, O, f, m] = a.decode(h), w = e.decrypt(l, A), M = n.create().update(w).update(f).digest(), k = M.subarray(0, 32), $ = e.encrypt(O, w, M.subarray(32, 64)), v = Je(l, $), I = s.create({ dkLen: 32 }).update(m).update(l).digest();
1363
1363
  return G(w, $, v ? I : k), v ? k : I;
1364
1364
  }
1365
1365
  };
@@ -1377,7 +1377,7 @@ const is = {
1377
1377
  ...is,
1378
1378
  ...Zn[768]
1379
1379
  });
1380
- class _ {
1380
+ class S {
1381
1381
  /**
1382
1382
  * Class constructor
1383
1383
  *
@@ -1398,11 +1398,11 @@ class _ {
1398
1398
  batchId: i = null,
1399
1399
  characters: a = null
1400
1400
  }) {
1401
- this.token = n, this.balance = "0", this.molecules = {}, this.key = null, this.privkey = null, this.pubkey = null, this.tokenUnits = [], this.tradeRates = {}, this.address = s, this.position = r, this.bundle = t, this.batchId = i, this.characters = a, e && (this.bundle = this.bundle || fe(e, "Wallet::constructor"), this.position = this.position || _.generatePosition(), this.key = _.generateKey({
1401
+ this.token = n, this.balance = "0", this.molecules = {}, this.key = null, this.privkey = null, this.pubkey = null, this.tokenUnits = [], this.tradeRates = {}, this.address = s, this.position = r, this.bundle = t, this.batchId = i, this.characters = a, e && (this.bundle = this.bundle || fe(e, "Wallet::constructor"), this.position = this.position || S.generatePosition(), this.key = S.generateKey({
1402
1402
  secret: e,
1403
1403
  token: this.token,
1404
1404
  position: this.position
1405
- }), this.address = this.address || _.generateAddress(this.key), this.characters = this.characters || "BASE64", this.initializeMLKEM());
1405
+ }), this.address = this.address || S.generateAddress(this.key), this.characters = this.characters || "BASE64", this.initializeMLKEM());
1406
1406
  }
1407
1407
  /**
1408
1408
  * Creates a new Wallet instance
@@ -1424,7 +1424,7 @@ class _ {
1424
1424
  let i = null;
1425
1425
  if (!e && !t)
1426
1426
  throw new ze();
1427
- return e && !t && (i = _.generatePosition(), t = fe(e, "Wallet::create")), new _({
1427
+ return e && !t && (i = S.generatePosition(), t = fe(e, "Wallet::create")), new S({
1428
1428
  secret: e,
1429
1429
  bundle: t,
1430
1430
  token: n,
@@ -1586,7 +1586,7 @@ class _ {
1586
1586
  * @param secret
1587
1587
  */
1588
1588
  createRemainder(e) {
1589
- const t = _.create({
1589
+ const t = S.create({
1590
1590
  secret: e,
1591
1591
  token: this.token,
1592
1592
  characters: this.characters
@@ -1768,7 +1768,7 @@ class Y extends x {
1768
1768
  super(e, t, n), this.name = "TransferBalanceException";
1769
1769
  }
1770
1770
  }
1771
- class Se extends x {
1771
+ class _e extends x {
1772
1772
  /**
1773
1773
  * Class constructor
1774
1774
  *
@@ -1780,7 +1780,7 @@ class Se extends x {
1780
1780
  super(e, t, n), this.name = "TransferMalformedException";
1781
1781
  }
1782
1782
  }
1783
- class St extends x {
1783
+ class _t extends x {
1784
1784
  /**
1785
1785
  * @param {string} message
1786
1786
  * @param {string|null} fileName
@@ -1790,7 +1790,7 @@ class St extends x {
1790
1790
  super(e, t, n), this.name = "TransferMismatchedException";
1791
1791
  }
1792
1792
  }
1793
- class _t extends x {
1793
+ class St extends x {
1794
1794
  /**
1795
1795
  * Class constructor
1796
1796
  *
@@ -1902,7 +1902,7 @@ class ee extends x {
1902
1902
  super(e, t, n), this.name = "CodeException";
1903
1903
  }
1904
1904
  }
1905
- class _e {
1905
+ class Se {
1906
1906
  /**
1907
1907
  *
1908
1908
  * @param {string} action
@@ -1986,7 +1986,7 @@ class _e {
1986
1986
  * @return Callback
1987
1987
  */
1988
1988
  static toObject(e) {
1989
- const t = new _e({
1989
+ const t = new Se({
1990
1990
  action: e.action
1991
1991
  });
1992
1992
  return e.metaType && (t.metaType = e.metaType), e.metaId && (t.metaId = e.metaId), e.meta && (t.meta = e.meta), e.address && (t.address = e.address), e.token && (t.token = e.token), e.amount && (t.amount = e.amount), e.comparison && (t.comparison = e.comparison), t;
@@ -2099,7 +2099,7 @@ class Ae {
2099
2099
  if (!(n instanceof Ze))
2100
2100
  throw new Pe();
2101
2101
  for (const n of t)
2102
- if (!(n instanceof _e))
2102
+ if (!(n instanceof Se))
2103
2103
  throw new Pe();
2104
2104
  this.__condition = e, this.__callback = t;
2105
2105
  }
@@ -2114,7 +2114,7 @@ class Ae {
2114
2114
  * @param {Callback[]|{}} callback
2115
2115
  */
2116
2116
  set callback(e) {
2117
- this.__callback.push(e instanceof _e ? e : _e.toObject(e));
2117
+ this.__callback.push(e instanceof Se ? e : Se.toObject(e));
2118
2118
  }
2119
2119
  /**
2120
2120
  *
@@ -2301,7 +2301,7 @@ class ve {
2301
2301
  if (!Object.keys(n).includes(i))
2302
2302
  throw new kt(`${i} is missing from the meta.`);
2303
2303
  for (const c of a)
2304
- if (!_.isBundleHash(c) && !["all", "self"].includes(c))
2304
+ if (!S.isBundleHash(c) && !["all", "self"].includes(c))
2305
2305
  throw new kt(`${c} does not correspond to the format of the policy.`);
2306
2306
  }
2307
2307
  }
@@ -2418,7 +2418,7 @@ class ve {
2418
2418
  throw new H("Check::isotopeB() - B-isotope atoms must have a metaId!");
2419
2419
  const s = Number(n.value);
2420
2420
  if (Number.isNaN(s))
2421
- throw new Se("Check::isotopeB() - B-isotope atom value is not a valid number!");
2421
+ throw new _e("Check::isotopeB() - B-isotope atom value is not a valid number!");
2422
2422
  }
2423
2423
  const t = this.molecule.getIsotopes("V");
2424
2424
  if (t.length > 0) {
@@ -2448,9 +2448,9 @@ class ve {
2448
2448
  throw new H("Check::isotopeF() - F-isotope atoms must have a metaId!");
2449
2449
  const s = Number(n.value);
2450
2450
  if (Number.isNaN(s))
2451
- throw new Se("Check::isotopeF() - F-isotope atom value is not a valid number!");
2451
+ throw new _e("Check::isotopeF() - F-isotope atom value is not a valid number!");
2452
2452
  if (s < 0)
2453
- throw new Se("Check::isotopeF() - F-isotope atom value must not be negative!");
2453
+ throw new _e("Check::isotopeF() - F-isotope atom value must not be negative!");
2454
2454
  }
2455
2455
  const t = this.molecule.getIsotopes("V");
2456
2456
  if (t.length > 0) {
@@ -2477,9 +2477,9 @@ class ve {
2477
2477
  if (!n && s.isotope === "V" && t.length === 2) {
2478
2478
  const a = t[t.length - 1];
2479
2479
  if (s.token !== a.token)
2480
- throw new St();
2480
+ throw new _t();
2481
2481
  if (a.value < 0)
2482
- throw new Se();
2482
+ throw new _e();
2483
2483
  if (Number(s.value) + Number(a.value) !== 0)
2484
2484
  throw new Oe();
2485
2485
  return !0;
@@ -2493,10 +2493,10 @@ class ve {
2493
2493
  if (i = c.value * 1, Number.isNaN(i))
2494
2494
  throw new TypeError('Invalid isotope "V" values');
2495
2495
  if (c.token !== s.token)
2496
- throw new St();
2496
+ throw new _t();
2497
2497
  if (a > 0) {
2498
2498
  if (i < 0)
2499
- throw new Se();
2499
+ throw new _e();
2500
2500
  if (c.walletAddress === s.walletAddress)
2501
2501
  throw new cs();
2502
2502
  }
@@ -2511,9 +2511,9 @@ class ve {
2511
2511
  if (a < 0)
2512
2512
  throw new Y();
2513
2513
  if (!n && a !== r)
2514
- throw new _t();
2514
+ throw new St();
2515
2515
  } else if (i !== 0)
2516
- throw new _t();
2516
+ throw new St();
2517
2517
  return !0;
2518
2518
  }
2519
2519
  /**
@@ -2690,7 +2690,7 @@ class z {
2690
2690
  version: i = null,
2691
2691
  continuIdPosition: a = null
2692
2692
  }) {
2693
- this.status = null, this.molecularHash = null, this.createdAt = String(+/* @__PURE__ */ new Date()), this.cellSlugOrigin = this.cellSlug = r, this.secret = e, this.bundle = t, this.sourceWallet = n, this.continuIdPosition = a, this.atoms = [], this.parentHashes = [], i !== null && Object.prototype.hasOwnProperty.call(qe, i) && (this.version = String(i)), (s || n) && (this.remainderWallet = s || _.create({
2693
+ this.status = null, this.molecularHash = null, this.createdAt = String(+/* @__PURE__ */ new Date()), this.cellSlugOrigin = this.cellSlug = r, this.secret = e, this.bundle = t, this.sourceWallet = n, this.continuIdPosition = a, this.atoms = [], this.parentHashes = [], i !== null && Object.prototype.hasOwnProperty.call(We, i) && (this.version = String(i)), (s || n) && (this.remainderWallet = s || S.create({
2694
2694
  secret: e,
2695
2695
  bundle: t,
2696
2696
  token: n.token,
@@ -2854,7 +2854,7 @@ class z {
2854
2854
  * @return {Molecule}
2855
2855
  */
2856
2856
  addContinuIdAtom() {
2857
- (!this.remainderWallet || this.remainderWallet.token !== "USER") && (this.remainderWallet = _.create({
2857
+ (!this.remainderWallet || this.remainderWallet.token !== "USER") && (this.remainderWallet = S.create({
2858
2858
  secret: this.secret,
2859
2859
  bundle: this.bundle
2860
2860
  }));
@@ -2934,7 +2934,7 @@ class z {
2934
2934
  throw new Ye("Molecule::burnToken() - Amount to burn must be positive!");
2935
2935
  if (this.sourceWallet.balance - e < 0)
2936
2936
  throw new ue();
2937
- const n = new _({
2937
+ const n = new S({
2938
2938
  bundle: "0000000000000000000000000000000000000000000000000000000000000000",
2939
2939
  token: this.sourceWallet.token
2940
2940
  });
@@ -2971,7 +2971,7 @@ class z {
2971
2971
  if (e < 0)
2972
2972
  throw new Ye("Molecule::replenishToken() - Amount to replenish must be positive!");
2973
2973
  if (t.length) {
2974
- t = _.getTokenUnits(t), this.remainderWallet.tokenUnits = this.sourceWallet.tokenUnits;
2974
+ t = S.getTokenUnits(t), this.remainderWallet.tokenUnits = this.sourceWallet.tokenUnits;
2975
2975
  for (const n of t)
2976
2976
  this.remainderWallet.tokenUnits.push(n);
2977
2977
  this.remainderWallet.balance = String(this.remainderWallet.tokenUnits.length), this.sourceWallet.tokenUnits = t, this.sourceWallet.balance = String(this.sourceWallet.tokenUnits.length);
@@ -3071,7 +3071,7 @@ class z {
3071
3071
  }) {
3072
3072
  if (this.sourceWallet.balance - e < 0)
3073
3073
  throw new ue();
3074
- const n = _.create({
3074
+ const n = S.create({
3075
3075
  secret: this.secret,
3076
3076
  bundle: this.bundle,
3077
3077
  token: this.sourceWallet.token,
@@ -3379,7 +3379,7 @@ class z {
3379
3379
  const i = T.get(s.aggregatedMeta(), "signingWallet");
3380
3380
  if (i && (r = T.get(JSON.parse(i), "position")), !r)
3381
3381
  throw new zt("Signing wallet must have a position!");
3382
- const a = _.generateKey({
3382
+ const a = S.generateKey({
3383
3383
  secret: this.secret,
3384
3384
  token: s.token,
3385
3385
  position: s.position
@@ -3387,7 +3387,7 @@ class z {
3387
3387
  let l = "";
3388
3388
  for (const d in c) {
3389
3389
  let b = c[d];
3390
- for (let A = 0, M = 8 - u[d]; A < M; A++)
3390
+ for (let A = 0, O = 8 - u[d]; A < O; A++)
3391
3391
  b = new L("SHAKE256", "TEXT").update(b).getHash("HEX", { outputLen: 512 });
3392
3392
  l += b;
3393
3393
  }
@@ -3512,14 +3512,14 @@ class z {
3512
3512
  } catch (u) {
3513
3513
  throw new Error(`Failed to reconstruct atom ${c}: ${u.message}`);
3514
3514
  }
3515
- })), n && (r.sourceWallet && (i.sourceWallet = new _({
3515
+ })), n && (r.sourceWallet && (i.sourceWallet = new S({
3516
3516
  secret: null,
3517
3517
  token: r.sourceWallet.token,
3518
3518
  position: r.sourceWallet.position,
3519
3519
  bundle: r.sourceWallet.bundle,
3520
3520
  batchId: r.sourceWallet.batchId,
3521
3521
  characters: r.sourceWallet.characters
3522
- }), i.sourceWallet.balance = String(r.sourceWallet.balance != null ? r.sourceWallet.balance : 0), i.sourceWallet.address = r.sourceWallet.address, r.sourceWallet.pubkey && (i.sourceWallet.pubkey = r.sourceWallet.pubkey), i.sourceWallet.tokenUnits = r.sourceWallet.tokenUnits || [], i.sourceWallet.tradeRates = r.sourceWallet.tradeRates || {}, i.sourceWallet.molecules = r.sourceWallet.molecules || {}), r.remainderWallet && (i.remainderWallet = new _({
3522
+ }), i.sourceWallet.balance = String(r.sourceWallet.balance != null ? r.sourceWallet.balance : 0), i.sourceWallet.address = r.sourceWallet.address, r.sourceWallet.pubkey && (i.sourceWallet.pubkey = r.sourceWallet.pubkey), i.sourceWallet.tokenUnits = r.sourceWallet.tokenUnits || [], i.sourceWallet.tradeRates = r.sourceWallet.tradeRates || {}, i.sourceWallet.molecules = r.sourceWallet.molecules || {}), r.remainderWallet && (i.remainderWallet = new S({
3523
3523
  secret: null,
3524
3524
  token: r.remainderWallet.token,
3525
3525
  position: r.remainderWallet.position,
@@ -3581,7 +3581,7 @@ class xe {
3581
3581
  * @return {AuthToken}
3582
3582
  */
3583
3583
  static restore(e, t) {
3584
- const n = new _({
3584
+ const n = new S({
3585
3585
  secret: t,
3586
3586
  token: "AUTH",
3587
3587
  position: e.wallet.position,
@@ -3716,7 +3716,7 @@ class Ke extends x {
3716
3716
  super(e, t, n), this.name = "UnauthenticatedException";
3717
3717
  }
3718
3718
  }
3719
- class E {
3719
+ class C {
3720
3720
  /**
3721
3721
  * Class constructor
3722
3722
  *
@@ -3931,7 +3931,7 @@ class K {
3931
3931
  * @return {Response}
3932
3932
  */
3933
3933
  createResponse(e) {
3934
- return new E({
3934
+ return new C({
3935
3935
  query: this,
3936
3936
  json: e
3937
3937
  });
@@ -3973,7 +3973,7 @@ class K {
3973
3973
  return this.$__response = await this.createResponseRaw(s), this.$__response;
3974
3974
  } catch (s) {
3975
3975
  if (s.name === "AbortError")
3976
- return this.knishIOClient.log("warn", "Query was cancelled"), new E({
3976
+ return this.knishIOClient.log("warn", "Query was cancelled"), new C({
3977
3977
  query: this,
3978
3978
  json: { data: null, errors: [{ message: "Query was cancelled" }] }
3979
3979
  });
@@ -4009,7 +4009,7 @@ class K {
4009
4009
  return {};
4010
4010
  }
4011
4011
  }
4012
- class us extends E {
4012
+ class us extends C {
4013
4013
  /**
4014
4014
  * Class constructor
4015
4015
  *
@@ -4034,7 +4034,7 @@ class us extends E {
4034
4034
  payload() {
4035
4035
  let e = null;
4036
4036
  const t = this.data();
4037
- return t && (e = new _({
4037
+ return t && (e = new S({
4038
4038
  secret: null,
4039
4039
  token: t.tokenSlug
4040
4040
  }), e.address = t.address, e.position = t.position, e.bundle = t.bundleHash, e.batchId = t.batchId, e.characters = t.characters, e.pubkey = t.pubkey, e.balance = String(t.amount != null ? t.amount : 0)), e;
@@ -4046,7 +4046,7 @@ class hs extends K {
4046
4046
  * @param {KnishIOClient} knishIOClient
4047
4047
  */
4048
4048
  constructor(e, t) {
4049
- super(e, t), this.$__query = O`query ($bundle: String!) {
4049
+ super(e, t), this.$__query = E`query ($bundle: String!) {
4050
4050
  ContinuId(bundle: $bundle) {
4051
4051
  address,
4052
4052
  bundleHash,
@@ -4080,7 +4080,7 @@ class hs extends K {
4080
4080
  });
4081
4081
  }
4082
4082
  }
4083
- class ds extends E {
4083
+ class ds extends C {
4084
4084
  /**
4085
4085
  * Class constructor
4086
4086
  *
@@ -4118,7 +4118,7 @@ class ps extends K {
4118
4118
  * @param {KnishIOClient} knishIOClient
4119
4119
  */
4120
4120
  constructor(e, t) {
4121
- super(e, t), this.$__query = O`query( $bundleHashes: [ String! ] ) {
4121
+ super(e, t), this.$__query = E`query( $bundleHashes: [ String! ] ) {
4122
4122
  WalletBundle( bundleHashes: $bundleHashes ) {
4123
4123
  bundleHash,
4124
4124
  metas {
@@ -4145,7 +4145,7 @@ class ps extends K {
4145
4145
  });
4146
4146
  }
4147
4147
  }
4148
- class Le extends E {
4148
+ class Le extends C {
4149
4149
  /**
4150
4150
  * Class constructor
4151
4151
  *
@@ -4174,12 +4174,12 @@ class Le extends E {
4174
4174
  secret: t = null
4175
4175
  }) {
4176
4176
  let n;
4177
- if (e.position === null || typeof e.position > "u" ? n = _.create({
4177
+ if (e.position === null || typeof e.position > "u" ? n = S.create({
4178
4178
  bundle: e.bundleHash,
4179
4179
  token: e.tokenSlug,
4180
4180
  batchId: e.batchId,
4181
4181
  characters: e.characters
4182
- }) : (n = new _({
4182
+ }) : (n = new S({
4183
4183
  secret: t,
4184
4184
  token: e.tokenSlug,
4185
4185
  position: e.position,
@@ -4226,7 +4226,7 @@ class fs extends K {
4226
4226
  * @param {KnishIOClient} knishIOClient
4227
4227
  */
4228
4228
  constructor(e, t) {
4229
- super(e, t), this.$__query = O`query( $bundleHash: String, $token: String ) {
4229
+ super(e, t), this.$__query = E`query( $bundleHash: String, $token: String ) {
4230
4230
  Wallet( bundleHash: $bundleHash, token: $token ) {
4231
4231
  address,
4232
4232
  bundleHash,
@@ -4268,7 +4268,7 @@ class fs extends K {
4268
4268
  });
4269
4269
  }
4270
4270
  }
4271
- class ms extends E {
4271
+ class ms extends C {
4272
4272
  /**
4273
4273
  * Class constructor
4274
4274
  *
@@ -4303,7 +4303,7 @@ class ys extends K {
4303
4303
  * @param {KnishIOClient} knishIOClient
4304
4304
  */
4305
4305
  constructor(e, t) {
4306
- super(e, t), this.$__query = O`query( $address: String, $bundleHash: String, $type: String, $token: String, $position: String ) {
4306
+ super(e, t), this.$__query = E`query( $address: String, $bundleHash: String, $type: String, $token: String, $position: String ) {
4307
4307
  Balance( address: $address, bundleHash: $bundleHash, type: $type, token: $token, position: $position ) {
4308
4308
  address,
4309
4309
  bundleHash,
@@ -4338,7 +4338,7 @@ class ys extends K {
4338
4338
  });
4339
4339
  }
4340
4340
  }
4341
- class gs extends E {
4341
+ class gs extends C {
4342
4342
  /**
4343
4343
  * Class constructor
4344
4344
  *
@@ -4378,7 +4378,7 @@ class At extends K {
4378
4378
  * @param {KnishIOClient} knishIOClient
4379
4379
  */
4380
4380
  constructor(e, t) {
4381
- super(e, t), this.$__query = O`query( $metaType: String, $metaTypes: [ String! ], $metaId: String, $metaIds: [ String! ], $key: String, $keys: [ String! ], $value: String, $values: [ String! ], $count: String, $latest: Boolean, $filter: [ MetaFilter! ], $queryArgs: QueryArgs, $countBy: String, $cellSlug: String ) {
4381
+ super(e, t), this.$__query = E`query( $metaType: String, $metaTypes: [ String! ], $metaId: String, $metaIds: [ String! ], $key: String, $keys: [ String! ], $value: String, $values: [ String! ], $count: String, $latest: Boolean, $filter: [ MetaFilter! ], $queryArgs: QueryArgs, $countBy: String, $cellSlug: String ) {
4382
4382
  MetaType( metaType: $metaType, metaTypes: $metaTypes, metaId: $metaId, metaIds: $metaIds, key: $key, keys: $keys, value: $value, values: $values, count: $count, filter: $filter, queryArgs: $queryArgs, countBy: $countBy, cellSlug: $cellSlug ) {
4383
4383
  metaType,
4384
4384
  instanceCount {
@@ -4453,7 +4453,7 @@ class Ie extends K {
4453
4453
  * @param {KnishIOClient} knishIOClient
4454
4454
  */
4455
4455
  constructor(e, t) {
4456
- super(e, t), this.$__query = O`query( $batchId: String ) {
4456
+ super(e, t), this.$__query = E`query( $batchId: String ) {
4457
4457
  Batch( batchId: $batchId ) {
4458
4458
  ${Ie.getFields()},
4459
4459
  children {
@@ -4521,7 +4521,7 @@ class Ie extends K {
4521
4521
  * @return {Response}
4522
4522
  */
4523
4523
  createResponse(e) {
4524
- const t = new E({
4524
+ const t = new C({
4525
4525
  query: this,
4526
4526
  json: e
4527
4527
  });
@@ -4534,7 +4534,7 @@ class bs extends K {
4534
4534
  * @param {KnishIOClient} knishIOClient
4535
4535
  */
4536
4536
  constructor(e, t) {
4537
- super(e, t), this.$__query = O`query( $batchId: String ) {
4537
+ super(e, t), this.$__query = E`query( $batchId: String ) {
4538
4538
  BatchHistory( batchId: $batchId ) {
4539
4539
  ${Ie.getFields()}
4540
4540
  }
@@ -4547,14 +4547,14 @@ class bs extends K {
4547
4547
  * @return {Response}
4548
4548
  */
4549
4549
  createResponse(e) {
4550
- const t = new E({
4550
+ const t = new C({
4551
4551
  query: this,
4552
4552
  json: e
4553
4553
  });
4554
4554
  return t.dataKey = "data.BatchHistory", t;
4555
4555
  }
4556
4556
  }
4557
- class V extends E {
4557
+ class V extends C {
4558
4558
  /**
4559
4559
  * Class constructor
4560
4560
  *
@@ -4666,7 +4666,7 @@ class Qe extends K {
4666
4666
  return this.$__response = await this.createResponseRaw(r), this.$__response;
4667
4667
  } catch (s) {
4668
4668
  if (s.name === "AbortError")
4669
- return this.knishIOClient.log("warn", "Mutation was cancelled"), new E({
4669
+ return this.knishIOClient.log("warn", "Mutation was cancelled"), new C({
4670
4670
  query: this,
4671
4671
  json: { data: null, errors: [{ message: "Mutation was cancelled" }] }
4672
4672
  });
@@ -4677,14 +4677,14 @@ class Qe extends K {
4677
4677
  return {};
4678
4678
  }
4679
4679
  }
4680
- class q extends Qe {
4680
+ class W extends Qe {
4681
4681
  /**
4682
4682
  * @param {UrqlClientWrapper} graphQLClient
4683
4683
  * @param {KnishIOClient} knishIOClient
4684
4684
  * @param molecule
4685
4685
  */
4686
4686
  constructor(e, t, n) {
4687
- super(e, t), this.$__molecule = n, this.$__remainderWallet = null, this.$__query = O`mutation( $molecule: MoleculeInput! ) {
4687
+ super(e, t), this.$__molecule = n, this.$__remainderWallet = null, this.$__query = E`mutation( $molecule: MoleculeInput! ) {
4688
4688
  ProposeMolecule( molecule: $molecule ) {
4689
4689
  molecularHash,
4690
4690
  height,
@@ -4809,7 +4809,7 @@ class ws extends V {
4809
4809
  return this.payloadKey("key");
4810
4810
  }
4811
4811
  }
4812
- class ks extends q {
4812
+ class ks extends W {
4813
4813
  /**
4814
4814
  *
4815
4815
  * @param {object} meta
@@ -4830,9 +4830,9 @@ class ks extends q {
4830
4830
  });
4831
4831
  }
4832
4832
  }
4833
- class Ss extends V {
4833
+ class _s extends V {
4834
4834
  }
4835
- class _s extends q {
4835
+ class Ss extends W {
4836
4836
  /**
4837
4837
  * @param {Wallet|null} recipientWallet
4838
4838
  * @param {number|null} amount
@@ -4858,7 +4858,7 @@ class _s extends q {
4858
4858
  * @return {ResponseCreateToken}
4859
4859
  */
4860
4860
  createResponse(e) {
4861
- return new Ss({
4861
+ return new _s({
4862
4862
  query: this,
4863
4863
  json: e
4864
4864
  });
@@ -4866,7 +4866,7 @@ class _s extends q {
4866
4866
  }
4867
4867
  class $s extends V {
4868
4868
  }
4869
- class As extends q {
4869
+ class As extends W {
4870
4870
  /**
4871
4871
  * Fills a Molecule with the appropriate atoms and prepares for broadcast
4872
4872
  *
@@ -4921,7 +4921,7 @@ class vs extends V {
4921
4921
  return e.reason = typeof t.reason > "u" ? "Invalid response from server" : t.reason, e.status = typeof t.status > "u" ? "rejected" : t.status, e;
4922
4922
  }
4923
4923
  }
4924
- class xs extends q {
4924
+ class xs extends W {
4925
4925
  /**
4926
4926
  * Fills the Molecule with provided wallet and amount data
4927
4927
  *
@@ -4952,7 +4952,7 @@ class xs extends q {
4952
4952
  }
4953
4953
  class Is extends V {
4954
4954
  }
4955
- class Ts extends q {
4955
+ class Ts extends W {
4956
4956
  fillMolecule({
4957
4957
  type: e,
4958
4958
  contact: t,
@@ -4979,7 +4979,7 @@ class Ts extends q {
4979
4979
  }
4980
4980
  class Ms extends V {
4981
4981
  }
4982
- class Cs extends q {
4982
+ class Cs extends W {
4983
4983
  /**
4984
4984
  * Class constructor
4985
4985
  *
@@ -4990,7 +4990,7 @@ class Cs extends q {
4990
4990
  token: e,
4991
4991
  batchId: t = null
4992
4992
  }) {
4993
- const n = _.create({
4993
+ const n = S.create({
4994
4994
  secret: this.$__molecule.secret,
4995
4995
  bundle: this.$__molecule.bundle,
4996
4996
  token: e,
@@ -5013,7 +5013,7 @@ class Cs extends q {
5013
5013
  }
5014
5014
  class Es extends V {
5015
5015
  }
5016
- class Os extends q {
5016
+ class Os extends W {
5017
5017
  /**
5018
5018
  * Fills a molecule with an appropriate metadata atom
5019
5019
  *
@@ -5050,7 +5050,7 @@ class Os extends q {
5050
5050
  }
5051
5051
  class Rs extends V {
5052
5052
  }
5053
- class Ws extends q {
5053
+ class qs extends W {
5054
5054
  /**
5055
5055
  * Fills a molecule with a P-isotope peering atom
5056
5056
  *
@@ -5076,9 +5076,9 @@ class Ws extends q {
5076
5076
  });
5077
5077
  }
5078
5078
  }
5079
- class qs extends V {
5079
+ class Ws extends V {
5080
5080
  }
5081
- class Us extends q {
5081
+ class Us extends W {
5082
5082
  /**
5083
5083
  * Fills a molecule with an A-isotope append request atom
5084
5084
  *
@@ -5107,13 +5107,13 @@ class Us extends q {
5107
5107
  * @return {ResponseAppendRequest}
5108
5108
  */
5109
5109
  createResponse(e) {
5110
- return new qs({
5110
+ return new Ws({
5111
5111
  query: this,
5112
5112
  json: e
5113
5113
  });
5114
5114
  }
5115
5115
  }
5116
- class Bs extends E {
5116
+ class Bs extends C {
5117
5117
  /**
5118
5118
  * Class constructor
5119
5119
  *
@@ -5153,7 +5153,7 @@ class Hs extends Qe {
5153
5153
  * @param {KnishIOClient} knishIOClient
5154
5154
  */
5155
5155
  constructor(e, t) {
5156
- super(e, t), this.$__query = O`mutation( $bundle: String!, $type: String!, $content: String! ) {
5156
+ super(e, t), this.$__query = E`mutation( $bundle: String!, $type: String!, $content: String! ) {
5157
5157
  LinkIdentifier( bundle: $bundle, type: $type, content: $content ) {
5158
5158
  type,
5159
5159
  bundle,
@@ -5178,7 +5178,7 @@ class Hs extends Qe {
5178
5178
  }
5179
5179
  class Ps extends V {
5180
5180
  }
5181
- class Ks extends q {
5181
+ class Ks extends W {
5182
5182
  fillMolecule(e) {
5183
5183
  this.$__molecule.initWalletCreation(e), this.$__molecule.sign({}), this.$__molecule.check();
5184
5184
  }
@@ -5195,7 +5195,7 @@ class Ks extends q {
5195
5195
  });
5196
5196
  }
5197
5197
  }
5198
- class Ns extends E {
5198
+ class Ns extends C {
5199
5199
  /**
5200
5200
  * Class constructor
5201
5201
  *
@@ -5303,7 +5303,7 @@ class Fs extends Qe {
5303
5303
  * @param {KnishIOClient} knishIOClient
5304
5304
  */
5305
5305
  constructor(e, t) {
5306
- super(e, t), this.$__query = O`mutation( $cellSlug: String, $pubkey: String, $encrypt: Boolean ) {
5306
+ super(e, t), this.$__query = E`mutation( $cellSlug: String, $pubkey: String, $encrypt: Boolean ) {
5307
5307
  AccessToken( cellSlug: $cellSlug, pubkey: $pubkey, encrypt: $encrypt ) {
5308
5308
  token,
5309
5309
  pubkey,
@@ -5432,7 +5432,7 @@ class je {
5432
5432
  }
5433
5433
  class Qs extends je {
5434
5434
  constructor(e) {
5435
- super(e), this.$__subscribe = O`
5435
+ super(e), this.$__subscribe = E`
5436
5436
  subscription onCreateMolecule ( $bundle: String! ) {
5437
5437
  CreateMolecule( bundle: $bundle ) {
5438
5438
  molecularHash,
@@ -5482,7 +5482,7 @@ class Qs extends je {
5482
5482
  }
5483
5483
  class js extends je {
5484
5484
  constructor(e) {
5485
- super(e), this.$__subscribe = O`
5485
+ super(e), this.$__subscribe = E`
5486
5486
  subscription onWalletStatus ( $bundle: String!, $token: String! ) {
5487
5487
  WalletStatus( bundle: $bundle, token: $token ) {
5488
5488
  bundle,
@@ -5496,7 +5496,7 @@ class js extends je {
5496
5496
  }
5497
5497
  class Ds extends je {
5498
5498
  constructor(e) {
5499
- super(e), this.$__subscribe = O`
5499
+ super(e), this.$__subscribe = E`
5500
5500
  subscription onActiveWallet ( $bundle: String! ) {
5501
5501
  ActiveWallet( bundle: $bundle ) {
5502
5502
  address,
@@ -5539,7 +5539,7 @@ class Ds extends je {
5539
5539
  }
5540
5540
  class Vs extends je {
5541
5541
  constructor(e) {
5542
- super(e), this.$__subscribe = O`
5542
+ super(e), this.$__subscribe = E`
5543
5543
  subscription onActiveUser ( $metaType: String!, $metaId: String! ) {
5544
5544
  ActiveUser( metaType: $metaType, metaId: $metaId ) {
5545
5545
  bundleHash,
@@ -5552,7 +5552,7 @@ class Vs extends je {
5552
5552
  }`;
5553
5553
  }
5554
5554
  }
5555
- class zs extends E {
5555
+ class zs extends C {
5556
5556
  /**
5557
5557
  * Class constructor
5558
5558
  *
@@ -5576,7 +5576,7 @@ class Js extends Qe {
5576
5576
  * @param {KnishIOClient} knishIOClient
5577
5577
  */
5578
5578
  constructor(e, t) {
5579
- super(e, t), this.$__query = O`mutation(
5579
+ super(e, t), this.$__query = E`mutation(
5580
5580
  $bundleHash: String!,
5581
5581
  $metaType: String!,
5582
5582
  $metaId: String!,
@@ -5619,7 +5619,7 @@ class Js extends Qe {
5619
5619
  });
5620
5620
  }
5621
5621
  }
5622
- class Gs extends E {
5622
+ class Gs extends C {
5623
5623
  /**
5624
5624
  * Class constructor
5625
5625
  *
@@ -5654,7 +5654,7 @@ class Xs extends K {
5654
5654
  * @param {KnishIOClient} knishIOClient
5655
5655
  */
5656
5656
  constructor(e, t) {
5657
- super(e, t), this.$__query = O`query ActiveUserQuery ($bundleHash:String, $metaType: String, $metaId: String) {
5657
+ super(e, t), this.$__query = E`query ActiveUserQuery ($bundleHash:String, $metaType: String, $metaId: String) {
5658
5658
  ActiveUser (bundleHash: $bundleHash, metaType: $metaType, metaId: $metaId) {
5659
5659
  bundleHash,
5660
5660
  metaType,
@@ -5676,7 +5676,7 @@ class Xs extends K {
5676
5676
  });
5677
5677
  }
5678
5678
  }
5679
- class Zs extends E {
5679
+ class Zs extends C {
5680
5680
  /**
5681
5681
  * Class constructor
5682
5682
  *
@@ -5707,7 +5707,7 @@ class Ys extends K {
5707
5707
  * @param {KnishIOClient} knishIOClient
5708
5708
  */
5709
5709
  constructor(e, t) {
5710
- super(e, t), this.$__query = O`query UserActivity (
5710
+ super(e, t), this.$__query = E`query UserActivity (
5711
5711
  $bundleHash:String,
5712
5712
  $metaType: String,
5713
5713
  $metaId: String,
@@ -5801,7 +5801,7 @@ class er extends K {
5801
5801
  * @param {KnishIOClient} knishIOClient
5802
5802
  */
5803
5803
  constructor(e, t) {
5804
- super(e, t), this.$__query = O`query( $slug: String, $slugs: [ String! ], $limit: Int, $order: String ) {
5804
+ super(e, t), this.$__query = E`query( $slug: String, $slugs: [ String! ], $limit: Int, $order: String ) {
5805
5805
  Token( slug: $slug, slugs: $slugs, limit: $limit, order: $order ) {
5806
5806
  slug,
5807
5807
  name,
@@ -5819,7 +5819,7 @@ class er extends K {
5819
5819
  * @returns {Response}
5820
5820
  */
5821
5821
  createResponse(e) {
5822
- return new E({
5822
+ return new C({
5823
5823
  query: this,
5824
5824
  json: e,
5825
5825
  dataKey: "data.Token"
@@ -5838,7 +5838,7 @@ class xt extends x {
5838
5838
  super(e, t, n), this.name = "AuthorizationRejectedException";
5839
5839
  }
5840
5840
  }
5841
- class tr extends E {
5841
+ class tr extends C {
5842
5842
  /**
5843
5843
  * Class constructor
5844
5844
  *
@@ -5892,7 +5892,7 @@ class It extends K {
5892
5892
  * @param {KnishIOClient} knishIOClient
5893
5893
  */
5894
5894
  constructor(e, t) {
5895
- super(e, t), this.$__query = O`query(
5895
+ super(e, t), this.$__query = E`query(
5896
5896
  $molecularHashes: [String!],
5897
5897
  $bundleHashes: [String!],
5898
5898
  $positions:[String!],
@@ -5998,20 +5998,20 @@ class It extends K {
5998
5998
  cellSlugs: d,
5999
5999
  cellSlug: b,
6000
6000
  batchIds: A,
6001
- batchId: M,
6001
+ batchId: O,
6002
6002
  values: f,
6003
- value: y,
6003
+ value: m,
6004
6004
  metaTypes: w,
6005
- metaType: C,
6005
+ metaType: M,
6006
6006
  metaIds: k,
6007
6007
  metaId: $,
6008
6008
  indexes: v,
6009
6009
  index: I,
6010
- filter: S,
6010
+ filter: _,
6011
6011
  latest: U,
6012
6012
  queryArgs: R
6013
6013
  }) {
6014
- return t && (e = e || [], e.push(t)), s && (n = n || [], n.push(s)), i && (r = r || [], r.push(i)), c && (a = a || [], a.push(c)), l && (u = u || [], u.push(l)), p && (h = h || [], h.push(p)), b && (d = d || [], d.push(b)), M && (A = A || [], A.push(M)), y && (f = f || [], f.push(y)), C && (w = w || [], w.push(C)), $ && (k = k || [], k.push($)), I && (v = v || [], v.push(I)), {
6014
+ return t && (e = e || [], e.push(t)), s && (n = n || [], n.push(s)), i && (r = r || [], r.push(i)), c && (a = a || [], a.push(c)), l && (u = u || [], u.push(l)), p && (h = h || [], h.push(p)), b && (d = d || [], d.push(b)), O && (A = A || [], A.push(O)), m && (f = f || [], f.push(m)), M && (w = w || [], w.push(M)), $ && (k = k || [], k.push($)), I && (v = v || [], v.push(I)), {
6015
6015
  molecularHashes: e,
6016
6016
  bundleHashes: n,
6017
6017
  positions: r,
@@ -6024,7 +6024,7 @@ class It extends K {
6024
6024
  metaTypes: w,
6025
6025
  metaIds: k,
6026
6026
  indexes: v,
6027
- filter: S,
6027
+ filter: _,
6028
6028
  latest: U,
6029
6029
  queryArgs: R
6030
6030
  };
@@ -6042,7 +6042,7 @@ class It extends K {
6042
6042
  });
6043
6043
  }
6044
6044
  }
6045
- class nr extends E {
6045
+ class nr extends C {
6046
6046
  /**
6047
6047
  * Class constructor
6048
6048
  *
@@ -6073,7 +6073,7 @@ class sr extends K {
6073
6073
  * @param {KnishIOClient} knishIOClient
6074
6074
  */
6075
6075
  constructor(e, t) {
6076
- super(e, t), this.$__query = O`query( $metaType: String, $metaId: String, ) {
6076
+ super(e, t), this.$__query = E`query( $metaType: String, $metaId: String, ) {
6077
6077
  Policy( metaType: $metaType, metaId: $metaId ) {
6078
6078
  molecularHash,
6079
6079
  position,
@@ -6099,7 +6099,7 @@ class sr extends K {
6099
6099
  });
6100
6100
  }
6101
6101
  }
6102
- class rr extends E {
6102
+ class rr extends C {
6103
6103
  /**
6104
6104
  * Class constructor
6105
6105
  *
@@ -6134,7 +6134,7 @@ class Tt extends K {
6134
6134
  * @param {KnishIOClient} knishIOClient
6135
6135
  */
6136
6136
  constructor(e, t) {
6137
- super(e, t), this.$__query = O`query ($metaTypes: [String!], $metaIds: [String!], $values: [String!], $keys: [String!], $latest: Boolean, $filter: [MetaFilter!], $queryArgs: QueryArgs, $countBy: String, $atomValues: [String!], $cellSlugs: [String!] ) {
6137
+ super(e, t), this.$__query = E`query ($metaTypes: [String!], $metaIds: [String!], $values: [String!], $keys: [String!], $latest: Boolean, $filter: [MetaFilter!], $queryArgs: QueryArgs, $countBy: String, $atomValues: [String!], $cellSlugs: [String!] ) {
6138
6138
  MetaTypeViaAtom(
6139
6139
  metaTypes: $metaTypes
6140
6140
  metaIds: $metaIds
@@ -6220,7 +6220,7 @@ class Tt extends K {
6220
6220
  });
6221
6221
  }
6222
6222
  }
6223
- class ot extends E {
6223
+ class ot extends C {
6224
6224
  /**
6225
6225
  * Class constructor
6226
6226
  *
@@ -6327,7 +6327,7 @@ class Mt extends K {
6327
6327
  * @param {KnishIOClient} knishIOClient
6328
6328
  */
6329
6329
  constructor(e, t) {
6330
- super(e, t), this.$__query = O`query ($metaTypes: [String!], $metaIds: [String!], $values: [String!], $keys: [String!], $latest: Boolean, $filter: [MetaFilter!], $queryArgs: QueryArgs, $countBy: String, $atomValues: [String!], $cellSlugs: [String!] ) {
6330
+ super(e, t), this.$__query = E`query ($metaTypes: [String!], $metaIds: [String!], $values: [String!], $keys: [String!], $latest: Boolean, $filter: [MetaFilter!], $queryArgs: QueryArgs, $countBy: String, $atomValues: [String!], $cellSlugs: [String!] ) {
6331
6331
  MetaTypeViaAtom(
6332
6332
  metaTypes: $metaTypes
6333
6333
  metaIds: $metaIds
@@ -6434,7 +6434,7 @@ class Mt extends K {
6434
6434
  });
6435
6435
  }
6436
6436
  }
6437
- class ir extends E {
6437
+ class ir extends C {
6438
6438
  /**
6439
6439
  * Class constructor
6440
6440
  *
@@ -6476,7 +6476,7 @@ class Ct extends K {
6476
6476
  * @param {KnishIOClient} knishIOClient
6477
6477
  */
6478
6478
  constructor(e, t) {
6479
- super(e, t), this.$__query = O`query( $metaType: String, $metaId: String, $instances: [EmbeddingStatusInput!] ) {
6479
+ super(e, t), this.$__query = E`query( $metaType: String, $metaId: String, $instances: [EmbeddingStatusInput!] ) {
6480
6480
  embeddingStatus( metaType: $metaType, metaId: $metaId, instances: $instances ) {
6481
6481
  metaType,
6482
6482
  metaId,
@@ -6522,7 +6522,7 @@ class Ct extends K {
6522
6522
  }
6523
6523
  class or extends V {
6524
6524
  }
6525
- class ar extends q {
6525
+ class ar extends W {
6526
6526
  /**
6527
6527
  *
6528
6528
  * @param {string} metaType
@@ -6556,7 +6556,7 @@ class ar extends q {
6556
6556
  });
6557
6557
  }
6558
6558
  }
6559
- class lr extends q {
6559
+ class lr extends W {
6560
6560
  /**
6561
6561
  * Fills the Molecule with provided wallet and amount data
6562
6562
  *
@@ -6573,7 +6573,7 @@ class lr extends q {
6573
6573
  }), this.$__molecule.sign({}), this.$__molecule.check(this.$__molecule.sourceWallet);
6574
6574
  }
6575
6575
  }
6576
- class cr extends q {
6576
+ class cr extends W {
6577
6577
  /**
6578
6578
  *
6579
6579
  * @param recipients
@@ -6673,24 +6673,24 @@ function Z(o, e) {
6673
6673
  };
6674
6674
  }
6675
6675
  }
6676
- var W = { exclude: [], include: [], logging: !0 }, Jt = {}, ur = { timeout: "true" }, J = function(o, e) {
6676
+ var q = { exclude: [], include: [], logging: !0 }, Jt = {}, ur = { timeout: "true" }, J = function(o, e) {
6677
6677
  typeof window < "u" && (Jt[o] = e);
6678
6678
  }, hr = function() {
6679
6679
  return Object.fromEntries(Object.entries(Jt).filter((function(o) {
6680
6680
  var e, t = o[0];
6681
- return !(!((e = W == null ? void 0 : W.exclude) === null || e === void 0) && e.includes(t));
6681
+ return !(!((e = q == null ? void 0 : q.exclude) === null || e === void 0) && e.includes(t));
6682
6682
  })).filter((function(o) {
6683
6683
  var e, t, n, s, r = o[0];
6684
- return !((e = W == null ? void 0 : W.include) === null || e === void 0) && e.some((function(i) {
6684
+ return !((e = q == null ? void 0 : q.include) === null || e === void 0) && e.some((function(i) {
6685
6685
  return i.includes(".");
6686
- })) ? (t = W == null ? void 0 : W.include) === null || t === void 0 ? void 0 : t.some((function(i) {
6686
+ })) ? (t = q == null ? void 0 : q.include) === null || t === void 0 ? void 0 : t.some((function(i) {
6687
6687
  return i.startsWith(r);
6688
- })) : ((n = W == null ? void 0 : W.include) === null || n === void 0 ? void 0 : n.length) === 0 || ((s = W == null ? void 0 : W.include) === null || s === void 0 ? void 0 : s.includes(r));
6688
+ })) : ((n = q == null ? void 0 : q.include) === null || n === void 0 ? void 0 : n.length) === 0 || ((s = q == null ? void 0 : q.include) === null || s === void 0 ? void 0 : s.includes(r));
6689
6689
  })).map((function(o) {
6690
6690
  return [o[0], (0, o[1])()];
6691
6691
  })));
6692
6692
  };
6693
- function We(o) {
6693
+ function qe(o) {
6694
6694
  return o ^= o >>> 16, o = Math.imul(o, 2246822507), o ^= o >>> 13, o = Math.imul(o, 3266489909), (o ^= o >>> 16) >>> 0;
6695
6695
  }
6696
6696
  var B = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
@@ -6741,7 +6741,7 @@ function at(o, e) {
6741
6741
  u[0] = u[0] ^ l[0] << 0, u[0] = Math.imul(u[0], B[0]), u[0] = j(u[0], 15), u[0] = Math.imul(u[0], B[1]), i[0] = i[0] ^ u[0];
6742
6742
  }
6743
6743
  })(o, n), (function(r, i) {
6744
- i[0] = i[0] ^ r.byteLength, i[1] = i[1] ^ r.byteLength, i[2] = i[2] ^ r.byteLength, i[3] = i[3] ^ r.byteLength, i[0] = i[0] + i[1] | 0, i[0] = i[0] + i[2] | 0, i[0] = i[0] + i[3] | 0, i[1] = i[1] + i[0] | 0, i[2] = i[2] + i[0] | 0, i[3] = i[3] + i[0] | 0, i[0] = We(i[0]), i[1] = We(i[1]), i[2] = We(i[2]), i[3] = We(i[3]), i[0] = i[0] + i[1] | 0, i[0] = i[0] + i[2] | 0, i[0] = i[0] + i[3] | 0, i[1] = i[1] + i[0] | 0, i[2] = i[2] + i[0] | 0, i[3] = i[3] + i[0] | 0;
6744
+ i[0] = i[0] ^ r.byteLength, i[1] = i[1] ^ r.byteLength, i[2] = i[2] ^ r.byteLength, i[3] = i[3] ^ r.byteLength, i[0] = i[0] + i[1] | 0, i[0] = i[0] + i[2] | 0, i[0] = i[0] + i[3] | 0, i[1] = i[1] + i[0] | 0, i[2] = i[2] + i[0] | 0, i[3] = i[3] + i[0] | 0, i[0] = qe(i[0]), i[1] = qe(i[1]), i[2] = qe(i[2]), i[3] = qe(i[3]), i[0] = i[0] + i[1] | 0, i[0] = i[0] + i[2] | 0, i[0] = i[0] + i[3] | 0, i[1] = i[1] + i[0] | 0, i[2] = i[2] + i[0] | 0, i[3] = i[3] + i[0] | 0;
6745
6745
  })(o, n);
6746
6746
  var s = new Uint8Array(n.buffer);
6747
6747
  return Array.from(s).map((function(r) {
@@ -6770,13 +6770,13 @@ function Gt() {
6770
6770
  return Z(this, (function(r) {
6771
6771
  switch (r.label) {
6772
6772
  case 0:
6773
- return r.trys.push([0, 2, , 3]), o = hr(), e = Object.keys(o), [4, pr(Object.values(o), (W == null ? void 0 : W.timeout) || 1e3, ur)];
6773
+ return r.trys.push([0, 2, , 3]), o = hr(), e = Object.keys(o), [4, pr(Object.values(o), (q == null ? void 0 : q.timeout) || 1e3, ur)];
6774
6774
  case 1:
6775
6775
  return t = r.sent(), n = t.filter((function(i) {
6776
6776
  return i !== void 0;
6777
6777
  })), s = {}, n.forEach((function(i, a) {
6778
6778
  s[e[a]] = i;
6779
- })), [2, Xt(s, W.exclude || [], W.include || [], "")];
6779
+ })), [2, Xt(s, q.exclude || [], q.include || [], "")];
6780
6780
  case 2:
6781
6781
  throw r.sent();
6782
6782
  case 3:
@@ -6814,7 +6814,7 @@ function yr(o) {
6814
6814
  case 0:
6815
6815
  return n.trys.push([0, 2, , 3]), [4, Gt()];
6816
6816
  case 1:
6817
- return e = n.sent(), t = at(JSON.stringify(e)), Math.random() < 1e-3 && W.logging && (function(s, r) {
6817
+ return e = n.sent(), t = at(JSON.stringify(e)), Math.random() < 1e-3 && q.logging && (function(s, r) {
6818
6818
  X(this, void 0, void 0, (function() {
6819
6819
  var i, a;
6820
6820
  return Z(this, (function(c) {
@@ -6906,12 +6906,12 @@ Te().name != "Firefox" && J("canvas", (function() {
6906
6906
  o({ commonImageDataHash: at(Zt(e, Et, Ot).data.toString()).toString() });
6907
6907
  }));
6908
6908
  }));
6909
- var tt, kr = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], Sr = ["monospace", "sans-serif", "serif"];
6909
+ var tt, kr = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"], _r = ["monospace", "sans-serif", "serif"];
6910
6910
  function Rt(o, e) {
6911
6911
  if (!o) throw new Error("Canvas context not supported");
6912
6912
  return o.font, o.font = "72px ".concat(e), o.measureText("WwMmLli0Oo").width;
6913
6913
  }
6914
- function _r() {
6914
+ function Sr() {
6915
6915
  var o, e = document.createElement("canvas"), t = (o = e.getContext("webgl")) !== null && o !== void 0 ? o : e.getContext("experimental-webgl");
6916
6916
  if (t && "getParameter" in t) try {
6917
6917
  var n = (t.getParameter(t.VENDOR) || "").toString(), s = (t.getParameter(t.RENDERER) || "").toString(), r = { vendor: n, renderer: s, version: (t.getParameter(t.VERSION) || "").toString(), shadingLanguageVersion: (t.getParameter(t.SHADING_LANGUAGE_VERSION) || "").toString() };
@@ -6999,7 +6999,7 @@ Te().name != "Firefox" && J("fonts", (function() {
6999
6999
  return X(o, void 0, void 0, (function() {
7000
7000
  var r, i, a, c;
7001
7001
  return Z(this, (function(u) {
7002
- return r = s.createElement("canvas"), i = r.getContext("2d"), a = Sr.map((function(l) {
7002
+ return r = s.createElement("canvas"), i = r.getContext("2d"), a = _r.map((function(l) {
7003
7003
  return Rt(i, l);
7004
7004
  })), c = {}, kr.forEach((function(l) {
7005
7005
  var h = Rt(i, l);
@@ -7015,7 +7015,7 @@ Te().name != "Firefox" && J("fonts", (function() {
7015
7015
  })), J("hardware", (function() {
7016
7016
  return new Promise((function(o, e) {
7017
7017
  var t = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, n = window.performance && window.performance.memory ? window.performance.memory : 0;
7018
- o({ videocard: _r(), architecture: $r(), deviceMemory: t.toString() || "undefined", jsHeapSizeLimit: n.jsHeapSizeLimit || 0 });
7018
+ o({ videocard: Sr(), architecture: $r(), deviceMemory: t.toString() || "undefined", jsHeapSizeLimit: n.jsHeapSizeLimit || 0 });
7019
7019
  }));
7020
7020
  })), J("locales", (function() {
7021
7021
  return new Promise((function(o) {
@@ -7025,7 +7025,7 @@ Te().name != "Firefox" && J("fonts", (function() {
7025
7025
  return X(this, void 0, void 0, (function() {
7026
7026
  var o;
7027
7027
  return Z(this, (function(e) {
7028
- return tt = (W == null ? void 0 : W.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], o = Array.from({ length: (W == null ? void 0 : W.retries) || 3 }, (function() {
7028
+ return tt = (q == null ? void 0 : q.permissions_to_check) || ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"], o = Array.from({ length: (q == null ? void 0 : q.retries) || 3 }, (function() {
7029
7029
  return (function() {
7030
7030
  return X(this, void 0, void 0, (function() {
7031
7031
  var t, n, s, r, i;
@@ -7074,18 +7074,18 @@ Te().name != "Firefox" && J("fonts", (function() {
7074
7074
  o({ platform: window.navigator.platform, cookieEnabled: window.navigator.cookieEnabled, productSub: navigator.productSub, product: navigator.product, useragent: navigator.userAgent, hardwareConcurrency: navigator.hardwareConcurrency, browser: { name: e.name, version: e.version }, applePayVersion: xr() });
7075
7075
  }));
7076
7076
  }));
7077
- var N, Ir = Te().name !== "SamsungBrowser" ? 1 : 3, m = null;
7077
+ var N, Ir = Te().name !== "SamsungBrowser" ? 1 : 3, y = null;
7078
7078
  J("webgl", (function() {
7079
7079
  return X(this, void 0, void 0, (function() {
7080
7080
  var o;
7081
7081
  return Z(this, (function(e) {
7082
- typeof document < "u" && ((N = document.createElement("canvas")).width = 200, N.height = 100, m = N.getContext("webgl"));
7082
+ typeof document < "u" && ((N = document.createElement("canvas")).width = 200, N.height = 100, y = N.getContext("webgl"));
7083
7083
  try {
7084
- if (!m) throw new Error("WebGL not supported");
7084
+ if (!y) throw new Error("WebGL not supported");
7085
7085
  return o = Array.from({ length: Ir }, (function() {
7086
7086
  return (function() {
7087
7087
  try {
7088
- if (!m) throw new Error("WebGL not supported");
7088
+ if (!y) throw new Error("WebGL not supported");
7089
7089
  var t = `
7090
7090
  attribute vec2 position;
7091
7091
  void main() {
@@ -7096,28 +7096,28 @@ J("webgl", (function() {
7096
7096
  void main() {
7097
7097
  gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color
7098
7098
  }
7099
- `, s = m.createShader(m.VERTEX_SHADER), r = m.createShader(m.FRAGMENT_SHADER);
7099
+ `, s = y.createShader(y.VERTEX_SHADER), r = y.createShader(y.FRAGMENT_SHADER);
7100
7100
  if (!s || !r) throw new Error("Failed to create shaders");
7101
- if (m.shaderSource(s, t), m.shaderSource(r, n), m.compileShader(s), !m.getShaderParameter(s, m.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + m.getShaderInfoLog(s));
7102
- if (m.compileShader(r), !m.getShaderParameter(r, m.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + m.getShaderInfoLog(r));
7103
- var i = m.createProgram();
7101
+ if (y.shaderSource(s, t), y.shaderSource(r, n), y.compileShader(s), !y.getShaderParameter(s, y.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + y.getShaderInfoLog(s));
7102
+ if (y.compileShader(r), !y.getShaderParameter(r, y.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + y.getShaderInfoLog(r));
7103
+ var i = y.createProgram();
7104
7104
  if (!i) throw new Error("Failed to create shader program");
7105
- if (m.attachShader(i, s), m.attachShader(i, r), m.linkProgram(i), !m.getProgramParameter(i, m.LINK_STATUS)) throw new Error("Shader program linking failed: " + m.getProgramInfoLog(i));
7106
- m.useProgram(i);
7105
+ if (y.attachShader(i, s), y.attachShader(i, r), y.linkProgram(i), !y.getProgramParameter(i, y.LINK_STATUS)) throw new Error("Shader program linking failed: " + y.getProgramInfoLog(i));
7106
+ y.useProgram(i);
7107
7107
  for (var a = 137, c = new Float32Array(4 * a), u = 2 * Math.PI / a, l = 0; l < a; l++) {
7108
7108
  var h = l * u;
7109
7109
  c[4 * l] = 0, c[4 * l + 1] = 0, c[4 * l + 2] = Math.cos(h) * (N.width / 2), c[4 * l + 3] = Math.sin(h) * (N.height / 2);
7110
7110
  }
7111
- var p = m.createBuffer();
7112
- m.bindBuffer(m.ARRAY_BUFFER, p), m.bufferData(m.ARRAY_BUFFER, c, m.STATIC_DRAW);
7113
- var d = m.getAttribLocation(i, "position");
7114
- m.enableVertexAttribArray(d), m.vertexAttribPointer(d, 2, m.FLOAT, !1, 0, 0), m.viewport(0, 0, N.width, N.height), m.clearColor(0, 0, 0, 1), m.clear(m.COLOR_BUFFER_BIT), m.drawArrays(m.LINES, 0, 2 * a);
7111
+ var p = y.createBuffer();
7112
+ y.bindBuffer(y.ARRAY_BUFFER, p), y.bufferData(y.ARRAY_BUFFER, c, y.STATIC_DRAW);
7113
+ var d = y.getAttribLocation(i, "position");
7114
+ y.enableVertexAttribArray(d), y.vertexAttribPointer(d, 2, y.FLOAT, !1, 0, 0), y.viewport(0, 0, N.width, N.height), y.clearColor(0, 0, 0, 1), y.clear(y.COLOR_BUFFER_BIT), y.drawArrays(y.LINES, 0, 2 * a);
7115
7115
  var b = new Uint8ClampedArray(N.width * N.height * 4);
7116
- return m.readPixels(0, 0, N.width, N.height, m.RGBA, m.UNSIGNED_BYTE, b), new ImageData(b, N.width, N.height);
7116
+ return y.readPixels(0, 0, N.width, N.height, y.RGBA, y.UNSIGNED_BYTE, b), new ImageData(b, N.width, N.height);
7117
7117
  } catch {
7118
7118
  return new ImageData(1, 1);
7119
7119
  } finally {
7120
- m && (m.bindBuffer(m.ARRAY_BUFFER, null), m.useProgram(null), m.viewport(0, 0, m.drawingBufferWidth, m.drawingBufferHeight), m.clearColor(0, 0, 0, 0));
7120
+ y && (y.bindBuffer(y.ARRAY_BUFFER, null), y.useProgram(null), y.viewport(0, 0, y.drawingBufferWidth, y.drawingBufferHeight), y.clearColor(0, 0, 0, 0));
7121
7121
  }
7122
7122
  })();
7123
7123
  })), [2, { commonImageHash: at(Zt(o, N.width, N.height).data.toString()).toString() }];
@@ -7179,12 +7179,12 @@ class Tr {
7179
7179
  });
7180
7180
  }
7181
7181
  async query(e) {
7182
- const { query: t, variables: n } = e, s = await this.$__client.query(t, n).toPromise();
7183
- return this.formatResponse(s);
7182
+ const { query: t, variables: n, context: s } = e, r = s && s.requestPolicy ? { requestPolicy: s.requestPolicy } : void 0, i = await this.$__client.query(t, n || {}, r).toPromise();
7183
+ return this.formatResponse(i);
7184
7184
  }
7185
7185
  async mutate(e) {
7186
- const { mutation: t, variables: n } = e, s = await this.$__client.mutation(t, n).toPromise();
7187
- return this.formatResponse(s);
7186
+ const { mutation: t, variables: n, context: s } = e, r = s && s.requestPolicy ? { requestPolicy: s.requestPolicy } : void 0, i = await this.$__client.mutation(t, n || {}, r).toPromise();
7187
+ return this.formatResponse(i);
7188
7188
  }
7189
7189
  subscribe(e, t) {
7190
7190
  const { query: n, variables: s, operationName: r } = e, i = ln(
@@ -7260,7 +7260,7 @@ class Tr {
7260
7260
  });
7261
7261
  }
7262
7262
  }
7263
- class qr {
7263
+ class Wr {
7264
7264
  /**
7265
7265
  * Class constructor
7266
7266
  *
@@ -7277,7 +7277,8 @@ class qr {
7277
7277
  client: n = null,
7278
7278
  socket: s = null,
7279
7279
  serverSdkVersion: r = 3,
7280
- logging: i = !1
7280
+ logging: i = !1,
7281
+ defaultRequestPolicy: a = null
7281
7282
  }) {
7282
7283
  this.initialize({
7283
7284
  uri: e,
@@ -7285,7 +7286,8 @@ class qr {
7285
7286
  socket: s,
7286
7287
  client: n,
7287
7288
  serverSdkVersion: r,
7288
- logging: i
7289
+ logging: i,
7290
+ defaultRequestPolicy: a
7289
7291
  });
7290
7292
  }
7291
7293
  /**
@@ -7304,12 +7306,13 @@ class qr {
7304
7306
  socket: n = null,
7305
7307
  client: s = null,
7306
7308
  serverSdkVersion: r = 3,
7307
- logging: i = !1
7309
+ logging: i = !1,
7310
+ defaultRequestPolicy: a = null
7308
7311
  }) {
7309
- this.reset(), this.$__logging = i, this.$__authTokenObjects = {}, this.$__authInProcess = !1, this.abortControllers = /* @__PURE__ */ new Map(), this.setUri(e), t && this.setCellSlug(t);
7310
- for (const a in this.$__uris) {
7311
- const c = this.$__uris[a];
7312
- this.$__authTokenObjects[c] = null;
7312
+ this.reset(), this.$__logging = i, this.$__defaultRequestPolicy = a, this.$__authTokenObjects = {}, this.$__authInProcess = !1, this.abortControllers = /* @__PURE__ */ new Map(), this.setUri(e), t && this.setCellSlug(t);
7313
+ for (const c in this.$__uris) {
7314
+ const u = this.$__uris[c];
7315
+ this.$__authTokenObjects[u] = null;
7313
7316
  }
7314
7317
  this.log("info", `KnishIOClient::initialize() - Initializing new Knish.IO client session for SDK version ${r}...`), this.$__client = s || new Tr({
7315
7318
  socket: {
@@ -7361,11 +7364,28 @@ class qr {
7361
7364
  getServerSdkVersion() {
7362
7365
  return this.$__serverSdkVersion;
7363
7366
  }
7367
+ /**
7368
+ * Returns the client-level default urql request policy (or null)
7369
+ *
7370
+ * @return {string|null}
7371
+ */
7372
+ getDefaultRequestPolicy() {
7373
+ return this.$__defaultRequestPolicy || null;
7374
+ }
7375
+ /**
7376
+ * Sets the client-level default urql request policy applied to reads that
7377
+ * omit a per-call policy (e.g. 'network-only' for a long-lived server client)
7378
+ *
7379
+ * @param {string|null} policy - 'cache-first'|'cache-only'|'network-only'|'cache-and-network'|null
7380
+ */
7381
+ setDefaultRequestPolicy(e) {
7382
+ this.$__defaultRequestPolicy = e;
7383
+ }
7364
7384
  /**
7365
7385
  * Reset common properties
7366
7386
  */
7367
7387
  reset() {
7368
- this.$__secret = "", this.$__bundle = "", this.remainderWallet = null, this.$__capabilityCache = {};
7388
+ this.$__secret = "", this.$__bundle = "", this.remainderWallet = null, this.$__capabilityCache = {}, this.$__defaultRequestPolicy = null;
7369
7389
  }
7370
7390
  /**
7371
7391
  * Returns the currently defined Cell identifier for this session
@@ -7507,11 +7527,11 @@ class qr {
7507
7527
  let e = (await this.queryContinuId({
7508
7528
  bundle: this.getBundle()
7509
7529
  })).payload();
7510
- return e ? e.key = _.generateKey({
7530
+ return e ? e.key = S.generateKey({
7511
7531
  secret: this.getSecret(),
7512
7532
  token: e.token,
7513
7533
  position: e.position
7514
- }) : e = new _({
7534
+ }) : e = new S({
7515
7535
  secret: this.getSecret()
7516
7536
  }), e;
7517
7537
  }
@@ -7547,7 +7567,7 @@ class qr {
7547
7567
  const i = await this.getSourceWallet();
7548
7568
  r = i ? i.position : null;
7549
7569
  }
7550
- return !n && this.lastMoleculeQuery && this.getRemainderWallet().token === "USER" && this.lastMoleculeQuery.response() && this.lastMoleculeQuery.response().success() && (n = this.getRemainderWallet()), n === null && (n = await this.getSourceWallet()), this.remainderWallet = s || _.create({
7570
+ return !n && this.lastMoleculeQuery && this.getRemainderWallet().token === "USER" && this.lastMoleculeQuery.response() && this.lastMoleculeQuery.response().success() && (n = this.getRemainderWallet()), n === null && (n = await this.getSourceWallet()), this.remainderWallet = s || S.create({
7551
7571
  secret: e,
7552
7572
  bundle: t,
7553
7573
  token: "USER",
@@ -7592,7 +7612,7 @@ class qr {
7592
7612
  }) {
7593
7613
  this.log("info", `KnishIOClient::createMoleculeQuery() - Creating a new ${e.name} query...`);
7594
7614
  const n = t || await this.createMolecule({}), s = new e(this.client(), this, n);
7595
- if (!(s instanceof q))
7615
+ if (!(s instanceof W))
7596
7616
  throw new ee(`${this.constructor.name}::createMoleculeMutation() - This method only accepts MutationProposeMolecule!`);
7597
7617
  return this.lastMoleculeQuery = s, s;
7598
7618
  }
@@ -7602,32 +7622,35 @@ class qr {
7602
7622
  * @param variables
7603
7623
  * @returns {Promise<*>}
7604
7624
  */
7605
- async executeQuery(e, t = null) {
7625
+ async executeQuery(e, t = null, n = {}) {
7606
7626
  this.$__authToken && this.$__authToken.isExpired() && !this.$__authInProcess && (this.log("info", "KnishIOClient::executeQuery() - Access token is expired. Getting new one..."), await this.requestAuthToken({
7607
7627
  secret: this.$__secret,
7608
7628
  cellSlug: this.$__cellSlug,
7609
7629
  encrypt: this.$__encrypt
7610
7630
  }));
7611
- const n = new AbortController(), s = JSON.stringify({
7631
+ const s = new AbortController(), r = JSON.stringify({
7612
7632
  query: e.$__query,
7613
7633
  variables: t
7614
7634
  });
7615
- this.abortControllers.set(s, n);
7635
+ this.abortControllers.set(r, s);
7616
7636
  try {
7617
- const r = await e.execute({
7637
+ const i = { ...n };
7638
+ this.$__defaultRequestPolicy && !i.requestPolicy && (i.requestPolicy = this.$__defaultRequestPolicy);
7639
+ const a = await e.execute({
7618
7640
  variables: t,
7619
7641
  context: {
7620
7642
  fetchOptions: {
7621
- signal: n.signal
7622
- }
7643
+ signal: s.signal
7644
+ },
7645
+ ...i
7623
7646
  }
7624
7647
  });
7625
- return this.abortControllers.delete(s), r;
7626
- } catch (r) {
7627
- if (r.name === "AbortError")
7648
+ return this.abortControllers.delete(r), a;
7649
+ } catch (i) {
7650
+ if (i.name === "AbortError")
7628
7651
  this.log("warn", "Query was cancelled");
7629
7652
  else
7630
- throw r;
7653
+ throw i;
7631
7654
  }
7632
7655
  }
7633
7656
  cancelQuery(e, t = null) {
@@ -7808,11 +7831,12 @@ class qr {
7808
7831
  throughMolecule: p = !1,
7809
7832
  values: d = null,
7810
7833
  keys: b = null,
7811
- atomValues: A = null
7834
+ atomValues: A = null,
7835
+ requestPolicy: O = null
7812
7836
  }) {
7813
7837
  this.log("info", `KnishIOClient::queryMeta() - Querying metaType: ${e}, metaId: ${t}...`);
7814
- let M, f;
7815
- return p ? (M = this.createQuery(Mt), f = Mt.createVariables({
7838
+ let f, m;
7839
+ return p ? (f = this.createQuery(Mt), m = Mt.createVariables({
7816
7840
  metaType: e,
7817
7841
  metaId: t,
7818
7842
  key: n,
@@ -7825,7 +7849,7 @@ class qr {
7825
7849
  keys: b,
7826
7850
  atomValues: A,
7827
7851
  cellSlug: this.getCellSlug()
7828
- })) : h ? (M = this.createQuery(Tt), f = Tt.createVariables({
7852
+ })) : h ? (f = this.createQuery(Tt), m = Tt.createVariables({
7829
7853
  metaType: e,
7830
7854
  metaId: t,
7831
7855
  key: n,
@@ -7838,7 +7862,7 @@ class qr {
7838
7862
  keys: b,
7839
7863
  atomValues: A,
7840
7864
  cellSlug: this.getCellSlug()
7841
- })) : (M = this.createQuery(At), f = At.createVariables({
7865
+ })) : (f = this.createQuery(At), m = At.createVariables({
7842
7866
  metaType: e,
7843
7867
  metaId: t,
7844
7868
  key: n,
@@ -7849,7 +7873,7 @@ class qr {
7849
7873
  count: u,
7850
7874
  countBy: l,
7851
7875
  cellSlug: this.getCellSlug()
7852
- })), this.executeQuery(M, f);
7876
+ })), this.executeQuery(f, m, O ? { requestPolicy: O } : {});
7853
7877
  }
7854
7878
  /**
7855
7879
  * Queries meta assets and verifies cryptographic integrity of associated molecules.
@@ -7992,16 +8016,16 @@ class qr {
7992
8016
  cellSlugs: d,
7993
8017
  cellSlug: b,
7994
8018
  batchIds: A,
7995
- batchId: M,
8019
+ batchId: O,
7996
8020
  values: f,
7997
- value: y,
8021
+ value: m,
7998
8022
  metaTypes: w,
7999
- metaType: C,
8023
+ metaType: M,
8000
8024
  metaIds: k,
8001
8025
  metaId: $,
8002
8026
  indexes: v,
8003
8027
  index: I,
8004
- filter: S,
8028
+ filter: _,
8005
8029
  latest: U,
8006
8030
  queryArgs: R = {
8007
8031
  limit: 15,
@@ -8026,16 +8050,16 @@ class qr {
8026
8050
  cellSlugs: d,
8027
8051
  cellSlug: b,
8028
8052
  batchIds: A,
8029
- batchId: M,
8053
+ batchId: O,
8030
8054
  values: f,
8031
- value: y,
8055
+ value: m,
8032
8056
  metaTypes: w,
8033
- metaType: C,
8057
+ metaType: M,
8034
8058
  metaIds: k,
8035
8059
  metaId: $,
8036
8060
  indexes: v,
8037
8061
  index: I,
8038
- filter: S,
8062
+ filter: _,
8039
8063
  latest: U,
8040
8064
  queryArgs: R
8041
8065
  }));
@@ -8049,7 +8073,7 @@ class qr {
8049
8073
  async createWallet({
8050
8074
  token: e
8051
8075
  }) {
8052
- const t = new _({
8076
+ const t = new S({
8053
8077
  secret: this.getSecret(),
8054
8078
  token: e
8055
8079
  }), n = await this.createMoleculeMutation({
@@ -8188,13 +8212,13 @@ class qr {
8188
8212
  throw new Re();
8189
8213
  t = r.length, n.splittable = 1, n.decimals = 0, n.tokenUnits = JSON.stringify(r);
8190
8214
  }
8191
- const a = new _({
8215
+ const a = new S({
8192
8216
  secret: this.getSecret(),
8193
8217
  bundle: this.getBundle(),
8194
8218
  token: e,
8195
8219
  batchId: s
8196
8220
  }), c = await this.createMoleculeMutation({
8197
- mutationClass: _s
8221
+ mutationClass: Ss
8198
8222
  });
8199
8223
  return c.fillMolecule({
8200
8224
  recipientWallet: a,
@@ -8272,7 +8296,7 @@ class qr {
8272
8296
  host: e
8273
8297
  }) {
8274
8298
  const t = await this.createMoleculeMutation({
8275
- mutationClass: Ws,
8299
+ mutationClass: qs,
8276
8300
  molecule: await this.createMolecule({
8277
8301
  secret: this.getSecret()
8278
8302
  })
@@ -8373,7 +8397,7 @@ class qr {
8373
8397
  bundle: this.getBundle()
8374
8398
  }), s.check();
8375
8399
  const r = await this.createMoleculeMutation({
8376
- mutationClass: q,
8400
+ mutationClass: W,
8377
8401
  molecule: s
8378
8402
  });
8379
8403
  return await this.executeQuery(r);
@@ -8487,10 +8511,10 @@ class qr {
8487
8511
  throw new Re();
8488
8512
  n = s.length, r.tokenUnits = JSON.stringify(s);
8489
8513
  }
8490
- t ? (Object.prototype.toString.call(t) === "[object String]" && (_.isBundleHash(t) ? (a = "walletBundle", c = t) : t = _.create({
8514
+ t ? (Object.prototype.toString.call(t) === "[object String]" && (S.isBundleHash(t) ? (a = "walletBundle", c = t) : t = S.create({
8491
8515
  secret: t,
8492
8516
  token: e
8493
- })), t instanceof _ && (a = "wallet", r.position = t.position, r.bundle = t.bundle, c = t.address)) : (a = "walletBundle", c = this.getBundle());
8517
+ })), t instanceof S && (a = "wallet", r.position = t.position, r.bundle = t.bundle, c = t.address)) : (a = "walletBundle", c = this.getBundle());
8494
8518
  const p = await this.createMoleculeMutation({
8495
8519
  mutationClass: As
8496
8520
  });
@@ -8586,7 +8610,7 @@ class qr {
8586
8610
  amount: n
8587
8611
  })), i === null || de.cmp(i.balance, n) < 0)
8588
8612
  throw new Y();
8589
- const a = _.create({
8613
+ const a = S.create({
8590
8614
  bundle: e,
8591
8615
  token: t
8592
8616
  });
@@ -8713,7 +8737,7 @@ class qr {
8713
8737
  bundle: this.getBundle()
8714
8738
  }), i.check(s);
8715
8739
  const a = await this.createMoleculeMutation({
8716
- mutationClass: q,
8740
+ mutationClass: W,
8717
8741
  molecule: i
8718
8742
  });
8719
8743
  return this.executeQuery(a);
@@ -8746,7 +8770,7 @@ class qr {
8746
8770
  bundle: this.getBundle()
8747
8771
  }), i.check();
8748
8772
  const a = await this.createMoleculeMutation({
8749
- mutationClass: q,
8773
+ mutationClass: W,
8750
8774
  molecule: i
8751
8775
  });
8752
8776
  return this.executeQuery(a);
@@ -8780,7 +8804,7 @@ class qr {
8780
8804
  if (!i.includes(h))
8781
8805
  throw new Y(`Fused token unit ID = ${h} does not found in the source wallet.`);
8782
8806
  });
8783
- const a = _.create({
8807
+ const a = S.create({
8784
8808
  bundle: e,
8785
8809
  token: t
8786
8810
  });
@@ -8795,7 +8819,7 @@ class qr {
8795
8819
  bundle: this.getBundle()
8796
8820
  }), u.check();
8797
8821
  const l = await this.createMoleculeMutation({
8798
- mutationClass: q,
8822
+ mutationClass: W,
8799
8823
  molecule: u
8800
8824
  });
8801
8825
  return this.executeQuery(l);
@@ -8812,7 +8836,7 @@ class qr {
8812
8836
  encrypt: t
8813
8837
  }) {
8814
8838
  this.setCellSlug(e);
8815
- const n = new _({
8839
+ const n = new S({
8816
8840
  secret: nt(await this.getFingerprint()),
8817
8841
  token: "AUTH"
8818
8842
  }), s = await this.createQuery(Fs), r = {
@@ -8844,7 +8868,7 @@ class qr {
8844
8868
  encrypt: t
8845
8869
  }) {
8846
8870
  this.setSecret(e);
8847
- const n = new _({
8871
+ const n = new S({
8848
8872
  secret: e,
8849
8873
  token: "AUTH"
8850
8874
  }), s = await this.createMolecule({
@@ -8937,7 +8961,7 @@ class qr {
8937
8961
  }
8938
8962
  }
8939
8963
  }
8940
- class Ur extends E {
8964
+ class Ur extends C {
8941
8965
  /**
8942
8966
  * Class constructor
8943
8967
  *
@@ -9020,7 +9044,7 @@ export {
9020
9044
  de as Decimal,
9021
9045
  T as Dot,
9022
9046
  te as InvalidResponseException,
9023
- qr as KnishIOClient,
9047
+ Wr as KnishIOClient,
9024
9048
  pe as Meta,
9025
9049
  H as MetaMissingException,
9026
9050
  os as MolecularHashMismatchException,
@@ -9033,12 +9057,12 @@ export {
9033
9057
  Ts as MutationCreateIdentifier,
9034
9058
  Os as MutationCreateMeta,
9035
9059
  ar as MutationCreateRule,
9036
- _s as MutationCreateToken,
9060
+ Ss as MutationCreateToken,
9037
9061
  Ks as MutationCreateWallet,
9038
9062
  lr as MutationDepositBufferToken,
9039
9063
  Hs as MutationLinkIdentifier,
9040
- Ws as MutationPeering,
9041
- q as MutationProposeMolecule,
9064
+ qs as MutationPeering,
9065
+ W as MutationProposeMolecule,
9042
9066
  ks as MutationRequestAuthorization,
9043
9067
  Fs as MutationRequestAuthorizationGuest,
9044
9068
  As as MutationRequestTokens,
@@ -9063,9 +9087,9 @@ export {
9063
9087
  Ys as QueryUserActivity,
9064
9088
  ps as QueryWalletBundle,
9065
9089
  fs as QueryWalletList,
9066
- E as Response,
9090
+ C as Response,
9067
9091
  zs as ResponseActiveSession,
9068
- qs as ResponseAppendRequest,
9092
+ Ws as ResponseAppendRequest,
9069
9093
  tr as ResponseAtom,
9070
9094
  Ur as ResponseAuthorizationGuest,
9071
9095
  ms as ResponseBalance,
@@ -9074,7 +9098,7 @@ export {
9074
9098
  Is as ResponseCreateIdentifier,
9075
9099
  Es as ResponseCreateMeta,
9076
9100
  or as ResponseCreateRule,
9077
- Ss as ResponseCreateToken,
9101
+ _s as ResponseCreateToken,
9078
9102
  Ps as ResponseCreateWallet,
9079
9103
  ir as ResponseEmbeddingStatus,
9080
9104
  Bs as ResponseLinkIdentifier,
@@ -9098,13 +9122,13 @@ export {
9098
9122
  Ls as StackableUnitDecimalsException,
9099
9123
  me as TokenUnit,
9100
9124
  Y as TransferBalanceException,
9101
- Se as TransferMalformedException,
9102
- St as TransferMismatchedException,
9103
- _t as TransferRemainderException,
9125
+ _e as TransferMalformedException,
9126
+ _t as TransferMismatchedException,
9127
+ St as TransferRemainderException,
9104
9128
  cs as TransferToSelfException,
9105
9129
  Oe as TransferUnbalancedException,
9106
9130
  Ke as UnauthenticatedException,
9107
- _ as Wallet,
9131
+ S as Wallet,
9108
9132
  vt as WalletShadowException,
9109
9133
  re as WrongTokenTypeException,
9110
9134
  mn as base64ToHex,