@bleedingdev/modern-js-create-request 3.5.0-ultramodern.10 → 3.5.0-ultramodern.11
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/types/types.d.ts +1 -1
- package/package.json +4 -4
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { HttpMethodDecider } from '@modern-js/types';
|
|
2
1
|
export declare const BFF_ENVELOPE_HEADER = "x-modernjs-bff-envelope";
|
|
3
2
|
export declare const BFF_OPERATION_CONTEXT_HEADER = "x-operation-id";
|
|
4
3
|
export declare const BFF_OPERATION_CONTEXT_DETAIL_HEADER = "x-modernjs-bff-operation-context";
|
|
@@ -17,6 +16,7 @@ export type BFFRequestPayload = {
|
|
|
17
16
|
export type Sender<F = typeof fetch> = ((...args: any[]) => Promise<any>) & {
|
|
18
17
|
fetch?: F;
|
|
19
18
|
};
|
|
19
|
+
export type HttpMethodDecider = 'functionName' | 'inputParams';
|
|
20
20
|
export type ResolveHeadersOptions = {
|
|
21
21
|
requestId: string;
|
|
22
22
|
allowedHeaders: string[];
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"modern",
|
|
18
18
|
"modern.js"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.5.0-ultramodern.
|
|
20
|
+
"version": "3.5.0-ultramodern.11",
|
|
21
21
|
"modern:source": "./src/node.ts",
|
|
22
22
|
"types": "./dist/types/browser.d.ts",
|
|
23
23
|
"main": "./dist/cjs/node.js",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"encoding": "^0.1.13",
|
|
63
63
|
"path-to-regexp": "^8.4.2",
|
|
64
64
|
"qs": "^6.15.3",
|
|
65
|
-
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.5.0-ultramodern.
|
|
66
|
-
"@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.5.0-ultramodern.
|
|
65
|
+
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.5.0-ultramodern.11",
|
|
66
|
+
"@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.5.0-ultramodern.11"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@rslib/core": "0.23.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"happy-dom": "^20.10.6",
|
|
74
74
|
"nock": "^14.0.16",
|
|
75
75
|
"typescript": "^6.0.3",
|
|
76
|
-
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.5.0-ultramodern.
|
|
76
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.5.0-ultramodern.11",
|
|
77
77
|
"@scripts/rstest-config": "2.66.0"
|
|
78
78
|
},
|
|
79
79
|
"sideEffects": false,
|