@orpc/shared 0.17.0 → 0.18.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/index.js +4 -4
- package/dist/src/constants.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-CCTAECMC.js";
|
|
4
4
|
|
|
5
5
|
// src/constants.ts
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var ORPC_HANDLER_HEADER = "x-orpc-handler";
|
|
7
|
+
var ORPC_HANDLER_VALUE = "orpc";
|
|
8
8
|
|
|
9
9
|
// src/hook.ts
|
|
10
10
|
async function executeWithHooks(options) {
|
|
@@ -160,8 +160,8 @@ function value(value2) {
|
|
|
160
160
|
import { isPlainObject as isPlainObject2 } from "is-what";
|
|
161
161
|
import { guard, mapEntries, mapValues, omit, trim } from "radash";
|
|
162
162
|
export {
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
ORPC_HANDLER_HEADER,
|
|
164
|
+
ORPC_HANDLER_VALUE,
|
|
165
165
|
convertToArray,
|
|
166
166
|
createCallableObject,
|
|
167
167
|
executeWithHooks,
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
1
|
+
export declare const ORPC_HANDLER_HEADER = "x-orpc-handler";
|
|
2
|
+
export declare const ORPC_HANDLER_VALUE = "orpc";
|
|
3
3
|
//# sourceMappingURL=constants.d.ts.map
|