@vectorx/functions-framework 0.0.0-beta-20251209102230 → 0.0.0-beta-20251225064112
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/lib/request.js +4 -0
- package/lib/utils/apm.js +1 -1
- package/package.json +2 -2
package/lib/request.js
CHANGED
|
@@ -112,6 +112,10 @@ class Request {
|
|
|
112
112
|
const requestOptions = Object.assign(Object.assign({ method,
|
|
113
113
|
headers }, (payload !== undefined && { body: payload })), { credentials: withCredentials ? "include" : "same-origin", signal });
|
|
114
114
|
try {
|
|
115
|
+
console.log("===== request =====", {
|
|
116
|
+
realUrl,
|
|
117
|
+
requestOptions,
|
|
118
|
+
});
|
|
115
119
|
const response = yield (0, node_fetch_1.default)(realUrl, requestOptions), result = {
|
|
116
120
|
header: {},
|
|
117
121
|
statusCode: response.status,
|
package/lib/utils/apm.js
CHANGED
|
@@ -54,7 +54,7 @@ class ApmReporter {
|
|
|
54
54
|
context_appVersion: "unknown",
|
|
55
55
|
context_osVersion: os.release(),
|
|
56
56
|
context_userAgent: `Node/${process.version} ${os.platform()}/${os.release()} (${os.arch()})`,
|
|
57
|
-
context_artifactName: "
|
|
57
|
+
context_artifactName: "miniprogram",
|
|
58
58
|
context_deviceModel: "",
|
|
59
59
|
context_matchedPath: "",
|
|
60
60
|
context_deviceId: (0, machineId_1.machineIdSync)(true),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectorx/functions-framework",
|
|
3
|
-
"version": "0.0.0-beta-
|
|
3
|
+
"version": "0.0.0-beta-20251225064112",
|
|
4
4
|
"description": "VectorX Functions Framework",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"node": ">=18.0.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@vectorx/ai-types": "0.0.0-beta-
|
|
28
|
+
"@vectorx/ai-types": "0.0.0-beta-20251225064112",
|
|
29
29
|
"async_hooks": "^1.0.0",
|
|
30
30
|
"chalk": "4",
|
|
31
31
|
"commander": "^12.1.0",
|