postman-runtime 7.36.2 → 7.37.0

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 CHANGED
@@ -1,3 +1,18 @@
1
+ 7.37.0:
2
+ date: 2024-02-28
3
+ new features:
4
+ - GH-1377 Add feature to resolve packages in scripts using `pm.require`
5
+
6
+ 7.36.3:
7
+ date: 2024-02-01
8
+ fixed bugs:
9
+ - >-
10
+ GH-1374 Fixed a bug where execution.skipRequest listeners were not getting
11
+ garbage collected
12
+ - >-
13
+ Fixed a bug where vault variables were not getting resolved for request
14
+ URL without protocol
15
+
1
16
  7.36.2:
2
17
  date: 2024-01-19
3
18
  chores:
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