@fuul/sdk 5.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/affiliates/AffiliateService.d.ts +1 -1
- package/dist/affiliates/AffiliateService.d.ts.map +1 -1
- package/dist/core.d.ts +9 -7
- package/dist/core.d.ts.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +149 -145
- package/dist/index.umd.js +5 -5
- package/dist/release.json.d.ts +1 -1
- package/dist/types/api.d.ts +2 -0
- package/dist/types/api.d.ts.map +1 -1
- package/dist/types/sdk.d.ts +3 -2
- package/dist/types/sdk.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var Rt = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var R = (e, t, n) =>
|
|
2
|
+
var At = (e, t, n) => t in e ? Rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var R = (e, t, n) => At(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
function Qe(e, t) {
|
|
5
5
|
return function() {
|
|
6
6
|
return e.apply(t, arguments);
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
const { toString:
|
|
10
|
-
const n =
|
|
9
|
+
const { toString: Tt } = Object.prototype, { getPrototypeOf: Ee } = Object, te = /* @__PURE__ */ ((e) => (t) => {
|
|
10
|
+
const n = Tt.call(t);
|
|
11
11
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
12
|
-
})(/* @__PURE__ */ Object.create(null)), _ = (e) => (e = e.toLowerCase(), (t) => te(t) === e), ne = (e) => (t) => typeof t === e, { isArray: j } = Array,
|
|
12
|
+
})(/* @__PURE__ */ Object.create(null)), _ = (e) => (e = e.toLowerCase(), (t) => te(t) === e), ne = (e) => (t) => typeof t === e, { isArray: j } = Array, K = ne("undefined");
|
|
13
13
|
function Pt(e) {
|
|
14
|
-
return e !== null && !
|
|
14
|
+
return e !== null && !K(e) && e.constructor !== null && !K(e.constructor) && O(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
15
15
|
}
|
|
16
16
|
const Ge = _("ArrayBuffer");
|
|
17
17
|
function Ot(e) {
|
|
@@ -28,7 +28,7 @@ const _t = ne("string"), O = ne("function"), Xe = ne("number"), re = (e) => e !=
|
|
|
28
28
|
return e && (typeof FormData == "function" && e instanceof FormData || O(e.append) && ((t = te(e)) === "formdata" || // detect form-data instance
|
|
29
29
|
t === "object" && O(e.toString) && e.toString() === "[object FormData]"));
|
|
30
30
|
}, kt = _("URLSearchParams"), [vt, qt, It, jt] = ["ReadableStream", "Request", "Response", "Headers"].map(_), Ht = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
31
|
-
function
|
|
31
|
+
function J(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
32
32
|
if (e === null || typeof e > "u")
|
|
33
33
|
return;
|
|
34
34
|
let r, s;
|
|
@@ -51,23 +51,23 @@ function Ye(e, t) {
|
|
|
51
51
|
return s;
|
|
52
52
|
return null;
|
|
53
53
|
}
|
|
54
|
-
const k = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ze = (e) => !
|
|
54
|
+
const k = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ze = (e) => !K(e) && e !== k;
|
|
55
55
|
function de() {
|
|
56
56
|
const { caseless: e } = Ze(this) && this || {}, t = {}, n = (r, s) => {
|
|
57
57
|
const o = e && Ye(t, s) || s;
|
|
58
58
|
X(t[o]) && X(r) ? t[o] = de(t[o], r) : X(r) ? t[o] = de({}, r) : j(r) ? t[o] = r.slice() : t[o] = r;
|
|
59
59
|
};
|
|
60
60
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
61
|
-
arguments[r] &&
|
|
61
|
+
arguments[r] && J(arguments[r], n);
|
|
62
62
|
return t;
|
|
63
63
|
}
|
|
64
|
-
const
|
|
64
|
+
const Mt = (e, t, n, { allOwnKeys: r } = {}) => (J(t, (s, o) => {
|
|
65
65
|
n && O(s) ? e[o] = Qe(s, n) : e[o] = s;
|
|
66
|
-
}, { allOwnKeys: r }), e),
|
|
66
|
+
}, { allOwnKeys: r }), e), $t = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), zt = (e, t, n, r) => {
|
|
67
67
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
68
68
|
value: t.prototype
|
|
69
69
|
}), n && Object.assign(e.prototype, n);
|
|
70
|
-
},
|
|
70
|
+
}, Vt = (e, t, n, r) => {
|
|
71
71
|
let s, o, i;
|
|
72
72
|
const c = {};
|
|
73
73
|
if (t = t || {}, e == null) return t;
|
|
@@ -77,11 +77,11 @@ const $t = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
|
77
77
|
e = n !== !1 && Ee(e);
|
|
78
78
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
79
79
|
return t;
|
|
80
|
-
},
|
|
80
|
+
}, Kt = (e, t, n) => {
|
|
81
81
|
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
82
82
|
const r = e.indexOf(t, n);
|
|
83
83
|
return r !== -1 && r === n;
|
|
84
|
-
},
|
|
84
|
+
}, Jt = (e) => {
|
|
85
85
|
if (!e) return null;
|
|
86
86
|
if (j(e)) return e;
|
|
87
87
|
let t = e.length;
|
|
@@ -110,7 +110,7 @@ const $t = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
|
|
|
110
110
|
}
|
|
111
111
|
), xe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Zt = _("RegExp"), et = (e, t) => {
|
|
112
112
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
113
|
-
|
|
113
|
+
J(n, (s, o) => {
|
|
114
114
|
let i;
|
|
115
115
|
(i = t(s, o, e)) !== !1 && (r[o] = i || s);
|
|
116
116
|
}), Object.defineProperties(e, r);
|
|
@@ -159,9 +159,9 @@ const an = (e) => {
|
|
|
159
159
|
if (!("toJSON" in r)) {
|
|
160
160
|
t[s] = r;
|
|
161
161
|
const o = j(r) ? [] : {};
|
|
162
|
-
return
|
|
162
|
+
return J(r, (i, c) => {
|
|
163
163
|
const l = n(i, s + 1);
|
|
164
|
-
!
|
|
164
|
+
!K(l) && (o[c] = l);
|
|
165
165
|
}), t[s] = void 0, o;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -190,7 +190,7 @@ const an = (e) => {
|
|
|
190
190
|
isRequest: qt,
|
|
191
191
|
isResponse: It,
|
|
192
192
|
isHeaders: jt,
|
|
193
|
-
isUndefined:
|
|
193
|
+
isUndefined: K,
|
|
194
194
|
isDate: Nt,
|
|
195
195
|
isFile: Ut,
|
|
196
196
|
isBlob: Lt,
|
|
@@ -200,17 +200,17 @@ const an = (e) => {
|
|
|
200
200
|
isURLSearchParams: kt,
|
|
201
201
|
isTypedArray: Wt,
|
|
202
202
|
isFileList: Dt,
|
|
203
|
-
forEach:
|
|
203
|
+
forEach: J,
|
|
204
204
|
merge: de,
|
|
205
|
-
extend:
|
|
205
|
+
extend: Mt,
|
|
206
206
|
trim: Ht,
|
|
207
|
-
stripBOM:
|
|
208
|
-
inherits:
|
|
209
|
-
toFlatObject:
|
|
207
|
+
stripBOM: $t,
|
|
208
|
+
inherits: zt,
|
|
209
|
+
toFlatObject: Vt,
|
|
210
210
|
kindOf: te,
|
|
211
211
|
kindOfTest: _,
|
|
212
|
-
endsWith:
|
|
213
|
-
toArray:
|
|
212
|
+
endsWith: Kt,
|
|
213
|
+
toArray: Jt,
|
|
214
214
|
forEachEntry: Qt,
|
|
215
215
|
matchAll: Gt,
|
|
216
216
|
isHTMLForm: Xt,
|
|
@@ -481,21 +481,21 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Sn
|
|
|
481
481
|
hasStandardBrowserWebWorkerEnv: En,
|
|
482
482
|
navigator: pe,
|
|
483
483
|
origin: Sn
|
|
484
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
484
|
+
}, Symbol.toStringTag, { value: "Module" })), T = {
|
|
485
485
|
...Cn,
|
|
486
486
|
...wn
|
|
487
487
|
};
|
|
488
488
|
function Rn(e, t) {
|
|
489
|
-
return se(e, new
|
|
489
|
+
return se(e, new T.classes.URLSearchParams(), Object.assign({
|
|
490
490
|
visitor: function(n, r, s, o) {
|
|
491
|
-
return
|
|
491
|
+
return T.isNode && a.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
492
492
|
}
|
|
493
493
|
}, t));
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function An(e) {
|
|
496
496
|
return a.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function Tn(e) {
|
|
499
499
|
const t = {}, n = Object.keys(e);
|
|
500
500
|
let r;
|
|
501
501
|
const s = n.length;
|
|
@@ -509,12 +509,12 @@ function ut(e) {
|
|
|
509
509
|
let i = n[o++];
|
|
510
510
|
if (i === "__proto__") return !0;
|
|
511
511
|
const c = Number.isFinite(+i), l = o >= n.length;
|
|
512
|
-
return i = !i && a.isArray(s) ? s.length : i, l ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] =
|
|
512
|
+
return i = !i && a.isArray(s) ? s.length : i, l ? (a.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !c) : ((!s[i] || !a.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && a.isArray(s[i]) && (s[i] = Tn(s[i])), !c);
|
|
513
513
|
}
|
|
514
514
|
if (a.isFormData(e) && a.isFunction(e.entries)) {
|
|
515
515
|
const n = {};
|
|
516
516
|
return a.forEachEntry(e, (r, s) => {
|
|
517
|
-
t(
|
|
517
|
+
t(An(r), s, n, 0);
|
|
518
518
|
}), n;
|
|
519
519
|
}
|
|
520
520
|
return null;
|
|
@@ -582,8 +582,8 @@ const W = {
|
|
|
582
582
|
maxContentLength: -1,
|
|
583
583
|
maxBodyLength: -1,
|
|
584
584
|
env: {
|
|
585
|
-
FormData:
|
|
586
|
-
Blob:
|
|
585
|
+
FormData: T.classes.FormData,
|
|
586
|
+
Blob: T.classes.Blob
|
|
587
587
|
},
|
|
588
588
|
validateStatus: function(t) {
|
|
589
589
|
return t >= 200 && t < 300;
|
|
@@ -624,7 +624,7 @@ const On = a.toObjectSet([
|
|
|
624
624
|
s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && On[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
625
625
|
}), t;
|
|
626
626
|
}, Fe = Symbol("internals");
|
|
627
|
-
function
|
|
627
|
+
function z(e) {
|
|
628
628
|
return e && String(e).trim().toLowerCase();
|
|
629
629
|
}
|
|
630
630
|
function Y(e) {
|
|
@@ -669,7 +669,7 @@ let P = class {
|
|
|
669
669
|
set(t, n, r) {
|
|
670
670
|
const s = this;
|
|
671
671
|
function o(c, l, u) {
|
|
672
|
-
const f =
|
|
672
|
+
const f = z(l);
|
|
673
673
|
if (!f)
|
|
674
674
|
throw new Error("header name must be a non-empty string");
|
|
675
675
|
const d = a.findKey(s, f);
|
|
@@ -688,7 +688,7 @@ let P = class {
|
|
|
688
688
|
return this;
|
|
689
689
|
}
|
|
690
690
|
get(t, n) {
|
|
691
|
-
if (t =
|
|
691
|
+
if (t = z(t), t) {
|
|
692
692
|
const r = a.findKey(this, t);
|
|
693
693
|
if (r) {
|
|
694
694
|
const s = this[r];
|
|
@@ -705,7 +705,7 @@ let P = class {
|
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
707
|
has(t, n) {
|
|
708
|
-
if (t =
|
|
708
|
+
if (t = z(t), t) {
|
|
709
709
|
const r = a.findKey(this, t);
|
|
710
710
|
return !!(r && this[r] !== void 0 && (!n || ue(this, this[r], r, n)));
|
|
711
711
|
}
|
|
@@ -715,7 +715,7 @@ let P = class {
|
|
|
715
715
|
const r = this;
|
|
716
716
|
let s = !1;
|
|
717
717
|
function o(i) {
|
|
718
|
-
if (i =
|
|
718
|
+
if (i = z(i), i) {
|
|
719
719
|
const c = a.findKey(r, i);
|
|
720
720
|
c && (!n || ue(r, r[c], c, n)) && (delete r[c], s = !0);
|
|
721
721
|
}
|
|
@@ -774,7 +774,7 @@ let P = class {
|
|
|
774
774
|
accessors: {}
|
|
775
775
|
}).accessors, s = this.prototype;
|
|
776
776
|
function o(i) {
|
|
777
|
-
const c =
|
|
777
|
+
const c = z(i);
|
|
778
778
|
r[c] || (Ln(s, i), r[c] = !0);
|
|
779
779
|
}
|
|
780
780
|
return a.isArray(t) ? t.forEach(o) : o(t), this;
|
|
@@ -875,11 +875,11 @@ const Z = (e, t, n = 3) => {
|
|
|
875
875
|
total: e,
|
|
876
876
|
loaded: r
|
|
877
877
|
}), t[1]];
|
|
878
|
-
}, ke = (e) => (...t) => a.asap(() => e(...t)), kn =
|
|
878
|
+
}, ke = (e) => (...t) => a.asap(() => e(...t)), kn = T.hasStandardBrowserEnv ? (
|
|
879
879
|
// Standard browser envs have full support of the APIs needed to test
|
|
880
880
|
// whether the request URL is of the same origin as current location.
|
|
881
881
|
function() {
|
|
882
|
-
const t =
|
|
882
|
+
const t = T.navigator && /(msie|trident)/i.test(T.navigator.userAgent), n = document.createElement("a");
|
|
883
883
|
let r;
|
|
884
884
|
function s(o) {
|
|
885
885
|
let i = o;
|
|
@@ -906,7 +906,7 @@ const Z = (e, t, n = 3) => {
|
|
|
906
906
|
return !0;
|
|
907
907
|
};
|
|
908
908
|
}()
|
|
909
|
-
), vn =
|
|
909
|
+
), vn = T.hasStandardBrowserEnv ? (
|
|
910
910
|
// Standard browser envs support document.cookie
|
|
911
911
|
{
|
|
912
912
|
write(e, t, n, r, s, o) {
|
|
@@ -1016,14 +1016,14 @@ const ht = (e) => {
|
|
|
1016
1016
|
);
|
|
1017
1017
|
let l;
|
|
1018
1018
|
if (a.isFormData(n)) {
|
|
1019
|
-
if (
|
|
1019
|
+
if (T.hasStandardBrowserEnv || T.hasStandardBrowserWebWorkerEnv)
|
|
1020
1020
|
i.setContentType(void 0);
|
|
1021
1021
|
else if ((l = i.getContentType()) !== !1) {
|
|
1022
1022
|
const [u, ...f] = l ? l.split(";").map((d) => d.trim()).filter(Boolean) : [];
|
|
1023
1023
|
i.setContentType([u || "multipart/form-data", ...f].join("; "));
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
if (
|
|
1026
|
+
if (T.hasStandardBrowserEnv && (r && a.isFunction(r) && (r = r(t)), r || r !== !1 && kn(t.url))) {
|
|
1027
1027
|
const u = s && o && vn.read(o);
|
|
1028
1028
|
u && i.set(s, u);
|
|
1029
1029
|
}
|
|
@@ -1044,7 +1044,7 @@ const ht = (e) => {
|
|
|
1044
1044
|
return;
|
|
1045
1045
|
const C = P.from(
|
|
1046
1046
|
"getAllResponseHeaders" in p && p.getAllResponseHeaders()
|
|
1047
|
-
),
|
|
1047
|
+
), A = {
|
|
1048
1048
|
data: !c || c === "text" || c === "json" ? p.responseText : p.response,
|
|
1049
1049
|
status: p.status,
|
|
1050
1050
|
statusText: p.statusText,
|
|
@@ -1056,7 +1056,7 @@ const ht = (e) => {
|
|
|
1056
1056
|
n(F), y();
|
|
1057
1057
|
}, function(F) {
|
|
1058
1058
|
r(F), y();
|
|
1059
|
-
},
|
|
1059
|
+
}, A), p = null;
|
|
1060
1060
|
}
|
|
1061
1061
|
"onloadend" in p ? p.onloadend = w : p.onreadystatechange = function() {
|
|
1062
1062
|
!p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(w);
|
|
@@ -1066,26 +1066,26 @@ const ht = (e) => {
|
|
|
1066
1066
|
r(new m("Network Error", m.ERR_NETWORK, e, p)), p = null;
|
|
1067
1067
|
}, p.ontimeout = function() {
|
|
1068
1068
|
let N = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
1069
|
-
const
|
|
1069
|
+
const A = s.transitional || ct;
|
|
1070
1070
|
s.timeoutErrorMessage && (N = s.timeoutErrorMessage), r(new m(
|
|
1071
1071
|
N,
|
|
1072
|
-
|
|
1072
|
+
A.clarifyTimeoutError ? m.ETIMEDOUT : m.ECONNABORTED,
|
|
1073
1073
|
e,
|
|
1074
1074
|
p
|
|
1075
1075
|
)), p = null;
|
|
1076
|
-
}, o === void 0 && i.setContentType(null), "setRequestHeader" in p && a.forEach(i.toJSON(), function(N,
|
|
1077
|
-
p.setRequestHeader(
|
|
1076
|
+
}, o === void 0 && i.setContentType(null), "setRequestHeader" in p && a.forEach(i.toJSON(), function(N, A) {
|
|
1077
|
+
p.setRequestHeader(A, N);
|
|
1078
1078
|
}), a.isUndefined(s.withCredentials) || (p.withCredentials = !!s.withCredentials), c && c !== "json" && (p.responseType = s.responseType), u && ([g, h] = Z(u, !0), p.addEventListener("progress", g)), l && p.upload && ([d, E] = Z(l), p.upload.addEventListener("progress", d), p.upload.addEventListener("loadend", E)), (s.cancelToken || s.signal) && (f = (C) => {
|
|
1079
1079
|
p && (r(!C || C.type ? new H(null, e, p) : C), p.abort(), p = null);
|
|
1080
1080
|
}, s.cancelToken && s.cancelToken.subscribe(f), s.signal && (s.signal.aborted ? f() : s.signal.addEventListener("abort", f)));
|
|
1081
1081
|
const S = Dn(s.url);
|
|
1082
|
-
if (S &&
|
|
1082
|
+
if (S && T.protocols.indexOf(S) === -1) {
|
|
1083
1083
|
r(new m("Unsupported protocol " + S + ":", m.ERR_BAD_REQUEST, e));
|
|
1084
1084
|
return;
|
|
1085
1085
|
}
|
|
1086
1086
|
p.send(o || null);
|
|
1087
1087
|
});
|
|
1088
|
-
},
|
|
1088
|
+
}, Mn = (e, t) => {
|
|
1089
1089
|
const { length: n } = e = e ? e.filter(Boolean) : [];
|
|
1090
1090
|
if (t || n) {
|
|
1091
1091
|
let r = new AbortController(), s;
|
|
@@ -1108,7 +1108,7 @@ const ht = (e) => {
|
|
|
1108
1108
|
const { signal: l } = r;
|
|
1109
1109
|
return l.unsubscribe = () => a.asap(c), l;
|
|
1110
1110
|
}
|
|
1111
|
-
},
|
|
1111
|
+
}, $n = function* (e, t) {
|
|
1112
1112
|
let n = e.byteLength;
|
|
1113
1113
|
if (n < t) {
|
|
1114
1114
|
yield e;
|
|
@@ -1117,10 +1117,10 @@ const ht = (e) => {
|
|
|
1117
1117
|
let r = 0, s;
|
|
1118
1118
|
for (; r < n; )
|
|
1119
1119
|
s = r + t, yield e.slice(r, s), r = s;
|
|
1120
|
-
},
|
|
1121
|
-
for await (const n of
|
|
1122
|
-
yield*
|
|
1123
|
-
},
|
|
1120
|
+
}, zn = async function* (e, t) {
|
|
1121
|
+
for await (const n of Vn(e))
|
|
1122
|
+
yield* $n(n, t);
|
|
1123
|
+
}, Vn = async function* (e) {
|
|
1124
1124
|
if (e[Symbol.asyncIterator]) {
|
|
1125
1125
|
yield* e;
|
|
1126
1126
|
return;
|
|
@@ -1137,7 +1137,7 @@ const ht = (e) => {
|
|
|
1137
1137
|
await t.cancel();
|
|
1138
1138
|
}
|
|
1139
1139
|
}, qe = (e, t, n, r) => {
|
|
1140
|
-
const s =
|
|
1140
|
+
const s = zn(e, t);
|
|
1141
1141
|
let o = 0, i, c = (l) => {
|
|
1142
1142
|
i || (i = !0, r && r(l));
|
|
1143
1143
|
};
|
|
@@ -1165,15 +1165,15 @@ const ht = (e) => {
|
|
|
1165
1165
|
}, {
|
|
1166
1166
|
highWaterMark: 2
|
|
1167
1167
|
});
|
|
1168
|
-
}, oe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", pt = oe && typeof ReadableStream == "function",
|
|
1168
|
+
}, oe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", pt = oe && typeof ReadableStream == "function", Kn = oe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), mt = (e, ...t) => {
|
|
1169
1169
|
try {
|
|
1170
1170
|
return !!e(...t);
|
|
1171
1171
|
} catch {
|
|
1172
1172
|
return !1;
|
|
1173
1173
|
}
|
|
1174
|
-
},
|
|
1174
|
+
}, Jn = pt && mt(() => {
|
|
1175
1175
|
let e = !1;
|
|
1176
|
-
const t = new Request(
|
|
1176
|
+
const t = new Request(T.origin, {
|
|
1177
1177
|
body: new ReadableStream(),
|
|
1178
1178
|
method: "POST",
|
|
1179
1179
|
get duplex() {
|
|
@@ -1197,14 +1197,14 @@ const Wn = async (e) => {
|
|
|
1197
1197
|
if (a.isBlob(e))
|
|
1198
1198
|
return e.size;
|
|
1199
1199
|
if (a.isSpecCompliantForm(e))
|
|
1200
|
-
return (await new Request(
|
|
1200
|
+
return (await new Request(T.origin, {
|
|
1201
1201
|
method: "POST",
|
|
1202
1202
|
body: e
|
|
1203
1203
|
}).arrayBuffer()).byteLength;
|
|
1204
1204
|
if (a.isArrayBufferView(e) || a.isArrayBuffer(e))
|
|
1205
1205
|
return e.byteLength;
|
|
1206
1206
|
if (a.isURLSearchParams(e) && (e = e + ""), a.isString(e))
|
|
1207
|
-
return (await
|
|
1207
|
+
return (await Kn(e)).byteLength;
|
|
1208
1208
|
}, Qn = async (e, t) => {
|
|
1209
1209
|
const n = a.toFiniteNumber(e.getContentLength());
|
|
1210
1210
|
return n ?? Wn(t);
|
|
@@ -1224,24 +1224,24 @@ const Wn = async (e) => {
|
|
|
1224
1224
|
fetchOptions: g
|
|
1225
1225
|
} = ht(e);
|
|
1226
1226
|
u = u ? (u + "").toLowerCase() : "text";
|
|
1227
|
-
let E =
|
|
1227
|
+
let E = Mn([s, o && o.toAbortSignal()], i), h;
|
|
1228
1228
|
const y = E && E.unsubscribe && (() => {
|
|
1229
1229
|
E.unsubscribe();
|
|
1230
1230
|
});
|
|
1231
1231
|
let p;
|
|
1232
1232
|
try {
|
|
1233
|
-
if (l &&
|
|
1234
|
-
let
|
|
1233
|
+
if (l && Jn && n !== "get" && n !== "head" && (p = await Qn(f, r)) !== 0) {
|
|
1234
|
+
let A = new Request(t, {
|
|
1235
1235
|
method: "POST",
|
|
1236
1236
|
body: r,
|
|
1237
1237
|
duplex: "half"
|
|
1238
1238
|
}), U;
|
|
1239
|
-
if (a.isFormData(r) && (U =
|
|
1239
|
+
if (a.isFormData(r) && (U = A.headers.get("content-type")) && f.setContentType(U), A.body) {
|
|
1240
1240
|
const [F, Q] = Be(
|
|
1241
1241
|
p,
|
|
1242
1242
|
Z(ke(l))
|
|
1243
1243
|
);
|
|
1244
|
-
r = qe(
|
|
1244
|
+
r = qe(A.body, Ie, F, Q);
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
a.isString(d) || (d = d ? "include" : "omit");
|
|
@@ -1258,9 +1258,9 @@ const Wn = async (e) => {
|
|
|
1258
1258
|
let S = await fetch(h);
|
|
1259
1259
|
const C = me && (u === "stream" || u === "response");
|
|
1260
1260
|
if (me && (c || C && y)) {
|
|
1261
|
-
const
|
|
1261
|
+
const A = {};
|
|
1262
1262
|
["status", "statusText", "headers"].forEach((_e) => {
|
|
1263
|
-
|
|
1263
|
+
A[_e] = S[_e];
|
|
1264
1264
|
});
|
|
1265
1265
|
const U = a.toFiniteNumber(S.headers.get("content-length")), [F, Q] = c && Be(
|
|
1266
1266
|
U,
|
|
@@ -1270,13 +1270,13 @@ const Wn = async (e) => {
|
|
|
1270
1270
|
qe(S.body, Ie, F, () => {
|
|
1271
1271
|
Q && Q(), y && y();
|
|
1272
1272
|
}),
|
|
1273
|
-
|
|
1273
|
+
A
|
|
1274
1274
|
);
|
|
1275
1275
|
}
|
|
1276
1276
|
u = u || "text";
|
|
1277
1277
|
let N = await ee[a.findKey(ee, u) || "text"](S, e);
|
|
1278
|
-
return !C && y && y(), await new Promise((
|
|
1279
|
-
ft(
|
|
1278
|
+
return !C && y && y(), await new Promise((A, U) => {
|
|
1279
|
+
ft(A, U, {
|
|
1280
1280
|
data: N,
|
|
1281
1281
|
headers: P.from(S.headers),
|
|
1282
1282
|
status: S.status,
|
|
@@ -1366,7 +1366,7 @@ const gt = "1.7.7", Re = {};
|
|
|
1366
1366
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1367
1367
|
};
|
|
1368
1368
|
});
|
|
1369
|
-
const
|
|
1369
|
+
const Me = {};
|
|
1370
1370
|
Re.transitional = function(t, n, r) {
|
|
1371
1371
|
function s(o, i) {
|
|
1372
1372
|
return "[Axios v" + gt + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
|
|
@@ -1377,7 +1377,7 @@ Re.transitional = function(t, n, r) {
|
|
|
1377
1377
|
s(i, " has been removed" + (n ? " in " + n : "")),
|
|
1378
1378
|
m.ERR_DEPRECATED
|
|
1379
1379
|
);
|
|
1380
|
-
return n &&
|
|
1380
|
+
return n && !Me[i] && (Me[i] = !0, console.warn(
|
|
1381
1381
|
s(
|
|
1382
1382
|
i,
|
|
1383
1383
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
@@ -1703,45 +1703,45 @@ b.getAdapter = yt.getAdapter;
|
|
|
1703
1703
|
b.HttpStatusCode = we;
|
|
1704
1704
|
b.default = b;
|
|
1705
1705
|
const {
|
|
1706
|
-
Axios:
|
|
1706
|
+
Axios: Xr,
|
|
1707
1707
|
AxiosError: G,
|
|
1708
|
-
CanceledError:
|
|
1709
|
-
isCancel:
|
|
1710
|
-
CancelToken:
|
|
1711
|
-
VERSION:
|
|
1712
|
-
all:
|
|
1713
|
-
Cancel:
|
|
1714
|
-
isAxiosError:
|
|
1715
|
-
spread:
|
|
1716
|
-
toFormData:
|
|
1717
|
-
AxiosHeaders:
|
|
1718
|
-
HttpStatusCode:
|
|
1719
|
-
formToJSON:
|
|
1720
|
-
getAdapter:
|
|
1721
|
-
mergeConfig:
|
|
1708
|
+
CanceledError: Yr,
|
|
1709
|
+
isCancel: Zr,
|
|
1710
|
+
CancelToken: es,
|
|
1711
|
+
VERSION: ts,
|
|
1712
|
+
all: ns,
|
|
1713
|
+
Cancel: rs,
|
|
1714
|
+
isAxiosError: ss,
|
|
1715
|
+
spread: os,
|
|
1716
|
+
toFormData: is,
|
|
1717
|
+
AxiosHeaders: as,
|
|
1718
|
+
HttpStatusCode: cs,
|
|
1719
|
+
formToJSON: us,
|
|
1720
|
+
getAdapter: ls,
|
|
1721
|
+
mergeConfig: fs
|
|
1722
1722
|
} = b;
|
|
1723
|
-
class
|
|
1723
|
+
class $e extends Error {
|
|
1724
1724
|
constructor(n) {
|
|
1725
1725
|
super(n.join(", "));
|
|
1726
1726
|
R(this, "errors");
|
|
1727
1727
|
this.name = "ValidationError", this.errors = n;
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
|
-
class
|
|
1730
|
+
class ze extends Error {
|
|
1731
1731
|
constructor(n) {
|
|
1732
1732
|
super("Address already registered.");
|
|
1733
1733
|
R(this, "address");
|
|
1734
1734
|
this.name = "AddressInUseError", this.address = n;
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
|
-
class
|
|
1737
|
+
class Ve extends Error {
|
|
1738
1738
|
constructor(n) {
|
|
1739
1739
|
super("Code already registered.");
|
|
1740
1740
|
R(this, "code");
|
|
1741
1741
|
this.name = "CodeInUseError", this.code = n;
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
|
-
class
|
|
1744
|
+
class Ke extends Error {
|
|
1745
1745
|
constructor() {
|
|
1746
1746
|
super("Invalid signature provided"), this.name = "InvalidSignatureError";
|
|
1747
1747
|
}
|
|
@@ -1771,9 +1771,9 @@ class nr {
|
|
|
1771
1771
|
const l = (i = c.response) == null ? void 0 : i.data;
|
|
1772
1772
|
if (typeof (l == null ? void 0 : l.message) == "string") {
|
|
1773
1773
|
const u = l.message.toLowerCase();
|
|
1774
|
-
throw u == "invalid signature" ? new
|
|
1774
|
+
throw u == "invalid signature" ? new Ke() : u == "address in use" ? new ze(t) : u == "code in use" ? new Ve(r) : new Error(u);
|
|
1775
1775
|
} else if ((l == null ? void 0 : l.message) instanceof Array)
|
|
1776
|
-
throw new
|
|
1776
|
+
throw new $e(l.message);
|
|
1777
1777
|
}
|
|
1778
1778
|
throw c;
|
|
1779
1779
|
}
|
|
@@ -1796,9 +1796,9 @@ class nr {
|
|
|
1796
1796
|
const l = (i = c.response) == null ? void 0 : i.data;
|
|
1797
1797
|
if (typeof (l == null ? void 0 : l.message) == "string") {
|
|
1798
1798
|
const u = l.message.toLowerCase();
|
|
1799
|
-
throw u == "invalid signature" ? new
|
|
1799
|
+
throw u == "invalid signature" ? new Ke() : u == "address in use" ? new ze(t) : u == "code in use" ? new Ve(r) : new Error(u);
|
|
1800
1800
|
} else if ((l == null ? void 0 : l.message) instanceof Array)
|
|
1801
|
-
throw new
|
|
1801
|
+
throw new $e(l.message);
|
|
1802
1802
|
}
|
|
1803
1803
|
throw c;
|
|
1804
1804
|
}
|
|
@@ -1848,7 +1848,7 @@ class or {
|
|
|
1848
1848
|
return n;
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
|
-
const
|
|
1851
|
+
const Je = "fuul.sent", ir = 60;
|
|
1852
1852
|
class ar {
|
|
1853
1853
|
constructor(t) {
|
|
1854
1854
|
R(this, "debug");
|
|
@@ -1870,7 +1870,7 @@ class ar {
|
|
|
1870
1870
|
this.debug && console.debug(`Fuul SDK: Sent '${t.name}' event`), this.saveSentEvent(t);
|
|
1871
1871
|
}
|
|
1872
1872
|
isDuplicate(t) {
|
|
1873
|
-
const n = `${
|
|
1873
|
+
const n = `${Je}_${t.name}`, r = localStorage.getItem(n);
|
|
1874
1874
|
if (!r)
|
|
1875
1875
|
return !1;
|
|
1876
1876
|
const s = JSON.parse(r);
|
|
@@ -1885,11 +1885,11 @@ class ar {
|
|
|
1885
1885
|
return Date.now() / 1e3;
|
|
1886
1886
|
}
|
|
1887
1887
|
saveSentEvent(t) {
|
|
1888
|
-
const n = `${
|
|
1888
|
+
const n = `${Je}_${t.name}`, r = this.getCurrentTimestamp(), s = { ...t, timestamp: r };
|
|
1889
1889
|
localStorage.setItem(n, JSON.stringify(s));
|
|
1890
1890
|
}
|
|
1891
1891
|
}
|
|
1892
|
-
const cr = "
|
|
1892
|
+
const cr = "6.0.1", ur = {
|
|
1893
1893
|
version: cr
|
|
1894
1894
|
};
|
|
1895
1895
|
class lr {
|
|
@@ -1962,7 +1962,7 @@ class fr {
|
|
|
1962
1962
|
})).data;
|
|
1963
1963
|
}
|
|
1964
1964
|
}
|
|
1965
|
-
const
|
|
1965
|
+
const V = "/payouts";
|
|
1966
1966
|
class dr {
|
|
1967
1967
|
constructor(t) {
|
|
1968
1968
|
R(this, "httpClient");
|
|
@@ -1971,37 +1971,37 @@ class dr {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
async getUserPayoutsByConversion(t) {
|
|
1973
1973
|
return (await this.httpClient.get({
|
|
1974
|
-
path:
|
|
1974
|
+
path: V,
|
|
1975
1975
|
queryParams: { ...t, type: "onchain-currency" }
|
|
1976
1976
|
})).data;
|
|
1977
1977
|
}
|
|
1978
1978
|
async getUserPointsByConversion(t) {
|
|
1979
1979
|
return (await this.httpClient.get({
|
|
1980
|
-
path:
|
|
1980
|
+
path: V,
|
|
1981
1981
|
queryParams: { ...t, type: "point" }
|
|
1982
1982
|
})).data;
|
|
1983
1983
|
}
|
|
1984
1984
|
async getUserPayoutMovements(t) {
|
|
1985
1985
|
return (await this.httpClient.get({
|
|
1986
|
-
path: `${
|
|
1986
|
+
path: `${V}/movements`,
|
|
1987
1987
|
queryParams: { ...t, type: "onchain-currency" }
|
|
1988
1988
|
})).data;
|
|
1989
1989
|
}
|
|
1990
1990
|
async getUserPointsMovements(t) {
|
|
1991
1991
|
return (await this.httpClient.get({
|
|
1992
|
-
path: `${
|
|
1992
|
+
path: `${V}/movements`,
|
|
1993
1993
|
queryParams: { ...t, type: "point" }
|
|
1994
1994
|
})).data;
|
|
1995
1995
|
}
|
|
1996
1996
|
async getVolumeLeaderboard(t) {
|
|
1997
1997
|
return (await this.httpClient.get({
|
|
1998
|
-
path: `${
|
|
1998
|
+
path: `${V}/leaderboard/volume`,
|
|
1999
1999
|
queryParams: { ...t }
|
|
2000
2000
|
})).data;
|
|
2001
2001
|
}
|
|
2002
2002
|
}
|
|
2003
2003
|
let hr = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, n) => (n &= 63, n < 36 ? t += n.toString(36) : n < 62 ? t += (n - 26).toString(36).toUpperCase() : n > 62 ? t += "-" : t += "_", t), "");
|
|
2004
|
-
const pr = "fuul.tracking_id",
|
|
2004
|
+
const pr = "fuul.tracking_id", Ae = () => Er(pr, () => hr()), We = () => I("af") || I("referrer"), mr = () => document.referrer, yr = () => Sr(), gr = () => I("category"), wr = () => I("title"), br = () => I("tag"), Er = (e, t) => {
|
|
2005
2005
|
const n = localStorage.getItem(e);
|
|
2006
2006
|
if (n)
|
|
2007
2007
|
return n;
|
|
@@ -2023,10 +2023,10 @@ class Rr {
|
|
|
2023
2023
|
return (await this.httpClient.get({ path: Cr, queryParams: { ...t } })).data.affiliates;
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
|
-
const
|
|
2027
|
-
let B = !1, be = !1,
|
|
2028
|
-
function
|
|
2029
|
-
B = !!e.debug, !be && (
|
|
2026
|
+
const Ar = "https://api.fuul.xyz/api/v1/";
|
|
2027
|
+
let B = !1, be = !1, Te, D, Et, St, M, ie, $, Ct, ae;
|
|
2028
|
+
function Tr(e) {
|
|
2029
|
+
B = !!e.debug, !be && (Te = e.apiKey, Vr(), D = Kr(e.baseApiUrl ?? Ar, e.defaultQueryParams ?? {}), Et = new or({ httpClient: D, debug: B }), ie = new ar({ httpClient: D, debug: B }), M = new nr({ httpClient: D, debug: B }), $ = new dr({ httpClient: D, debug: B }), St = new Rr({ httpClient: D }), Ct = new sr({ httpClient: D, debug: B }), ae = new fr({ httpClient: D }), be = !0, B && console.debug("Fuul SDK: init() complete"));
|
|
2030
2030
|
}
|
|
2031
2031
|
function x() {
|
|
2032
2032
|
if (!be)
|
|
@@ -2038,7 +2038,7 @@ async function Pr(e, t) {
|
|
|
2038
2038
|
name: e,
|
|
2039
2039
|
args: t ?? {},
|
|
2040
2040
|
metadata: {
|
|
2041
|
-
tracking_id:
|
|
2041
|
+
tracking_id: Ae()
|
|
2042
2042
|
}
|
|
2043
2043
|
};
|
|
2044
2044
|
await ie.sendEvent(n);
|
|
@@ -2052,7 +2052,7 @@ async function Or(e, t) {
|
|
|
2052
2052
|
locationOrigin: document.location.origin
|
|
2053
2053
|
},
|
|
2054
2054
|
metadata: {
|
|
2055
|
-
tracking_id:
|
|
2055
|
+
tracking_id: Ae(),
|
|
2056
2056
|
referrer_url: mr(),
|
|
2057
2057
|
source: yr(),
|
|
2058
2058
|
affiliate_id: We() ?? void 0,
|
|
@@ -2068,31 +2068,33 @@ async function _r(e, t) {
|
|
|
2068
2068
|
x(), Pe(), Oe();
|
|
2069
2069
|
const n = {
|
|
2070
2070
|
name: "connect_wallet",
|
|
2071
|
+
user_address: e.address,
|
|
2072
|
+
blockchain: e.blockchain,
|
|
2071
2073
|
args: {
|
|
2072
2074
|
page: document.location.pathname,
|
|
2073
2075
|
locationOrigin: document.location.origin
|
|
2074
2076
|
},
|
|
2075
2077
|
metadata: {
|
|
2076
|
-
tracking_id:
|
|
2078
|
+
tracking_id: Ae()
|
|
2077
2079
|
}
|
|
2078
2080
|
};
|
|
2079
|
-
e != null && e.
|
|
2081
|
+
e != null && e.signature && (n.signature = e == null ? void 0 : e.signature, n.signature_message = e == null ? void 0 : e.message), e != null && e.accountChainId && (n.account_chain_id = e.accountChainId), await ie.sendEvent(n, t);
|
|
2080
2082
|
}
|
|
2081
2083
|
async function xr(e) {
|
|
2082
|
-
x(), await
|
|
2084
|
+
x(), await M.create(e.address, e.blockchain, e.code, e.signature, e.accountChainId);
|
|
2083
2085
|
}
|
|
2084
2086
|
async function Nr(e) {
|
|
2085
|
-
x(), await
|
|
2087
|
+
x(), await M.update(e.address, e.blockchain, e.code, e.signature, e.accountChainId);
|
|
2086
2088
|
}
|
|
2087
2089
|
async function Ur(e, t) {
|
|
2088
|
-
return x(), await
|
|
2090
|
+
return x(), await M.getCode(e, t);
|
|
2089
2091
|
}
|
|
2090
2092
|
async function Lr(e) {
|
|
2091
|
-
return x(), await
|
|
2093
|
+
return x(), await M.isCodeFree(e);
|
|
2092
2094
|
}
|
|
2093
2095
|
async function Dr(e, t, n, r) {
|
|
2094
2096
|
x();
|
|
2095
|
-
const s = await
|
|
2097
|
+
const s = await M.getCode(t, n), o = new URLSearchParams({
|
|
2096
2098
|
af: s ?? t
|
|
2097
2099
|
});
|
|
2098
2100
|
return r != null && r.title && o.append("af_title", r.title), r != null && r.format && o.append("af_format", r.format), r != null && r.place && o.append("af_place", r.place), `${e}?${o.toString()}`;
|
|
@@ -2107,27 +2109,27 @@ function kr(e) {
|
|
|
2107
2109
|
return ae.getReferredUsersLeaderboard(e);
|
|
2108
2110
|
}
|
|
2109
2111
|
function vr(e) {
|
|
2110
|
-
return
|
|
2112
|
+
return $.getVolumeLeaderboard(e);
|
|
2111
2113
|
}
|
|
2112
2114
|
function qr(e) {
|
|
2113
|
-
return
|
|
2115
|
+
return $.getUserPayoutsByConversion(e);
|
|
2114
2116
|
}
|
|
2115
2117
|
function Ir(e) {
|
|
2116
|
-
return
|
|
2118
|
+
return $.getUserPointsByConversion(e);
|
|
2117
2119
|
}
|
|
2118
2120
|
function jr(e) {
|
|
2119
|
-
return
|
|
2121
|
+
return $.getUserPayoutMovements(e);
|
|
2120
2122
|
}
|
|
2121
2123
|
function Hr(e) {
|
|
2122
|
-
return
|
|
2124
|
+
return $.getUserPointsMovements(e);
|
|
2123
2125
|
}
|
|
2124
|
-
async function
|
|
2126
|
+
async function Mr(e) {
|
|
2125
2127
|
return x(), Et.getAll(e);
|
|
2126
2128
|
}
|
|
2127
|
-
async function
|
|
2129
|
+
async function $r(e) {
|
|
2128
2130
|
return x(), St.getUserAffiliates(e);
|
|
2129
2131
|
}
|
|
2130
|
-
async function
|
|
2132
|
+
async function zr(e) {
|
|
2131
2133
|
return x(), Ct.getUserAudiences(e);
|
|
2132
2134
|
}
|
|
2133
2135
|
function Pe() {
|
|
@@ -2138,25 +2140,25 @@ function Oe() {
|
|
|
2138
2140
|
if (navigator.webdriver)
|
|
2139
2141
|
throw new Error("Fuul SDK: You are using a browser automation tool");
|
|
2140
2142
|
}
|
|
2141
|
-
function
|
|
2142
|
-
if (!
|
|
2143
|
+
function Vr() {
|
|
2144
|
+
if (!Te)
|
|
2143
2145
|
throw new Error("Fuul SDK: Invalid API key");
|
|
2144
2146
|
}
|
|
2145
|
-
function
|
|
2147
|
+
function Kr(e, t) {
|
|
2146
2148
|
return new lr({
|
|
2147
2149
|
baseURL: e,
|
|
2148
2150
|
timeout: 3e4,
|
|
2149
|
-
apiKey:
|
|
2151
|
+
apiKey: Te,
|
|
2150
2152
|
queryParams: t
|
|
2151
2153
|
});
|
|
2152
2154
|
}
|
|
2153
|
-
const
|
|
2154
|
-
init:
|
|
2155
|
+
const ds = {
|
|
2156
|
+
init: Tr,
|
|
2155
2157
|
sendEvent: Pr,
|
|
2156
2158
|
sendPageview: Or,
|
|
2157
2159
|
sendConnectWallet: _r,
|
|
2158
2160
|
generateTrackingLink: Dr,
|
|
2159
|
-
getConversions:
|
|
2161
|
+
getConversions: Mr,
|
|
2160
2162
|
createAffiliateCode: xr,
|
|
2161
2163
|
updateAffiliateCode: Nr,
|
|
2162
2164
|
getAffiliateCode: Ur,
|
|
@@ -2164,18 +2166,20 @@ const fs = {
|
|
|
2164
2166
|
getPayoutsLeaderboard: Fr,
|
|
2165
2167
|
getPointsLeaderboard: Br,
|
|
2166
2168
|
getReferredUsersLeaderboard: kr,
|
|
2167
|
-
getUserAudiences:
|
|
2169
|
+
getUserAudiences: zr,
|
|
2168
2170
|
getUserPayoutsByConversion: qr,
|
|
2169
2171
|
getUserPointsByConversion: Ir,
|
|
2170
2172
|
getUserPointsMovements: Hr,
|
|
2171
2173
|
getUserPayoutMovements: jr,
|
|
2172
|
-
getUserAffiliates:
|
|
2174
|
+
getUserAffiliates: $r,
|
|
2173
2175
|
getVolumeLeaderboard: vr
|
|
2174
2176
|
};
|
|
2177
|
+
var Jr = /* @__PURE__ */ ((e) => (e.Ethereum = "ethereum", e.Solana = "solana", e))(Jr || {});
|
|
2175
2178
|
export {
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2179
|
+
ze as AddressInUseError,
|
|
2180
|
+
Jr as BlockchainType,
|
|
2181
|
+
Ve as CodeInUseError,
|
|
2182
|
+
ds as Fuul,
|
|
2183
|
+
Ke as InvalidSignatureError,
|
|
2184
|
+
$e as ValidationError
|
|
2181
2185
|
};
|