Skip to content

Commit

Permalink
added support of secret variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-sharma-08 committed Oct 3, 2023
1 parent 5e890c2 commit f3d382f
Show file tree
Hide file tree
Showing 7 changed files with 8,544 additions and 83 deletions.
2 changes: 1 addition & 1 deletion lib/sandbox/pmapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function Postman (execution, onRequest, onAssertion, cookieStore, options = {})
environment: execution.environment,

/**
* @type {VariableScope}
* @type {CollectionVariableScope}
*/
collectionVariables: execution.collectionVariables,

Expand Down
2 changes: 1 addition & 1 deletion npm/build-sandbox-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = function (exit) {

// Since we are referencing some types from Postman Collection lib, those types needs to imported.
// See https://stackoverflow.com/a/51114250
collectionSDKTypes = ['CookieList', 'Request', 'Response', 'VariableScope'];
collectionSDKTypes = ['CookieList', 'Request', 'Response', 'VariableScope', 'CollectionVariableScope'];

node.forEachChild((child) => {
child.members && child.members.forEach((c) => {
Expand Down
Loading

0 comments on commit f3d382f

Please sign in to comment.