better-call 1.0.16 → 1.0.18
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/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{router-c8myTmx-.d.cts → router-DcqXHY8X.d.cts} +1 -1
- package/dist/{router-c8myTmx-.d.ts → router-DcqXHY8X.d.ts} +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BetterFetchOption, BetterFetchResponse } from '@better-fetch/fetch';
|
|
2
|
-
import { j as Router, Z as UnionToIntersection, b as Endpoint, W as HasRequiredKeys } from './router-
|
|
2
|
+
import { j as Router, Z as UnionToIntersection, b as Endpoint, W as HasRequiredKeys } from './router-DcqXHY8X.cjs';
|
|
3
3
|
|
|
4
4
|
type HasRequired<T extends {
|
|
5
5
|
body?: any;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BetterFetchOption, BetterFetchResponse } from '@better-fetch/fetch';
|
|
2
|
-
import { j as Router, Z as UnionToIntersection, b as Endpoint, W as HasRequiredKeys } from './router-
|
|
2
|
+
import { j as Router, Z as UnionToIntersection, b as Endpoint, W as HasRequiredKeys } from './router-DcqXHY8X.js';
|
|
3
3
|
|
|
4
4
|
type HasRequired<T extends {
|
|
5
5
|
body?: any;
|
package/dist/index.cjs
CHANGED
|
@@ -75,12 +75,14 @@ function makeErrorForHideStackFrame(Base, clazz) {
|
|
|
75
75
|
get errorStack() {
|
|
76
76
|
return this.#hiddenStack;
|
|
77
77
|
}
|
|
78
|
-
// This is a workaround for wpt tests that expect that the error
|
|
79
|
-
// constructor has a `name` property of the base class.
|
|
80
|
-
get ["constructor"]() {
|
|
81
|
-
return clazz;
|
|
82
|
-
}
|
|
83
78
|
}
|
|
79
|
+
Object.defineProperty(HideStackFramesError.prototype, "constructor", {
|
|
80
|
+
get() {
|
|
81
|
+
return clazz;
|
|
82
|
+
},
|
|
83
|
+
enumerable: false,
|
|
84
|
+
configurable: true
|
|
85
|
+
});
|
|
84
86
|
return HideStackFramesError;
|
|
85
87
|
}
|
|
86
88
|
var _statusCode = {
|