@kohost/api-client 3.4.6 → 3.6.0
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/cjs/schemas/definitions.json +1 -1
- package/dist/cjs/schemas/lock.json +7 -0
- package/dist/cjs/schemas/mediaSource.json +2 -1
- package/dist/esm/Client.js +136 -77
- package/dist/esm/Client.js.map +3 -3
- package/dist/esm/Models.js +10 -2
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/defs.js +136 -77
- package/dist/esm/defs.js.map +3 -3
- package/dist/esm/utils.js +10 -2
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/AlarmSchema.d.ts +1 -1
- package/dist/types/schemas/CameraSchema.d.ts +1 -1
- package/dist/types/schemas/CategorySchema.d.ts +1 -1
- package/dist/types/schemas/CourtesySchema.d.ts +1 -1
- package/dist/types/schemas/CredentialSchema.d.ts +1 -1
- package/dist/types/schemas/DimmerSchema.d.ts +1 -1
- package/dist/types/schemas/GatewaySchema.d.ts +1 -1
- package/dist/types/schemas/LockSchema.d.ts +2 -1
- package/dist/types/schemas/MediaSourceSchema.d.ts +2 -2
- package/dist/types/schemas/MotionSensorSchema.d.ts +1 -1
- package/dist/types/schemas/ProductSchema.d.ts +1 -1
- package/dist/types/schemas/ReservationSchema.d.ts +1 -1
- package/dist/types/schemas/RoomSchema.d.ts +12 -11
- package/dist/types/schemas/SpaceSchema.d.ts +1 -1
- package/dist/types/schemas/SwitchSchema.d.ts +1 -1
- package/dist/types/schemas/SystemUserSchema.d.ts +1 -1
- package/dist/types/schemas/ThermostatSchema.d.ts +1 -1
- package/dist/types/schemas/UserSchema.d.ts +1 -1
- package/dist/types/schemas/WindowCoveringSchema.d.ts +1 -1
- package/package.json +1 -1
package/dist/esm/defs.js
CHANGED
|
@@ -735,6 +735,26 @@ var require_axios = __commonJS({
|
|
|
735
735
|
}, "toJSONObject");
|
|
736
736
|
var isAsyncFn = kindOfTest("AsyncFunction");
|
|
737
737
|
var isThenable = /* @__PURE__ */ __name((thing) => thing && (isObject(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch), "isThenable");
|
|
738
|
+
var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
739
|
+
if (setImmediateSupported) {
|
|
740
|
+
return setImmediate;
|
|
741
|
+
}
|
|
742
|
+
return postMessageSupported ? ((token, callbacks) => {
|
|
743
|
+
_global.addEventListener("message", ({ source, data }) => {
|
|
744
|
+
if (source === _global && data === token) {
|
|
745
|
+
callbacks.length && callbacks.shift()();
|
|
746
|
+
}
|
|
747
|
+
}, false);
|
|
748
|
+
return (cb) => {
|
|
749
|
+
callbacks.push(cb);
|
|
750
|
+
_global.postMessage(token, "*");
|
|
751
|
+
};
|
|
752
|
+
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
753
|
+
})(
|
|
754
|
+
typeof setImmediate === "function",
|
|
755
|
+
isFunction(_global.postMessage)
|
|
756
|
+
);
|
|
757
|
+
var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
738
758
|
var utils$1 = {
|
|
739
759
|
isArray,
|
|
740
760
|
isArrayBuffer,
|
|
@@ -791,7 +811,9 @@ var require_axios = __commonJS({
|
|
|
791
811
|
isSpecCompliantForm,
|
|
792
812
|
toJSONObject,
|
|
793
813
|
isAsyncFn,
|
|
794
|
-
isThenable
|
|
814
|
+
isThenable,
|
|
815
|
+
setImmediate: _setImmediate,
|
|
816
|
+
asap
|
|
795
817
|
};
|
|
796
818
|
function AxiosError(message, code, config, request, response) {
|
|
797
819
|
Error.call(this);
|
|
@@ -805,7 +827,10 @@ var require_axios = __commonJS({
|
|
|
805
827
|
code && (this.code = code);
|
|
806
828
|
config && (this.config = config);
|
|
807
829
|
request && (this.request = request);
|
|
808
|
-
|
|
830
|
+
if (response) {
|
|
831
|
+
this.response = response;
|
|
832
|
+
this.status = response.status ? response.status : null;
|
|
833
|
+
}
|
|
809
834
|
}
|
|
810
835
|
__name(AxiosError, "AxiosError");
|
|
811
836
|
utils$1.inherits(AxiosError, Error, {
|
|
@@ -825,7 +850,7 @@ var require_axios = __commonJS({
|
|
|
825
850
|
// Axios
|
|
826
851
|
config: utils$1.toJSONObject(this.config),
|
|
827
852
|
code: this.code,
|
|
828
|
-
status: this.
|
|
853
|
+
status: this.status
|
|
829
854
|
};
|
|
830
855
|
}, "toJSON")
|
|
831
856
|
});
|
|
@@ -1122,9 +1147,8 @@ var require_axios = __commonJS({
|
|
|
1122
1147
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1123
1148
|
};
|
|
1124
1149
|
var hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
|
|
1125
|
-
var
|
|
1126
|
-
|
|
1127
|
-
})(typeof navigator !== "undefined" && navigator.product);
|
|
1150
|
+
var _navigator = typeof navigator === "object" && navigator || void 0;
|
|
1151
|
+
var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ["ReactNative", "NativeScript", "NS"].indexOf(_navigator.product) < 0);
|
|
1128
1152
|
var hasStandardBrowserWebWorkerEnv = (() => {
|
|
1129
1153
|
return typeof WorkerGlobalScope !== "undefined" && // eslint-disable-next-line no-undef
|
|
1130
1154
|
self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
@@ -1135,6 +1159,7 @@ var require_axios = __commonJS({
|
|
|
1135
1159
|
hasBrowserEnv,
|
|
1136
1160
|
hasStandardBrowserWebWorkerEnv,
|
|
1137
1161
|
hasStandardBrowserEnv,
|
|
1162
|
+
navigator: _navigator,
|
|
1138
1163
|
origin
|
|
1139
1164
|
});
|
|
1140
1165
|
var platform = {
|
|
@@ -1669,27 +1694,35 @@ var require_axios = __commonJS({
|
|
|
1669
1694
|
__name(speedometer, "speedometer");
|
|
1670
1695
|
function throttle(fn, freq) {
|
|
1671
1696
|
let timestamp = 0;
|
|
1672
|
-
|
|
1673
|
-
let
|
|
1674
|
-
|
|
1675
|
-
|
|
1697
|
+
let threshold = 1e3 / freq;
|
|
1698
|
+
let lastArgs;
|
|
1699
|
+
let timer;
|
|
1700
|
+
const invoke = /* @__PURE__ */ __name((args, now = Date.now()) => {
|
|
1701
|
+
timestamp = now;
|
|
1702
|
+
lastArgs = null;
|
|
1703
|
+
if (timer) {
|
|
1704
|
+
clearTimeout(timer);
|
|
1705
|
+
timer = null;
|
|
1706
|
+
}
|
|
1707
|
+
fn.apply(null, args);
|
|
1708
|
+
}, "invoke");
|
|
1709
|
+
const throttled = /* @__PURE__ */ __name((...args) => {
|
|
1676
1710
|
const now = Date.now();
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1711
|
+
const passed = now - timestamp;
|
|
1712
|
+
if (passed >= threshold) {
|
|
1713
|
+
invoke(args, now);
|
|
1714
|
+
} else {
|
|
1715
|
+
lastArgs = args;
|
|
1716
|
+
if (!timer) {
|
|
1717
|
+
timer = setTimeout(() => {
|
|
1718
|
+
timer = null;
|
|
1719
|
+
invoke(lastArgs);
|
|
1720
|
+
}, threshold - passed);
|
|
1681
1721
|
}
|
|
1682
|
-
timestamp = now;
|
|
1683
|
-
return fn.apply(null, arguments);
|
|
1684
|
-
}
|
|
1685
|
-
if (!timer) {
|
|
1686
|
-
timer = setTimeout(() => {
|
|
1687
|
-
timer = null;
|
|
1688
|
-
timestamp = Date.now();
|
|
1689
|
-
return fn.apply(null, arguments);
|
|
1690
|
-
}, threshold - (now - timestamp));
|
|
1691
1722
|
}
|
|
1692
1723
|
}, "throttled");
|
|
1724
|
+
const flush = /* @__PURE__ */ __name(() => lastArgs && invoke(lastArgs), "flush");
|
|
1725
|
+
return [throttled, flush];
|
|
1693
1726
|
}
|
|
1694
1727
|
__name(throttle, "throttle");
|
|
1695
1728
|
var progressEventReducer = /* @__PURE__ */ __name((listener, isDownloadStream, freq = 3) => {
|
|
@@ -1710,17 +1743,26 @@ var require_axios = __commonJS({
|
|
|
1710
1743
|
rate: rate ? rate : void 0,
|
|
1711
1744
|
estimated: rate && total && inRange ? (total - loaded) / rate : void 0,
|
|
1712
1745
|
event: e,
|
|
1713
|
-
lengthComputable: total != null
|
|
1746
|
+
lengthComputable: total != null,
|
|
1747
|
+
[isDownloadStream ? "download" : "upload"]: true
|
|
1714
1748
|
};
|
|
1715
|
-
data[isDownloadStream ? "download" : "upload"] = true;
|
|
1716
1749
|
listener(data);
|
|
1717
1750
|
}, freq);
|
|
1718
1751
|
}, "progressEventReducer");
|
|
1752
|
+
var progressEventDecorator = /* @__PURE__ */ __name((total, throttled) => {
|
|
1753
|
+
const lengthComputable = total != null;
|
|
1754
|
+
return [(loaded) => throttled[0]({
|
|
1755
|
+
lengthComputable,
|
|
1756
|
+
total,
|
|
1757
|
+
loaded
|
|
1758
|
+
}), throttled[1]];
|
|
1759
|
+
}, "progressEventDecorator");
|
|
1760
|
+
var asyncDecorator = /* @__PURE__ */ __name((fn) => (...args) => utils$1.asap(() => fn(...args)), "asyncDecorator");
|
|
1719
1761
|
var isURLSameOrigin = platform.hasStandardBrowserEnv ? (
|
|
1720
1762
|
// Standard browser envs have full support of the APIs needed to test
|
|
1721
1763
|
// whether the request URL is of the same origin as current location.
|
|
1722
1764
|
(/* @__PURE__ */ __name(function standardBrowserEnv() {
|
|
1723
|
-
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
1765
|
+
const msie = platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent);
|
|
1724
1766
|
const urlParsingNode = document.createElement("a");
|
|
1725
1767
|
let originURL;
|
|
1726
1768
|
function resolveURL(url) {
|
|
@@ -1923,15 +1965,15 @@ var require_axios = __commonJS({
|
|
|
1923
1965
|
const _config = resolveConfig(config);
|
|
1924
1966
|
let requestData = _config.data;
|
|
1925
1967
|
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
1926
|
-
let { responseType } = _config;
|
|
1968
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
1927
1969
|
let onCanceled;
|
|
1970
|
+
let uploadThrottled, downloadThrottled;
|
|
1971
|
+
let flushUpload, flushDownload;
|
|
1928
1972
|
function done() {
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
_config.signal.removeEventListener("abort", onCanceled);
|
|
1934
|
-
}
|
|
1973
|
+
flushUpload && flushUpload();
|
|
1974
|
+
flushDownload && flushDownload();
|
|
1975
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
1976
|
+
_config.signal && _config.signal.removeEventListener("abort", onCanceled);
|
|
1935
1977
|
}
|
|
1936
1978
|
__name(done, "done");
|
|
1937
1979
|
let request = new XMLHttpRequest();
|
|
@@ -1980,11 +2022,11 @@ var require_axios = __commonJS({
|
|
|
1980
2022
|
if (!request) {
|
|
1981
2023
|
return;
|
|
1982
2024
|
}
|
|
1983
|
-
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED,
|
|
2025
|
+
reject(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
|
|
1984
2026
|
request = null;
|
|
1985
2027
|
}, "handleAbort");
|
|
1986
2028
|
request.onerror = /* @__PURE__ */ __name(function handleError() {
|
|
1987
|
-
reject(new AxiosError("Network Error", AxiosError.ERR_NETWORK,
|
|
2029
|
+
reject(new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request));
|
|
1988
2030
|
request = null;
|
|
1989
2031
|
}, "handleError");
|
|
1990
2032
|
request.ontimeout = /* @__PURE__ */ __name(function handleTimeout() {
|
|
@@ -1996,7 +2038,7 @@ var require_axios = __commonJS({
|
|
|
1996
2038
|
reject(new AxiosError(
|
|
1997
2039
|
timeoutErrorMessage,
|
|
1998
2040
|
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
1999
|
-
|
|
2041
|
+
config,
|
|
2000
2042
|
request
|
|
2001
2043
|
));
|
|
2002
2044
|
request = null;
|
|
@@ -2013,11 +2055,14 @@ var require_axios = __commonJS({
|
|
|
2013
2055
|
if (responseType && responseType !== "json") {
|
|
2014
2056
|
request.responseType = _config.responseType;
|
|
2015
2057
|
}
|
|
2016
|
-
if (
|
|
2017
|
-
|
|
2058
|
+
if (onDownloadProgress) {
|
|
2059
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
2060
|
+
request.addEventListener("progress", downloadThrottled);
|
|
2018
2061
|
}
|
|
2019
|
-
if (
|
|
2020
|
-
|
|
2062
|
+
if (onUploadProgress && request.upload) {
|
|
2063
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
2064
|
+
request.upload.addEventListener("progress", uploadThrottled);
|
|
2065
|
+
request.upload.addEventListener("loadend", flushUpload);
|
|
2021
2066
|
}
|
|
2022
2067
|
if (_config.cancelToken || _config.signal) {
|
|
2023
2068
|
onCanceled = /* @__PURE__ */ __name((cancel) => {
|
|
@@ -2096,39 +2141,52 @@ var require_axios = __commonJS({
|
|
|
2096
2141
|
var trackStream = /* @__PURE__ */ __name((stream, chunkSize, onProgress, onFinish, encode2) => {
|
|
2097
2142
|
const iterator = readBytes(stream, chunkSize, encode2);
|
|
2098
2143
|
let bytes = 0;
|
|
2144
|
+
let done;
|
|
2145
|
+
let _onFinish = /* @__PURE__ */ __name((e) => {
|
|
2146
|
+
if (!done) {
|
|
2147
|
+
done = true;
|
|
2148
|
+
onFinish && onFinish(e);
|
|
2149
|
+
}
|
|
2150
|
+
}, "_onFinish");
|
|
2099
2151
|
return new ReadableStream({
|
|
2100
|
-
type: "bytes",
|
|
2101
2152
|
async pull(controller) {
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2153
|
+
try {
|
|
2154
|
+
const { done: done2, value } = await iterator.next();
|
|
2155
|
+
if (done2) {
|
|
2156
|
+
_onFinish();
|
|
2157
|
+
controller.close();
|
|
2158
|
+
return;
|
|
2159
|
+
}
|
|
2160
|
+
let len = value.byteLength;
|
|
2161
|
+
if (onProgress) {
|
|
2162
|
+
let loadedBytes = bytes += len;
|
|
2163
|
+
onProgress(loadedBytes);
|
|
2164
|
+
}
|
|
2165
|
+
controller.enqueue(new Uint8Array(value));
|
|
2166
|
+
} catch (err) {
|
|
2167
|
+
_onFinish(err);
|
|
2168
|
+
throw err;
|
|
2107
2169
|
}
|
|
2108
|
-
let len = value.byteLength;
|
|
2109
|
-
onProgress && onProgress(bytes += len);
|
|
2110
|
-
controller.enqueue(new Uint8Array(value));
|
|
2111
2170
|
},
|
|
2112
2171
|
cancel(reason) {
|
|
2113
|
-
|
|
2172
|
+
_onFinish(reason);
|
|
2114
2173
|
return iterator.return();
|
|
2115
2174
|
}
|
|
2116
2175
|
}, {
|
|
2117
2176
|
highWaterMark: 2
|
|
2118
2177
|
});
|
|
2119
2178
|
}, "trackStream");
|
|
2120
|
-
var fetchProgressDecorator = /* @__PURE__ */ __name((total, fn) => {
|
|
2121
|
-
const lengthComputable = total != null;
|
|
2122
|
-
return (loaded) => setTimeout(() => fn({
|
|
2123
|
-
lengthComputable,
|
|
2124
|
-
total,
|
|
2125
|
-
loaded
|
|
2126
|
-
}));
|
|
2127
|
-
}, "fetchProgressDecorator");
|
|
2128
2179
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
2129
2180
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
2130
2181
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
|
|
2131
|
-
var
|
|
2182
|
+
var test = /* @__PURE__ */ __name((fn, ...args) => {
|
|
2183
|
+
try {
|
|
2184
|
+
return !!fn(...args);
|
|
2185
|
+
} catch (e) {
|
|
2186
|
+
return false;
|
|
2187
|
+
}
|
|
2188
|
+
}, "test");
|
|
2189
|
+
var supportsRequestStream = isReadableStreamSupported && test(() => {
|
|
2132
2190
|
let duplexAccessed = false;
|
|
2133
2191
|
const hasContentType = new Request(platform.origin, {
|
|
2134
2192
|
body: new ReadableStream(),
|
|
@@ -2139,14 +2197,9 @@ var require_axios = __commonJS({
|
|
|
2139
2197
|
}
|
|
2140
2198
|
}).headers.has("Content-Type");
|
|
2141
2199
|
return duplexAccessed && !hasContentType;
|
|
2142
|
-
})
|
|
2200
|
+
});
|
|
2143
2201
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
2144
|
-
var supportsResponseStream = isReadableStreamSupported &&
|
|
2145
|
-
try {
|
|
2146
|
-
return utils$1.isReadableStream(new Response("").body);
|
|
2147
|
-
} catch (err) {
|
|
2148
|
-
}
|
|
2149
|
-
})();
|
|
2202
|
+
var supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
|
|
2150
2203
|
var resolvers = {
|
|
2151
2204
|
stream: supportsResponseStream && ((res) => res.body)
|
|
2152
2205
|
};
|
|
@@ -2167,7 +2220,7 @@ var require_axios = __commonJS({
|
|
|
2167
2220
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
2168
2221
|
return (await new Request(body).arrayBuffer()).byteLength;
|
|
2169
2222
|
}
|
|
2170
|
-
if (utils$1.isArrayBufferView(body)) {
|
|
2223
|
+
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
2171
2224
|
return body.byteLength;
|
|
2172
2225
|
}
|
|
2173
2226
|
if (utils$1.isURLSearchParams(body)) {
|
|
@@ -2218,15 +2271,17 @@ var require_axios = __commonJS({
|
|
|
2218
2271
|
headers.setContentType(contentTypeHeader);
|
|
2219
2272
|
}
|
|
2220
2273
|
if (_request.body) {
|
|
2221
|
-
|
|
2274
|
+
const [onProgress, flush] = progressEventDecorator(
|
|
2222
2275
|
requestContentLength,
|
|
2223
|
-
progressEventReducer(onUploadProgress)
|
|
2224
|
-
)
|
|
2276
|
+
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
2277
|
+
);
|
|
2278
|
+
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
|
|
2225
2279
|
}
|
|
2226
2280
|
}
|
|
2227
2281
|
if (!utils$1.isString(withCredentials)) {
|
|
2228
|
-
withCredentials = withCredentials ? "
|
|
2282
|
+
withCredentials = withCredentials ? "include" : "omit";
|
|
2229
2283
|
}
|
|
2284
|
+
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
2230
2285
|
request = new Request(url, {
|
|
2231
2286
|
...fetchOptions,
|
|
2232
2287
|
signal: composedSignal,
|
|
@@ -2234,7 +2289,7 @@ var require_axios = __commonJS({
|
|
|
2234
2289
|
headers: headers.normalize().toJSON(),
|
|
2235
2290
|
body: data,
|
|
2236
2291
|
duplex: "half",
|
|
2237
|
-
withCredentials
|
|
2292
|
+
credentials: isCredentialsSupported ? withCredentials : void 0
|
|
2238
2293
|
});
|
|
2239
2294
|
let response = await fetch(request);
|
|
2240
2295
|
const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
|
|
@@ -2244,11 +2299,15 @@ var require_axios = __commonJS({
|
|
|
2244
2299
|
options[prop] = response[prop];
|
|
2245
2300
|
});
|
|
2246
2301
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
|
|
2302
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
|
|
2303
|
+
responseContentLength,
|
|
2304
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
2305
|
+
) || [];
|
|
2247
2306
|
response = new Response(
|
|
2248
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE,
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2307
|
+
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
2308
|
+
flush && flush();
|
|
2309
|
+
isStreamResponse && onFinish();
|
|
2310
|
+
}, encodeText),
|
|
2252
2311
|
options
|
|
2253
2312
|
);
|
|
2254
2313
|
}
|
|
@@ -2376,7 +2435,7 @@ var require_axios = __commonJS({
|
|
|
2376
2435
|
}, "onAdapterRejection"));
|
|
2377
2436
|
}
|
|
2378
2437
|
__name(dispatchRequest, "dispatchRequest");
|
|
2379
|
-
var VERSION = "1.7.
|
|
2438
|
+
var VERSION = "1.7.5";
|
|
2380
2439
|
var validators$1 = {};
|
|
2381
2440
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
2382
2441
|
validators$1[type] = /* @__PURE__ */ __name(function validator2(thing) {
|