@zimic/interceptor 1.2.2 → 1.2.3-canary.0
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/dist/{chunk-6VVX2QLH.js → chunk-EMX4G67A.js} +2 -2
- package/dist/chunk-EMX4G67A.js.map +1 -0
- package/dist/{chunk-HHCXRRYN.mjs → chunk-ZPZDEDJI.mjs} +2 -2
- package/dist/chunk-ZPZDEDJI.mjs.map +1 -0
- package/dist/cli.js +18 -18
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/http.js +28 -28
- package/dist/http.js.map +1 -1
- package/dist/http.mjs +28 -28
- package/dist/http.mjs.map +1 -1
- package/dist/scripts/postinstall.js.map +1 -1
- package/dist/scripts/postinstall.mjs.map +1 -1
- package/dist/server.js +6 -6
- package/dist/server.mjs +1 -1
- package/package.json +5 -5
- package/dist/chunk-6VVX2QLH.js.map +0 -1
- package/dist/chunk-HHCXRRYN.mjs.map +0 -1
package/dist/http.mjs
CHANGED
|
@@ -2615,27 +2615,27 @@ var LocalHttpInterceptor = class {
|
|
|
2615
2615
|
this.clear();
|
|
2616
2616
|
await this.client.stop();
|
|
2617
2617
|
}
|
|
2618
|
-
get = (path) => {
|
|
2618
|
+
get = ((path) => {
|
|
2619
2619
|
return this.client.get(path);
|
|
2620
|
-
};
|
|
2621
|
-
post = (path) => {
|
|
2620
|
+
});
|
|
2621
|
+
post = ((path) => {
|
|
2622
2622
|
return this.client.post(path);
|
|
2623
|
-
};
|
|
2624
|
-
patch = (path) => {
|
|
2623
|
+
});
|
|
2624
|
+
patch = ((path) => {
|
|
2625
2625
|
return this.client.patch(path);
|
|
2626
|
-
};
|
|
2627
|
-
put = (path) => {
|
|
2626
|
+
});
|
|
2627
|
+
put = ((path) => {
|
|
2628
2628
|
return this.client.put(path);
|
|
2629
|
-
};
|
|
2630
|
-
delete = (path) => {
|
|
2629
|
+
});
|
|
2630
|
+
delete = ((path) => {
|
|
2631
2631
|
return this.client.delete(path);
|
|
2632
|
-
};
|
|
2633
|
-
head = (path) => {
|
|
2632
|
+
});
|
|
2633
|
+
head = ((path) => {
|
|
2634
2634
|
return this.client.head(path);
|
|
2635
|
-
};
|
|
2636
|
-
options = (path) => {
|
|
2635
|
+
});
|
|
2636
|
+
options = ((path) => {
|
|
2637
2637
|
return this.client.options(path);
|
|
2638
|
-
};
|
|
2638
|
+
});
|
|
2639
2639
|
checkTimes() {
|
|
2640
2640
|
this.client.checkTimes();
|
|
2641
2641
|
}
|
|
@@ -2731,27 +2731,27 @@ var RemoteHttpInterceptor = class {
|
|
|
2731
2731
|
await this.clear();
|
|
2732
2732
|
await this.client.stop();
|
|
2733
2733
|
}
|
|
2734
|
-
get = (path) => {
|
|
2734
|
+
get = ((path) => {
|
|
2735
2735
|
return this.client.get(path);
|
|
2736
|
-
};
|
|
2737
|
-
post = (path) => {
|
|
2736
|
+
});
|
|
2737
|
+
post = ((path) => {
|
|
2738
2738
|
return this.client.post(path);
|
|
2739
|
-
};
|
|
2740
|
-
patch = (path) => {
|
|
2739
|
+
});
|
|
2740
|
+
patch = ((path) => {
|
|
2741
2741
|
return this.client.patch(path);
|
|
2742
|
-
};
|
|
2743
|
-
put = (path) => {
|
|
2742
|
+
});
|
|
2743
|
+
put = ((path) => {
|
|
2744
2744
|
return this.client.put(path);
|
|
2745
|
-
};
|
|
2746
|
-
delete = (path) => {
|
|
2745
|
+
});
|
|
2746
|
+
delete = ((path) => {
|
|
2747
2747
|
return this.client.delete(path);
|
|
2748
|
-
};
|
|
2749
|
-
head = (path) => {
|
|
2748
|
+
});
|
|
2749
|
+
head = ((path) => {
|
|
2750
2750
|
return this.client.head(path);
|
|
2751
|
-
};
|
|
2752
|
-
options = (path) => {
|
|
2751
|
+
});
|
|
2752
|
+
options = ((path) => {
|
|
2753
2753
|
return this.client.options(path);
|
|
2754
|
-
};
|
|
2754
|
+
});
|
|
2755
2755
|
checkTimes() {
|
|
2756
2756
|
return new Promise((resolve, reject) => {
|
|
2757
2757
|
try {
|