runner-runtime 1.0.9 → 1.0.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/events/api.js +4 -3
- package/package.json +3 -3
package/events/api.js
CHANGED
|
@@ -2258,13 +2258,14 @@ module.exports = (event, option, callback, eventRuntimeData, eventResultList) =>
|
|
|
2258
2258
|
}
|
|
2259
2259
|
}
|
|
2260
2260
|
|
|
2261
|
-
resolve({
|
|
2261
|
+
resolve(_.assign({
|
|
2262
2262
|
action: 'httpRequestCompleted',
|
|
2263
2263
|
data: _.get(eventRuntimeData, event?.event_id),
|
|
2264
2264
|
error: _.get(eventRuntimeData, [event?.event_id, 'error', 'message']) || null,
|
|
2265
2265
|
event_id: event?.event_id,
|
|
2266
|
-
|
|
2267
|
-
|
|
2266
|
+
iteration_id: aTools.snowflakeId(),
|
|
2267
|
+
type: 'request'
|
|
2268
|
+
}, _.pick(requestJson, ['parent_id', 'project_id', 'test_id', 'target_id'])))
|
|
2268
2269
|
}
|
|
2269
2270
|
})
|
|
2270
2271
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "runner-runtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Processing data returned by AI.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"content-disposition": "^0.5.4",
|
|
27
27
|
"exp-mock": "^2.0.15",
|
|
28
28
|
"file-type": "^16.5.4",
|
|
29
|
-
"is-image": "^
|
|
30
|
-
"is-svg": "^
|
|
29
|
+
"is-image": "^3.0.0",
|
|
30
|
+
"is-svg": "^4.3.2",
|
|
31
31
|
"json-bigint": "^1.0.0",
|
|
32
32
|
"json5": "^2.2.3",
|
|
33
33
|
"jsonpath": "^1.1.1",
|