postman-runtime 7.36.3 → 7.37.1
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/CHANGELOG.yaml +10 -0
- package/README.md +13 -1
- package/dist/index.js +1 -1
- package/lib/runner/extensions/event.command.js +121 -93
- package/package.json +9 -9
package/CHANGELOG.yaml
CHANGED
package/README.md
CHANGED
|
@@ -160,7 +160,19 @@ runner.run(collection, {
|
|
|
160
160
|
|
|
161
161
|
// Option to set whether to send console logs in serialized format which can be parsed
|
|
162
162
|
// using the `teleport-javascript` serialization library.
|
|
163
|
-
serializeLogs: false
|
|
163
|
+
serializeLogs: false,
|
|
164
|
+
|
|
165
|
+
// Function to resolve packages that are used in the script.
|
|
166
|
+
packageResolver: function ({ packages /* sdk.Script.packages */ }, callback) {
|
|
167
|
+
return callback(null, {
|
|
168
|
+
pkg1: {
|
|
169
|
+
data: 'packagedata'
|
|
170
|
+
},
|
|
171
|
+
pkg2: {
|
|
172
|
+
error: 'Failed to get package'
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
}
|
|
164
176
|
},
|
|
165
177
|
|
|
166
178
|
// A ProxyConfigList, from the SDK
|