@wishknish/knishio-client-js 0.7.7 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -0
- package/dist/client.cjs.js +36 -26
- package/dist/client.cjs.js.map +1 -1
- package/dist/client.es.mjs +550 -407
- package/dist/client.es.mjs.map +1 -1
- package/dist/client.iife.js +36 -26
- package/dist/client.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/KnishIOClient.js +91 -1
- package/src/Molecule.js +7 -7
- package/src/index.js +4 -0
- package/src/libraries/urql/UrqlClientWrapper.js +9 -5
- package/src/query/QueryEmbeddingStatus.js +132 -0
- package/src/response/ResponseEmbeddingStatus.js +100 -0
package/dist/client.es.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Q = (o, e, t) =>
|
|
1
|
+
var en = Object.defineProperty;
|
|
2
|
+
var tn = (o, e, t) => e in o ? en(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
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
|
|
6
|
-
import { createClient as
|
|
7
|
-
import { pipe as
|
|
5
|
+
import { gql as O, cacheExchange as nn, fetchExchange as sn, subscriptionExchange as rn, createClient as on } from "@urql/core";
|
|
6
|
+
import { createClient as an } from "graphql-ws";
|
|
7
|
+
import { pipe as ln, map as cn, subscribe as un } from "wonka";
|
|
8
8
|
typeof self > "u" && (global.self = global);
|
|
9
|
-
class
|
|
9
|
+
class Wt {
|
|
10
10
|
/**
|
|
11
11
|
* Converts the given buffer to a string containing its hexadecimal representation.
|
|
12
12
|
*
|
|
@@ -85,7 +85,7 @@ function st(o = 256, e = "abcdef0123456789") {
|
|
|
85
85
|
let t = new Uint8Array(o);
|
|
86
86
|
return t = crypto.getRandomValues(t), t = t.map((n) => e.charCodeAt(n % e.length)), String.fromCharCode.apply(null, t);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function hn(o, e, t, n, s) {
|
|
89
89
|
if (n = n || "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~`!@#$%^&*()-_=+[{]}\\|;:'\",<.>/?¿¡", s = s || n, e > n.length || t > s.length)
|
|
90
90
|
return console.warn("Strings::charsetBaseConvert() - Can't convert", o, "to base", t, "greater than symbol table length. src-table:", n.length, "dest-table:", s.length), !1;
|
|
91
91
|
let i = BigInt(0);
|
|
@@ -98,24 +98,24 @@ function cn(o, e, t, n, s) {
|
|
|
98
98
|
}
|
|
99
99
|
return a || "0";
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function dn(o) {
|
|
102
|
+
return Wt.toHex(o, {});
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return
|
|
104
|
+
function pn(o) {
|
|
105
|
+
return Wt.toUint8Array(o);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
const e =
|
|
107
|
+
function fn(o) {
|
|
108
|
+
const e = pn(o);
|
|
109
109
|
return btoa(String.fromCharCode.apply(null, e));
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function mn(o) {
|
|
112
112
|
const e = new Uint8Array(atob(o).split("").map((t) => t.charCodeAt(0)));
|
|
113
|
-
return
|
|
113
|
+
return dn(e);
|
|
114
114
|
}
|
|
115
115
|
function Ve(o) {
|
|
116
116
|
return /^[A-F0-9]+$/i.test(o);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function yn(o) {
|
|
119
119
|
return (typeof o == "number" || typeof o == "string" && o.trim() !== "") && !isNaN(o);
|
|
120
120
|
}
|
|
121
121
|
let pe = class {
|
|
@@ -155,10 +155,10 @@ let pe = class {
|
|
|
155
155
|
return t;
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
|
-
function
|
|
159
|
-
return o.length ? [o.slice(0, e)].concat(
|
|
158
|
+
function gn(o, e) {
|
|
159
|
+
return o.length ? [o.slice(0, e)].concat(gn(o.slice(e), e)) : [];
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function bn(o, e) {
|
|
162
162
|
let t, n, s;
|
|
163
163
|
const r = [Array, Date, Number, String, Boolean], i = Object.prototype.toString;
|
|
164
164
|
for (e = e || [], t = 0; t < e.length; t += 2)
|
|
@@ -168,11 +168,11 @@ function yn(o, e) {
|
|
|
168
168
|
i.call(o) === i.call(s = new r[t](o)) && (n = t ? s : []);
|
|
169
169
|
e.push(o, n);
|
|
170
170
|
for (t in o)
|
|
171
|
-
e.hasOwnProperty.call(o, t) && (n[t] =
|
|
171
|
+
e.hasOwnProperty.call(o, t) && (n[t] = bn(o[t], e));
|
|
172
172
|
}
|
|
173
173
|
return n || o;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function wn(...o) {
|
|
176
176
|
return [].concat(...o.map((e, t) => {
|
|
177
177
|
const n = o.slice(0);
|
|
178
178
|
n.splice(t, 1);
|
|
@@ -218,7 +218,7 @@ class rt {
|
|
|
218
218
|
})) {
|
|
219
219
|
const i = r.map((a) => a.key);
|
|
220
220
|
this.policy[s] || (this.policy[s] = {});
|
|
221
|
-
for (const a of
|
|
221
|
+
for (const a of wn(e, i))
|
|
222
222
|
this.policy[s][a] || (this.policy[s][a] = s === "write" && !["characters", "pubkey"].includes(a) ? ["self"] : ["all"]);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
@@ -419,7 +419,7 @@ class oe {
|
|
|
419
419
|
return oe.structure(this);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
class
|
|
422
|
+
class kn extends oe {
|
|
423
423
|
constructor({
|
|
424
424
|
position: e = null,
|
|
425
425
|
walletAddress: t = null,
|
|
@@ -437,8 +437,8 @@ class bn 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
|
|
441
|
-
4:
|
|
440
|
+
const qe = {
|
|
441
|
+
4: kn
|
|
442
442
|
};
|
|
443
443
|
class g {
|
|
444
444
|
/**
|
|
@@ -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(
|
|
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));
|
|
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(
|
|
654
|
-
n.update(JSON.stringify(s.map((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())));
|
|
655
655
|
else {
|
|
656
656
|
const r = String(e.length);
|
|
657
657
|
let i = [];
|
|
@@ -666,7 +666,7 @@ class g {
|
|
|
666
666
|
case "array":
|
|
667
667
|
return n.getHash("ARRAYBUFFER", { outputLen: 256 });
|
|
668
668
|
default:
|
|
669
|
-
return
|
|
669
|
+
return hn(n.getHash("HEX", { outputLen: 256 }), 16, 17, "0123456789abcdef", "0123456789abcdefg").padStart(64, "0");
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
static jsonSerialization(e, t) {
|
|
@@ -808,21 +808,21 @@ class ze extends x {
|
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
const Ce = /* @__PURE__ */ BigInt(2 ** 32 - 1), ct = /* @__PURE__ */ BigInt(32);
|
|
811
|
-
function
|
|
811
|
+
function Sn(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
|
|
814
|
+
function _n(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 } =
|
|
818
|
+
const { h: i, l: a } = Sn(o[r], e);
|
|
819
819
|
[n[r], s[r]] = [i, a];
|
|
820
820
|
}
|
|
821
821
|
return [n, s];
|
|
822
822
|
}
|
|
823
|
-
const
|
|
823
|
+
const $n = (o, e, t) => o << t | e >>> 32 - t, An = (o, e, t) => e << t | o >>> 32 - t, vn = (o, e, t) => e << t - 32 | o >>> 64 - t, xn = (o, e, t) => o << t - 32 | e >>> 64 - t;
|
|
824
824
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
825
|
-
function
|
|
825
|
+
function In(o) {
|
|
826
826
|
return o instanceof Uint8Array || ArrayBuffer.isView(o) && o.constructor.name === "Uint8Array";
|
|
827
827
|
}
|
|
828
828
|
function ut(o, e = "") {
|
|
@@ -832,7 +832,7 @@ function ut(o, e = "") {
|
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
834
|
function D(o, e, t = "") {
|
|
835
|
-
const n =
|
|
835
|
+
const n = In(o), s = o == null ? void 0 : o.length, r = e !== void 0;
|
|
836
836
|
if (!n || r && s !== e) {
|
|
837
837
|
const i = t && `"${t}" `, a = r ? ` of length ${e}` : "", c = n ? `length=${s}` : `type=${typeof o}`;
|
|
838
838
|
throw new Error(i + "expected Uint8Array" + a + ", got " + c);
|
|
@@ -845,34 +845,34 @@ function ht(o, e = !0) {
|
|
|
845
845
|
if (e && o.finished)
|
|
846
846
|
throw new Error("Hash#digest() has already been called");
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function Tn(o, e) {
|
|
849
849
|
D(o, void 0, "digestInto() output");
|
|
850
850
|
const t = e.outputLen;
|
|
851
851
|
if (o.length < t)
|
|
852
852
|
throw new Error('"digestInto() output" expected to be of length >=' + t);
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function qt(o) {
|
|
855
855
|
return new Uint32Array(o.buffer, o.byteOffset, Math.floor(o.byteLength / 4));
|
|
856
856
|
}
|
|
857
857
|
function Ut(...o) {
|
|
858
858
|
for (let e = 0; e < o.length; e++)
|
|
859
859
|
o[e].fill(0);
|
|
860
860
|
}
|
|
861
|
-
const
|
|
862
|
-
function
|
|
861
|
+
const Mn = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
|
|
862
|
+
function Cn(o) {
|
|
863
863
|
return o << 24 & 4278190080 | o << 8 & 16711680 | o >>> 8 & 65280 | o >>> 24 & 255;
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function En(o) {
|
|
866
866
|
for (let e = 0; e < o.length; e++)
|
|
867
|
-
o[e] =
|
|
867
|
+
o[e] = Cn(o[e]);
|
|
868
868
|
return o;
|
|
869
869
|
}
|
|
870
|
-
const dt =
|
|
870
|
+
const dt = Mn ? (o) => o : En;
|
|
871
871
|
function Bt(o, e = {}) {
|
|
872
872
|
const t = (s, r) => o(r).update(s).digest(), n = o(void 0);
|
|
873
873
|
return t.outputLen = n.outputLen, t.blockLen = n.blockLen, t.create = (s) => o(s), Object.assign(t, e), Object.freeze(t);
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function On(o = 32) {
|
|
876
876
|
const e = typeof globalThis == "object" ? globalThis.crypto : null;
|
|
877
877
|
if (typeof (e == null ? void 0 : e.getRandomValues) != "function")
|
|
878
878
|
throw new Error("crypto.getRandomValues must be defined");
|
|
@@ -880,16 +880,16 @@ function Cn(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
|
-
}),
|
|
883
|
+
}), Rn = BigInt(0), ge = BigInt(1), Wn = BigInt(2), qn = 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
|
-
[t, n] = [n, (2 * t + 3 * n) % 5],
|
|
886
|
-
let s =
|
|
885
|
+
[t, n] = [n, (2 * t + 3 * n) % 5], Ht.push(2 * (5 * n + t)), Pt.push((o + 1) * (o + 2) / 2 % 64);
|
|
886
|
+
let s = Rn;
|
|
887
887
|
for (let r = 0; r < 7; r++)
|
|
888
|
-
e = (e << ge ^ (e >>
|
|
889
|
-
|
|
888
|
+
e = (e << ge ^ (e >> qn) * Bn) % Un, e & Wn && (s ^= ge << (ge << BigInt(r)) - ge);
|
|
889
|
+
Kt.push(s);
|
|
890
890
|
}
|
|
891
|
-
const
|
|
892
|
-
function
|
|
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);
|
|
892
|
+
function Kn(o, e = 24) {
|
|
893
893
|
const t = new Uint32Array(10);
|
|
894
894
|
for (let n = 24 - e; n < 24; n++) {
|
|
895
895
|
for (let i = 0; i < 10; i++)
|
|
@@ -901,7 +901,7 @@ function Hn(o, e = 24) {
|
|
|
901
901
|
}
|
|
902
902
|
let s = o[2], r = o[3];
|
|
903
903
|
for (let i = 0; i < 24; i++) {
|
|
904
|
-
const a =
|
|
904
|
+
const a = Pt[i], c = pt(s, r, a), u = ft(s, r, a), l = Ht[i];
|
|
905
905
|
s = o[l], r = o[l + 1], o[l] = c, o[l + 1] = u;
|
|
906
906
|
}
|
|
907
907
|
for (let i = 0; i < 50; i += 10) {
|
|
@@ -910,7 +910,7 @@ function Hn(o, e = 24) {
|
|
|
910
910
|
for (let a = 0; a < 10; a++)
|
|
911
911
|
o[i + a] ^= ~t[(a + 2) % 10] & t[(a + 4) % 10];
|
|
912
912
|
}
|
|
913
|
-
o[0] ^=
|
|
913
|
+
o[0] ^= Hn[n], o[1] ^= Pn[n];
|
|
914
914
|
}
|
|
915
915
|
Ut(t);
|
|
916
916
|
}
|
|
@@ -930,13 +930,13 @@ 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 =
|
|
933
|
+
this.state = new Uint8Array(200), this.state32 = qt(this.state);
|
|
934
934
|
}
|
|
935
935
|
clone() {
|
|
936
936
|
return this._cloneInto();
|
|
937
937
|
}
|
|
938
938
|
keccak() {
|
|
939
|
-
dt(this.state32),
|
|
939
|
+
dt(this.state32), Kn(this.state32, this.rounds), dt(this.state32), this.posOut = 0, this.pos = 0;
|
|
940
940
|
}
|
|
941
941
|
update(e) {
|
|
942
942
|
ht(this), D(e);
|
|
@@ -975,7 +975,7 @@ class Fe {
|
|
|
975
975
|
return ut(e), this.xofInto(new Uint8Array(e));
|
|
976
976
|
}
|
|
977
977
|
digestInto(e) {
|
|
978
|
-
if (
|
|
978
|
+
if (Tn(e, this), this.finished)
|
|
979
979
|
throw new Error("digest() was already called");
|
|
980
980
|
return this.writeInto(e), this.destroy(), e;
|
|
981
981
|
}
|
|
@@ -990,42 +990,42 @@ class Fe {
|
|
|
990
990
|
return e || (e = new Fe(t, n, s, i, r)), e.state32.set(this.state32), e.pos = this.pos, e.posOut = this.posOut, e.finished = this.finished, e.rounds = r, e.suffix = n, e.outputLen = s, e.enableXOF = i, e.destroyed = this.destroyed, e;
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
|
-
const
|
|
993
|
+
const Ft = (o, e, t, n = {}) => Bt(() => new Fe(e, o, t), n), Nn = /* @__PURE__ */ Ft(
|
|
994
994
|
6,
|
|
995
995
|
136,
|
|
996
996
|
32,
|
|
997
997
|
/* @__PURE__ */ Ne(8)
|
|
998
|
-
),
|
|
998
|
+
), Fn = /* @__PURE__ */ Ft(
|
|
999
999
|
6,
|
|
1000
1000
|
72,
|
|
1001
1001
|
64,
|
|
1002
1002
|
/* @__PURE__ */ Ne(10)
|
|
1003
|
-
),
|
|
1003
|
+
), Lt = (o, e, t, n = {}) => Bt((s = {}) => new Fe(e, o, s.dkLen === void 0 ? t : s.dkLen, !0), n), Ln = /* @__PURE__ */ Lt(31, 168, 16, /* @__PURE__ */ Ne(11)), Qt = /* @__PURE__ */ Lt(31, 136, 32, /* @__PURE__ */ Ne(12));
|
|
1004
1004
|
function it(o) {
|
|
1005
1005
|
if (!Number.isSafeInteger(o) || o < 0 || o > 4294967295)
|
|
1006
1006
|
throw new Error("wrong u32 integer:" + o);
|
|
1007
1007
|
return o;
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function jt(o) {
|
|
1010
1010
|
return it(o), (o & o - 1) === 0 && o !== 0;
|
|
1011
1011
|
}
|
|
1012
|
-
function
|
|
1012
|
+
function Dt(o, e) {
|
|
1013
1013
|
it(o);
|
|
1014
1014
|
let t = 0;
|
|
1015
1015
|
for (let n = 0; n < e; n++, o >>>= 1)
|
|
1016
1016
|
t = t << 1 | o & 1;
|
|
1017
1017
|
return t;
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function Vt(o) {
|
|
1020
1020
|
return it(o), 31 - Math.clz32(o);
|
|
1021
1021
|
}
|
|
1022
1022
|
function mt(o) {
|
|
1023
1023
|
const e = o.length;
|
|
1024
|
-
if (e < 2 || !
|
|
1024
|
+
if (e < 2 || !jt(e))
|
|
1025
1025
|
throw new Error("n must be a power of 2 and greater than 1. Got " + e);
|
|
1026
|
-
const t =
|
|
1026
|
+
const t = Vt(e);
|
|
1027
1027
|
for (let n = 0; n < e; n++) {
|
|
1028
|
-
const s =
|
|
1028
|
+
const s = Dt(n, t);
|
|
1029
1029
|
if (n < s) {
|
|
1030
1030
|
const r = o[n];
|
|
1031
1031
|
o[n] = o[s], o[s] = r;
|
|
@@ -1034,8 +1034,8 @@ function mt(o) {
|
|
|
1034
1034
|
return o;
|
|
1035
1035
|
}
|
|
1036
1036
|
const yt = (o, e) => {
|
|
1037
|
-
const { N: t, roots: n, dit: s, invertButterflies: r = !1, skipStages: i = 0, brp: a = !0 } = e, c =
|
|
1038
|
-
if (!
|
|
1037
|
+
const { N: t, roots: n, dit: s, invertButterflies: r = !1, skipStages: i = 0, brp: a = !0 } = e, c = Vt(t);
|
|
1038
|
+
if (!jt(t))
|
|
1039
1039
|
throw new Error("FFT: Polynomial size should be power of two");
|
|
1040
1040
|
const u = s !== r;
|
|
1041
1041
|
return (l) => {
|
|
@@ -1048,8 +1048,8 @@ const yt = (o, e) => {
|
|
|
1048
1048
|
for (let y = 0, w = p++; y < A; y++) {
|
|
1049
1049
|
const C = r ? s ? t - w : w : y * M, k = f + y, $ = f + y + A, v = n[C], I = l[$], S = l[k];
|
|
1050
1050
|
if (u) {
|
|
1051
|
-
const
|
|
1052
|
-
l[k] = o.add(S,
|
|
1051
|
+
const U = o.mul(I, v);
|
|
1052
|
+
l[k] = o.add(S, U), l[$] = o.sub(S, U);
|
|
1053
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));
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
@@ -1057,7 +1057,7 @@ const yt = (o, e) => {
|
|
|
1057
1057
|
};
|
|
1058
1058
|
};
|
|
1059
1059
|
/*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) */
|
|
1060
|
-
const gt =
|
|
1060
|
+
const gt = On;
|
|
1061
1061
|
function Je(o, e) {
|
|
1062
1062
|
if (o.length !== e.length)
|
|
1063
1063
|
return !1;
|
|
@@ -1066,10 +1066,10 @@ function Je(o, e) {
|
|
|
1066
1066
|
t |= o[n] ^ e[n];
|
|
1067
1067
|
return t === 0;
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function Qn(o) {
|
|
1070
1070
|
return Uint8Array.from(o);
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function Ue(o, ...e) {
|
|
1073
1073
|
const t = (s) => typeof s == "number" ? s : s.bytesLen, n = e.reduce((s, r) => s + t(r), 0);
|
|
1074
1074
|
return {
|
|
1075
1075
|
bytesLen: n,
|
|
@@ -1127,7 +1127,7 @@ function bt(o) {
|
|
|
1127
1127
|
return (1 << o) - 1;
|
|
1128
1128
|
}
|
|
1129
1129
|
/*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) */
|
|
1130
|
-
const
|
|
1130
|
+
const jn = (o) => {
|
|
1131
1131
|
const { newPoly: e, N: t, Q: n, F: s, ROOT_OF_UNITY: r, brvBits: i } = o, a = (f, y = n) => {
|
|
1132
1132
|
const w = f % y | 0;
|
|
1133
1133
|
return (w >= 0 ? w | 0 : y + w | 0) | 0;
|
|
@@ -1138,7 +1138,7 @@ const Ln = (o) => {
|
|
|
1138
1138
|
function u() {
|
|
1139
1139
|
const f = e(t);
|
|
1140
1140
|
for (let y = 0; y < t; y++) {
|
|
1141
|
-
const w =
|
|
1141
|
+
const w = Dt(y, i), C = BigInt(r) ** BigInt(w) % BigInt(n);
|
|
1142
1142
|
f[y] = Number(C) | 0;
|
|
1143
1143
|
}
|
|
1144
1144
|
return f;
|
|
@@ -1171,21 +1171,21 @@ const Ln = (o) => {
|
|
|
1171
1171
|
bytesLen: C,
|
|
1172
1172
|
encode: (k) => {
|
|
1173
1173
|
const $ = new Uint8Array(C);
|
|
1174
|
-
for (let v = 0, I = 0, S = 0,
|
|
1174
|
+
for (let v = 0, I = 0, S = 0, U = 0; v < k.length; v++)
|
|
1175
1175
|
for (I |= (y.encode(k[v]) & w) << S, S += f; S >= 8; S -= 8, I >>= 8)
|
|
1176
|
-
$[
|
|
1176
|
+
$[U++] = I & bt(S);
|
|
1177
1177
|
return $;
|
|
1178
1178
|
},
|
|
1179
1179
|
decode: (k) => {
|
|
1180
1180
|
const $ = e(t);
|
|
1181
|
-
for (let v = 0, I = 0, S = 0,
|
|
1181
|
+
for (let v = 0, I = 0, S = 0, U = 0; v < k.length; v++)
|
|
1182
1182
|
for (I |= k[v] << S, S += 8; S >= f; S -= f, I >>= f)
|
|
1183
|
-
$[
|
|
1183
|
+
$[U++] = y.decode(I & w);
|
|
1184
1184
|
return $;
|
|
1185
1185
|
}
|
|
1186
1186
|
};
|
|
1187
1187
|
} };
|
|
1188
|
-
},
|
|
1188
|
+
}, Dn = (o) => (e, t) => {
|
|
1189
1189
|
t || (t = o.blockLen);
|
|
1190
1190
|
const n = new Uint8Array(e.length + 2);
|
|
1191
1191
|
n.set(e);
|
|
@@ -1198,18 +1198,18 @@ const Ln = (o) => {
|
|
|
1198
1198
|
i.destroy(), G(r, n);
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
|
-
},
|
|
1201
|
+
}, Vn = /* @__PURE__ */ Dn(Ln);
|
|
1202
1202
|
/*! noble-post-quantum - MIT License (c) 2024 Paul Miller (paulmillr.com) */
|
|
1203
|
-
const F = 256, le = 3329,
|
|
1203
|
+
const F = 256, le = 3329, zn = 3303, Jn = 17, { mod: $e, nttZetas: Gn, NTT: ne, bitsCoder: Xn } = jn({
|
|
1204
1204
|
N: F,
|
|
1205
1205
|
Q: le,
|
|
1206
|
-
F:
|
|
1207
|
-
ROOT_OF_UNITY:
|
|
1206
|
+
F: zn,
|
|
1207
|
+
ROOT_OF_UNITY: Jn,
|
|
1208
1208
|
newPoly: (o) => new Uint16Array(o),
|
|
1209
1209
|
brvBits: 7
|
|
1210
|
-
}),
|
|
1210
|
+
}), Zn = {
|
|
1211
1211
|
768: { N: F, Q: le, K: 3, ETA1: 2, ETA2: 2, du: 10, dv: 4, RBGstrength: 192 }
|
|
1212
|
-
},
|
|
1212
|
+
}, Yn = (o) => {
|
|
1213
1213
|
if (o >= 12)
|
|
1214
1214
|
return { encode: (t) => t, decode: (t) => t };
|
|
1215
1215
|
const e = 2 ** (o - 1);
|
|
@@ -1219,24 +1219,24 @@ const F = 256, le = 3329, Dn = 3303, Vn = 17, { mod: $e, nttZetas: zn, NTT: ne,
|
|
|
1219
1219
|
// const decompress = (i: number) => round((Q / 2 ** d) * i);
|
|
1220
1220
|
decode: (t) => t * le + e >>> o
|
|
1221
1221
|
};
|
|
1222
|
-
}, be = (o) =>
|
|
1222
|
+
}, be = (o) => Xn(o, Yn(o));
|
|
1223
1223
|
function se(o, e) {
|
|
1224
1224
|
for (let t = 0; t < F; t++)
|
|
1225
1225
|
o[t] = $e(o[t] + e[t]);
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function es(o, e) {
|
|
1228
1228
|
for (let t = 0; t < F; t++)
|
|
1229
1229
|
o[t] = $e(o[t] - e[t]);
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function ts(o, e, t, n, s) {
|
|
1232
1232
|
const r = $e(e * n * s + o * t), i = $e(o * n + e * t);
|
|
1233
1233
|
return { c0: r, c1: i };
|
|
1234
1234
|
}
|
|
1235
1235
|
function Ee(o, e) {
|
|
1236
1236
|
for (let t = 0; t < F / 2; t++) {
|
|
1237
|
-
let n =
|
|
1237
|
+
let n = Gn[64 + (t >> 1)];
|
|
1238
1238
|
t & 1 && (n = -n);
|
|
1239
|
-
const { c0: s, c1: r } =
|
|
1239
|
+
const { c0: s, c1: r } = ts(o[2 * t + 0], o[2 * t + 1], e[2 * t + 0], e[2 * t + 1], n);
|
|
1240
1240
|
o[2 * t + 0] = s, o[2 * t + 1] = r;
|
|
1241
1241
|
}
|
|
1242
1242
|
return o;
|
|
@@ -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 =
|
|
1258
|
+
const s = o(n * F / 4, e, t), r = new Uint16Array(F), i = qt(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];
|
|
@@ -1266,8 +1266,8 @@ function we(o, e, t, n) {
|
|
|
1266
1266
|
throw new Error(`sampleCBD: leftover bits: ${a}`);
|
|
1267
1267
|
return r;
|
|
1268
1268
|
}
|
|
1269
|
-
const
|
|
1270
|
-
const { K: e, PRF: t, XOF: n, HASH512: s, ETA1: r, ETA2: i, du: a, dv: c } = o, u = be(1), l = be(c), h = be(a), p =
|
|
1269
|
+
const ns = (o) => {
|
|
1270
|
+
const { K: e, PRF: t, XOF: n, HASH512: s, ETA1: r, ETA2: i, du: a, dv: c } = o, u = be(1), l = be(c), h = be(a), p = Ue("publicKey", Ge(be(12), e), 32), d = Ge(be(12), e), b = Ue("ciphertext", Ge(h, e), l), A = Ue("seed", 32, 32);
|
|
1271
1271
|
return {
|
|
1272
1272
|
secretCoder: d,
|
|
1273
1273
|
lengths: {
|
|
@@ -1284,12 +1284,12 @@ const es = (o) => {
|
|
|
1284
1284
|
k.push(ne.encode(we(t, C, S, r)));
|
|
1285
1285
|
const v = n(w);
|
|
1286
1286
|
for (let S = 0; S < e; S++) {
|
|
1287
|
-
const
|
|
1287
|
+
const U = ne.encode(we(t, C, e + S, r));
|
|
1288
1288
|
for (let R = 0; R < e; R++) {
|
|
1289
1289
|
const ce = wt(v.get(R, S));
|
|
1290
|
-
se(
|
|
1290
|
+
se(U, Ee(ce, k[R]));
|
|
1291
1291
|
}
|
|
1292
|
-
$.push(
|
|
1292
|
+
$.push(U);
|
|
1293
1293
|
}
|
|
1294
1294
|
v.clean();
|
|
1295
1295
|
const I = {
|
|
@@ -1306,27 +1306,27 @@ const es = (o) => {
|
|
|
1306
1306
|
for (let R = 0; R < e; R++) {
|
|
1307
1307
|
const ce = we(t, y, e + R, i), De = new Uint16Array(F);
|
|
1308
1308
|
for (let Me = 0; Me < e; Me++) {
|
|
1309
|
-
const
|
|
1310
|
-
se(De, Ee(
|
|
1309
|
+
const Yt = wt($.get(R, Me));
|
|
1310
|
+
se(De, Ee(Yt, k[Me]));
|
|
1311
1311
|
}
|
|
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
1315
|
const S = we(t, y, 2 * e, i);
|
|
1316
1316
|
se(S, ne.decode(v));
|
|
1317
|
-
const
|
|
1318
|
-
return se(
|
|
1317
|
+
const U = u.decode(f);
|
|
1318
|
+
return se(U, S), G(w, k, v, S), b.encode([I, U]);
|
|
1319
1319
|
},
|
|
1320
1320
|
decrypt: (M, f) => {
|
|
1321
1321
|
const [y, w] = b.decode(M), C = d.decode(f), k = new Uint16Array(F);
|
|
1322
1322
|
for (let $ = 0; $ < e; $++)
|
|
1323
1323
|
se(k, Ee(C[$], ne.encode(y[$])));
|
|
1324
|
-
return
|
|
1324
|
+
return es(w, ne.decode(k)), G(k, C, y), u.encode(w);
|
|
1325
1325
|
}
|
|
1326
1326
|
};
|
|
1327
1327
|
};
|
|
1328
|
-
function
|
|
1329
|
-
const e =
|
|
1328
|
+
function ss(o) {
|
|
1329
|
+
const e = ns(o), { HASH256: t, HASH512: n, KDF: s } = o, { secretCoder: r, lengths: i } = e, a = Ue("secretKey", i.secretKey, i.publicKey, 32, 32), c = 32, u = 64;
|
|
1330
1330
|
return {
|
|
1331
1331
|
info: { type: "ml-kem" },
|
|
1332
1332
|
lengths: {
|
|
@@ -1347,7 +1347,7 @@ function ts(o) {
|
|
|
1347
1347
|
},
|
|
1348
1348
|
encapsulate: (l, h = gt(c)) => {
|
|
1349
1349
|
D(l, i.publicKey, "publicKey"), D(h, c, "message");
|
|
1350
|
-
const p = l.subarray(0, 384 * o.K), d = r.encode(r.decode(
|
|
1350
|
+
const p = l.subarray(0, 384 * o.K), d = r.encode(r.decode(Qn(p)));
|
|
1351
1351
|
if (!Je(d, p))
|
|
1352
1352
|
throw G(d), new Error("ML-KEM.encapsulate: wrong publicKey modulus");
|
|
1353
1353
|
G(d);
|
|
@@ -1364,18 +1364,18 @@ function ts(o) {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
};
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1368
|
-
return
|
|
1369
|
-
}
|
|
1370
|
-
const
|
|
1371
|
-
HASH256:
|
|
1372
|
-
HASH512:
|
|
1373
|
-
KDF:
|
|
1374
|
-
XOF:
|
|
1375
|
-
PRF:
|
|
1376
|
-
}, Xe = /* @__PURE__ */
|
|
1377
|
-
...
|
|
1378
|
-
...
|
|
1367
|
+
function rs(o, e, t) {
|
|
1368
|
+
return Qt.create({ dkLen: o }).update(e).update(new Uint8Array([t])).digest();
|
|
1369
|
+
}
|
|
1370
|
+
const is = {
|
|
1371
|
+
HASH256: Nn,
|
|
1372
|
+
HASH512: Fn,
|
|
1373
|
+
KDF: Qt,
|
|
1374
|
+
XOF: Vn,
|
|
1375
|
+
PRF: rs
|
|
1376
|
+
}, Xe = /* @__PURE__ */ ss({
|
|
1377
|
+
...is,
|
|
1378
|
+
...Zn[768]
|
|
1379
1379
|
});
|
|
1380
1380
|
class _ {
|
|
1381
1381
|
/**
|
|
@@ -1696,7 +1696,7 @@ class ke extends x {
|
|
|
1696
1696
|
super(e, t, n), this.name = "AtomIndexException";
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
-
class
|
|
1699
|
+
class os extends x {
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Class constructor
|
|
1702
1702
|
*
|
|
@@ -1708,7 +1708,7 @@ class rs extends x {
|
|
|
1708
1708
|
super(e, t, n), this.name = "MolecularHashMismatchException";
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
-
class
|
|
1711
|
+
class as extends x {
|
|
1712
1712
|
/**
|
|
1713
1713
|
* Class constructor
|
|
1714
1714
|
*
|
|
@@ -1732,7 +1732,7 @@ class kt extends x {
|
|
|
1732
1732
|
super(e, t, n), this.name = "PolicyInvalidException";
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
class
|
|
1735
|
+
class zt extends x {
|
|
1736
1736
|
/**
|
|
1737
1737
|
* Class constructor
|
|
1738
1738
|
*
|
|
@@ -1744,7 +1744,7 @@ class Vt extends x {
|
|
|
1744
1744
|
super(e, t, n), this.name = "SignatureMalformedException";
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
|
-
class
|
|
1747
|
+
class ls extends x {
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Class constructor
|
|
1750
1750
|
*
|
|
@@ -1802,7 +1802,7 @@ class _t extends x {
|
|
|
1802
1802
|
super(e, t, n), this.name = "TransferRemainderException";
|
|
1803
1803
|
}
|
|
1804
1804
|
}
|
|
1805
|
-
class
|
|
1805
|
+
class cs extends x {
|
|
1806
1806
|
/**
|
|
1807
1807
|
* Class constructor
|
|
1808
1808
|
*
|
|
@@ -1850,7 +1850,7 @@ class re extends x {
|
|
|
1850
1850
|
super(e, t, n), this.name = "WrongTokenTypeException";
|
|
1851
1851
|
}
|
|
1852
1852
|
}
|
|
1853
|
-
class
|
|
1853
|
+
class Be extends x {
|
|
1854
1854
|
/**
|
|
1855
1855
|
* @param {string|null} message
|
|
1856
1856
|
* @param {string|null} fileName
|
|
@@ -1940,7 +1940,7 @@ class _e {
|
|
|
1940
1940
|
* @param {string} amount
|
|
1941
1941
|
*/
|
|
1942
1942
|
set amount(e) {
|
|
1943
|
-
if (!
|
|
1943
|
+
if (!yn(e))
|
|
1944
1944
|
throw new ee("Parameter amount should be a string containing numbers");
|
|
1945
1945
|
this.__amount = e;
|
|
1946
1946
|
}
|
|
@@ -2210,7 +2210,7 @@ class ve {
|
|
|
2210
2210
|
*/
|
|
2211
2211
|
constructor(e) {
|
|
2212
2212
|
if (e.molecularHash === null)
|
|
2213
|
-
throw new
|
|
2213
|
+
throw new as();
|
|
2214
2214
|
if (!e.atoms.length)
|
|
2215
2215
|
throw new ae();
|
|
2216
2216
|
for (const t of e.atoms)
|
|
@@ -2245,14 +2245,14 @@ class ve {
|
|
|
2245
2245
|
if (e.isotope === "V" && e.batchId !== null) {
|
|
2246
2246
|
const t = this.molecule.getIsotopes("V"), n = t[t.length - 1];
|
|
2247
2247
|
if (e.batchId !== n.batchId)
|
|
2248
|
-
throw new
|
|
2248
|
+
throw new Be();
|
|
2249
2249
|
for (const s of t)
|
|
2250
2250
|
if (s.batchId === null)
|
|
2251
|
-
throw new
|
|
2251
|
+
throw new Be();
|
|
2252
2252
|
}
|
|
2253
2253
|
return !0;
|
|
2254
2254
|
}
|
|
2255
|
-
throw new
|
|
2255
|
+
throw new Be();
|
|
2256
2256
|
}
|
|
2257
2257
|
/**
|
|
2258
2258
|
*
|
|
@@ -2498,7 +2498,7 @@ class ve {
|
|
|
2498
2498
|
if (i < 0)
|
|
2499
2499
|
throw new Se();
|
|
2500
2500
|
if (c.walletAddress === s.walletAddress)
|
|
2501
|
-
throw new
|
|
2501
|
+
throw new cs();
|
|
2502
2502
|
}
|
|
2503
2503
|
r += i;
|
|
2504
2504
|
}
|
|
@@ -2525,7 +2525,7 @@ class ve {
|
|
|
2525
2525
|
if (this.molecule.molecularHash !== g.hashAtoms({
|
|
2526
2526
|
atoms: this.molecule.atoms
|
|
2527
2527
|
}))
|
|
2528
|
-
throw new
|
|
2528
|
+
throw new os();
|
|
2529
2529
|
return !0;
|
|
2530
2530
|
}
|
|
2531
2531
|
/**
|
|
@@ -2542,8 +2542,8 @@ class ve {
|
|
|
2542
2542
|
).reduce(
|
|
2543
2543
|
(p, d) => p + d
|
|
2544
2544
|
);
|
|
2545
|
-
if (t.length !== 2048 && (t =
|
|
2546
|
-
throw new
|
|
2545
|
+
if (t.length !== 2048 && (t = mn(t), t.length !== 2048))
|
|
2546
|
+
throw new zt();
|
|
2547
2547
|
const n = He(t, 128);
|
|
2548
2548
|
let s = "";
|
|
2549
2549
|
for (const p in n) {
|
|
@@ -2560,7 +2560,7 @@ class ve {
|
|
|
2560
2560
|
let l = u.walletAddress;
|
|
2561
2561
|
const h = T.get(u.aggregatedMeta(), "signingWallet");
|
|
2562
2562
|
if (h && (l = T.get(JSON.parse(h), "address")), c !== l)
|
|
2563
|
-
throw new
|
|
2563
|
+
throw new ls();
|
|
2564
2564
|
return !0;
|
|
2565
2565
|
}
|
|
2566
2566
|
/**
|
|
@@ -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(
|
|
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({
|
|
2694
2694
|
secret: e,
|
|
2695
2695
|
bundle: t,
|
|
2696
2696
|
token: n.token,
|
|
@@ -2883,14 +2883,8 @@ class z {
|
|
|
2883
2883
|
policy: s = {}
|
|
2884
2884
|
}) {
|
|
2885
2885
|
const r = new P(n);
|
|
2886
|
-
r.addPolicy(s)
|
|
2887
|
-
|
|
2888
|
-
secret: this.secret,
|
|
2889
|
-
bundle: this.sourceWallet.bundle,
|
|
2890
|
-
token: "USER"
|
|
2891
|
-
});
|
|
2892
|
-
return this.addAtom(g.create({
|
|
2893
|
-
wallet: i,
|
|
2886
|
+
return r.addPolicy(s), this.addAtom(g.create({
|
|
2887
|
+
wallet: this.sourceWallet,
|
|
2894
2888
|
isotope: "R",
|
|
2895
2889
|
metaType: e,
|
|
2896
2890
|
metaId: t,
|
|
@@ -3384,7 +3378,7 @@ class z {
|
|
|
3384
3378
|
let r = s.position;
|
|
3385
3379
|
const i = T.get(s.aggregatedMeta(), "signingWallet");
|
|
3386
3380
|
if (i && (r = T.get(JSON.parse(i), "position")), !r)
|
|
3387
|
-
throw new
|
|
3381
|
+
throw new zt("Signing wallet must have a position!");
|
|
3388
3382
|
const a = _.generateKey({
|
|
3389
3383
|
secret: this.secret,
|
|
3390
3384
|
token: s.token,
|
|
@@ -3397,7 +3391,7 @@ class z {
|
|
|
3397
3391
|
b = new L("SHAKE256", "TEXT").update(b).getHash("HEX", { outputLen: 512 });
|
|
3398
3392
|
l += b;
|
|
3399
3393
|
}
|
|
3400
|
-
n && (l =
|
|
3394
|
+
n && (l = fn(l));
|
|
3401
3395
|
const h = He(l, Math.ceil(l.length / this.atoms.length));
|
|
3402
3396
|
let p = null;
|
|
3403
3397
|
for (let d = 0, b = h.length; d < b; d++)
|
|
@@ -3905,7 +3899,7 @@ class E {
|
|
|
3905
3899
|
return this;
|
|
3906
3900
|
}
|
|
3907
3901
|
}
|
|
3908
|
-
class
|
|
3902
|
+
class K {
|
|
3909
3903
|
/**
|
|
3910
3904
|
* @param {UrqlClientWrapper} graphQLClient
|
|
3911
3905
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4015,7 +4009,7 @@ class N {
|
|
|
4015
4009
|
return {};
|
|
4016
4010
|
}
|
|
4017
4011
|
}
|
|
4018
|
-
class
|
|
4012
|
+
class us extends E {
|
|
4019
4013
|
/**
|
|
4020
4014
|
* Class constructor
|
|
4021
4015
|
*
|
|
@@ -4046,7 +4040,7 @@ class ls extends E {
|
|
|
4046
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;
|
|
4047
4041
|
}
|
|
4048
4042
|
}
|
|
4049
|
-
class
|
|
4043
|
+
class hs extends K {
|
|
4050
4044
|
/**
|
|
4051
4045
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4052
4046
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4080,13 +4074,13 @@ class cs extends N {
|
|
|
4080
4074
|
* @return {ResponseContinuId}
|
|
4081
4075
|
*/
|
|
4082
4076
|
createResponse(e) {
|
|
4083
|
-
return new
|
|
4077
|
+
return new us({
|
|
4084
4078
|
query: this,
|
|
4085
4079
|
json: e
|
|
4086
4080
|
});
|
|
4087
4081
|
}
|
|
4088
4082
|
}
|
|
4089
|
-
class
|
|
4083
|
+
class ds extends E {
|
|
4090
4084
|
/**
|
|
4091
4085
|
* Class constructor
|
|
4092
4086
|
*
|
|
@@ -4118,7 +4112,7 @@ class us extends E {
|
|
|
4118
4112
|
}), t;
|
|
4119
4113
|
}
|
|
4120
4114
|
}
|
|
4121
|
-
class
|
|
4115
|
+
class ps extends K {
|
|
4122
4116
|
/**
|
|
4123
4117
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4124
4118
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4145,7 +4139,7 @@ class hs extends N {
|
|
|
4145
4139
|
* @return {ResponseWalletBundle}
|
|
4146
4140
|
*/
|
|
4147
4141
|
createResponse(e) {
|
|
4148
|
-
return new
|
|
4142
|
+
return new ds({
|
|
4149
4143
|
query: this,
|
|
4150
4144
|
json: e
|
|
4151
4145
|
});
|
|
@@ -4226,7 +4220,7 @@ class Le extends E {
|
|
|
4226
4220
|
return this.getWallets();
|
|
4227
4221
|
}
|
|
4228
4222
|
}
|
|
4229
|
-
class
|
|
4223
|
+
class fs extends K {
|
|
4230
4224
|
/**
|
|
4231
4225
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4232
4226
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4274,7 +4268,7 @@ class ds extends N {
|
|
|
4274
4268
|
});
|
|
4275
4269
|
}
|
|
4276
4270
|
}
|
|
4277
|
-
class
|
|
4271
|
+
class ms extends E {
|
|
4278
4272
|
/**
|
|
4279
4273
|
* Class constructor
|
|
4280
4274
|
*
|
|
@@ -4303,7 +4297,7 @@ class ps extends E {
|
|
|
4303
4297
|
});
|
|
4304
4298
|
}
|
|
4305
4299
|
}
|
|
4306
|
-
class
|
|
4300
|
+
class ys extends K {
|
|
4307
4301
|
/**
|
|
4308
4302
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4309
4303
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4338,13 +4332,13 @@ class fs extends N {
|
|
|
4338
4332
|
* @return {ResponseBalance}
|
|
4339
4333
|
*/
|
|
4340
4334
|
createResponse(e) {
|
|
4341
|
-
return new
|
|
4335
|
+
return new ms({
|
|
4342
4336
|
query: this,
|
|
4343
4337
|
json: e
|
|
4344
4338
|
});
|
|
4345
4339
|
}
|
|
4346
4340
|
}
|
|
4347
|
-
class
|
|
4341
|
+
class gs extends E {
|
|
4348
4342
|
/**
|
|
4349
4343
|
* Class constructor
|
|
4350
4344
|
*
|
|
@@ -4378,7 +4372,7 @@ class ms extends E {
|
|
|
4378
4372
|
return n.instances && (t.instances = n.instances), n.instanceCount && (t.instanceCount = n.instanceCount), n.paginatorInfo && (t.paginatorInfo = n.paginatorInfo), t;
|
|
4379
4373
|
}
|
|
4380
4374
|
}
|
|
4381
|
-
class At extends
|
|
4375
|
+
class At extends K {
|
|
4382
4376
|
/**
|
|
4383
4377
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4384
4378
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4447,13 +4441,13 @@ class At extends N {
|
|
|
4447
4441
|
* @return {ResponseMetaType}
|
|
4448
4442
|
*/
|
|
4449
4443
|
createResponse(e) {
|
|
4450
|
-
return new
|
|
4444
|
+
return new gs({
|
|
4451
4445
|
query: this,
|
|
4452
4446
|
json: e
|
|
4453
4447
|
});
|
|
4454
4448
|
}
|
|
4455
4449
|
}
|
|
4456
|
-
class Ie extends
|
|
4450
|
+
class Ie extends K {
|
|
4457
4451
|
/**
|
|
4458
4452
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4459
4453
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4534,7 +4528,7 @@ class Ie extends N {
|
|
|
4534
4528
|
return t.dataKey = "data.Batch", t;
|
|
4535
4529
|
}
|
|
4536
4530
|
}
|
|
4537
|
-
class
|
|
4531
|
+
class bs extends K {
|
|
4538
4532
|
/**
|
|
4539
4533
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4540
4534
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4639,7 +4633,7 @@ class V extends E {
|
|
|
4639
4633
|
return this.$__payload;
|
|
4640
4634
|
}
|
|
4641
4635
|
}
|
|
4642
|
-
class Qe extends
|
|
4636
|
+
class Qe extends K {
|
|
4643
4637
|
/**
|
|
4644
4638
|
* Creates a new Request for the given parameters
|
|
4645
4639
|
*
|
|
@@ -4683,7 +4677,7 @@ class Qe extends N {
|
|
|
4683
4677
|
return {};
|
|
4684
4678
|
}
|
|
4685
4679
|
}
|
|
4686
|
-
class
|
|
4680
|
+
class q extends Qe {
|
|
4687
4681
|
/**
|
|
4688
4682
|
* @param {UrqlClientWrapper} graphQLClient
|
|
4689
4683
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -4754,7 +4748,7 @@ class U extends Qe {
|
|
|
4754
4748
|
return this.$__molecule;
|
|
4755
4749
|
}
|
|
4756
4750
|
}
|
|
4757
|
-
class
|
|
4751
|
+
class ws extends V {
|
|
4758
4752
|
/**
|
|
4759
4753
|
* return the authorization key
|
|
4760
4754
|
*
|
|
@@ -4815,7 +4809,7 @@ class gs extends V {
|
|
|
4815
4809
|
return this.payloadKey("key");
|
|
4816
4810
|
}
|
|
4817
4811
|
}
|
|
4818
|
-
class
|
|
4812
|
+
class ks extends q {
|
|
4819
4813
|
/**
|
|
4820
4814
|
*
|
|
4821
4815
|
* @param {object} meta
|
|
@@ -4830,15 +4824,15 @@ class bs extends U {
|
|
|
4830
4824
|
* @return {ResponseRequestAuthorization}
|
|
4831
4825
|
*/
|
|
4832
4826
|
createResponse(e) {
|
|
4833
|
-
return new
|
|
4827
|
+
return new ws({
|
|
4834
4828
|
query: this,
|
|
4835
4829
|
json: e
|
|
4836
4830
|
});
|
|
4837
4831
|
}
|
|
4838
4832
|
}
|
|
4839
|
-
class
|
|
4833
|
+
class Ss extends V {
|
|
4840
4834
|
}
|
|
4841
|
-
class
|
|
4835
|
+
class _s extends q {
|
|
4842
4836
|
/**
|
|
4843
4837
|
* @param {Wallet|null} recipientWallet
|
|
4844
4838
|
* @param {number|null} amount
|
|
@@ -4864,15 +4858,15 @@ class ks extends U {
|
|
|
4864
4858
|
* @return {ResponseCreateToken}
|
|
4865
4859
|
*/
|
|
4866
4860
|
createResponse(e) {
|
|
4867
|
-
return new
|
|
4861
|
+
return new Ss({
|
|
4868
4862
|
query: this,
|
|
4869
4863
|
json: e
|
|
4870
4864
|
});
|
|
4871
4865
|
}
|
|
4872
4866
|
}
|
|
4873
|
-
class
|
|
4867
|
+
class $s extends V {
|
|
4874
4868
|
}
|
|
4875
|
-
class
|
|
4869
|
+
class As extends q {
|
|
4876
4870
|
/**
|
|
4877
4871
|
* Fills a Molecule with the appropriate atoms and prepares for broadcast
|
|
4878
4872
|
*
|
|
@@ -4907,13 +4901,13 @@ class _s extends U {
|
|
|
4907
4901
|
* @return {ResponseRequestTokens}
|
|
4908
4902
|
*/
|
|
4909
4903
|
createResponse(e) {
|
|
4910
|
-
return new
|
|
4904
|
+
return new $s({
|
|
4911
4905
|
query: this,
|
|
4912
4906
|
json: e
|
|
4913
4907
|
});
|
|
4914
4908
|
}
|
|
4915
4909
|
}
|
|
4916
|
-
class
|
|
4910
|
+
class vs extends V {
|
|
4917
4911
|
/**
|
|
4918
4912
|
* Returns result of the transfer
|
|
4919
4913
|
*
|
|
@@ -4927,7 +4921,7 @@ class $s extends V {
|
|
|
4927
4921
|
return e.reason = typeof t.reason > "u" ? "Invalid response from server" : t.reason, e.status = typeof t.status > "u" ? "rejected" : t.status, e;
|
|
4928
4922
|
}
|
|
4929
4923
|
}
|
|
4930
|
-
class
|
|
4924
|
+
class xs extends q {
|
|
4931
4925
|
/**
|
|
4932
4926
|
* Fills the Molecule with provided wallet and amount data
|
|
4933
4927
|
*
|
|
@@ -4950,15 +4944,15 @@ class As extends U {
|
|
|
4950
4944
|
* @return {ResponseTransferTokens}
|
|
4951
4945
|
*/
|
|
4952
4946
|
createResponse(e) {
|
|
4953
|
-
return new
|
|
4947
|
+
return new vs({
|
|
4954
4948
|
query: this,
|
|
4955
4949
|
json: e
|
|
4956
4950
|
});
|
|
4957
4951
|
}
|
|
4958
4952
|
}
|
|
4959
|
-
class
|
|
4953
|
+
class Is extends V {
|
|
4960
4954
|
}
|
|
4961
|
-
class
|
|
4955
|
+
class Ts extends q {
|
|
4962
4956
|
fillMolecule({
|
|
4963
4957
|
type: e,
|
|
4964
4958
|
contact: t,
|
|
@@ -4977,15 +4971,15 @@ class xs extends U {
|
|
|
4977
4971
|
* @return {ResponseCreateIdentifier}
|
|
4978
4972
|
*/
|
|
4979
4973
|
createResponse(e) {
|
|
4980
|
-
return new
|
|
4974
|
+
return new Is({
|
|
4981
4975
|
query: this,
|
|
4982
4976
|
json: e
|
|
4983
4977
|
});
|
|
4984
4978
|
}
|
|
4985
4979
|
}
|
|
4986
|
-
class
|
|
4980
|
+
class Ms extends V {
|
|
4987
4981
|
}
|
|
4988
|
-
class
|
|
4982
|
+
class Cs extends q {
|
|
4989
4983
|
/**
|
|
4990
4984
|
* Class constructor
|
|
4991
4985
|
*
|
|
@@ -5011,15 +5005,15 @@ class Ts extends U {
|
|
|
5011
5005
|
* @return {ResponseClaimShadowWallet}
|
|
5012
5006
|
*/
|
|
5013
5007
|
createResponse(e) {
|
|
5014
|
-
return new
|
|
5008
|
+
return new Ms({
|
|
5015
5009
|
query: this,
|
|
5016
5010
|
json: e
|
|
5017
5011
|
});
|
|
5018
5012
|
}
|
|
5019
5013
|
}
|
|
5020
|
-
class
|
|
5014
|
+
class Es extends V {
|
|
5021
5015
|
}
|
|
5022
|
-
class
|
|
5016
|
+
class Os extends q {
|
|
5023
5017
|
/**
|
|
5024
5018
|
* Fills a molecule with an appropriate metadata atom
|
|
5025
5019
|
*
|
|
@@ -5048,15 +5042,15 @@ class Cs extends U {
|
|
|
5048
5042
|
* @return {ResponseCreateMeta}
|
|
5049
5043
|
*/
|
|
5050
5044
|
createResponse(e) {
|
|
5051
|
-
return new
|
|
5045
|
+
return new Es({
|
|
5052
5046
|
query: this,
|
|
5053
5047
|
json: e
|
|
5054
5048
|
});
|
|
5055
5049
|
}
|
|
5056
5050
|
}
|
|
5057
|
-
class
|
|
5051
|
+
class Rs extends V {
|
|
5058
5052
|
}
|
|
5059
|
-
class
|
|
5053
|
+
class Ws extends q {
|
|
5060
5054
|
/**
|
|
5061
5055
|
* Fills a molecule with a P-isotope peering atom
|
|
5062
5056
|
*
|
|
@@ -5076,15 +5070,15 @@ class Os extends U {
|
|
|
5076
5070
|
* @return {ResponsePeering}
|
|
5077
5071
|
*/
|
|
5078
5072
|
createResponse(e) {
|
|
5079
|
-
return new
|
|
5073
|
+
return new Rs({
|
|
5080
5074
|
query: this,
|
|
5081
5075
|
json: e
|
|
5082
5076
|
});
|
|
5083
5077
|
}
|
|
5084
5078
|
}
|
|
5085
|
-
class
|
|
5079
|
+
class qs extends V {
|
|
5086
5080
|
}
|
|
5087
|
-
class
|
|
5081
|
+
class Us extends q {
|
|
5088
5082
|
/**
|
|
5089
5083
|
* Fills a molecule with an A-isotope append request atom
|
|
5090
5084
|
*
|
|
@@ -5113,13 +5107,13 @@ class Ws extends U {
|
|
|
5113
5107
|
* @return {ResponseAppendRequest}
|
|
5114
5108
|
*/
|
|
5115
5109
|
createResponse(e) {
|
|
5116
|
-
return new
|
|
5110
|
+
return new qs({
|
|
5117
5111
|
query: this,
|
|
5118
5112
|
json: e
|
|
5119
5113
|
});
|
|
5120
5114
|
}
|
|
5121
5115
|
}
|
|
5122
|
-
class
|
|
5116
|
+
class Bs extends E {
|
|
5123
5117
|
/**
|
|
5124
5118
|
* Class constructor
|
|
5125
5119
|
*
|
|
@@ -5153,7 +5147,7 @@ class Us extends E {
|
|
|
5153
5147
|
return T.get(this.data(), "message");
|
|
5154
5148
|
}
|
|
5155
5149
|
}
|
|
5156
|
-
class
|
|
5150
|
+
class Hs extends Qe {
|
|
5157
5151
|
/**
|
|
5158
5152
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5159
5153
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -5176,15 +5170,15 @@ class Bs extends Qe {
|
|
|
5176
5170
|
* @return {ResponseLinkIdentifier}
|
|
5177
5171
|
*/
|
|
5178
5172
|
createResponse(e) {
|
|
5179
|
-
return new
|
|
5173
|
+
return new Bs({
|
|
5180
5174
|
query: this,
|
|
5181
5175
|
json: e
|
|
5182
5176
|
});
|
|
5183
5177
|
}
|
|
5184
5178
|
}
|
|
5185
|
-
class
|
|
5179
|
+
class Ps extends V {
|
|
5186
5180
|
}
|
|
5187
|
-
class
|
|
5181
|
+
class Ks extends q {
|
|
5188
5182
|
fillMolecule(e) {
|
|
5189
5183
|
this.$__molecule.initWalletCreation(e), this.$__molecule.sign({}), this.$__molecule.check();
|
|
5190
5184
|
}
|
|
@@ -5195,13 +5189,13 @@ class Hs extends U {
|
|
|
5195
5189
|
* @return {ResponseCreateWallet}
|
|
5196
5190
|
*/
|
|
5197
5191
|
createResponse(e) {
|
|
5198
|
-
return new
|
|
5192
|
+
return new Ps({
|
|
5199
5193
|
query: this,
|
|
5200
5194
|
json: e
|
|
5201
5195
|
});
|
|
5202
5196
|
}
|
|
5203
5197
|
}
|
|
5204
|
-
class
|
|
5198
|
+
class Ns extends E {
|
|
5205
5199
|
/**
|
|
5206
5200
|
* Class constructor
|
|
5207
5201
|
*
|
|
@@ -5303,7 +5297,7 @@ class Ps extends E {
|
|
|
5303
5297
|
return this.payloadKey("encrypt");
|
|
5304
5298
|
}
|
|
5305
5299
|
}
|
|
5306
|
-
class
|
|
5300
|
+
class Fs extends Qe {
|
|
5307
5301
|
/**
|
|
5308
5302
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5309
5303
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -5324,7 +5318,7 @@ class Ks extends Qe {
|
|
|
5324
5318
|
* @return {ResponseRequestAuthorizationGuest}
|
|
5325
5319
|
*/
|
|
5326
5320
|
createResponse(e) {
|
|
5327
|
-
return new
|
|
5321
|
+
return new Ns({
|
|
5328
5322
|
query: this,
|
|
5329
5323
|
json: e
|
|
5330
5324
|
});
|
|
@@ -5342,7 +5336,7 @@ class vt extends x {
|
|
|
5342
5336
|
super(e, t, n), this.name = "WalletShadowException";
|
|
5343
5337
|
}
|
|
5344
5338
|
}
|
|
5345
|
-
class
|
|
5339
|
+
class Ls extends x {
|
|
5346
5340
|
/**
|
|
5347
5341
|
* Class constructor
|
|
5348
5342
|
*
|
|
@@ -5436,7 +5430,7 @@ class je {
|
|
|
5436
5430
|
return this.$__variables;
|
|
5437
5431
|
}
|
|
5438
5432
|
}
|
|
5439
|
-
class
|
|
5433
|
+
class Qs extends je {
|
|
5440
5434
|
constructor(e) {
|
|
5441
5435
|
super(e), this.$__subscribe = O`
|
|
5442
5436
|
subscription onCreateMolecule ( $bundle: String! ) {
|
|
@@ -5486,7 +5480,7 @@ class Fs extends je {
|
|
|
5486
5480
|
`;
|
|
5487
5481
|
}
|
|
5488
5482
|
}
|
|
5489
|
-
class
|
|
5483
|
+
class js extends je {
|
|
5490
5484
|
constructor(e) {
|
|
5491
5485
|
super(e), this.$__subscribe = O`
|
|
5492
5486
|
subscription onWalletStatus ( $bundle: String!, $token: String! ) {
|
|
@@ -5500,7 +5494,7 @@ class Ls extends je {
|
|
|
5500
5494
|
`;
|
|
5501
5495
|
}
|
|
5502
5496
|
}
|
|
5503
|
-
class
|
|
5497
|
+
class Ds extends je {
|
|
5504
5498
|
constructor(e) {
|
|
5505
5499
|
super(e), this.$__subscribe = O`
|
|
5506
5500
|
subscription onActiveWallet ( $bundle: String! ) {
|
|
@@ -5543,7 +5537,7 @@ class Qs extends je {
|
|
|
5543
5537
|
`;
|
|
5544
5538
|
}
|
|
5545
5539
|
}
|
|
5546
|
-
class
|
|
5540
|
+
class Vs extends je {
|
|
5547
5541
|
constructor(e) {
|
|
5548
5542
|
super(e), this.$__subscribe = O`
|
|
5549
5543
|
subscription onActiveUser ( $metaType: String!, $metaId: String! ) {
|
|
@@ -5558,7 +5552,7 @@ class js extends je {
|
|
|
5558
5552
|
}`;
|
|
5559
5553
|
}
|
|
5560
5554
|
}
|
|
5561
|
-
class
|
|
5555
|
+
class zs extends E {
|
|
5562
5556
|
/**
|
|
5563
5557
|
* Class constructor
|
|
5564
5558
|
*
|
|
@@ -5576,7 +5570,7 @@ class Ds extends E {
|
|
|
5576
5570
|
});
|
|
5577
5571
|
}
|
|
5578
5572
|
}
|
|
5579
|
-
class
|
|
5573
|
+
class Js extends Qe {
|
|
5580
5574
|
/**
|
|
5581
5575
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5582
5576
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -5619,13 +5613,13 @@ class Vs extends Qe {
|
|
|
5619
5613
|
* @return {ResponseActiveSession}
|
|
5620
5614
|
*/
|
|
5621
5615
|
createResponse(e) {
|
|
5622
|
-
return new
|
|
5616
|
+
return new zs({
|
|
5623
5617
|
query: this,
|
|
5624
5618
|
json: e
|
|
5625
5619
|
});
|
|
5626
5620
|
}
|
|
5627
5621
|
}
|
|
5628
|
-
class
|
|
5622
|
+
class Gs extends E {
|
|
5629
5623
|
/**
|
|
5630
5624
|
* Class constructor
|
|
5631
5625
|
*
|
|
@@ -5654,7 +5648,7 @@ class zs extends E {
|
|
|
5654
5648
|
return t;
|
|
5655
5649
|
}
|
|
5656
5650
|
}
|
|
5657
|
-
class
|
|
5651
|
+
class Xs extends K {
|
|
5658
5652
|
/**
|
|
5659
5653
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5660
5654
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -5676,13 +5670,13 @@ class Js extends N {
|
|
|
5676
5670
|
* @return {ResponseQueryActiveSession}
|
|
5677
5671
|
*/
|
|
5678
5672
|
createResponse(e) {
|
|
5679
|
-
return new
|
|
5673
|
+
return new Gs({
|
|
5680
5674
|
query: this,
|
|
5681
5675
|
json: e
|
|
5682
5676
|
});
|
|
5683
5677
|
}
|
|
5684
5678
|
}
|
|
5685
|
-
class
|
|
5679
|
+
class Zs extends E {
|
|
5686
5680
|
/**
|
|
5687
5681
|
* Class constructor
|
|
5688
5682
|
*
|
|
@@ -5707,7 +5701,7 @@ class Gs extends E {
|
|
|
5707
5701
|
return e;
|
|
5708
5702
|
}
|
|
5709
5703
|
}
|
|
5710
|
-
class
|
|
5704
|
+
class Ys extends K {
|
|
5711
5705
|
/**
|
|
5712
5706
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5713
5707
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -5795,13 +5789,13 @@ class Xs extends N {
|
|
|
5795
5789
|
* @return {ResponseQueryUserActivity}
|
|
5796
5790
|
*/
|
|
5797
5791
|
createResponse(e) {
|
|
5798
|
-
return new
|
|
5792
|
+
return new Zs({
|
|
5799
5793
|
query: this,
|
|
5800
5794
|
json: e
|
|
5801
5795
|
});
|
|
5802
5796
|
}
|
|
5803
5797
|
}
|
|
5804
|
-
class
|
|
5798
|
+
class er extends K {
|
|
5805
5799
|
/**
|
|
5806
5800
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5807
5801
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -5844,7 +5838,7 @@ class xt extends x {
|
|
|
5844
5838
|
super(e, t, n), this.name = "AuthorizationRejectedException";
|
|
5845
5839
|
}
|
|
5846
5840
|
}
|
|
5847
|
-
class
|
|
5841
|
+
class tr extends E {
|
|
5848
5842
|
/**
|
|
5849
5843
|
* Class constructor
|
|
5850
5844
|
*
|
|
@@ -5892,7 +5886,7 @@ class Ys extends E {
|
|
|
5892
5886
|
return t;
|
|
5893
5887
|
}
|
|
5894
5888
|
}
|
|
5895
|
-
class It extends
|
|
5889
|
+
class It extends K {
|
|
5896
5890
|
/**
|
|
5897
5891
|
* @param {UrqlClientWrapper} graphQLClient
|
|
5898
5892
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -6014,7 +6008,7 @@ class It extends N {
|
|
|
6014
6008
|
indexes: v,
|
|
6015
6009
|
index: I,
|
|
6016
6010
|
filter: S,
|
|
6017
|
-
latest:
|
|
6011
|
+
latest: U,
|
|
6018
6012
|
queryArgs: R
|
|
6019
6013
|
}) {
|
|
6020
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)), {
|
|
@@ -6031,7 +6025,7 @@ class It extends N {
|
|
|
6031
6025
|
metaIds: k,
|
|
6032
6026
|
indexes: v,
|
|
6033
6027
|
filter: S,
|
|
6034
|
-
latest:
|
|
6028
|
+
latest: U,
|
|
6035
6029
|
queryArgs: R
|
|
6036
6030
|
};
|
|
6037
6031
|
}
|
|
@@ -6042,13 +6036,13 @@ class It extends N {
|
|
|
6042
6036
|
* @return {ResponseAtom}
|
|
6043
6037
|
*/
|
|
6044
6038
|
createResponse(e) {
|
|
6045
|
-
return new
|
|
6039
|
+
return new tr({
|
|
6046
6040
|
query: this,
|
|
6047
6041
|
json: e
|
|
6048
6042
|
});
|
|
6049
6043
|
}
|
|
6050
6044
|
}
|
|
6051
|
-
class
|
|
6045
|
+
class nr extends E {
|
|
6052
6046
|
/**
|
|
6053
6047
|
* Class constructor
|
|
6054
6048
|
*
|
|
@@ -6073,7 +6067,7 @@ class er extends E {
|
|
|
6073
6067
|
return e && e.callback ? JSON.parse(e.callback) : null;
|
|
6074
6068
|
}
|
|
6075
6069
|
}
|
|
6076
|
-
class
|
|
6070
|
+
class sr extends K {
|
|
6077
6071
|
/**
|
|
6078
6072
|
* @param {UrqlClientWrapper} graphQLClient
|
|
6079
6073
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -6099,13 +6093,13 @@ class tr extends N {
|
|
|
6099
6093
|
* @return {ResponsePolicy}
|
|
6100
6094
|
*/
|
|
6101
6095
|
createResponse(e) {
|
|
6102
|
-
return new
|
|
6096
|
+
return new nr({
|
|
6103
6097
|
query: this,
|
|
6104
6098
|
json: e
|
|
6105
6099
|
});
|
|
6106
6100
|
}
|
|
6107
6101
|
}
|
|
6108
|
-
class
|
|
6102
|
+
class rr extends E {
|
|
6109
6103
|
/**
|
|
6110
6104
|
* Class constructor
|
|
6111
6105
|
*
|
|
@@ -6134,7 +6128,7 @@ class nr extends E {
|
|
|
6134
6128
|
return n.instances && (t.instances = n.instances), n.instanceCount && (t.instanceCount = n.instanceCount), n.paginatorInfo && (t.paginatorInfo = n.paginatorInfo), t;
|
|
6135
6129
|
}
|
|
6136
6130
|
}
|
|
6137
|
-
class Tt extends
|
|
6131
|
+
class Tt extends K {
|
|
6138
6132
|
/**
|
|
6139
6133
|
* @param {UrqlClientWrapper} graphQLClient
|
|
6140
6134
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -6220,7 +6214,7 @@ class Tt extends N {
|
|
|
6220
6214
|
* @return {ResponseMetaTypeViaAtom}
|
|
6221
6215
|
*/
|
|
6222
6216
|
createResponse(e) {
|
|
6223
|
-
return new
|
|
6217
|
+
return new rr({
|
|
6224
6218
|
query: this,
|
|
6225
6219
|
json: e
|
|
6226
6220
|
});
|
|
@@ -6327,7 +6321,7 @@ class ot extends E {
|
|
|
6327
6321
|
};
|
|
6328
6322
|
}
|
|
6329
6323
|
}
|
|
6330
|
-
class Mt extends
|
|
6324
|
+
class Mt extends K {
|
|
6331
6325
|
/**
|
|
6332
6326
|
* @param {UrqlClientWrapper} graphQLClient
|
|
6333
6327
|
* @param {KnishIOClient} knishIOClient
|
|
@@ -6440,9 +6434,95 @@ class Mt extends N {
|
|
|
6440
6434
|
});
|
|
6441
6435
|
}
|
|
6442
6436
|
}
|
|
6443
|
-
class
|
|
6437
|
+
class ir extends E {
|
|
6438
|
+
/**
|
|
6439
|
+
* Class constructor
|
|
6440
|
+
*
|
|
6441
|
+
* @param {Query} query
|
|
6442
|
+
* @param {object} json
|
|
6443
|
+
*/
|
|
6444
|
+
constructor({
|
|
6445
|
+
query: e,
|
|
6446
|
+
json: t
|
|
6447
|
+
}) {
|
|
6448
|
+
super({
|
|
6449
|
+
query: e,
|
|
6450
|
+
json: t,
|
|
6451
|
+
dataKey: "data.embeddingStatus"
|
|
6452
|
+
});
|
|
6453
|
+
}
|
|
6454
|
+
/**
|
|
6455
|
+
* Returns the array of embedding status items, or null if empty.
|
|
6456
|
+
*
|
|
6457
|
+
* Each item contains:
|
|
6458
|
+
* - metaType {string} - Metadata type (echoed from input)
|
|
6459
|
+
* - metaId {string} - Instance identifier (echoed from input)
|
|
6460
|
+
* - state {string} - PENDING | STALE | COMPLETE
|
|
6461
|
+
* - totalMetas {number} - Total meta rows for this instance
|
|
6462
|
+
* - embeddedCount {number} - Rows with current-model embeddings
|
|
6463
|
+
* - embeddedAt {number|null} - Unix epoch of most recent embedding
|
|
6464
|
+
* - model {string|null} - Model name used for embeddings
|
|
6465
|
+
*
|
|
6466
|
+
* @return {Array<object>|null}
|
|
6467
|
+
*/
|
|
6468
|
+
payload() {
|
|
6469
|
+
const e = this.data();
|
|
6470
|
+
return !e || !Array.isArray(e) || e.length === 0 ? null : e;
|
|
6471
|
+
}
|
|
6444
6472
|
}
|
|
6445
|
-
class
|
|
6473
|
+
class Ct extends K {
|
|
6474
|
+
/**
|
|
6475
|
+
* @param {UrqlClientWrapper} graphQLClient
|
|
6476
|
+
* @param {KnishIOClient} knishIOClient
|
|
6477
|
+
*/
|
|
6478
|
+
constructor(e, t) {
|
|
6479
|
+
super(e, t), this.$__query = O`query( $metaType: String, $metaId: String, $instances: [EmbeddingStatusInput!] ) {
|
|
6480
|
+
embeddingStatus( metaType: $metaType, metaId: $metaId, instances: $instances ) {
|
|
6481
|
+
metaType,
|
|
6482
|
+
metaId,
|
|
6483
|
+
state,
|
|
6484
|
+
totalMetas,
|
|
6485
|
+
embeddedCount,
|
|
6486
|
+
embeddedAt,
|
|
6487
|
+
model
|
|
6488
|
+
}
|
|
6489
|
+
}`;
|
|
6490
|
+
}
|
|
6491
|
+
/**
|
|
6492
|
+
* Builds a GraphQL-friendly variables object for embedding status queries.
|
|
6493
|
+
*
|
|
6494
|
+
* Single mode: createVariables({ metaType: 'product', metaId: 'SKU-001' })
|
|
6495
|
+
* Bulk mode: createVariables({ instances: [{ metaType: 'product', metaId: 'SKU-001' }, ...] })
|
|
6496
|
+
*
|
|
6497
|
+
* @param {string|null} metaType
|
|
6498
|
+
* @param {string|null} metaId
|
|
6499
|
+
* @param {Array<{metaType: string, metaId: string}>|null} instances
|
|
6500
|
+
* @return {{}}
|
|
6501
|
+
*/
|
|
6502
|
+
static createVariables({
|
|
6503
|
+
metaType: e = null,
|
|
6504
|
+
metaId: t = null,
|
|
6505
|
+
instances: n = null
|
|
6506
|
+
}) {
|
|
6507
|
+
const s = {};
|
|
6508
|
+
return n && n.length > 0 && (s.instances = n), e && (s.metaType = e), t && (s.metaId = t), s;
|
|
6509
|
+
}
|
|
6510
|
+
/**
|
|
6511
|
+
* Returns a Response object
|
|
6512
|
+
*
|
|
6513
|
+
* @param {object} json
|
|
6514
|
+
* @return {ResponseEmbeddingStatus}
|
|
6515
|
+
*/
|
|
6516
|
+
createResponse(e) {
|
|
6517
|
+
return new ir({
|
|
6518
|
+
query: this,
|
|
6519
|
+
json: e
|
|
6520
|
+
});
|
|
6521
|
+
}
|
|
6522
|
+
}
|
|
6523
|
+
class or extends V {
|
|
6524
|
+
}
|
|
6525
|
+
class ar extends q {
|
|
6446
6526
|
/**
|
|
6447
6527
|
*
|
|
6448
6528
|
* @param {string} metaType
|
|
@@ -6470,13 +6550,13 @@ class rr extends U {
|
|
|
6470
6550
|
* @return {ResponseCreateRule}
|
|
6471
6551
|
*/
|
|
6472
6552
|
createResponse(e) {
|
|
6473
|
-
return new
|
|
6553
|
+
return new or({
|
|
6474
6554
|
query: this,
|
|
6475
6555
|
json: e
|
|
6476
6556
|
});
|
|
6477
6557
|
}
|
|
6478
6558
|
}
|
|
6479
|
-
class
|
|
6559
|
+
class lr extends q {
|
|
6480
6560
|
/**
|
|
6481
6561
|
* Fills the Molecule with provided wallet and amount data
|
|
6482
6562
|
*
|
|
@@ -6493,7 +6573,7 @@ class ir extends U {
|
|
|
6493
6573
|
}), this.$__molecule.sign({}), this.$__molecule.check(this.$__molecule.sourceWallet);
|
|
6494
6574
|
}
|
|
6495
6575
|
}
|
|
6496
|
-
class
|
|
6576
|
+
class cr extends q {
|
|
6497
6577
|
/**
|
|
6498
6578
|
*
|
|
6499
6579
|
* @param recipients
|
|
@@ -6593,10 +6673,10 @@ function Z(o, e) {
|
|
|
6593
6673
|
};
|
|
6594
6674
|
}
|
|
6595
6675
|
}
|
|
6596
|
-
var W = { exclude: [], include: [], logging: !0 },
|
|
6597
|
-
typeof window < "u" && (
|
|
6598
|
-
},
|
|
6599
|
-
return Object.fromEntries(Object.entries(
|
|
6676
|
+
var W = { exclude: [], include: [], logging: !0 }, Jt = {}, ur = { timeout: "true" }, J = function(o, e) {
|
|
6677
|
+
typeof window < "u" && (Jt[o] = e);
|
|
6678
|
+
}, hr = function() {
|
|
6679
|
+
return Object.fromEntries(Object.entries(Jt).filter((function(o) {
|
|
6600
6680
|
var e, t = o[0];
|
|
6601
6681
|
return !(!((e = W == null ? void 0 : W.exclude) === null || e === void 0) && e.includes(t));
|
|
6602
6682
|
})).filter((function(o) {
|
|
@@ -6613,7 +6693,7 @@ var W = { exclude: [], include: [], logging: !0 }, zt = {}, ar = { timeout: "tru
|
|
|
6613
6693
|
function We(o) {
|
|
6614
6694
|
return o ^= o >>> 16, o = Math.imul(o, 2246822507), o ^= o >>> 13, o = Math.imul(o, 3266489909), (o ^= o >>> 16) >>> 0;
|
|
6615
6695
|
}
|
|
6616
|
-
var
|
|
6696
|
+
var B = new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
|
|
6617
6697
|
function j(o, e) {
|
|
6618
6698
|
return o << e | o >>> 32 - e;
|
|
6619
6699
|
}
|
|
@@ -6624,7 +6704,7 @@ function at(o, e) {
|
|
|
6624
6704
|
(function(r, i) {
|
|
6625
6705
|
for (var a = r.byteLength / 16 | 0, c = new Uint32Array(r, 0, 4 * a), u = 0; u < a; u++) {
|
|
6626
6706
|
var l = c.subarray(4 * u, 4 * (u + 1));
|
|
6627
|
-
l[0] = Math.imul(l[0],
|
|
6707
|
+
l[0] = Math.imul(l[0], B[0]), l[0] = j(l[0], 15), l[0] = Math.imul(l[0], B[1]), i[0] = i[0] ^ l[0], i[0] = j(i[0], 19), i[0] = i[0] + i[1], i[0] = Math.imul(i[0], 5) + 1444728091, l[1] = Math.imul(l[1], B[1]), l[1] = j(l[1], 16), l[1] = Math.imul(l[1], B[2]), i[1] = i[1] ^ l[1], i[1] = j(i[1], 17), i[1] = i[1] + i[2], i[1] = Math.imul(i[1], 5) + 197830471, l[2] = Math.imul(l[2], B[2]), l[2] = j(l[2], 17), l[2] = Math.imul(l[2], B[3]), i[2] = i[2] ^ l[2], i[2] = j(i[2], 15), i[2] = i[2] + i[3], i[2] = Math.imul(i[2], 5) + 2530024501, l[3] = Math.imul(l[3], B[3]), l[3] = j(l[3], 18), l[3] = Math.imul(l[3], B[0]), i[3] = i[3] ^ l[3], i[3] = j(i[3], 13), i[3] = i[3] + i[0], i[3] = Math.imul(i[3], 5) + 850148119;
|
|
6628
6708
|
}
|
|
6629
6709
|
})(o, n), (function(r, i) {
|
|
6630
6710
|
var a = r.byteLength / 16 | 0, c = r.byteLength % 16, u = new Uint32Array(4), l = new Uint8Array(r, 16 * a, c);
|
|
@@ -6634,7 +6714,7 @@ function at(o, e) {
|
|
|
6634
6714
|
case 14:
|
|
6635
6715
|
u[3] = u[3] ^ l[13] << 8;
|
|
6636
6716
|
case 13:
|
|
6637
|
-
u[3] = u[3] ^ l[12] << 0, u[3] = Math.imul(u[3],
|
|
6717
|
+
u[3] = u[3] ^ l[12] << 0, u[3] = Math.imul(u[3], B[3]), u[3] = j(u[3], 18), u[3] = Math.imul(u[3], B[0]), i[3] = i[3] ^ u[3];
|
|
6638
6718
|
case 12:
|
|
6639
6719
|
u[2] = u[2] ^ l[11] << 24;
|
|
6640
6720
|
case 11:
|
|
@@ -6642,7 +6722,7 @@ function at(o, e) {
|
|
|
6642
6722
|
case 10:
|
|
6643
6723
|
u[2] = u[2] ^ l[9] << 8;
|
|
6644
6724
|
case 9:
|
|
6645
|
-
u[2] = u[2] ^ l[8] << 0, u[2] = Math.imul(u[2],
|
|
6725
|
+
u[2] = u[2] ^ l[8] << 0, u[2] = Math.imul(u[2], B[2]), u[2] = j(u[2], 17), u[2] = Math.imul(u[2], B[3]), i[2] = i[2] ^ u[2];
|
|
6646
6726
|
case 8:
|
|
6647
6727
|
u[1] = u[1] ^ l[7] << 24;
|
|
6648
6728
|
case 7:
|
|
@@ -6650,7 +6730,7 @@ function at(o, e) {
|
|
|
6650
6730
|
case 6:
|
|
6651
6731
|
u[1] = u[1] ^ l[5] << 8;
|
|
6652
6732
|
case 5:
|
|
6653
|
-
u[1] = u[1] ^ l[4] << 0, u[1] = Math.imul(u[1],
|
|
6733
|
+
u[1] = u[1] ^ l[4] << 0, u[1] = Math.imul(u[1], B[1]), u[1] = j(u[1], 16), u[1] = Math.imul(u[1], B[2]), i[1] = i[1] ^ u[1];
|
|
6654
6734
|
case 4:
|
|
6655
6735
|
u[0] = u[0] ^ l[3] << 24;
|
|
6656
6736
|
case 3:
|
|
@@ -6658,7 +6738,7 @@ function at(o, e) {
|
|
|
6658
6738
|
case 2:
|
|
6659
6739
|
u[0] = u[0] ^ l[1] << 8;
|
|
6660
6740
|
case 1:
|
|
6661
|
-
u[0] = u[0] ^ l[0] << 0, u[0] = Math.imul(u[0],
|
|
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];
|
|
6662
6742
|
}
|
|
6663
6743
|
})(o, n), (function(r, i) {
|
|
6664
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;
|
|
@@ -6668,35 +6748,35 @@ function at(o, e) {
|
|
|
6668
6748
|
return r.toString(16).padStart(2, "0");
|
|
6669
6749
|
})).join("");
|
|
6670
6750
|
}
|
|
6671
|
-
function
|
|
6751
|
+
function dr(o, e) {
|
|
6672
6752
|
return new Promise((function(t) {
|
|
6673
6753
|
setTimeout((function() {
|
|
6674
6754
|
return t(e);
|
|
6675
6755
|
}), o);
|
|
6676
6756
|
}));
|
|
6677
6757
|
}
|
|
6678
|
-
function
|
|
6758
|
+
function pr(o, e, t) {
|
|
6679
6759
|
return Promise.all(o.map((function(n) {
|
|
6680
|
-
return Promise.race([n,
|
|
6760
|
+
return Promise.race([n, dr(e, t)]);
|
|
6681
6761
|
})));
|
|
6682
6762
|
}
|
|
6683
|
-
var
|
|
6684
|
-
function
|
|
6685
|
-
return
|
|
6763
|
+
var fr = "0.19.1";
|
|
6764
|
+
function mr() {
|
|
6765
|
+
return fr;
|
|
6686
6766
|
}
|
|
6687
|
-
function
|
|
6767
|
+
function Gt() {
|
|
6688
6768
|
return X(this, void 0, void 0, (function() {
|
|
6689
6769
|
var o, e, t, n, s;
|
|
6690
6770
|
return Z(this, (function(r) {
|
|
6691
6771
|
switch (r.label) {
|
|
6692
6772
|
case 0:
|
|
6693
|
-
return r.trys.push([0, 2, , 3]), o =
|
|
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)];
|
|
6694
6774
|
case 1:
|
|
6695
6775
|
return t = r.sent(), n = t.filter((function(i) {
|
|
6696
6776
|
return i !== void 0;
|
|
6697
6777
|
})), s = {}, n.forEach((function(i, a) {
|
|
6698
6778
|
s[e[a]] = i;
|
|
6699
|
-
})), [2,
|
|
6779
|
+
})), [2, Xt(s, W.exclude || [], W.include || [], "")];
|
|
6700
6780
|
case 2:
|
|
6701
6781
|
throw r.sent();
|
|
6702
6782
|
case 3:
|
|
@@ -6705,7 +6785,7 @@ function Jt() {
|
|
|
6705
6785
|
}));
|
|
6706
6786
|
}));
|
|
6707
6787
|
}
|
|
6708
|
-
function
|
|
6788
|
+
function Xt(o, e, t, n) {
|
|
6709
6789
|
n === void 0 && (n = "");
|
|
6710
6790
|
for (var s = {}, r = function(u, l) {
|
|
6711
6791
|
var h = n + u + ".";
|
|
@@ -6717,7 +6797,7 @@ function Gt(o, e, t, n) {
|
|
|
6717
6797
|
}));
|
|
6718
6798
|
p && !d || (s[u] = l);
|
|
6719
6799
|
} else {
|
|
6720
|
-
var b =
|
|
6800
|
+
var b = Xt(l, e, t, h);
|
|
6721
6801
|
Object.keys(b).length > 0 && (s[u] = b);
|
|
6722
6802
|
}
|
|
6723
6803
|
}, i = 0, a = Object.entries(o); i < a.length; i++) {
|
|
@@ -6726,13 +6806,13 @@ function Gt(o, e, t, n) {
|
|
|
6726
6806
|
}
|
|
6727
6807
|
return s;
|
|
6728
6808
|
}
|
|
6729
|
-
function
|
|
6809
|
+
function yr(o) {
|
|
6730
6810
|
return X(this, void 0, void 0, (function() {
|
|
6731
6811
|
var e, t;
|
|
6732
6812
|
return Z(this, (function(n) {
|
|
6733
6813
|
switch (n.label) {
|
|
6734
6814
|
case 0:
|
|
6735
|
-
return n.trys.push([0, 2, , 3]), [4,
|
|
6815
|
+
return n.trys.push([0, 2, , 3]), [4, Gt()];
|
|
6736
6816
|
case 1:
|
|
6737
6817
|
return e = n.sent(), t = at(JSON.stringify(e)), Math.random() < 1e-3 && W.logging && (function(s, r) {
|
|
6738
6818
|
X(this, void 0, void 0, (function() {
|
|
@@ -6740,7 +6820,7 @@ function pr(o) {
|
|
|
6740
6820
|
return Z(this, (function(c) {
|
|
6741
6821
|
switch (c.label) {
|
|
6742
6822
|
case 0:
|
|
6743
|
-
if (i = "https://logging.thumbmarkjs.com/v1/log", a = { thumbmark: s, components: r, version:
|
|
6823
|
+
if (i = "https://logging.thumbmarkjs.com/v1/log", a = { thumbmark: s, components: r, version: mr() }, sessionStorage.getItem("_tmjs_l")) return [3, 4];
|
|
6744
6824
|
sessionStorage.setItem("_tmjs_l", "1"), c.label = 1;
|
|
6745
6825
|
case 1:
|
|
6746
6826
|
return c.trys.push([1, 3, , 4]), [4, fetch(i, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(a) })];
|
|
@@ -6761,19 +6841,19 @@ function pr(o) {
|
|
|
6761
6841
|
}));
|
|
6762
6842
|
}));
|
|
6763
6843
|
}
|
|
6764
|
-
function
|
|
6844
|
+
function gr(o) {
|
|
6765
6845
|
for (var e = 0, t = 0; t < o.length; ++t) e += Math.abs(o[t]);
|
|
6766
6846
|
return e;
|
|
6767
6847
|
}
|
|
6768
|
-
function
|
|
6848
|
+
function Zt(o, e, t) {
|
|
6769
6849
|
for (var n = [], s = 0; s < o[0].data.length; s++) {
|
|
6770
6850
|
for (var r = [], i = 0; i < o.length; i++) r.push(o[i].data[s]);
|
|
6771
|
-
n.push(
|
|
6851
|
+
n.push(br(r));
|
|
6772
6852
|
}
|
|
6773
6853
|
var a = new Uint8ClampedArray(n);
|
|
6774
6854
|
return new ImageData(a, e, t);
|
|
6775
6855
|
}
|
|
6776
|
-
function
|
|
6856
|
+
function br(o) {
|
|
6777
6857
|
if (o.length === 0) return 0;
|
|
6778
6858
|
for (var e = {}, t = 0, n = o; t < n.length; t++)
|
|
6779
6859
|
e[r = n[t]] = (e[r] || 0) + 1;
|
|
@@ -6798,7 +6878,7 @@ J("audio", (function() {
|
|
|
6798
6878
|
r.frequency.value = 1e3;
|
|
6799
6879
|
var i, a = n.createDynamicsCompressor();
|
|
6800
6880
|
a.threshold.value = -50, a.knee.value = 40, a.ratio.value = 12, a.attack.value = 0, a.release.value = 0.2, r.connect(a), a.connect(n.destination), r.start(), n.oncomplete = function(c) {
|
|
6801
|
-
i = c.renderedBuffer.getChannelData(0), e({ sampleHash:
|
|
6881
|
+
i = c.renderedBuffer.getChannelData(0), e({ sampleHash: gr(i), oscillator: r.type, maxChannels: n.destination.maxChannelCount, channelCountMode: s.channelCountMode });
|
|
6802
6882
|
}, n.startRendering();
|
|
6803
6883
|
} catch (c) {
|
|
6804
6884
|
console.error("Error creating audio fingerprint:", c), t(c);
|
|
@@ -6807,14 +6887,14 @@ J("audio", (function() {
|
|
|
6807
6887
|
}));
|
|
6808
6888
|
}));
|
|
6809
6889
|
}));
|
|
6810
|
-
var
|
|
6890
|
+
var wr = Te().name !== "SamsungBrowser" ? 1 : 3, Et = 280, Ot = 20;
|
|
6811
6891
|
Te().name != "Firefox" && J("canvas", (function() {
|
|
6812
6892
|
return document.createElement("canvas").getContext("2d"), new Promise((function(o) {
|
|
6813
|
-
var e = Array.from({ length:
|
|
6893
|
+
var e = Array.from({ length: wr }, (function() {
|
|
6814
6894
|
return (function() {
|
|
6815
6895
|
var t = document.createElement("canvas"), n = t.getContext("2d");
|
|
6816
6896
|
if (!n) return new ImageData(1, 1);
|
|
6817
|
-
t.width =
|
|
6897
|
+
t.width = Et, t.height = Ot;
|
|
6818
6898
|
var s = n.createLinearGradient(0, 0, t.width, t.height);
|
|
6819
6899
|
s.addColorStop(0, "red"), s.addColorStop(0.16666666666666666, "orange"), s.addColorStop(0.3333333333333333, "yellow"), s.addColorStop(0.5, "green"), s.addColorStop(0.6666666666666666, "blue"), s.addColorStop(0.8333333333333334, "indigo"), s.addColorStop(1, "violet"), n.fillStyle = s, n.fillRect(0, 0, t.width, t.height);
|
|
6820
6900
|
var r = "Random Text WMwmil10Oo";
|
|
@@ -6823,15 +6903,15 @@ Te().name != "Firefox" && J("canvas", (function() {
|
|
|
6823
6903
|
return i;
|
|
6824
6904
|
})();
|
|
6825
6905
|
}));
|
|
6826
|
-
o({ commonImageDataHash: at(
|
|
6906
|
+
o({ commonImageDataHash: at(Zt(e, Et, Ot).data.toString()).toString() });
|
|
6827
6907
|
}));
|
|
6828
6908
|
}));
|
|
6829
|
-
var tt,
|
|
6830
|
-
function
|
|
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"];
|
|
6910
|
+
function Rt(o, e) {
|
|
6831
6911
|
if (!o) throw new Error("Canvas context not supported");
|
|
6832
6912
|
return o.font, o.font = "72px ".concat(e), o.measureText("WwMmLli0Oo").width;
|
|
6833
6913
|
}
|
|
6834
|
-
function
|
|
6914
|
+
function _r() {
|
|
6835
6915
|
var o, e = document.createElement("canvas"), t = (o = e.getContext("webgl")) !== null && o !== void 0 ? o : e.getContext("experimental-webgl");
|
|
6836
6916
|
if (t && "getParameter" in t) try {
|
|
6837
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() };
|
|
@@ -6847,11 +6927,11 @@ function wr() {
|
|
|
6847
6927
|
}
|
|
6848
6928
|
return "undefined";
|
|
6849
6929
|
}
|
|
6850
|
-
function
|
|
6930
|
+
function $r() {
|
|
6851
6931
|
var o = new Float32Array(1), e = new Uint8Array(o.buffer);
|
|
6852
6932
|
return o[0] = 1 / 0, o[0] = o[0] - o[0], e[3];
|
|
6853
6933
|
}
|
|
6854
|
-
function
|
|
6934
|
+
function Ar(o, e) {
|
|
6855
6935
|
var t = {};
|
|
6856
6936
|
return e.forEach((function(n) {
|
|
6857
6937
|
var s = (function(r) {
|
|
@@ -6873,7 +6953,7 @@ function Sr(o, e) {
|
|
|
6873
6953
|
s && (t[n] = s);
|
|
6874
6954
|
})), t;
|
|
6875
6955
|
}
|
|
6876
|
-
function
|
|
6956
|
+
function vr() {
|
|
6877
6957
|
var o = [], e = { "prefers-contrast": ["high", "more", "low", "less", "forced", "no-preference"], "any-hover": ["hover", "none"], "any-pointer": ["none", "coarse", "fine"], pointer: ["none", "coarse", "fine"], hover: ["hover", "none"], update: ["fast", "slow"], "inverted-colors": ["inverted", "none"], "prefers-reduced-motion": ["reduce", "no-preference"], "prefers-reduced-transparency": ["reduce", "no-preference"], scripting: ["none", "initial-only", "enabled"], "forced-colors": ["active", "none"] };
|
|
6878
6958
|
return Object.keys(e).forEach((function(t) {
|
|
6879
6959
|
e[t].forEach((function(n) {
|
|
@@ -6881,7 +6961,7 @@ function _r() {
|
|
|
6881
6961
|
}));
|
|
6882
6962
|
})), o;
|
|
6883
6963
|
}
|
|
6884
|
-
function
|
|
6964
|
+
function xr() {
|
|
6885
6965
|
if (window.location.protocol === "https:" && typeof window.ApplePaySession == "function") try {
|
|
6886
6966
|
for (var o = window.ApplePaySession.supportsVersion, e = 15; e > 0; e--) if (o(e)) return e;
|
|
6887
6967
|
} catch {
|
|
@@ -6919,10 +6999,10 @@ Te().name != "Firefox" && J("fonts", (function() {
|
|
|
6919
6999
|
return X(o, void 0, void 0, (function() {
|
|
6920
7000
|
var r, i, a, c;
|
|
6921
7001
|
return Z(this, (function(u) {
|
|
6922
|
-
return r = s.createElement("canvas"), i = r.getContext("2d"), a =
|
|
6923
|
-
return
|
|
6924
|
-
})), c = {},
|
|
6925
|
-
var h =
|
|
7002
|
+
return r = s.createElement("canvas"), i = r.getContext("2d"), a = Sr.map((function(l) {
|
|
7003
|
+
return Rt(i, l);
|
|
7004
|
+
})), c = {}, kr.forEach((function(l) {
|
|
7005
|
+
var h = Rt(i, l);
|
|
6926
7006
|
a.includes(h) || (c[l] = h);
|
|
6927
7007
|
})), e(c), [2];
|
|
6928
7008
|
}));
|
|
@@ -6935,7 +7015,7 @@ Te().name != "Firefox" && J("fonts", (function() {
|
|
|
6935
7015
|
})), J("hardware", (function() {
|
|
6936
7016
|
return new Promise((function(o, e) {
|
|
6937
7017
|
var t = navigator.deviceMemory !== void 0 ? navigator.deviceMemory : 0, n = window.performance && window.performance.memory ? window.performance.memory : 0;
|
|
6938
|
-
o({ videocard:
|
|
7018
|
+
o({ videocard: _r(), architecture: $r(), deviceMemory: t.toString() || "undefined", jsHeapSizeLimit: n.jsHeapSizeLimit || 0 });
|
|
6939
7019
|
}));
|
|
6940
7020
|
})), J("locales", (function() {
|
|
6941
7021
|
return new Promise((function(o) {
|
|
@@ -6971,7 +7051,7 @@ Te().name != "Firefox" && J("fonts", (function() {
|
|
|
6971
7051
|
}));
|
|
6972
7052
|
})();
|
|
6973
7053
|
})), [2, Promise.all(o).then((function(t) {
|
|
6974
|
-
return
|
|
7054
|
+
return Ar(t, tt);
|
|
6975
7055
|
}))];
|
|
6976
7056
|
}));
|
|
6977
7057
|
}));
|
|
@@ -6986,23 +7066,23 @@ Te().name != "Firefox" && J("fonts", (function() {
|
|
|
6986
7066
|
}));
|
|
6987
7067
|
})), J("screen", (function() {
|
|
6988
7068
|
return new Promise((function(o) {
|
|
6989
|
-
o({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches:
|
|
7069
|
+
o({ is_touchscreen: navigator.maxTouchPoints > 0, maxTouchPoints: navigator.maxTouchPoints, colorDepth: screen.colorDepth, mediaMatches: vr() });
|
|
6990
7070
|
}));
|
|
6991
7071
|
})), J("system", (function() {
|
|
6992
7072
|
return new Promise((function(o) {
|
|
6993
7073
|
var e = Te();
|
|
6994
|
-
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:
|
|
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() });
|
|
6995
7075
|
}));
|
|
6996
7076
|
}));
|
|
6997
|
-
var
|
|
7077
|
+
var N, Ir = Te().name !== "SamsungBrowser" ? 1 : 3, m = null;
|
|
6998
7078
|
J("webgl", (function() {
|
|
6999
7079
|
return X(this, void 0, void 0, (function() {
|
|
7000
7080
|
var o;
|
|
7001
7081
|
return Z(this, (function(e) {
|
|
7002
|
-
typeof document < "u" && ((
|
|
7082
|
+
typeof document < "u" && ((N = document.createElement("canvas")).width = 200, N.height = 100, m = N.getContext("webgl"));
|
|
7003
7083
|
try {
|
|
7004
7084
|
if (!m) throw new Error("WebGL not supported");
|
|
7005
|
-
return o = Array.from({ length:
|
|
7085
|
+
return o = Array.from({ length: Ir }, (function() {
|
|
7006
7086
|
return (function() {
|
|
7007
7087
|
try {
|
|
7008
7088
|
if (!m) throw new Error("WebGL not supported");
|
|
@@ -7026,21 +7106,21 @@ J("webgl", (function() {
|
|
|
7026
7106
|
m.useProgram(i);
|
|
7027
7107
|
for (var a = 137, c = new Float32Array(4 * a), u = 2 * Math.PI / a, l = 0; l < a; l++) {
|
|
7028
7108
|
var h = l * u;
|
|
7029
|
-
c[4 * l] = 0, c[4 * l + 1] = 0, c[4 * l + 2] = Math.cos(h) * (
|
|
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);
|
|
7030
7110
|
}
|
|
7031
7111
|
var p = m.createBuffer();
|
|
7032
7112
|
m.bindBuffer(m.ARRAY_BUFFER, p), m.bufferData(m.ARRAY_BUFFER, c, m.STATIC_DRAW);
|
|
7033
7113
|
var d = m.getAttribLocation(i, "position");
|
|
7034
|
-
m.enableVertexAttribArray(d), m.vertexAttribPointer(d, 2, m.FLOAT, !1, 0, 0), m.viewport(0, 0,
|
|
7035
|
-
var b = new Uint8ClampedArray(
|
|
7036
|
-
return m.readPixels(0, 0,
|
|
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);
|
|
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);
|
|
7037
7117
|
} catch {
|
|
7038
7118
|
return new ImageData(1, 1);
|
|
7039
7119
|
} finally {
|
|
7040
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));
|
|
7041
7121
|
}
|
|
7042
7122
|
})();
|
|
7043
|
-
})), [2, { commonImageHash: at(
|
|
7123
|
+
})), [2, { commonImageHash: at(Zt(o, N.width, N.height).data.toString()).toString() }];
|
|
7044
7124
|
} catch {
|
|
7045
7125
|
return [2, { webgl: "unsupported" }];
|
|
7046
7126
|
}
|
|
@@ -7060,26 +7140,26 @@ J("math", (function() {
|
|
|
7060
7140
|
}));
|
|
7061
7141
|
}));
|
|
7062
7142
|
}));
|
|
7063
|
-
class
|
|
7143
|
+
class Tr {
|
|
7064
7144
|
constructor({ serverUri: e, socket: t = null, encrypt: n = !1 }) {
|
|
7065
7145
|
this.$__client = this.createUrqlClient({ serverUri: e, socket: t, encrypt: n }), this.$__authToken = "", this.$__pubkey = null, this.$__wallet = null, this.serverUri = e, this.soketi = t, this.cipherLink = !!n, this.$__subscriptionManager = /* @__PURE__ */ new Map();
|
|
7066
7146
|
}
|
|
7067
7147
|
createUrqlClient({ serverUri: e, socket: t, encrypt: n }) {
|
|
7068
|
-
const s = [
|
|
7148
|
+
const s = [nn, sn];
|
|
7069
7149
|
if (t && t.socketUri) {
|
|
7070
|
-
const r =
|
|
7150
|
+
const r = an({
|
|
7071
7151
|
url: t.socketUri,
|
|
7072
7152
|
connectionParams: () => ({
|
|
7073
7153
|
authToken: this.$__authToken
|
|
7074
7154
|
})
|
|
7075
7155
|
});
|
|
7076
|
-
s.push(
|
|
7156
|
+
s.push(rn({
|
|
7077
7157
|
forwardSubscription: (i) => ({
|
|
7078
7158
|
subscribe: (a) => ({ unsubscribe: r.subscribe(i, a) })
|
|
7079
7159
|
})
|
|
7080
7160
|
}));
|
|
7081
7161
|
}
|
|
7082
|
-
return
|
|
7162
|
+
return on({
|
|
7083
7163
|
url: e,
|
|
7084
7164
|
exchanges: s,
|
|
7085
7165
|
fetchOptions: () => ({
|
|
@@ -7107,14 +7187,15 @@ class vr {
|
|
|
7107
7187
|
return this.formatResponse(s);
|
|
7108
7188
|
}
|
|
7109
7189
|
subscribe(e, t) {
|
|
7110
|
-
const { query: n, variables: s, operationName: r } = e,
|
|
7190
|
+
const { query: n, variables: s, operationName: r } = e, i = ln(
|
|
7111
7191
|
this.$__client.subscription(n, s),
|
|
7112
|
-
|
|
7192
|
+
cn((a) => {
|
|
7113
7193
|
t(this.formatResponse(a));
|
|
7194
|
+
}),
|
|
7195
|
+
un(() => {
|
|
7114
7196
|
})
|
|
7115
|
-
)
|
|
7116
|
-
|
|
7117
|
-
return this.$__subscriptionManager.set(r, { unsubscribe: i }), {
|
|
7197
|
+
);
|
|
7198
|
+
return this.$__subscriptionManager.set(r, i), {
|
|
7118
7199
|
unsubscribe: () => this.unsubscribe(r)
|
|
7119
7200
|
};
|
|
7120
7201
|
}
|
|
@@ -7179,7 +7260,7 @@ class vr {
|
|
|
7179
7260
|
});
|
|
7180
7261
|
}
|
|
7181
7262
|
}
|
|
7182
|
-
class
|
|
7263
|
+
class qr {
|
|
7183
7264
|
/**
|
|
7184
7265
|
* Class constructor
|
|
7185
7266
|
*
|
|
@@ -7230,7 +7311,7 @@ class Or {
|
|
|
7230
7311
|
const c = this.$__uris[a];
|
|
7231
7312
|
this.$__authTokenObjects[c] = null;
|
|
7232
7313
|
}
|
|
7233
|
-
this.log("info", `KnishIOClient::initialize() - Initializing new Knish.IO client session for SDK version ${r}...`), this.$__client = s || new
|
|
7314
|
+
this.log("info", `KnishIOClient::initialize() - Initializing new Knish.IO client session for SDK version ${r}...`), this.$__client = s || new Tr({
|
|
7234
7315
|
socket: {
|
|
7235
7316
|
socketUri: null,
|
|
7236
7317
|
appKey: "knishio",
|
|
@@ -7284,7 +7365,7 @@ class Or {
|
|
|
7284
7365
|
* Reset common properties
|
|
7285
7366
|
*/
|
|
7286
7367
|
reset() {
|
|
7287
|
-
this.$__secret = "", this.$__bundle = "", this.remainderWallet = null;
|
|
7368
|
+
this.$__secret = "", this.$__bundle = "", this.remainderWallet = null, this.$__capabilityCache = {};
|
|
7288
7369
|
}
|
|
7289
7370
|
/**
|
|
7290
7371
|
* Returns the currently defined Cell identifier for this session
|
|
@@ -7313,6 +7394,18 @@ class Or {
|
|
|
7313
7394
|
this.$__client.setUri(t);
|
|
7314
7395
|
}
|
|
7315
7396
|
}
|
|
7397
|
+
/**
|
|
7398
|
+
* Sets the WebSocket (subscription) endpoint for this session.
|
|
7399
|
+
*
|
|
7400
|
+
* `setUri()` only updates the HTTP endpoint; the subscription socket is built once
|
|
7401
|
+
* at construction from the `socket.socketUri` passed in. This lets a caller re-point
|
|
7402
|
+
* the socket when the endpoint changes (F-8a, E2E gauntlet 2026-06-02).
|
|
7403
|
+
*
|
|
7404
|
+
* @param {string} socketUri
|
|
7405
|
+
*/
|
|
7406
|
+
setSocketUri(e) {
|
|
7407
|
+
this.$__client && typeof this.$__client.setSocketUri == "function" && this.$__client.setSocketUri({ socketUri: e, appKey: "knishio" });
|
|
7408
|
+
}
|
|
7316
7409
|
/**
|
|
7317
7410
|
* Retrieves the endpoint URI for this session
|
|
7318
7411
|
*
|
|
@@ -7400,10 +7493,10 @@ class Or {
|
|
|
7400
7493
|
* @returns {Promise<string>} A promise that resolves to the device fingerprint as a string.
|
|
7401
7494
|
*/
|
|
7402
7495
|
getFingerprint() {
|
|
7403
|
-
return
|
|
7496
|
+
return yr();
|
|
7404
7497
|
}
|
|
7405
7498
|
getFingerprintData() {
|
|
7406
|
-
return
|
|
7499
|
+
return Gt();
|
|
7407
7500
|
}
|
|
7408
7501
|
/**
|
|
7409
7502
|
* Retrieves this session's wallet used for signing the next Molecule
|
|
@@ -7499,7 +7592,7 @@ class Or {
|
|
|
7499
7592
|
}) {
|
|
7500
7593
|
this.log("info", `KnishIOClient::createMoleculeQuery() - Creating a new ${e.name} query...`);
|
|
7501
7594
|
const n = t || await this.createMolecule({}), s = new e(this.client(), this, n);
|
|
7502
|
-
if (!(s instanceof
|
|
7595
|
+
if (!(s instanceof q))
|
|
7503
7596
|
throw new ee(`${this.constructor.name}::createMoleculeMutation() - This method only accepts MutationProposeMolecule!`);
|
|
7504
7597
|
return this.lastMoleculeQuery = s, s;
|
|
7505
7598
|
}
|
|
@@ -7562,7 +7655,7 @@ class Or {
|
|
|
7562
7655
|
bundle: t = null,
|
|
7563
7656
|
type: n = "regular"
|
|
7564
7657
|
}) {
|
|
7565
|
-
const s = this.createQuery(
|
|
7658
|
+
const s = this.createQuery(ys);
|
|
7566
7659
|
return this.executeQuery(s, {
|
|
7567
7660
|
bundleHash: t || this.getBundle(),
|
|
7568
7661
|
token: e,
|
|
@@ -7600,7 +7693,7 @@ class Or {
|
|
|
7600
7693
|
bundle: e,
|
|
7601
7694
|
closure: t
|
|
7602
7695
|
}) {
|
|
7603
|
-
return await this.createSubscribe(
|
|
7696
|
+
return await this.createSubscribe(Qs).execute({
|
|
7604
7697
|
variables: {
|
|
7605
7698
|
bundle: e || this.getBundle()
|
|
7606
7699
|
},
|
|
@@ -7622,7 +7715,7 @@ class Or {
|
|
|
7622
7715
|
}) {
|
|
7623
7716
|
if (!t)
|
|
7624
7717
|
throw new ee(`${this.constructor.name}::subscribeWalletStatus() - Token parameter is required!`);
|
|
7625
|
-
return this.createSubscribe(
|
|
7718
|
+
return this.createSubscribe(js).execute({
|
|
7626
7719
|
variables: {
|
|
7627
7720
|
bundle: e || this.getBundle(),
|
|
7628
7721
|
token: t
|
|
@@ -7641,7 +7734,7 @@ class Or {
|
|
|
7641
7734
|
bundle: e,
|
|
7642
7735
|
closure: t
|
|
7643
7736
|
}) {
|
|
7644
|
-
return this.createSubscribe(
|
|
7737
|
+
return this.createSubscribe(Ds).execute({
|
|
7645
7738
|
variables: {
|
|
7646
7739
|
bundle: e || this.getBundle()
|
|
7647
7740
|
},
|
|
@@ -7661,7 +7754,7 @@ class Or {
|
|
|
7661
7754
|
metaId: t,
|
|
7662
7755
|
closure: n
|
|
7663
7756
|
}) {
|
|
7664
|
-
return this.createSubscribe(
|
|
7757
|
+
return this.createSubscribe(Vs).execute({
|
|
7665
7758
|
variables: {
|
|
7666
7759
|
metaType: e,
|
|
7667
7760
|
metaId: t
|
|
@@ -7770,6 +7863,54 @@ class Or {
|
|
|
7770
7863
|
const t = await this.queryMeta(e), n = t.payload();
|
|
7771
7864
|
return n && (n.integrity = t.verifyIntegrity()), t;
|
|
7772
7865
|
}
|
|
7866
|
+
/**
|
|
7867
|
+
* Probes the connected server to check whether it supports a named root query field.
|
|
7868
|
+
* Result is cached per URI so the network round-trip happens at most once per URI.
|
|
7869
|
+
*
|
|
7870
|
+
* Uses GraphQL introspection which is universally supported by spec-compliant servers.
|
|
7871
|
+
*
|
|
7872
|
+
* @param {string} fieldName - The root Query field name to check (e.g. 'embeddingStatus')
|
|
7873
|
+
* @return {Promise<boolean>}
|
|
7874
|
+
*/
|
|
7875
|
+
async hasQueryField(e) {
|
|
7876
|
+
var s, r, i;
|
|
7877
|
+
const n = `${this.getUri()}::${e}`;
|
|
7878
|
+
if (typeof this.$__capabilityCache[n] == "boolean")
|
|
7879
|
+
return this.$__capabilityCache[n];
|
|
7880
|
+
try {
|
|
7881
|
+
const a = await this.$__client.query({
|
|
7882
|
+
query: "{ __schema { queryType { fields { name } } } }",
|
|
7883
|
+
variables: {}
|
|
7884
|
+
}), u = (((i = (r = (s = a == null ? void 0 : a.data) == null ? void 0 : s.__schema) == null ? void 0 : r.queryType) == null ? void 0 : i.fields) || []).some((l) => l.name === e);
|
|
7885
|
+
return this.$__capabilityCache[n] = u, u;
|
|
7886
|
+
} catch (a) {
|
|
7887
|
+
return this.log("warn", `KnishIOClient::hasQueryField() - Capability probe for '${e}' failed: ${a.message}`), this.$__capabilityCache[n] = !1, !1;
|
|
7888
|
+
}
|
|
7889
|
+
}
|
|
7890
|
+
/**
|
|
7891
|
+
* Queries embedding status for one or more meta instances (DataBraid observability).
|
|
7892
|
+
*
|
|
7893
|
+
* If the connected server does not support the embeddingStatus query,
|
|
7894
|
+
* returns null without throwing an error (graceful degradation).
|
|
7895
|
+
*
|
|
7896
|
+
* Single mode: queryEmbeddingStatus({ metaType: 'product', metaId: 'SKU-001' })
|
|
7897
|
+
* Bulk mode: queryEmbeddingStatus({ instances: [{ metaType: 'product', metaId: 'SKU-001' }, ...] })
|
|
7898
|
+
*
|
|
7899
|
+
* @param {string|null} metaType - Metadata type (single-instance mode)
|
|
7900
|
+
* @param {string|null} metaId - Instance identifier (single-instance mode)
|
|
7901
|
+
* @param {Array<{metaType: string, metaId: string}>|null} instances - Bulk mode input
|
|
7902
|
+
* @return {Promise<ResponseEmbeddingStatus|null>} Response with payload(), or null if unsupported
|
|
7903
|
+
*/
|
|
7904
|
+
async queryEmbeddingStatus({
|
|
7905
|
+
metaType: e = null,
|
|
7906
|
+
metaId: t = null,
|
|
7907
|
+
instances: n = null
|
|
7908
|
+
}) {
|
|
7909
|
+
if (this.log("info", `KnishIOClient::queryEmbeddingStatus() - Checking embedding status for metaType: ${e || "(bulk)"}...`), !await this.hasQueryField("embeddingStatus"))
|
|
7910
|
+
return this.log("warn", "KnishIOClient::queryEmbeddingStatus() - Server does not support embeddingStatus query. Returning null."), null;
|
|
7911
|
+
const r = this.createQuery(Ct), i = Ct.createVariables({ metaType: e, metaId: t, instances: n });
|
|
7912
|
+
return this.executeQuery(r, i);
|
|
7913
|
+
}
|
|
7773
7914
|
/**
|
|
7774
7915
|
* Query batch to get cascading meta instances by batchID
|
|
7775
7916
|
*
|
|
@@ -7795,7 +7936,7 @@ class Or {
|
|
|
7795
7936
|
batchId: e
|
|
7796
7937
|
}) {
|
|
7797
7938
|
this.log("info", `KnishIOClient::queryBatchHistory() - Querying cascading meta instances for batchId: ${e}...`);
|
|
7798
|
-
const t = this.createQuery(
|
|
7939
|
+
const t = this.createQuery(bs);
|
|
7799
7940
|
return await this.executeQuery(t, {
|
|
7800
7941
|
batchId: e
|
|
7801
7942
|
});
|
|
@@ -7861,7 +8002,7 @@ class Or {
|
|
|
7861
8002
|
indexes: v,
|
|
7862
8003
|
index: I,
|
|
7863
8004
|
filter: S,
|
|
7864
|
-
latest:
|
|
8005
|
+
latest: U,
|
|
7865
8006
|
queryArgs: R = {
|
|
7866
8007
|
limit: 15,
|
|
7867
8008
|
offset: 1
|
|
@@ -7895,7 +8036,7 @@ class Or {
|
|
|
7895
8036
|
indexes: v,
|
|
7896
8037
|
index: I,
|
|
7897
8038
|
filter: S,
|
|
7898
|
-
latest:
|
|
8039
|
+
latest: U,
|
|
7899
8040
|
queryArgs: R
|
|
7900
8041
|
}));
|
|
7901
8042
|
}
|
|
@@ -7912,7 +8053,7 @@ class Or {
|
|
|
7912
8053
|
secret: this.getSecret(),
|
|
7913
8054
|
token: e
|
|
7914
8055
|
}), n = await this.createMoleculeMutation({
|
|
7915
|
-
mutationClass:
|
|
8056
|
+
mutationClass: Ks
|
|
7916
8057
|
});
|
|
7917
8058
|
return n.fillMolecule(t), await this.executeQuery(n);
|
|
7918
8059
|
}
|
|
@@ -7929,7 +8070,7 @@ class Or {
|
|
|
7929
8070
|
metaType: t,
|
|
7930
8071
|
metaId: n
|
|
7931
8072
|
}) {
|
|
7932
|
-
const s = this.createQuery(
|
|
8073
|
+
const s = this.createQuery(Xs);
|
|
7933
8074
|
return await this.executeQuery(s, {
|
|
7934
8075
|
bundleHash: e,
|
|
7935
8076
|
metaType: t,
|
|
@@ -7964,7 +8105,7 @@ class Or {
|
|
|
7964
8105
|
countBy: u,
|
|
7965
8106
|
interval: l
|
|
7966
8107
|
}) {
|
|
7967
|
-
const h = this.createQuery(
|
|
8108
|
+
const h = this.createQuery(Ys);
|
|
7968
8109
|
return await this.executeQuery(h, {
|
|
7969
8110
|
bundleHash: e,
|
|
7970
8111
|
metaType: t,
|
|
@@ -8004,7 +8145,7 @@ class Or {
|
|
|
8004
8145
|
timeZone: c,
|
|
8005
8146
|
json: u = {}
|
|
8006
8147
|
}) {
|
|
8007
|
-
const l = this.createQuery(
|
|
8148
|
+
const l = this.createQuery(Js);
|
|
8008
8149
|
return await this.executeQuery(l, {
|
|
8009
8150
|
bundleHash: e,
|
|
8010
8151
|
metaType: t,
|
|
@@ -8042,7 +8183,7 @@ class Or {
|
|
|
8042
8183
|
const i = T.get(n || {}, "fungibility");
|
|
8043
8184
|
if (i === "stackable" && (n.batchId = s || he({})), ["nonfungible", "stackable"].includes(i) && r.length > 0) {
|
|
8044
8185
|
if (T.get(n || {}, "decimals") > 0)
|
|
8045
|
-
throw new
|
|
8186
|
+
throw new Ls();
|
|
8046
8187
|
if (t > 0)
|
|
8047
8188
|
throw new Re();
|
|
8048
8189
|
t = r.length, n.splittable = 1, n.decimals = 0, n.tokenUnits = JSON.stringify(r);
|
|
@@ -8053,7 +8194,7 @@ class Or {
|
|
|
8053
8194
|
token: e,
|
|
8054
8195
|
batchId: s
|
|
8055
8196
|
}), c = await this.createMoleculeMutation({
|
|
8056
|
-
mutationClass:
|
|
8197
|
+
mutationClass: _s
|
|
8057
8198
|
});
|
|
8058
8199
|
return c.fillMolecule({
|
|
8059
8200
|
recipientWallet: a,
|
|
@@ -8078,7 +8219,7 @@ class Or {
|
|
|
8078
8219
|
}) {
|
|
8079
8220
|
const r = await this.createMoleculeMutation(
|
|
8080
8221
|
{
|
|
8081
|
-
mutationClass:
|
|
8222
|
+
mutationClass: ar,
|
|
8082
8223
|
molecule: await this.createMolecule({
|
|
8083
8224
|
secret: this.getSecret()
|
|
8084
8225
|
})
|
|
@@ -8108,7 +8249,7 @@ class Or {
|
|
|
8108
8249
|
}) {
|
|
8109
8250
|
const r = await this.createMoleculeMutation(
|
|
8110
8251
|
{
|
|
8111
|
-
mutationClass:
|
|
8252
|
+
mutationClass: Os,
|
|
8112
8253
|
molecule: await this.createMolecule({
|
|
8113
8254
|
secret: this.getSecret()
|
|
8114
8255
|
})
|
|
@@ -8131,7 +8272,7 @@ class Or {
|
|
|
8131
8272
|
host: e
|
|
8132
8273
|
}) {
|
|
8133
8274
|
const t = await this.createMoleculeMutation({
|
|
8134
|
-
mutationClass:
|
|
8275
|
+
mutationClass: Ws,
|
|
8135
8276
|
molecule: await this.createMolecule({
|
|
8136
8277
|
secret: this.getSecret()
|
|
8137
8278
|
})
|
|
@@ -8156,7 +8297,7 @@ class Or {
|
|
|
8156
8297
|
meta: s = {}
|
|
8157
8298
|
}) {
|
|
8158
8299
|
const r = await this.createMoleculeMutation({
|
|
8159
|
-
mutationClass:
|
|
8300
|
+
mutationClass: Us,
|
|
8160
8301
|
molecule: await this.createMolecule({
|
|
8161
8302
|
secret: this.getSecret()
|
|
8162
8303
|
})
|
|
@@ -8182,7 +8323,7 @@ class Or {
|
|
|
8182
8323
|
code: n
|
|
8183
8324
|
}) {
|
|
8184
8325
|
const s = await this.createMoleculeMutation({
|
|
8185
|
-
mutationClass:
|
|
8326
|
+
mutationClass: Ts
|
|
8186
8327
|
});
|
|
8187
8328
|
return s.fillMolecule({
|
|
8188
8329
|
type: e,
|
|
@@ -8201,7 +8342,7 @@ class Or {
|
|
|
8201
8342
|
type: e,
|
|
8202
8343
|
contact: t
|
|
8203
8344
|
}) {
|
|
8204
|
-
const n = this.createQuery(
|
|
8345
|
+
const n = this.createQuery(Hs);
|
|
8205
8346
|
return await this.executeQuery(n, {
|
|
8206
8347
|
bundle: this.getBundle(),
|
|
8207
8348
|
type: e,
|
|
@@ -8232,7 +8373,7 @@ class Or {
|
|
|
8232
8373
|
bundle: this.getBundle()
|
|
8233
8374
|
}), s.check();
|
|
8234
8375
|
const r = await this.createMoleculeMutation({
|
|
8235
|
-
mutationClass:
|
|
8376
|
+
mutationClass: q,
|
|
8236
8377
|
molecule: s
|
|
8237
8378
|
});
|
|
8238
8379
|
return await this.executeQuery(r);
|
|
@@ -8248,7 +8389,7 @@ class Or {
|
|
|
8248
8389
|
metaType: e,
|
|
8249
8390
|
metaId: t
|
|
8250
8391
|
}) {
|
|
8251
|
-
const n = this.createQuery(
|
|
8392
|
+
const n = this.createQuery(sr);
|
|
8252
8393
|
return await this.executeQuery(n, {
|
|
8253
8394
|
metaType: e,
|
|
8254
8395
|
metaId: t
|
|
@@ -8270,7 +8411,7 @@ class Or {
|
|
|
8270
8411
|
unspent: n = !0
|
|
8271
8412
|
}) {
|
|
8272
8413
|
this.log("info", `KnishIOClient::queryWallets() - Querying wallets${e ? ` for ${e}` : ""}...`);
|
|
8273
|
-
const s = this.createQuery(
|
|
8414
|
+
const s = this.createQuery(fs);
|
|
8274
8415
|
return this.executeQuery(s, {
|
|
8275
8416
|
bundleHash: e || this.getBundle(),
|
|
8276
8417
|
token: t,
|
|
@@ -8292,7 +8433,7 @@ class Or {
|
|
|
8292
8433
|
raw: n = !1
|
|
8293
8434
|
}) {
|
|
8294
8435
|
this.log("info", `KnishIOClient::queryBundle() - Querying wallet bundle metadata${e ? ` for ${e}` : ""}...`), e || (e = this.getBundle()), typeof e == "string" && (e = [e]);
|
|
8295
|
-
const s = this.createQuery(
|
|
8436
|
+
const s = this.createQuery(ps);
|
|
8296
8437
|
return this.executeQuery(s, { bundleHashes: e }).then((r) => n ? r : r.payload());
|
|
8297
8438
|
}
|
|
8298
8439
|
/**
|
|
@@ -8304,7 +8445,7 @@ class Or {
|
|
|
8304
8445
|
async queryContinuId({
|
|
8305
8446
|
bundle: e
|
|
8306
8447
|
}) {
|
|
8307
|
-
const t = this.createQuery(
|
|
8448
|
+
const t = this.createQuery(hs);
|
|
8308
8449
|
return this.executeQuery(t, {
|
|
8309
8450
|
bundle: e
|
|
8310
8451
|
});
|
|
@@ -8336,11 +8477,11 @@ class Or {
|
|
|
8336
8477
|
}) {
|
|
8337
8478
|
let a, c;
|
|
8338
8479
|
r = r || {};
|
|
8339
|
-
const u = this.createQuery(
|
|
8480
|
+
const u = this.createQuery(er), l = await this.executeQuery(u, {
|
|
8340
8481
|
slug: e
|
|
8341
8482
|
}), h = T.get(l.data(), "0.fungibility") === "stackable";
|
|
8342
8483
|
if (!h && i !== null)
|
|
8343
|
-
throw new
|
|
8484
|
+
throw new Be("Expected Batch ID = null for non-stackable tokens.");
|
|
8344
8485
|
if (h && i === null && (i = he({})), s.length > 0) {
|
|
8345
8486
|
if (n > 0)
|
|
8346
8487
|
throw new Re();
|
|
@@ -8351,7 +8492,7 @@ class Or {
|
|
|
8351
8492
|
token: e
|
|
8352
8493
|
})), t instanceof _ && (a = "wallet", r.position = t.position, r.bundle = t.bundle, c = t.address)) : (a = "walletBundle", c = this.getBundle());
|
|
8353
8494
|
const p = await this.createMoleculeMutation({
|
|
8354
|
-
mutationClass:
|
|
8495
|
+
mutationClass: As
|
|
8355
8496
|
});
|
|
8356
8497
|
return p.fillMolecule({
|
|
8357
8498
|
token: e,
|
|
@@ -8377,7 +8518,7 @@ class Or {
|
|
|
8377
8518
|
molecule: n = null
|
|
8378
8519
|
}) {
|
|
8379
8520
|
const s = await this.createMoleculeMutation({
|
|
8380
|
-
mutationClass:
|
|
8521
|
+
mutationClass: Cs,
|
|
8381
8522
|
molecule: n
|
|
8382
8523
|
});
|
|
8383
8524
|
return s.fillMolecule({
|
|
@@ -8462,7 +8603,7 @@ class Or {
|
|
|
8462
8603
|
sourceWallet: i,
|
|
8463
8604
|
remainderWallet: c
|
|
8464
8605
|
}), l = await this.createMoleculeMutation({
|
|
8465
|
-
mutationClass:
|
|
8606
|
+
mutationClass: xs,
|
|
8466
8607
|
molecule: u
|
|
8467
8608
|
});
|
|
8468
8609
|
return l.fillMolecule({
|
|
@@ -8495,7 +8636,7 @@ class Or {
|
|
|
8495
8636
|
sourceWallet: s,
|
|
8496
8637
|
remainderWallet: r
|
|
8497
8638
|
}), a = await this.createMoleculeMutation({
|
|
8498
|
-
mutationClass:
|
|
8639
|
+
mutationClass: lr,
|
|
8499
8640
|
molecule: i
|
|
8500
8641
|
});
|
|
8501
8642
|
return a.fillMolecule({
|
|
@@ -8528,7 +8669,7 @@ class Or {
|
|
|
8528
8669
|
sourceWallet: n,
|
|
8529
8670
|
remainderWallet: r
|
|
8530
8671
|
}), a = await this.createMoleculeMutation({
|
|
8531
|
-
mutationClass:
|
|
8672
|
+
mutationClass: cr,
|
|
8532
8673
|
molecule: i
|
|
8533
8674
|
}), c = {};
|
|
8534
8675
|
return c[this.getBundle()] = t, a.fillMolecule({
|
|
@@ -8572,7 +8713,7 @@ class Or {
|
|
|
8572
8713
|
bundle: this.getBundle()
|
|
8573
8714
|
}), i.check(s);
|
|
8574
8715
|
const a = await this.createMoleculeMutation({
|
|
8575
|
-
mutationClass:
|
|
8716
|
+
mutationClass: q,
|
|
8576
8717
|
molecule: i
|
|
8577
8718
|
});
|
|
8578
8719
|
return this.executeQuery(a);
|
|
@@ -8605,7 +8746,7 @@ class Or {
|
|
|
8605
8746
|
bundle: this.getBundle()
|
|
8606
8747
|
}), i.check();
|
|
8607
8748
|
const a = await this.createMoleculeMutation({
|
|
8608
|
-
mutationClass:
|
|
8749
|
+
mutationClass: q,
|
|
8609
8750
|
molecule: i
|
|
8610
8751
|
});
|
|
8611
8752
|
return this.executeQuery(a);
|
|
@@ -8654,7 +8795,7 @@ class Or {
|
|
|
8654
8795
|
bundle: this.getBundle()
|
|
8655
8796
|
}), u.check();
|
|
8656
8797
|
const l = await this.createMoleculeMutation({
|
|
8657
|
-
mutationClass:
|
|
8798
|
+
mutationClass: q,
|
|
8658
8799
|
molecule: u
|
|
8659
8800
|
});
|
|
8660
8801
|
return this.executeQuery(l);
|
|
@@ -8674,7 +8815,7 @@ class Or {
|
|
|
8674
8815
|
const n = new _({
|
|
8675
8816
|
secret: nt(await this.getFingerprint()),
|
|
8676
8817
|
token: "AUTH"
|
|
8677
|
-
}), s = await this.createQuery(
|
|
8818
|
+
}), s = await this.createQuery(Fs), r = {
|
|
8678
8819
|
cellSlug: e,
|
|
8679
8820
|
pubkey: n.pubkey,
|
|
8680
8821
|
encrypt: t
|
|
@@ -8710,7 +8851,7 @@ class Or {
|
|
|
8710
8851
|
secret: e,
|
|
8711
8852
|
sourceWallet: n
|
|
8712
8853
|
}), r = await this.createMoleculeMutation({
|
|
8713
|
-
mutationClass:
|
|
8854
|
+
mutationClass: ks,
|
|
8714
8855
|
molecule: s
|
|
8715
8856
|
});
|
|
8716
8857
|
r.fillMolecule({ meta: { encrypt: t ? "true" : "false" } });
|
|
@@ -8796,7 +8937,7 @@ class Or {
|
|
|
8796
8937
|
}
|
|
8797
8938
|
}
|
|
8798
8939
|
}
|
|
8799
|
-
class
|
|
8940
|
+
class Ur extends E {
|
|
8800
8941
|
/**
|
|
8801
8942
|
* Class constructor
|
|
8802
8943
|
*
|
|
@@ -8873,112 +9014,114 @@ export {
|
|
|
8873
9014
|
xe as AuthToken,
|
|
8874
9015
|
xt as AuthorizationRejectedException,
|
|
8875
9016
|
ue as BalanceInsufficientException,
|
|
8876
|
-
|
|
9017
|
+
Be as BatchIdException,
|
|
8877
9018
|
ve as CheckMolecule,
|
|
8878
9019
|
ee as CodeException,
|
|
8879
9020
|
de as Decimal,
|
|
8880
9021
|
T as Dot,
|
|
8881
9022
|
te as InvalidResponseException,
|
|
8882
|
-
|
|
9023
|
+
qr as KnishIOClient,
|
|
8883
9024
|
pe as Meta,
|
|
8884
9025
|
H as MetaMissingException,
|
|
8885
|
-
|
|
8886
|
-
|
|
9026
|
+
os as MolecularHashMismatchException,
|
|
9027
|
+
as as MolecularHashMissingException,
|
|
8887
9028
|
z as Molecule,
|
|
8888
9029
|
Qe as Mutation,
|
|
8889
|
-
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
9030
|
+
Js as MutationActiveSession,
|
|
9031
|
+
Us as MutationAppendRequest,
|
|
9032
|
+
Cs as MutationClaimShadowWallet,
|
|
9033
|
+
Ts as MutationCreateIdentifier,
|
|
9034
|
+
Os as MutationCreateMeta,
|
|
9035
|
+
ar as MutationCreateRule,
|
|
9036
|
+
_s as MutationCreateToken,
|
|
9037
|
+
Ks as MutationCreateWallet,
|
|
9038
|
+
lr as MutationDepositBufferToken,
|
|
9039
|
+
Hs as MutationLinkIdentifier,
|
|
9040
|
+
Ws as MutationPeering,
|
|
9041
|
+
q as MutationProposeMolecule,
|
|
9042
|
+
ks as MutationRequestAuthorization,
|
|
9043
|
+
Fs as MutationRequestAuthorizationGuest,
|
|
9044
|
+
As as MutationRequestTokens,
|
|
9045
|
+
xs as MutationTransferTokens,
|
|
9046
|
+
cr as MutationWithdrawBufferToken,
|
|
8906
9047
|
Ye as NegativeAmountException,
|
|
8907
9048
|
kt as PolicyInvalidException,
|
|
8908
9049
|
rt as PolicyMeta,
|
|
8909
|
-
|
|
8910
|
-
|
|
9050
|
+
K as Query,
|
|
9051
|
+
Xs as QueryActiveSession,
|
|
8911
9052
|
It as QueryAtom,
|
|
8912
|
-
|
|
9053
|
+
ys as QueryBalance,
|
|
8913
9054
|
Ie as QueryBatch,
|
|
8914
|
-
|
|
8915
|
-
|
|
9055
|
+
bs as QueryBatchHistory,
|
|
9056
|
+
hs as QueryContinuId,
|
|
9057
|
+
Ct as QueryEmbeddingStatus,
|
|
8916
9058
|
At as QueryMetaType,
|
|
8917
9059
|
Tt as QueryMetaTypeViaAtom,
|
|
8918
9060
|
Mt as QueryMetaTypeViaMolecule,
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
9061
|
+
sr as QueryPolicy,
|
|
9062
|
+
er as QueryToken,
|
|
9063
|
+
Ys as QueryUserActivity,
|
|
9064
|
+
ps as QueryWalletBundle,
|
|
9065
|
+
fs as QueryWalletList,
|
|
8924
9066
|
E as Response,
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
9067
|
+
zs as ResponseActiveSession,
|
|
9068
|
+
qs as ResponseAppendRequest,
|
|
9069
|
+
tr as ResponseAtom,
|
|
9070
|
+
Ur as ResponseAuthorizationGuest,
|
|
9071
|
+
ms as ResponseBalance,
|
|
9072
|
+
Ms as ResponseClaimShadowWallet,
|
|
9073
|
+
us as ResponseContinuId,
|
|
9074
|
+
Is as ResponseCreateIdentifier,
|
|
9075
|
+
Es as ResponseCreateMeta,
|
|
9076
|
+
or as ResponseCreateRule,
|
|
9077
|
+
Ss as ResponseCreateToken,
|
|
9078
|
+
Ps as ResponseCreateWallet,
|
|
9079
|
+
ir as ResponseEmbeddingStatus,
|
|
9080
|
+
Bs as ResponseLinkIdentifier,
|
|
9081
|
+
gs as ResponseMetaType,
|
|
9082
|
+
rr as ResponseMetaTypeViaAtom,
|
|
8940
9083
|
ot as ResponseMetaTypeViaMolecule,
|
|
8941
|
-
|
|
8942
|
-
|
|
9084
|
+
Rs as ResponsePeering,
|
|
9085
|
+
nr as ResponsePolicy,
|
|
8943
9086
|
V as ResponseProposeMolecule,
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
9087
|
+
Gs as ResponseQueryActiveSession,
|
|
9088
|
+
Zs as ResponseQueryUserActivity,
|
|
9089
|
+
ws as ResponseRequestAuthorization,
|
|
9090
|
+
Ns as ResponseRequestAuthorizationGuest,
|
|
9091
|
+
$s as ResponseRequestTokens,
|
|
9092
|
+
vs as ResponseTransferTokens,
|
|
9093
|
+
ds as ResponseWalletBundle,
|
|
8951
9094
|
Le as ResponseWalletList,
|
|
8952
|
-
|
|
8953
|
-
|
|
9095
|
+
zt as SignatureMalformedException,
|
|
9096
|
+
ls as SignatureMismatchException,
|
|
8954
9097
|
Re as StackableUnitAmountException,
|
|
8955
|
-
|
|
9098
|
+
Ls as StackableUnitDecimalsException,
|
|
8956
9099
|
me as TokenUnit,
|
|
8957
9100
|
Y as TransferBalanceException,
|
|
8958
9101
|
Se as TransferMalformedException,
|
|
8959
9102
|
St as TransferMismatchedException,
|
|
8960
9103
|
_t as TransferRemainderException,
|
|
8961
|
-
|
|
9104
|
+
cs as TransferToSelfException,
|
|
8962
9105
|
Oe as TransferUnbalancedException,
|
|
8963
9106
|
Ke as UnauthenticatedException,
|
|
8964
9107
|
_ as Wallet,
|
|
8965
9108
|
vt as WalletShadowException,
|
|
8966
9109
|
re as WrongTokenTypeException,
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
9110
|
+
mn as base64ToHex,
|
|
9111
|
+
dn as bufferToHexString,
|
|
9112
|
+
hn as charsetBaseConvert,
|
|
9113
|
+
gn as chunkArray,
|
|
8971
9114
|
He as chunkSubstr,
|
|
8972
|
-
|
|
8973
|
-
|
|
9115
|
+
bn as deepCloning,
|
|
9116
|
+
wn as diff,
|
|
8974
9117
|
he as generateBatchId,
|
|
8975
9118
|
fe as generateBundleHash,
|
|
8976
9119
|
nt as generateSecret,
|
|
8977
|
-
|
|
8978
|
-
|
|
9120
|
+
pn as hexStringToBuffer,
|
|
9121
|
+
fn as hexToBase64,
|
|
8979
9122
|
ye as intersect,
|
|
8980
9123
|
Ve as isHex,
|
|
8981
|
-
|
|
9124
|
+
yn as isNumeric,
|
|
8982
9125
|
st as randomString,
|
|
8983
9126
|
lt as shake256
|
|
8984
9127
|
};
|