@stonecrop/graphql-client 0.4.34 → 0.4.36
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/graphql-client.js
CHANGED
|
@@ -499,7 +499,7 @@ function qt(e, t) {
|
|
|
499
499
|
}
|
|
500
500
|
return e.precision -= n, t;
|
|
501
501
|
}
|
|
502
|
-
var R = /* @__PURE__ */ function() {
|
|
502
|
+
var R = /* @__PURE__ */ (function() {
|
|
503
503
|
function e(i, r, s) {
|
|
504
504
|
var o, a = 0, u = i.length;
|
|
505
505
|
for (i = i.slice(); u--; )
|
|
@@ -559,7 +559,7 @@ var R = /* @__PURE__ */ function() {
|
|
|
559
559
|
}
|
|
560
560
|
return O;
|
|
561
561
|
};
|
|
562
|
-
}();
|
|
562
|
+
})();
|
|
563
563
|
function v(e, t, n, i) {
|
|
564
564
|
var r, s, o, a, u, c, l, f, d, y = e.constructor;
|
|
565
565
|
e: if (t != null) {
|
|
@@ -3655,26 +3655,26 @@ function Ti(e) {
|
|
|
3655
3655
|
}
|
|
3656
3656
|
var Ae = { exports: {} }, lt;
|
|
3657
3657
|
function Ai() {
|
|
3658
|
-
return lt || (lt = 1, function(e, t) {
|
|
3659
|
-
var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof Te < "u" && Te, i = function() {
|
|
3658
|
+
return lt || (lt = 1, (function(e, t) {
|
|
3659
|
+
var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof Te < "u" && Te, i = (function() {
|
|
3660
3660
|
function s() {
|
|
3661
3661
|
this.fetch = !1, this.DOMException = n.DOMException;
|
|
3662
3662
|
}
|
|
3663
3663
|
return s.prototype = n, new s();
|
|
3664
|
-
}();
|
|
3664
|
+
})();
|
|
3665
3665
|
(function(s) {
|
|
3666
3666
|
(function(o) {
|
|
3667
3667
|
var a = typeof s < "u" && s || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
3668
3668
|
typeof Te < "u" && Te || {}, u = {
|
|
3669
3669
|
searchParams: "URLSearchParams" in a,
|
|
3670
3670
|
iterable: "Symbol" in a && "iterator" in Symbol,
|
|
3671
|
-
blob: "FileReader" in a && "Blob" in a && function() {
|
|
3671
|
+
blob: "FileReader" in a && "Blob" in a && (function() {
|
|
3672
3672
|
try {
|
|
3673
3673
|
return new Blob(), !0;
|
|
3674
3674
|
} catch {
|
|
3675
3675
|
return !1;
|
|
3676
3676
|
}
|
|
3677
|
-
}(),
|
|
3677
|
+
})(),
|
|
3678
3678
|
formData: "FormData" in a,
|
|
3679
3679
|
arrayBuffer: "ArrayBuffer" in a
|
|
3680
3680
|
};
|
|
@@ -3852,12 +3852,12 @@ function Ai() {
|
|
|
3852
3852
|
this.url = h.url, this.credentials = h.credentials, p.headers || (this.headers = new E(h.headers)), this.method = h.method, this.mode = h.mode, this.signal = h.signal, !_ && h._bodyInit != null && (_ = h._bodyInit, h.bodyUsed = !0);
|
|
3853
3853
|
} else
|
|
3854
3854
|
this.url = String(h);
|
|
3855
|
-
if (this.credentials = p.credentials || this.credentials || "same-origin", (p.headers || !this.headers) && (this.headers = new E(p.headers)), this.method = ae(p.method || this.method || "GET"), this.mode = p.mode || this.mode || null, this.signal = p.signal || this.signal || function() {
|
|
3855
|
+
if (this.credentials = p.credentials || this.credentials || "same-origin", (p.headers || !this.headers) && (this.headers = new E(p.headers)), this.method = ae(p.method || this.method || "GET"), this.mode = p.mode || this.mode || null, this.signal = p.signal || this.signal || (function() {
|
|
3856
3856
|
if ("AbortController" in a) {
|
|
3857
3857
|
var S = new AbortController();
|
|
3858
3858
|
return S.signal;
|
|
3859
3859
|
}
|
|
3860
|
-
}(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && _)
|
|
3860
|
+
})(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && _)
|
|
3861
3861
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
3862
3862
|
if (this._initBody(_), (this.method === "GET" || this.method === "HEAD") && (p.cache === "no-store" || p.cache === "no-cache")) {
|
|
3863
3863
|
var k = /([?&])_=[^&]*/;
|
|
@@ -3992,7 +3992,7 @@ function Ai() {
|
|
|
3992
3992
|
})(i), i.fetch.ponyfill = !0, delete i.fetch.polyfill;
|
|
3993
3993
|
var r = n.fetch ? n : i;
|
|
3994
3994
|
t = r.fetch, t.default = r.fetch, t.fetch = r.fetch, t.Headers = r.Headers, t.Request = r.Request, t.Response = r.Response, e.exports = t;
|
|
3995
|
-
}(Ae, Ae.exports)), Ae.exports;
|
|
3995
|
+
})(Ae, Ae.exports)), Ae.exports;
|
|
3996
3996
|
}
|
|
3997
3997
|
var Ce = Ai();
|
|
3998
3998
|
const _e = /* @__PURE__ */ Ti(Ce), Ii = /* @__PURE__ */ Lt({
|