@morojs/engine 1.1.16 → 1.1.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/index.d.ts +3 -0
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -322,6 +322,9 @@ export function getQuery(reqId: number): string;
|
|
|
322
322
|
/** Flat [k0,v0,k1,v1,...] with lowercased keys. */
|
|
323
323
|
export function getHeaders(reqId: number): string[];
|
|
324
324
|
export function getHeader(reqId: number, lowercaseName: string): string | undefined;
|
|
325
|
+
/** The request body, or null when there is none. The bytes are handed over
|
|
326
|
+
* without a copy and stay valid for as long as JS holds the buffer; a second
|
|
327
|
+
* call during the same request returns the same storage, not a snapshot. */
|
|
325
328
|
export function getBody(reqId: number): ArrayBuffer | null;
|
|
326
329
|
export function getRemoteAddress(reqId: number): string;
|
|
327
330
|
export function isAborted(reqId: number): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morojs/engine",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "MoroJS native HTTP engine - Moro-authored C++ core with per-platform prebuilt binaries and automatic Node.js fallback in MoroJS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "CM Ventures Inc.",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"provenance": true
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@morojs/engine-darwin-arm64": "1.1.
|
|
42
|
-
"@morojs/engine-darwin-x64": "1.1.
|
|
43
|
-
"@morojs/engine-linux-x64-gnu": "1.1.
|
|
44
|
-
"@morojs/engine-linux-arm64-gnu": "1.1.
|
|
45
|
-
"@morojs/engine-linux-x64-musl": "1.1.
|
|
46
|
-
"@morojs/engine-linux-arm64-musl": "1.1.
|
|
47
|
-
"@morojs/engine-win32-x64": "1.1.
|
|
41
|
+
"@morojs/engine-darwin-arm64": "1.1.18",
|
|
42
|
+
"@morojs/engine-darwin-x64": "1.1.18",
|
|
43
|
+
"@morojs/engine-linux-x64-gnu": "1.1.18",
|
|
44
|
+
"@morojs/engine-linux-arm64-gnu": "1.1.18",
|
|
45
|
+
"@morojs/engine-linux-x64-musl": "1.1.18",
|
|
46
|
+
"@morojs/engine-linux-arm64-musl": "1.1.18",
|
|
47
|
+
"@morojs/engine-win32-x64": "1.1.18"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"morojs",
|