@ai-sdk/provider-utils 2.1.15 → 2.2.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/CHANGELOG.md +17 -0
- package/dist/index.d.mts +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js +135 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +118 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -10
- package/test/dist/index.js +39 -39
- package/test/dist/index.js.map +1 -1
- package/test/dist/index.mjs +39 -39
- package/test/dist/index.mjs.map +1 -1
package/test/dist/index.mjs
CHANGED
@@ -146,7 +146,7 @@ invariant.as = (ErrorConstructor, predicate, message3, ...positionals) => {
|
|
146
146
|
}
|
147
147
|
};
|
148
148
|
|
149
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
149
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/devUtils.mjs
|
150
150
|
var LIBRARY_PREFIX = "[MSW]";
|
151
151
|
function formatMessage(message3, ...positionals) {
|
152
152
|
const interpolatedMessage = format(message3, ...positionals);
|
@@ -170,7 +170,7 @@ var InternalError = class extends Error {
|
|
170
170
|
}
|
171
171
|
};
|
172
172
|
|
173
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
173
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/checkGlobals.mjs
|
174
174
|
function checkGlobals() {
|
175
175
|
invariant(
|
176
176
|
typeof URL !== "undefined",
|
@@ -345,7 +345,7 @@ var _Emitter = class {
|
|
345
345
|
var Emitter = _Emitter;
|
346
346
|
Emitter.defaultMaxListeners = 10;
|
347
347
|
|
348
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
348
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/pipeEvents.mjs
|
349
349
|
function pipeEvents(source, destination) {
|
350
350
|
const rawEmit = source.emit;
|
351
351
|
if (rawEmit._isPiped) {
|
@@ -359,14 +359,14 @@ function pipeEvents(source, destination) {
|
|
359
359
|
source.emit = sourceEmit;
|
360
360
|
}
|
361
361
|
|
362
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
362
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/toReadonlyArray.mjs
|
363
363
|
function toReadonlyArray(source) {
|
364
364
|
const clone = [...source];
|
365
365
|
Object.freeze(clone);
|
366
366
|
return clone;
|
367
367
|
}
|
368
368
|
|
369
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
369
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/Disposable.mjs
|
370
370
|
var Disposable = class {
|
371
371
|
constructor() {
|
372
372
|
__publicField(this, "subscriptions", []);
|
@@ -379,7 +379,7 @@ var Disposable = class {
|
|
379
379
|
}
|
380
380
|
};
|
381
381
|
|
382
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
382
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/SetupApi.mjs
|
383
383
|
var InMemoryHandlersController = class {
|
384
384
|
constructor(initialHandlers) {
|
385
385
|
__publicField(this, "handlers");
|
@@ -459,7 +459,7 @@ var SetupApi = class extends Disposable {
|
|
459
459
|
}
|
460
460
|
};
|
461
461
|
|
462
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
462
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/getCallFrame.mjs
|
463
463
|
var SOURCE_FRAME = /[\/\\]msw[\/\\]src[\/\\](.+)/;
|
464
464
|
var BUILD_FRAME = /(node_modules)?[\/\\]lib[\/\\](core|browser|node|native|iife)[\/\\]|^[^\/\\]*$/;
|
465
465
|
function getCallFrame(error3) {
|
@@ -478,7 +478,7 @@ function getCallFrame(error3) {
|
|
478
478
|
return declarationPath;
|
479
479
|
}
|
480
480
|
|
481
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
481
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/isIterable.mjs
|
482
482
|
function isIterable(fn) {
|
483
483
|
if (!fn) {
|
484
484
|
return false;
|
@@ -486,7 +486,7 @@ function isIterable(fn) {
|
|
486
486
|
return Reflect.has(fn, Symbol.iterator) || Reflect.has(fn, Symbol.asyncIterator);
|
487
487
|
}
|
488
488
|
|
489
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
489
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/handlers/RequestHandler.mjs
|
490
490
|
var _RequestHandler = class _RequestHandler {
|
491
491
|
constructor(args) {
|
492
492
|
__publicField(this, "__kind");
|
@@ -638,12 +638,12 @@ var _RequestHandler = class _RequestHandler {
|
|
638
638
|
__publicField(_RequestHandler, "cache", /* @__PURE__ */ new WeakMap());
|
639
639
|
var RequestHandler = _RequestHandler;
|
640
640
|
|
641
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
641
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/isStringEqual.mjs
|
642
642
|
function isStringEqual(actual, expected) {
|
643
643
|
return actual.toLowerCase() === expected.toLowerCase();
|
644
644
|
}
|
645
645
|
|
646
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
646
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.mjs
|
647
647
|
function getStatusCodeColor(status) {
|
648
648
|
if (status < 300) {
|
649
649
|
return "#69AB32";
|
@@ -654,7 +654,7 @@ function getStatusCodeColor(status) {
|
|
654
654
|
return "#E95F5D";
|
655
655
|
}
|
656
656
|
|
657
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
657
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/logging/getTimestamp.mjs
|
658
658
|
function getTimestamp(options) {
|
659
659
|
const now = /* @__PURE__ */ new Date();
|
660
660
|
const timestamp = `${now.getHours().toString().padStart(2, "0")}:${now.getMinutes().toString().padStart(2, "0")}:${now.getSeconds().toString().padStart(2, "0")}`;
|
@@ -664,7 +664,7 @@ function getTimestamp(options) {
|
|
664
664
|
return timestamp;
|
665
665
|
}
|
666
666
|
|
667
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
667
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/logging/serializeRequest.mjs
|
668
668
|
async function serializeRequest(request) {
|
669
669
|
const requestClone = request.clone();
|
670
670
|
const requestText = await requestClone.text();
|
@@ -843,7 +843,7 @@ var require_statuses = __commonJS({
|
|
843
843
|
var import_statuses = __toESM(require_statuses(), 1);
|
844
844
|
var source_default = import_statuses.default;
|
845
845
|
|
846
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
846
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/logging/serializeResponse.mjs
|
847
847
|
var { message } = source_default;
|
848
848
|
async function serializeResponse(response) {
|
849
849
|
const responseClone = response.clone();
|
@@ -1753,7 +1753,7 @@ function getCleanUrl(url, isAbsolute = true) {
|
|
1753
1753
|
return [isAbsolute && url.origin, url.pathname].filter(Boolean).join("");
|
1754
1754
|
}
|
1755
1755
|
|
1756
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
1756
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/url/cleanUrl.mjs
|
1757
1757
|
var REDUNDANT_CHARACTERS_EXP = /[\?|#].*$/g;
|
1758
1758
|
function getSearchParams(path) {
|
1759
1759
|
return new URL(`/${path}`, "http://localhost").searchParams;
|
@@ -1765,12 +1765,12 @@ function cleanUrl(path) {
|
|
1765
1765
|
return path.replace(REDUNDANT_CHARACTERS_EXP, "");
|
1766
1766
|
}
|
1767
1767
|
|
1768
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
1768
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.mjs
|
1769
1769
|
function isAbsoluteUrl(url) {
|
1770
1770
|
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
1771
1771
|
}
|
1772
1772
|
|
1773
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
1773
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.mjs
|
1774
1774
|
function getAbsoluteUrl(path, baseUrl) {
|
1775
1775
|
if (isAbsoluteUrl(path)) {
|
1776
1776
|
return path;
|
@@ -1785,7 +1785,7 @@ function getAbsoluteUrl(path, baseUrl) {
|
|
1785
1785
|
) : path;
|
1786
1786
|
}
|
1787
1787
|
|
1788
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
1788
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/matching/normalizePath.mjs
|
1789
1789
|
function normalizePath(path, baseUrl) {
|
1790
1790
|
if (path instanceof RegExp) {
|
1791
1791
|
return path;
|
@@ -1794,7 +1794,7 @@ function normalizePath(path, baseUrl) {
|
|
1794
1794
|
return cleanUrl(maybeAbsoluteUrl);
|
1795
1795
|
}
|
1796
1796
|
|
1797
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
1797
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/matching/matchRequestUrl.mjs
|
1798
1798
|
function coercePath(path) {
|
1799
1799
|
return path.replace(
|
1800
1800
|
/([:a-zA-Z_-]*)(\*{1,2})+/g,
|
@@ -1819,7 +1819,7 @@ function matchRequestUrl(url, path, baseUrl) {
|
|
1819
1819
|
};
|
1820
1820
|
}
|
1821
1821
|
|
1822
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
1822
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/request/toPublicUrl.mjs
|
1823
1823
|
function toPublicUrl(url) {
|
1824
1824
|
if (typeof location === "undefined") {
|
1825
1825
|
return url.toString();
|
@@ -13869,7 +13869,7 @@ var require_cookie2 = __commonJS3({
|
|
13869
13869
|
var import_tough_cookie = __toESM3(require_cookie2(), 1);
|
13870
13870
|
var source_default3 = import_tough_cookie.default;
|
13871
13871
|
|
13872
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
13872
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/cookieStore.mjs
|
13873
13873
|
var { Cookie, CookieJar, Store, MemoryCookieStore, domainMatch, pathMatch } = source_default3;
|
13874
13874
|
var WebStorageCookieStore = class extends Store {
|
13875
13875
|
constructor() {
|
@@ -14021,7 +14021,7 @@ var WebStorageCookieStore = class extends Store {
|
|
14021
14021
|
var store = isNodeProcess() ? new MemoryCookieStore() : new WebStorageCookieStore();
|
14022
14022
|
var cookieStore = new CookieJar(store);
|
14023
14023
|
|
14024
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14024
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/request/getRequestCookies.mjs
|
14025
14025
|
function parseCookies(input) {
|
14026
14026
|
const parsedCookies = source_default2.parse(input);
|
14027
14027
|
const cookies = {};
|
@@ -14076,7 +14076,7 @@ function getAllRequestCookies(request) {
|
|
14076
14076
|
};
|
14077
14077
|
}
|
14078
14078
|
|
14079
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14079
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/handlers/HttpHandler.mjs
|
14080
14080
|
var HttpMethods = /* @__PURE__ */ ((HttpMethods2) => {
|
14081
14081
|
HttpMethods2["HEAD"] = "HEAD";
|
14082
14082
|
HttpMethods2["GET"] = "GET";
|
@@ -14166,7 +14166,7 @@ var HttpHandler = class extends RequestHandler {
|
|
14166
14166
|
}
|
14167
14167
|
};
|
14168
14168
|
|
14169
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14169
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/http.mjs
|
14170
14170
|
function createHttpHandler(method) {
|
14171
14171
|
return (path, resolver, options = {}) => {
|
14172
14172
|
return new HttpHandler(method, path, resolver, options);
|
@@ -14597,7 +14597,7 @@ var Headers2 = class _Headers {
|
|
14597
14597
|
}
|
14598
14598
|
};
|
14599
14599
|
|
14600
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14600
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/handlers/WebSocketHandler.mjs
|
14601
14601
|
var kEmitter = Symbol("kEmitter");
|
14602
14602
|
var kDispatchEvent = Symbol("kDispatchEvent");
|
14603
14603
|
var kSender = Symbol("kSender");
|
@@ -14771,7 +14771,7 @@ var until = async (promise) => {
|
|
14771
14771
|
}
|
14772
14772
|
};
|
14773
14773
|
|
14774
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14774
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/executeHandlers.mjs
|
14775
14775
|
var executeHandlers = async ({
|
14776
14776
|
request,
|
14777
14777
|
requestId,
|
@@ -14799,7 +14799,7 @@ var executeHandlers = async ({
|
|
14799
14799
|
return null;
|
14800
14800
|
};
|
14801
14801
|
|
14802
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14802
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/request/onUnhandledRequest.mjs
|
14803
14803
|
async function onUnhandledRequest(request, strategy = "warn") {
|
14804
14804
|
const url = new URL(request.url);
|
14805
14805
|
const publicUrl = toPublicUrl(url) + url.search;
|
@@ -14851,7 +14851,7 @@ Read more: https://mswjs.io/docs/getting-started/mocks`;
|
|
14851
14851
|
applyStrategy(strategy);
|
14852
14852
|
}
|
14853
14853
|
|
14854
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14854
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/HttpResponse/decorators.mjs
|
14855
14855
|
var { message: message2 } = source_default;
|
14856
14856
|
var kSetCookie = Symbol("kSetCookie");
|
14857
14857
|
function normalizeResponseInit(init = {}) {
|
@@ -14892,7 +14892,7 @@ function decorateResponse(response, init) {
|
|
14892
14892
|
return response;
|
14893
14893
|
}
|
14894
14894
|
|
14895
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14895
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/request/storeResponseCookies.mjs
|
14896
14896
|
function storeResponseCookies(request, response) {
|
14897
14897
|
const responseCookies = Reflect.get(response, kSetCookie);
|
14898
14898
|
if (responseCookies) {
|
@@ -14900,7 +14900,7 @@ function storeResponseCookies(request, response) {
|
|
14900
14900
|
}
|
14901
14901
|
}
|
14902
14902
|
|
14903
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14903
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/handleRequest.mjs
|
14904
14904
|
async function handleRequest(request, requestId, handlers, options, emitter, handleRequestOptions) {
|
14905
14905
|
var _a4, _b2, _c2, _d, _e, _f;
|
14906
14906
|
emitter.emit("request:start", { request, requestId });
|
@@ -14951,7 +14951,7 @@ async function handleRequest(request, requestId, handlers, options, emitter, han
|
|
14951
14951
|
return response;
|
14952
14952
|
}
|
14953
14953
|
|
14954
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
14954
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/HttpResponse.mjs
|
14955
14955
|
var HttpResponse = class _HttpResponse extends Response {
|
14956
14956
|
constructor(body, init) {
|
14957
14957
|
const responseInit = normalizeResponseInit(init);
|
@@ -15058,10 +15058,10 @@ var HttpResponse = class _HttpResponse extends Response {
|
|
15058
15058
|
}
|
15059
15059
|
};
|
15060
15060
|
|
15061
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
15061
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/index.mjs
|
15062
15062
|
checkGlobals();
|
15063
15063
|
|
15064
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
15064
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/node/index.mjs
|
15065
15065
|
import { AsyncLocalStorage } from "async_hooks";
|
15066
15066
|
|
15067
15067
|
// ../../node_modules/.pnpm/@mswjs+interceptors@0.37.5/node_modules/@mswjs/interceptors/lib/node/chunk-5KMS5CTP.mjs
|
@@ -17350,12 +17350,12 @@ var _FetchInterceptor = class extends Interceptor {
|
|
17350
17350
|
var FetchInterceptor = _FetchInterceptor;
|
17351
17351
|
FetchInterceptor.symbol = Symbol("fetch");
|
17352
17352
|
|
17353
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
17353
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/isObject.mjs
|
17354
17354
|
function isObject2(value) {
|
17355
17355
|
return value != null && typeof value === "object" && !Array.isArray(value);
|
17356
17356
|
}
|
17357
17357
|
|
17358
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
17358
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/mergeRight.mjs
|
17359
17359
|
function mergeRight(left, right) {
|
17360
17360
|
return Object.entries(right).reduce(
|
17361
17361
|
(result, [key, rightValue]) => {
|
@@ -18220,17 +18220,17 @@ var _WebSocketInterceptor = class extends Interceptor2 {
|
|
18220
18220
|
var WebSocketInterceptor = _WebSocketInterceptor;
|
18221
18221
|
WebSocketInterceptor.symbol = Symbol("websocket");
|
18222
18222
|
|
18223
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
18223
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/ws/webSocketInterceptor.mjs
|
18224
18224
|
var webSocketInterceptor = new WebSocketInterceptor();
|
18225
18225
|
|
18226
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
18226
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/utils/internal/isHandlerKind.mjs
|
18227
18227
|
function isHandlerKind(kind) {
|
18228
18228
|
return (input) => {
|
18229
18229
|
return input != null && typeof input === "object" && "__kind" in input && input.__kind === kind;
|
18230
18230
|
};
|
18231
18231
|
}
|
18232
18232
|
|
18233
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
18233
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/core/ws/handleWebSocketEvent.mjs
|
18234
18234
|
function handleWebSocketEvent(options) {
|
18235
18235
|
webSocketInterceptor.on("connection", async (connection) => {
|
18236
18236
|
const handlers = options.getHandlers();
|
@@ -18278,7 +18278,7 @@ function handleWebSocketEvent(options) {
|
|
18278
18278
|
});
|
18279
18279
|
}
|
18280
18280
|
|
18281
|
-
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@
|
18281
|
+
// ../../node_modules/.pnpm/msw@2.7.0_@types+node@20.17.24_typescript@5.6.3/node_modules/msw/lib/node/index.mjs
|
18282
18282
|
var DEFAULT_LISTEN_OPTIONS = {
|
18283
18283
|
onUnhandledRequest: "warn"
|
18284
18284
|
};
|