@autogames/sdk 1.1.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autogames-sdk.esm.js +1 -1
- package/dist/autogames-sdk.js +529 -574
- package/dist/{basic-R2aK52rX.js → basic-BDWKxlKe.js} +3 -3
- package/dist/bridge-mount-CPNiESrc.js +69679 -0
- package/dist/{ccip-CjgrAp_t.js → ccip-HI_1Eq5W.js} +8 -8
- package/dist/chat-mount-DwtS7aEs.js +2748 -0
- package/dist/client-CgE37lov.js +10018 -0
- package/dist/{core-CnCeDQAm.js → core-BJdDlaDT.js} +5 -5
- package/dist/{features-BrlR4_0m.js → features-D9HPtL3q.js} +1 -1
- package/dist/{index-Chq42DrS.js → index-BQbPu9WC.js} +1 -1
- package/dist/index-C9rUP2Ir.js +278 -0
- package/dist/{index-C9RsDt_J.js → index-D5DrJRLM.js} +14 -14
- package/dist/{main-oRLGGL0R.js → main-BGvL9KWK.js} +154 -121
- package/dist/main.d.ts +95 -0
- package/dist/parseSignature-DO5bAMuD.js +121 -0
- package/dist/{secp256k1-UpZfvHa8.js → secp256k1-8FHKXyO3.js} +1 -1
- package/dist/stats-confirm.html +1 -1
- package/dist/{w3m-modal-ClvdQLsb.js → w3m-modal-CO3vWepV.js} +2 -2
- package/package.json +4 -1
- package/README.md +0 -732
- package/dist/bridge-mount-Bhf05oeO.js +0 -89817
- package/dist/ccip-Bg_nydEz.js +0 -145
- package/dist/index-zA8BVXWW.js +0 -264
- package/dist/parseSignature-DFDCc7FD.js +0 -131
|
@@ -7,9 +7,9 @@ function Ze(e, t) {
|
|
|
7
7
|
const { toString: Tt } = Object.prototype, { getPrototypeOf: Ae } = Object, { iterator: ae, toStringTag: et } = Symbol, ce = /* @__PURE__ */ ((e) => (t) => {
|
|
8
8
|
const n = Tt.call(t);
|
|
9
9
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)), _ = (e) => (e = e.toLowerCase(), (t) => ce(t) === e), ue = (e) => (t) => typeof t === e, { isArray:
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), _ = (e) => (e = e.toLowerCase(), (t) => ce(t) === e), ue = (e) => (t) => typeof t === e, { isArray: z } = Array, M = ue("undefined");
|
|
11
11
|
function V(e) {
|
|
12
|
-
return e !== null && !
|
|
12
|
+
return e !== null && !M(e) && e.constructor !== null && !M(e.constructor) && O(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
14
|
const tt = _("ArrayBuffer");
|
|
15
15
|
function Ot(e) {
|
|
@@ -33,12 +33,12 @@ const Ct = ue("string"), O = ue("function"), nt = ue("number"), X = (e) => e !==
|
|
|
33
33
|
let t;
|
|
34
34
|
return e && (typeof FormData == "function" && e instanceof FormData || O(e.append) && ((t = ce(e)) === "formdata" || // detect form-data instance
|
|
35
35
|
t === "object" && O(e.toString) && e.toString() === "[object FormData]"));
|
|
36
|
-
}, Lt = _("URLSearchParams"), [Dt, Bt, jt,
|
|
36
|
+
}, Lt = _("URLSearchParams"), [Dt, Bt, jt, $t] = ["ReadableStream", "Request", "Response", "Headers"].map(_), vt = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
37
37
|
function G(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
38
38
|
if (e === null || typeof e > "u")
|
|
39
39
|
return;
|
|
40
40
|
let r, s;
|
|
41
|
-
if (typeof e != "object" && (e = [e]),
|
|
41
|
+
if (typeof e != "object" && (e = [e]), z(e))
|
|
42
42
|
for (r = 0, s = e.length; r < s; r++)
|
|
43
43
|
t.call(null, e[r], r, e);
|
|
44
44
|
else {
|
|
@@ -61,11 +61,11 @@ function rt(e, t) {
|
|
|
61
61
|
return s;
|
|
62
62
|
return null;
|
|
63
63
|
}
|
|
64
|
-
const
|
|
65
|
-
function
|
|
64
|
+
const $ = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, st = (e) => !M(e) && e !== $;
|
|
65
|
+
function we() {
|
|
66
66
|
const { caseless: e, skipUndefined: t } = st(this) && this || {}, n = {}, r = (s, o) => {
|
|
67
67
|
const i = e && rt(n, o) || o;
|
|
68
|
-
re(n[i]) && re(s) ? n[i] =
|
|
68
|
+
re(n[i]) && re(s) ? n[i] = we(n[i], s) : re(s) ? n[i] = we({}, s) : z(s) ? n[i] = s.slice() : (!t || !M(s)) && (n[i] = s);
|
|
69
69
|
};
|
|
70
70
|
for (let s = 0, o = arguments.length; s < o; s++)
|
|
71
71
|
arguments[s] && G(arguments[s], r);
|
|
@@ -73,11 +73,11 @@ function be() {
|
|
|
73
73
|
}
|
|
74
74
|
const qt = (e, t, n, { allOwnKeys: r } = {}) => (G(t, (s, o) => {
|
|
75
75
|
n && O(s) ? e[o] = Ze(s, n) : e[o] = s;
|
|
76
|
-
}, { allOwnKeys: r }), e), Ht = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e),
|
|
76
|
+
}, { allOwnKeys: r }), e), Ht = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Mt = (e, t, n, r) => {
|
|
77
77
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
78
78
|
value: t.prototype
|
|
79
79
|
}), n && Object.assign(e.prototype, n);
|
|
80
|
-
},
|
|
80
|
+
}, zt = (e, t, n, r) => {
|
|
81
81
|
let s, o, i;
|
|
82
82
|
const c = {};
|
|
83
83
|
if (t = t || {}, e == null) return t;
|
|
@@ -87,13 +87,13 @@ const qt = (e, t, n, { allOwnKeys: r } = {}) => (G(t, (s, o) => {
|
|
|
87
87
|
e = n !== !1 && Ae(e);
|
|
88
88
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
89
89
|
return t;
|
|
90
|
-
},
|
|
90
|
+
}, Wt = (e, t, n) => {
|
|
91
91
|
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
92
92
|
const r = e.indexOf(t, n);
|
|
93
93
|
return r !== -1 && r === n;
|
|
94
|
-
},
|
|
94
|
+
}, Jt = (e) => {
|
|
95
95
|
if (!e) return null;
|
|
96
|
-
if (
|
|
96
|
+
if (z(e)) return e;
|
|
97
97
|
let t = e.length;
|
|
98
98
|
if (!nt(t)) return null;
|
|
99
99
|
const n = new Array(t);
|
|
@@ -145,7 +145,7 @@ const qt = (e, t, n, { allOwnKeys: r } = {}) => (G(t, (s, o) => {
|
|
|
145
145
|
n[o] = !0;
|
|
146
146
|
});
|
|
147
147
|
};
|
|
148
|
-
return
|
|
148
|
+
return z(e) ? r(e) : r(String(e).split(t)), n;
|
|
149
149
|
}, tn = () => {
|
|
150
150
|
}, nn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
151
151
|
function rn(e) {
|
|
@@ -160,25 +160,25 @@ const sn = (e) => {
|
|
|
160
160
|
return r;
|
|
161
161
|
if (!("toJSON" in r)) {
|
|
162
162
|
t[s] = r;
|
|
163
|
-
const o =
|
|
163
|
+
const o = z(r) ? [] : {};
|
|
164
164
|
return G(r, (i, c) => {
|
|
165
165
|
const d = n(i, s + 1);
|
|
166
|
-
!
|
|
166
|
+
!M(d) && (o[c] = d);
|
|
167
167
|
}), t[s] = void 0, o;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
return r;
|
|
171
171
|
};
|
|
172
172
|
return n(e, 0);
|
|
173
|
-
}, on = _("AsyncFunction"), an = (e) => e && (X(e) || O(e)) && O(e.then) && O(e.catch), it = ((e, t) => e ? setImmediate : t ? ((n, r) => (
|
|
174
|
-
s ===
|
|
173
|
+
}, on = _("AsyncFunction"), an = (e) => e && (X(e) || O(e)) && O(e.then) && O(e.catch), it = ((e, t) => e ? setImmediate : t ? ((n, r) => ($.addEventListener("message", ({ source: s, data: o }) => {
|
|
174
|
+
s === $ && o === n && r.length && r.shift()();
|
|
175
175
|
}, !1), (s) => {
|
|
176
|
-
r.push(s),
|
|
176
|
+
r.push(s), $.postMessage(n, "*");
|
|
177
177
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
178
178
|
typeof setImmediate == "function",
|
|
179
|
-
O(
|
|
180
|
-
), cn = typeof queueMicrotask < "u" ? queueMicrotask.bind(
|
|
181
|
-
isArray:
|
|
179
|
+
O($.postMessage)
|
|
180
|
+
), cn = typeof queueMicrotask < "u" ? queueMicrotask.bind($) : typeof process < "u" && process.nextTick || it, un = (e) => e != null && O(e[ae]), a = {
|
|
181
|
+
isArray: z,
|
|
182
182
|
isArrayBuffer: tt,
|
|
183
183
|
isBuffer: V,
|
|
184
184
|
isFormData: It,
|
|
@@ -192,8 +192,8 @@ const sn = (e) => {
|
|
|
192
192
|
isReadableStream: Dt,
|
|
193
193
|
isRequest: Bt,
|
|
194
194
|
isResponse: jt,
|
|
195
|
-
isHeaders:
|
|
196
|
-
isUndefined:
|
|
195
|
+
isHeaders: $t,
|
|
196
|
+
isUndefined: M,
|
|
197
197
|
isDate: kt,
|
|
198
198
|
isFile: _t,
|
|
199
199
|
isBlob: Ut,
|
|
@@ -204,16 +204,16 @@ const sn = (e) => {
|
|
|
204
204
|
isTypedArray: Kt,
|
|
205
205
|
isFileList: Nt,
|
|
206
206
|
forEach: G,
|
|
207
|
-
merge:
|
|
207
|
+
merge: we,
|
|
208
208
|
extend: qt,
|
|
209
|
-
trim:
|
|
209
|
+
trim: vt,
|
|
210
210
|
stripBOM: Ht,
|
|
211
|
-
inherits:
|
|
212
|
-
toFlatObject:
|
|
211
|
+
inherits: Mt,
|
|
212
|
+
toFlatObject: zt,
|
|
213
213
|
kindOf: ce,
|
|
214
214
|
kindOfTest: _,
|
|
215
|
-
endsWith:
|
|
216
|
-
toArray:
|
|
215
|
+
endsWith: Wt,
|
|
216
|
+
toArray: Jt,
|
|
217
217
|
forEachEntry: Vt,
|
|
218
218
|
matchAll: Xt,
|
|
219
219
|
isHTMLForm: Gt,
|
|
@@ -227,7 +227,7 @@ const sn = (e) => {
|
|
|
227
227
|
noop: tn,
|
|
228
228
|
toFiniteNumber: nn,
|
|
229
229
|
findKey: rt,
|
|
230
|
-
global:
|
|
230
|
+
global: $,
|
|
231
231
|
isContextDefined: st,
|
|
232
232
|
isSpecCompliantForm: rn,
|
|
233
233
|
toJSONObject: sn,
|
|
@@ -290,7 +290,7 @@ y.from = (e, t, n, r, s, o) => {
|
|
|
290
290
|
return y.call(i, c, d, n, r, s), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", o && Object.assign(i, o), i;
|
|
291
291
|
};
|
|
292
292
|
const ln = null;
|
|
293
|
-
function
|
|
293
|
+
function be(e) {
|
|
294
294
|
return a.isPlainObject(e) || a.isArray(e);
|
|
295
295
|
}
|
|
296
296
|
function ut(e) {
|
|
@@ -302,7 +302,7 @@ function De(e, t, n) {
|
|
|
302
302
|
}).join(n ? "." : "") : t;
|
|
303
303
|
}
|
|
304
304
|
function fn(e) {
|
|
305
|
-
return a.isArray(e) && !e.some(
|
|
305
|
+
return a.isArray(e) && !e.some(be);
|
|
306
306
|
}
|
|
307
307
|
const dn = a.toFlatObject(a, {}, null, function(t) {
|
|
308
308
|
return /^is[A-Z]/.test(t);
|
|
@@ -336,22 +336,22 @@ function le(e, t, n) {
|
|
|
336
336
|
if (a.endsWith(h, "{}"))
|
|
337
337
|
h = r ? h : h.slice(0, -2), f = JSON.stringify(f);
|
|
338
338
|
else if (a.isArray(f) && fn(f) || (a.isFileList(f) || a.endsWith(h, "[]")) && (E = a.toArray(f)))
|
|
339
|
-
return h = ut(h), E.forEach(function(
|
|
340
|
-
!(a.isUndefined(
|
|
339
|
+
return h = ut(h), E.forEach(function(b, A) {
|
|
340
|
+
!(a.isUndefined(b) || b === null) && t.append(
|
|
341
341
|
// eslint-disable-next-line no-nested-ternary
|
|
342
342
|
i === !0 ? De([h], A, o) : i === null ? h : h + "[]",
|
|
343
|
-
u(
|
|
343
|
+
u(b)
|
|
344
344
|
);
|
|
345
345
|
}), !1;
|
|
346
346
|
}
|
|
347
|
-
return
|
|
347
|
+
return be(f) ? !0 : (t.append(De(m, h, o), u(f)), !1);
|
|
348
348
|
}
|
|
349
349
|
const p = [], g = Object.assign(dn, {
|
|
350
350
|
defaultVisitor: l,
|
|
351
351
|
convertValue: u,
|
|
352
|
-
isVisitable:
|
|
352
|
+
isVisitable: be
|
|
353
353
|
});
|
|
354
|
-
function
|
|
354
|
+
function w(f, h) {
|
|
355
355
|
if (!a.isUndefined(f)) {
|
|
356
356
|
if (p.indexOf(f) !== -1)
|
|
357
357
|
throw Error("Circular reference detected in " + h.join("."));
|
|
@@ -362,13 +362,13 @@ function le(e, t, n) {
|
|
|
362
362
|
a.isString(S) ? S.trim() : S,
|
|
363
363
|
h,
|
|
364
364
|
g
|
|
365
|
-
)) === !0 &&
|
|
365
|
+
)) === !0 && w(E, h ? h.concat(S) : [S]);
|
|
366
366
|
}), p.pop();
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
if (!a.isObject(e))
|
|
370
370
|
throw new TypeError("data must be an object");
|
|
371
|
-
return
|
|
371
|
+
return w(e), t;
|
|
372
372
|
}
|
|
373
373
|
function Be(e) {
|
|
374
374
|
const t = {
|
|
@@ -483,12 +483,12 @@ const dt = {
|
|
|
483
483
|
Blob: yn
|
|
484
484
|
},
|
|
485
485
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
486
|
-
}, Oe = typeof window < "u" && typeof document < "u", Se = typeof navigator == "object" && navigator || void 0,
|
|
486
|
+
}, Oe = typeof window < "u" && typeof document < "u", Se = typeof navigator == "object" && navigator || void 0, wn = Oe && (!Se || ["ReactNative", "NativeScript", "NS"].indexOf(Se.product) < 0), bn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
487
487
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Sn = Oe && window.location.href || "http://localhost", En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
488
488
|
__proto__: null,
|
|
489
489
|
hasBrowserEnv: Oe,
|
|
490
|
-
hasStandardBrowserEnv:
|
|
491
|
-
hasStandardBrowserWebWorkerEnv:
|
|
490
|
+
hasStandardBrowserEnv: wn,
|
|
491
|
+
hasStandardBrowserWebWorkerEnv: bn,
|
|
492
492
|
navigator: Se,
|
|
493
493
|
origin: Sn
|
|
494
494
|
}, Symbol.toStringTag, { value: "Module" })), T = {
|
|
@@ -634,7 +634,7 @@ const Cn = a.toObjectSet([
|
|
|
634
634
|
`).forEach(function(i) {
|
|
635
635
|
s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && Cn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
636
636
|
}), t;
|
|
637
|
-
},
|
|
637
|
+
}, $e = Symbol("internals");
|
|
638
638
|
function K(e) {
|
|
639
639
|
return e && String(e).trim().toLowerCase();
|
|
640
640
|
}
|
|
@@ -789,7 +789,7 @@ let C = class {
|
|
|
789
789
|
return n.forEach((s) => r.set(s)), r;
|
|
790
790
|
}
|
|
791
791
|
static accessor(t) {
|
|
792
|
-
const r = (this[
|
|
792
|
+
const r = (this[$e] = this[$e] = {
|
|
793
793
|
accessors: {}
|
|
794
794
|
}).accessors, s = this.prototype;
|
|
795
795
|
function o(i) {
|
|
@@ -820,10 +820,10 @@ function me(e, t) {
|
|
|
820
820
|
function pt(e) {
|
|
821
821
|
return !!(e && e.__CANCEL__);
|
|
822
822
|
}
|
|
823
|
-
function
|
|
823
|
+
function W(e, t, n) {
|
|
824
824
|
y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
825
825
|
}
|
|
826
|
-
a.inherits(
|
|
826
|
+
a.inherits(W, y, {
|
|
827
827
|
__CANCEL__: !0
|
|
828
828
|
});
|
|
829
829
|
function mt(e, t, n) {
|
|
@@ -852,8 +852,8 @@ function Fn(e, t) {
|
|
|
852
852
|
g += n[p++], p = p % e;
|
|
853
853
|
if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
|
|
854
854
|
return;
|
|
855
|
-
const
|
|
856
|
-
return
|
|
855
|
+
const w = l && u - l;
|
|
856
|
+
return w ? Math.round(g * 1e3 / w) : void 0;
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
function In(e, t) {
|
|
@@ -887,7 +887,7 @@ const ie = (e, t, n = 3) => {
|
|
|
887
887
|
};
|
|
888
888
|
e(p);
|
|
889
889
|
}, n);
|
|
890
|
-
},
|
|
890
|
+
}, ve = (e, t) => {
|
|
891
891
|
const n = e != null;
|
|
892
892
|
return [(r) => t[0]({
|
|
893
893
|
lengthComputable: n,
|
|
@@ -1022,27 +1022,27 @@ const gt = (e) => {
|
|
|
1022
1022
|
d && i.set(s, d);
|
|
1023
1023
|
}
|
|
1024
1024
|
return t;
|
|
1025
|
-
},
|
|
1025
|
+
}, $n = typeof XMLHttpRequest < "u", vn = $n && function(e) {
|
|
1026
1026
|
return new Promise(function(n, r) {
|
|
1027
1027
|
const s = gt(e);
|
|
1028
1028
|
let o = s.data;
|
|
1029
1029
|
const i = C.from(s.headers).normalize();
|
|
1030
|
-
let { responseType: c, onUploadProgress: d, onDownloadProgress: u } = s, l, p, g,
|
|
1030
|
+
let { responseType: c, onUploadProgress: d, onDownloadProgress: u } = s, l, p, g, w, f;
|
|
1031
1031
|
function h() {
|
|
1032
|
-
|
|
1032
|
+
w && w(), f && f(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
|
|
1033
1033
|
}
|
|
1034
1034
|
let m = new XMLHttpRequest();
|
|
1035
1035
|
m.open(s.method.toUpperCase(), s.url, !0), m.timeout = s.timeout;
|
|
1036
1036
|
function E() {
|
|
1037
1037
|
if (!m)
|
|
1038
1038
|
return;
|
|
1039
|
-
const
|
|
1039
|
+
const b = C.from(
|
|
1040
1040
|
"getAllResponseHeaders" in m && m.getAllResponseHeaders()
|
|
1041
1041
|
), P = {
|
|
1042
1042
|
data: !c || c === "text" || c === "json" ? m.responseText : m.response,
|
|
1043
1043
|
status: m.status,
|
|
1044
1044
|
statusText: m.statusText,
|
|
1045
|
-
headers:
|
|
1045
|
+
headers: b,
|
|
1046
1046
|
config: e,
|
|
1047
1047
|
request: m
|
|
1048
1048
|
};
|
|
@@ -1070,8 +1070,8 @@ const gt = (e) => {
|
|
|
1070
1070
|
)), m = null;
|
|
1071
1071
|
}, o === void 0 && i.setContentType(null), "setRequestHeader" in m && a.forEach(i.toJSON(), function(A, P) {
|
|
1072
1072
|
m.setRequestHeader(P, A);
|
|
1073
|
-
}), a.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), c && c !== "json" && (m.responseType = s.responseType), u && ([g, f] = ie(u, !0), m.addEventListener("progress", g)), d && m.upload && ([p,
|
|
1074
|
-
m && (r(!
|
|
1073
|
+
}), a.isUndefined(s.withCredentials) || (m.withCredentials = !!s.withCredentials), c && c !== "json" && (m.responseType = s.responseType), u && ([g, f] = ie(u, !0), m.addEventListener("progress", g)), d && m.upload && ([p, w] = ie(d), m.upload.addEventListener("progress", p), m.upload.addEventListener("loadend", w)), (s.cancelToken || s.signal) && (l = (b) => {
|
|
1074
|
+
m && (r(!b || b.type ? new W(null, e, m) : b), m.abort(), m = null);
|
|
1075
1075
|
}, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
|
|
1076
1076
|
const S = Nn(s.url);
|
|
1077
1077
|
if (S && T.protocols.indexOf(S) === -1) {
|
|
@@ -1088,7 +1088,7 @@ const gt = (e) => {
|
|
|
1088
1088
|
if (!s) {
|
|
1089
1089
|
s = !0, c();
|
|
1090
1090
|
const l = u instanceof Error ? u : this.reason;
|
|
1091
|
-
r.abort(l instanceof y ? l : new
|
|
1091
|
+
r.abort(l instanceof y ? l : new W(l instanceof Error ? l.message : l));
|
|
1092
1092
|
}
|
|
1093
1093
|
};
|
|
1094
1094
|
let i = t && setTimeout(() => {
|
|
@@ -1112,10 +1112,10 @@ const gt = (e) => {
|
|
|
1112
1112
|
let r = 0, s;
|
|
1113
1113
|
for (; r < n; )
|
|
1114
1114
|
s = r + t, yield e.slice(r, s), r = s;
|
|
1115
|
-
},
|
|
1116
|
-
for await (const n of
|
|
1115
|
+
}, Mn = async function* (e, t) {
|
|
1116
|
+
for await (const n of zn(e))
|
|
1117
1117
|
yield* Hn(n, t);
|
|
1118
|
-
},
|
|
1118
|
+
}, zn = async function* (e) {
|
|
1119
1119
|
if (e[Symbol.asyncIterator]) {
|
|
1120
1120
|
yield* e;
|
|
1121
1121
|
return;
|
|
@@ -1131,8 +1131,8 @@ const gt = (e) => {
|
|
|
1131
1131
|
} finally {
|
|
1132
1132
|
await t.cancel();
|
|
1133
1133
|
}
|
|
1134
|
-
},
|
|
1135
|
-
const s =
|
|
1134
|
+
}, Me = (e, t, n, r) => {
|
|
1135
|
+
const s = Mn(e, t);
|
|
1136
1136
|
let o = 0, i, c = (d) => {
|
|
1137
1137
|
i || (i = !0, r && r(d));
|
|
1138
1138
|
};
|
|
@@ -1160,29 +1160,29 @@ const gt = (e) => {
|
|
|
1160
1160
|
}, {
|
|
1161
1161
|
highWaterMark: 2
|
|
1162
1162
|
});
|
|
1163
|
-
},
|
|
1163
|
+
}, ze = 64 * 1024, { isFunction: ne } = a, Wn = (({ Request: e, Response: t }) => ({
|
|
1164
1164
|
Request: e,
|
|
1165
1165
|
Response: t
|
|
1166
1166
|
}))(a.global), {
|
|
1167
|
-
ReadableStream:
|
|
1168
|
-
TextEncoder:
|
|
1167
|
+
ReadableStream: We,
|
|
1168
|
+
TextEncoder: Je
|
|
1169
1169
|
} = a.global, Ke = (e, ...t) => {
|
|
1170
1170
|
try {
|
|
1171
1171
|
return !!e(...t);
|
|
1172
1172
|
} catch {
|
|
1173
1173
|
return !1;
|
|
1174
1174
|
}
|
|
1175
|
-
},
|
|
1175
|
+
}, Jn = (e) => {
|
|
1176
1176
|
e = a.merge.call({
|
|
1177
1177
|
skipUndefined: !0
|
|
1178
|
-
},
|
|
1178
|
+
}, Wn, e);
|
|
1179
1179
|
const { fetch: t, Request: n, Response: r } = e, s = t ? ne(t) : typeof fetch == "function", o = ne(n), i = ne(r);
|
|
1180
1180
|
if (!s)
|
|
1181
1181
|
return !1;
|
|
1182
|
-
const c = s && ne(
|
|
1182
|
+
const c = s && ne(We), d = s && (typeof Je == "function" ? /* @__PURE__ */ ((f) => (h) => f.encode(h))(new Je()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), u = o && c && Ke(() => {
|
|
1183
1183
|
let f = !1;
|
|
1184
1184
|
const h = new n(T.origin, {
|
|
1185
|
-
body: new
|
|
1185
|
+
body: new We(),
|
|
1186
1186
|
method: "POST",
|
|
1187
1187
|
get duplex() {
|
|
1188
1188
|
return f = !0, "half";
|
|
@@ -1214,7 +1214,7 @@ const gt = (e) => {
|
|
|
1214
1214
|
return f.byteLength;
|
|
1215
1215
|
if (a.isURLSearchParams(f) && (f = f + ""), a.isString(f))
|
|
1216
1216
|
return (await d(f)).byteLength;
|
|
1217
|
-
},
|
|
1217
|
+
}, w = async (f, h) => {
|
|
1218
1218
|
const m = a.toFiniteNumber(f.getContentLength());
|
|
1219
1219
|
return m ?? g(h);
|
|
1220
1220
|
};
|
|
@@ -1224,7 +1224,7 @@ const gt = (e) => {
|
|
|
1224
1224
|
method: m,
|
|
1225
1225
|
data: E,
|
|
1226
1226
|
signal: S,
|
|
1227
|
-
cancelToken:
|
|
1227
|
+
cancelToken: b,
|
|
1228
1228
|
timeout: A,
|
|
1229
1229
|
onDownloadProgress: P,
|
|
1230
1230
|
onUploadProgress: B,
|
|
@@ -1234,24 +1234,24 @@ const gt = (e) => {
|
|
|
1234
1234
|
fetchOptions: ke
|
|
1235
1235
|
} = gt(f), _e = t || fetch;
|
|
1236
1236
|
x = x ? (x + "").toLowerCase() : "text";
|
|
1237
|
-
let Z = qn([S,
|
|
1237
|
+
let Z = qn([S, b && b.toAbortSignal()], A), J = null;
|
|
1238
1238
|
const j = Z && Z.unsubscribe && (() => {
|
|
1239
1239
|
Z.unsubscribe();
|
|
1240
1240
|
});
|
|
1241
1241
|
let Ue;
|
|
1242
1242
|
try {
|
|
1243
|
-
if (B && u && m !== "get" && m !== "head" && (Ue = await
|
|
1243
|
+
if (B && u && m !== "get" && m !== "head" && (Ue = await w(de, E)) !== 0) {
|
|
1244
1244
|
let D = new n(h, {
|
|
1245
1245
|
method: "POST",
|
|
1246
1246
|
body: E,
|
|
1247
1247
|
duplex: "half"
|
|
1248
1248
|
}), H;
|
|
1249
1249
|
if (a.isFormData(E) && (H = D.headers.get("content-type")) && de.setContentType(H), D.body) {
|
|
1250
|
-
const [he, ee] =
|
|
1250
|
+
const [he, ee] = ve(
|
|
1251
1251
|
Ue,
|
|
1252
1252
|
ie(qe(B))
|
|
1253
1253
|
);
|
|
1254
|
-
E =
|
|
1254
|
+
E = Me(D.body, ze, he, ee);
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
a.isString(Y) || (Y = Y ? "include" : "omit");
|
|
@@ -1264,20 +1264,20 @@ const gt = (e) => {
|
|
|
1264
1264
|
duplex: "half",
|
|
1265
1265
|
credentials: U ? Y : void 0
|
|
1266
1266
|
};
|
|
1267
|
-
|
|
1268
|
-
let L = await (o ? _e(
|
|
1267
|
+
J = o && new n(h, Ne);
|
|
1268
|
+
let L = await (o ? _e(J, ke) : _e(h, Ne));
|
|
1269
1269
|
const Fe = l && (x === "stream" || x === "response");
|
|
1270
1270
|
if (l && (P || Fe && j)) {
|
|
1271
1271
|
const D = {};
|
|
1272
1272
|
["status", "statusText", "headers"].forEach((Ie) => {
|
|
1273
1273
|
D[Ie] = L[Ie];
|
|
1274
1274
|
});
|
|
1275
|
-
const H = a.toFiniteNumber(L.headers.get("content-length")), [he, ee] = P &&
|
|
1275
|
+
const H = a.toFiniteNumber(L.headers.get("content-length")), [he, ee] = P && ve(
|
|
1276
1276
|
H,
|
|
1277
1277
|
ie(qe(P), !0)
|
|
1278
1278
|
) || [];
|
|
1279
1279
|
L = new r(
|
|
1280
|
-
|
|
1280
|
+
Me(L.body, ze, he, () => {
|
|
1281
1281
|
ee && ee(), j && j();
|
|
1282
1282
|
}),
|
|
1283
1283
|
D
|
|
@@ -1292,19 +1292,19 @@ const gt = (e) => {
|
|
|
1292
1292
|
status: L.status,
|
|
1293
1293
|
statusText: L.statusText,
|
|
1294
1294
|
config: f,
|
|
1295
|
-
request:
|
|
1295
|
+
request: J
|
|
1296
1296
|
});
|
|
1297
1297
|
});
|
|
1298
1298
|
} catch (U) {
|
|
1299
1299
|
throw j && j(), U && U.name === "TypeError" && /Load failed|fetch/i.test(U.message) ? Object.assign(
|
|
1300
|
-
new y("Network Error", y.ERR_NETWORK, f,
|
|
1300
|
+
new y("Network Error", y.ERR_NETWORK, f, J),
|
|
1301
1301
|
{
|
|
1302
1302
|
cause: U.cause || U
|
|
1303
1303
|
}
|
|
1304
|
-
) : y.from(U, U && U.code, f,
|
|
1304
|
+
) : y.from(U, U && U.code, f, J);
|
|
1305
1305
|
}
|
|
1306
1306
|
};
|
|
1307
|
-
}, Kn = /* @__PURE__ */ new Map(),
|
|
1307
|
+
}, Kn = /* @__PURE__ */ new Map(), wt = (e) => {
|
|
1308
1308
|
let t = e && e.env || {};
|
|
1309
1309
|
const { fetch: n, Request: r, Response: s } = t, o = [
|
|
1310
1310
|
r,
|
|
@@ -1313,15 +1313,15 @@ const gt = (e) => {
|
|
|
1313
1313
|
];
|
|
1314
1314
|
let i = o.length, c = i, d, u, l = Kn;
|
|
1315
1315
|
for (; c--; )
|
|
1316
|
-
d = o[c], u = l.get(d), u === void 0 && l.set(d, u = c ? /* @__PURE__ */ new Map() :
|
|
1316
|
+
d = o[c], u = l.get(d), u === void 0 && l.set(d, u = c ? /* @__PURE__ */ new Map() : Jn(t)), l = u;
|
|
1317
1317
|
return u;
|
|
1318
1318
|
};
|
|
1319
|
-
|
|
1319
|
+
wt();
|
|
1320
1320
|
const Ce = {
|
|
1321
1321
|
http: ln,
|
|
1322
|
-
xhr:
|
|
1322
|
+
xhr: vn,
|
|
1323
1323
|
fetch: {
|
|
1324
|
-
get:
|
|
1324
|
+
get: wt
|
|
1325
1325
|
}
|
|
1326
1326
|
};
|
|
1327
1327
|
a.forEach(Ce, (e, t) => {
|
|
@@ -1362,7 +1362,7 @@ function Xn(e, t) {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
return s;
|
|
1364
1364
|
}
|
|
1365
|
-
const
|
|
1365
|
+
const bt = {
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Resolve an adapter from a list of adapter names or functions.
|
|
1368
1368
|
* @type {Function}
|
|
@@ -1376,13 +1376,13 @@ const wt = {
|
|
|
1376
1376
|
};
|
|
1377
1377
|
function ye(e) {
|
|
1378
1378
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1379
|
-
throw new
|
|
1379
|
+
throw new W(null, e);
|
|
1380
1380
|
}
|
|
1381
1381
|
function Xe(e) {
|
|
1382
1382
|
return ye(e), e.headers = C.from(e.headers), e.data = me.call(
|
|
1383
1383
|
e,
|
|
1384
1384
|
e.transformRequest
|
|
1385
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1385
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), bt.getAdapter(e.adapter || Q.adapter, e)(e).then(function(r) {
|
|
1386
1386
|
return ye(e), r.data = me.call(
|
|
1387
1387
|
e,
|
|
1388
1388
|
e.transformResponse,
|
|
@@ -1445,7 +1445,7 @@ const oe = {
|
|
|
1445
1445
|
assertOptions: Gn,
|
|
1446
1446
|
validators: fe
|
|
1447
1447
|
}, N = oe.validators;
|
|
1448
|
-
let
|
|
1448
|
+
let v = class {
|
|
1449
1449
|
constructor(t) {
|
|
1450
1450
|
this.defaults = t || {}, this.interceptors = {
|
|
1451
1451
|
request: new je(),
|
|
@@ -1520,18 +1520,18 @@ let $ = class {
|
|
|
1520
1520
|
return l;
|
|
1521
1521
|
}
|
|
1522
1522
|
g = c.length;
|
|
1523
|
-
let
|
|
1523
|
+
let w = n;
|
|
1524
1524
|
for (; p < g; ) {
|
|
1525
1525
|
const f = c[p++], h = c[p++];
|
|
1526
1526
|
try {
|
|
1527
|
-
|
|
1527
|
+
w = f(w);
|
|
1528
1528
|
} catch (m) {
|
|
1529
1529
|
h.call(this, m);
|
|
1530
1530
|
break;
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
1533
|
try {
|
|
1534
|
-
l = Xe.call(this,
|
|
1534
|
+
l = Xe.call(this, w);
|
|
1535
1535
|
} catch (f) {
|
|
1536
1536
|
return Promise.reject(f);
|
|
1537
1537
|
}
|
|
@@ -1546,7 +1546,7 @@ let $ = class {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
};
|
|
1548
1548
|
a.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1549
|
-
|
|
1549
|
+
v.prototype[t] = function(n, r) {
|
|
1550
1550
|
return this.request(q(r || {}, {
|
|
1551
1551
|
method: t,
|
|
1552
1552
|
url: n,
|
|
@@ -1567,7 +1567,7 @@ a.forEach(["post", "put", "patch"], function(t) {
|
|
|
1567
1567
|
}));
|
|
1568
1568
|
};
|
|
1569
1569
|
}
|
|
1570
|
-
|
|
1570
|
+
v.prototype[t] = n(), v.prototype[t + "Form"] = n(!0);
|
|
1571
1571
|
});
|
|
1572
1572
|
let Qn = class Et {
|
|
1573
1573
|
constructor(t) {
|
|
@@ -1593,7 +1593,7 @@ let Qn = class Et {
|
|
|
1593
1593
|
r.unsubscribe(o);
|
|
1594
1594
|
}, i;
|
|
1595
1595
|
}, t(function(o, i, c) {
|
|
1596
|
-
r.reason || (r.reason = new
|
|
1596
|
+
r.reason || (r.reason = new W(o, i, c), n(r.reason));
|
|
1597
1597
|
});
|
|
1598
1598
|
}
|
|
1599
1599
|
/**
|
|
@@ -1725,14 +1725,14 @@ Object.entries(Ee).forEach(([e, t]) => {
|
|
|
1725
1725
|
Ee[t] = e;
|
|
1726
1726
|
});
|
|
1727
1727
|
function Rt(e) {
|
|
1728
|
-
const t = new
|
|
1729
|
-
return a.extend(n,
|
|
1728
|
+
const t = new v(e), n = Ze(v.prototype.request, t);
|
|
1729
|
+
return a.extend(n, v.prototype, t, { allOwnKeys: !0 }), a.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
|
|
1730
1730
|
return Rt(q(e, s));
|
|
1731
1731
|
}, n;
|
|
1732
1732
|
}
|
|
1733
1733
|
const R = Rt(Q);
|
|
1734
|
-
R.Axios =
|
|
1735
|
-
R.CanceledError =
|
|
1734
|
+
R.Axios = v;
|
|
1735
|
+
R.CanceledError = W;
|
|
1736
1736
|
R.CancelToken = Qn;
|
|
1737
1737
|
R.isCancel = pt;
|
|
1738
1738
|
R.VERSION = St;
|
|
@@ -1747,7 +1747,7 @@ R.isAxiosError = Zn;
|
|
|
1747
1747
|
R.mergeConfig = q;
|
|
1748
1748
|
R.AxiosHeaders = C;
|
|
1749
1749
|
R.formToJSON = (e) => ht(a.isHTMLForm(e) ? new FormData(e) : e);
|
|
1750
|
-
R.getAdapter =
|
|
1750
|
+
R.getAdapter = bt.getAdapter;
|
|
1751
1751
|
R.HttpStatusCode = Ee;
|
|
1752
1752
|
R.default = R;
|
|
1753
1753
|
const {
|
|
@@ -1773,7 +1773,7 @@ const {
|
|
|
1773
1773
|
const p = typeof u == "function" ? u(t) : u;
|
|
1774
1774
|
if (!Object.is(p, t)) {
|
|
1775
1775
|
const g = t;
|
|
1776
|
-
t = l ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((
|
|
1776
|
+
t = l ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), n.forEach((w) => w(t, g));
|
|
1777
1777
|
}
|
|
1778
1778
|
}, s = () => t, c = { setState: r, getState: s, getInitialState: () => d, subscribe: (u) => (n.add(u), () => n.delete(u)) }, d = t = e(r, s, c);
|
|
1779
1779
|
return c;
|
|
@@ -1797,10 +1797,10 @@ const Ye = (e) => {
|
|
|
1797
1797
|
const l = d?.equalityFn || Object.is;
|
|
1798
1798
|
let p = i(r.getState());
|
|
1799
1799
|
u = (g) => {
|
|
1800
|
-
const
|
|
1801
|
-
if (!l(p,
|
|
1800
|
+
const w = i(g);
|
|
1801
|
+
if (!l(p, w)) {
|
|
1802
1802
|
const f = p;
|
|
1803
|
-
c(p =
|
|
1803
|
+
c(p = w, f);
|
|
1804
1804
|
}
|
|
1805
1805
|
}, d?.fireImmediately && c(p, p);
|
|
1806
1806
|
}
|
|
@@ -1882,24 +1882,24 @@ const Re = (e) => (t) => {
|
|
|
1882
1882
|
s
|
|
1883
1883
|
);
|
|
1884
1884
|
s.getInitialState = () => g;
|
|
1885
|
-
let
|
|
1885
|
+
let w;
|
|
1886
1886
|
const f = () => {
|
|
1887
1887
|
var h, m;
|
|
1888
1888
|
if (!u) return;
|
|
1889
1889
|
i = !1, c.forEach((S) => {
|
|
1890
|
-
var
|
|
1891
|
-
return S((
|
|
1890
|
+
var b;
|
|
1891
|
+
return S((b = r()) != null ? b : g);
|
|
1892
1892
|
});
|
|
1893
1893
|
const E = ((m = o.onRehydrateStorage) == null ? void 0 : m.call(o, (h = r()) != null ? h : g)) || void 0;
|
|
1894
1894
|
return Re(u.getItem.bind(u))(o.name).then((S) => {
|
|
1895
1895
|
if (S)
|
|
1896
1896
|
if (typeof S.version == "number" && S.version !== o.version) {
|
|
1897
1897
|
if (o.migrate) {
|
|
1898
|
-
const
|
|
1898
|
+
const b = o.migrate(
|
|
1899
1899
|
S.state,
|
|
1900
1900
|
S.version
|
|
1901
1901
|
);
|
|
1902
|
-
return
|
|
1902
|
+
return b instanceof Promise ? b.then((A) => [!0, A]) : [!0, b];
|
|
1903
1903
|
}
|
|
1904
1904
|
console.error(
|
|
1905
1905
|
"State loaded from storage couldn't be migrated since no migrate function was provided"
|
|
@@ -1908,15 +1908,15 @@ const Re = (e) => (t) => {
|
|
|
1908
1908
|
return [!1, S.state];
|
|
1909
1909
|
return [!1, void 0];
|
|
1910
1910
|
}).then((S) => {
|
|
1911
|
-
var
|
|
1911
|
+
var b;
|
|
1912
1912
|
const [A, P] = S;
|
|
1913
|
-
if (
|
|
1913
|
+
if (w = o.merge(
|
|
1914
1914
|
P,
|
|
1915
|
-
(
|
|
1916
|
-
), n(
|
|
1915
|
+
(b = r()) != null ? b : g
|
|
1916
|
+
), n(w, !0), A)
|
|
1917
1917
|
return l();
|
|
1918
1918
|
}).then(() => {
|
|
1919
|
-
E?.(
|
|
1919
|
+
E?.(w, void 0), w = r(), i = !0, d.forEach((S) => S(w));
|
|
1920
1920
|
}).catch((S) => {
|
|
1921
1921
|
E?.(void 0, S);
|
|
1922
1922
|
});
|
|
@@ -1940,7 +1940,7 @@ const Re = (e) => (t) => {
|
|
|
1940
1940
|
onFinishHydration: (h) => (d.add(h), () => {
|
|
1941
1941
|
d.delete(h);
|
|
1942
1942
|
})
|
|
1943
|
-
}, o.skipHydration || f(),
|
|
1943
|
+
}, o.skipHydration || f(), w || g;
|
|
1944
1944
|
}, cr = ar, F = rr()(
|
|
1945
1945
|
cr(
|
|
1946
1946
|
or((e, t) => ({
|
|
@@ -2117,6 +2117,7 @@ class xe {
|
|
|
2117
2117
|
config = null;
|
|
2118
2118
|
initPromise = null;
|
|
2119
2119
|
unsubscribe = null;
|
|
2120
|
+
chatWidgetMounted = !1;
|
|
2120
2121
|
/**
|
|
2121
2122
|
* Initialize the SDK with optional configuration
|
|
2122
2123
|
* @param config - Optional SDK configuration. If privyAppId is not provided, uses bundled default.
|
|
@@ -2236,11 +2237,42 @@ class xe {
|
|
|
2236
2237
|
isReady: t.isReady
|
|
2237
2238
|
};
|
|
2238
2239
|
}
|
|
2240
|
+
/**
|
|
2241
|
+
* Mount the chat widget
|
|
2242
|
+
* @param options - Optional widget configuration (position)
|
|
2243
|
+
*/
|
|
2244
|
+
async mountChatWidget(t) {
|
|
2245
|
+
if (this.ensureInitialized(), this.chatWidgetMounted) {
|
|
2246
|
+
console.warn("Chat widget already mounted");
|
|
2247
|
+
return;
|
|
2248
|
+
}
|
|
2249
|
+
if (!this.config?.agentId)
|
|
2250
|
+
throw new Error("SDK not initialized with agentId. Call AutoGamesSDK.init() first.");
|
|
2251
|
+
const { mountChatWidget: n } = await import("./chat-mount-DwtS7aEs.js");
|
|
2252
|
+
n(this.config.agentId, t), this.chatWidgetMounted = !0;
|
|
2253
|
+
}
|
|
2254
|
+
/**
|
|
2255
|
+
* Unmount the chat widget
|
|
2256
|
+
*/
|
|
2257
|
+
async unmountChatWidget() {
|
|
2258
|
+
if (!this.chatWidgetMounted)
|
|
2259
|
+
return;
|
|
2260
|
+
const { unmountChatWidget: t } = await import("./chat-mount-DwtS7aEs.js");
|
|
2261
|
+
t(), this.chatWidgetMounted = !1;
|
|
2262
|
+
}
|
|
2263
|
+
/**
|
|
2264
|
+
* Check if chat widget is mounted
|
|
2265
|
+
*/
|
|
2266
|
+
isChatWidgetMounted() {
|
|
2267
|
+
return this.chatWidgetMounted;
|
|
2268
|
+
}
|
|
2239
2269
|
/**
|
|
2240
2270
|
* Clean up subscriptions
|
|
2241
2271
|
*/
|
|
2242
2272
|
destroy() {
|
|
2243
|
-
this.unsubscribe?.(), this.unsubscribe = null, this.config = null, this.initPromise = null
|
|
2273
|
+
this.unsubscribe?.(), this.unsubscribe = null, this.config = null, this.initPromise = null, this.chatWidgetMounted && (import("./chat-mount-DwtS7aEs.js").then(({ unmountChatWidget: t }) => {
|
|
2274
|
+
t();
|
|
2275
|
+
}), this.chatWidgetMounted = !1);
|
|
2244
2276
|
}
|
|
2245
2277
|
/**
|
|
2246
2278
|
* Wait for bridge to be ready
|
|
@@ -2266,7 +2298,7 @@ class xe {
|
|
|
2266
2298
|
async mountBridge() {
|
|
2267
2299
|
if (!this.config)
|
|
2268
2300
|
throw new Error("Config must be set before mounting bridge");
|
|
2269
|
-
const { mountPrivyBridge: t } = await import("./bridge-mount-
|
|
2301
|
+
const { mountPrivyBridge: t } = await import("./bridge-mount-CPNiESrc.js").then((n) => n.em);
|
|
2270
2302
|
await t(this.config);
|
|
2271
2303
|
}
|
|
2272
2304
|
ensureInitialized() {
|
|
@@ -2277,8 +2309,9 @@ class xe {
|
|
|
2277
2309
|
const gr = new xe();
|
|
2278
2310
|
typeof window < "u" && (window.AutoGamesSDK = gr);
|
|
2279
2311
|
export {
|
|
2280
|
-
|
|
2312
|
+
Rr as A,
|
|
2281
2313
|
I as a,
|
|
2314
|
+
gr as b,
|
|
2282
2315
|
rr as c,
|
|
2283
2316
|
F as u
|
|
2284
2317
|
};
|