msw 0.49.0 → 0.49.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/lib/{SetupApi-0d3126ba.d.ts → SetupApi-b2f0e5ac.d.ts} +1 -1
- package/lib/{SetupServerApi-3406bf53.d.ts → SetupServerApi-70cc71a7.d.ts} +1 -1
- package/lib/{glossary-6a87827e.d.ts → glossary-a30fab39.d.ts} +1 -1
- package/lib/iife/index.js.map +1 -1
- package/lib/index.d.ts +3 -14
- package/lib/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/lib/native/index.d.ts +2 -2
- package/lib/node/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -340,4 +340,4 @@ declare abstract class SetupApi<EventsMap extends EventMapType> {
|
|
|
340
340
|
abstract printHandlers(): void;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
export { AsyncResponseResolverReturnType as A,
|
|
343
|
+
export { AsyncResponseResolverReturnType as A, RequestMode as B, RequestRedirect as C, DefaultContext as D, RequestDestination as E, RequestPriority as F, RequestReferrerPolicy as G, MockedRequestInit as H, LifeCycleEventsMap as I, LifeCycleEventEmitter as L, MockedRequest as M, ResponseTransformer as R, SetupWorkerApi as S, set as a, RequestHandler as b, DefaultBodyType as c, delay as d, ResponseResolver as e, fetch as f, ResponseResolutionContext as g, SerializedResponse as h, RequestHandlerDefaultInfo as i, MockedResponse as j, ResponseLookupResult as k, SharedOptions as l, SetupApi as m, defaultResponse as n, createResponseComposition as o, defaultContext as p, StartOptions as q, response as r, status as s, ResponseResolverReturnType as t, DefaultRequestMultipartBody as u, ResponseComposition as v, ResponseCompositionOptions as w, ResponseFunction as x, DelayMode as y, RequestCache as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsomorphicResponse, BatchInterceptor, Interceptor, HttpRequestEventMap } from '@mswjs/interceptors';
|
|
2
|
-
import {
|
|
2
|
+
import { I as LifeCycleEventsMap, m as SetupApi, b as RequestHandler, l as SharedOptions } from './SetupApi-b2f0e5ac.js';
|
|
3
3
|
|
|
4
4
|
type ServerLifecycleEventsMap = LifeCycleEventsMap<IsomorphicResponse>;
|
|
5
5
|
declare class SetupServerApi extends SetupApi<ServerLifecycleEventsMap> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PartialDeep } from 'type-fest';
|
|
2
2
|
import { IsomorphicResponse } from '@mswjs/interceptors';
|
|
3
|
-
import {
|
|
3
|
+
import { l as SharedOptions, b as RequestHandler, i as RequestHandlerDefaultInfo, M as MockedRequest, c as DefaultBodyType, L as LifeCycleEventEmitter, I as LifeCycleEventsMap } from './SetupApi-b2f0e5ac.js';
|
|
4
4
|
|
|
5
5
|
type ServerLifecycleEventsMap = LifeCycleEventsMap<IsomorphicResponse>;
|
|
6
6
|
interface SetupServerApi {
|