counterfact 0.43.0 → 0.43.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.
@@ -99,7 +99,7 @@ type GenericResponseBuilderInner<
99
99
  ? never
100
100
  : HeaderFunction<Response>;
101
101
  html: MaybeShortcut<"text/html", Response>;
102
- json: MaybeShortcut<"application/json" | "text/json" | "text/x-json" | "application/xml" | "text/xml", Response>;
102
+ json: MaybeShortcut<"application/json", Response>;
103
103
  match: [keyof Response["content"]] extends [never]
104
104
  ? never
105
105
  : MatchFunction<Response>;
@@ -107,7 +107,7 @@ type GenericResponseBuilderInner<
107
107
  ? never
108
108
  : RandomFunction<Response>;
109
109
  text: MaybeShortcut<"text/plain", Response>;
110
- xml: MaybeShortcut<"application/xml" | "text/xml", Response>;
110
+ xml: MaybeShortcut<"application/xml", Response>;
111
111
  }>;
112
112
 
113
113
  type GenericResponseBuilder<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "counterfact",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "description": "a library for building a fake REST API for testing",
5
5
  "type": "module",
6
6
  "main": "./src/server/counterfact.js",