@colisweb/rescript-toolkit 4.20.1 → 4.20.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "4.20.1",
3
+ "version": "4.20.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -26,9 +26,6 @@
26
26
  ],
27
27
  "author": "Colisweb",
28
28
  "license": "MIT",
29
- "resolutions": {
30
- "graphql": "16.7.1"
31
- },
32
29
  "dependencies": {
33
30
  "@colisweb/bs-react-intl-extractor-bin": "0.12.2",
34
31
  "@colisweb/restorative": "1.0.0",
@@ -1,7 +1,7 @@
1
1
  type mock
2
2
  type worker
3
3
 
4
- @module("msw") @variadic
4
+ @module("msw/browser") @variadic
5
5
  external setupWorker: array<mock> => worker = "setupWorker"
6
6
 
7
7
  type rec startOptions = {serviceWorker?: serviceWorker, quiet?: bool}
@@ -12,9 +12,6 @@ external start: (worker, startOptions) => unit = "start"
12
12
  @send
13
13
  external stop: worker => unit = "stop"
14
14
 
15
- @module("msw")
16
- external passthrough: unit => mock = "passthrough"
17
-
18
15
  @module("msw")
19
16
  external delay: unit => Promise.Js.t<unit, unit> = "delay"
20
17
  @module("msw")
@@ -58,3 +55,6 @@ module Http = {
58
55
  @module("msw") @scope("http")
59
56
  external all: (string, httpRequest => HttpResponse.t) => mock = "all"
60
57
  }
58
+
59
+ @module("msw")
60
+ external passthrough: unit => HttpResponse.t = "passthrough"