msw 2.1.1 → 2.1.2

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.
@@ -2,7 +2,7 @@
2
2
  /* tslint:disable */
3
3
 
4
4
  /**
5
- * Mock Service Worker (2.1.1).
5
+ * Mock Service Worker (2.1.2).
6
6
  * @see https://github.com/mswjs/msw
7
7
  * - Please do NOT modify this file.
8
8
  * - Please do NOT serve this file on production.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "msw",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Seamless REST/GraphQL API mocking library for browser and Node.js.",
5
5
  "main": "./lib/core/index.js",
6
6
  "module": "./lib/core/index.mjs",
package/src/core/index.ts CHANGED
@@ -34,7 +34,7 @@ export type {
34
34
  RequestQuery,
35
35
  HttpRequestParsedResult,
36
36
  } from './handlers/HttpHandler'
37
- export type { HttpResponseResolver } from './http'
37
+ export type { HttpRequestHandler, HttpResponseResolver } from './http'
38
38
 
39
39
  export type {
40
40
  GraphQLQuery,
@@ -42,7 +42,7 @@ export type {
42
42
  GraphQLRequestBody,
43
43
  GraphQLJsonRequestBody,
44
44
  } from './handlers/GraphQLHandler'
45
- export type { GraphQLResponseResolver } from './graphql'
45
+ export type { GraphQLRequestHandler, GraphQLResponseResolver } from './graphql'
46
46
 
47
47
  export type { Path, PathParams, Match } from './utils/matching/matchRequestUrl'
48
48
  export type { ParsedGraphQLRequest } from './utils/internal/parseGraphQLRequest'