@pact-foundation/pact-node
Advanced tools
Comparing version 6.2.0 to 6.3.0
@@ -38,4 +38,5 @@ #!/usr/bin/env node | ||
.option("-pub, --publish-verification-result", "Publish verification result to Broker.") | ||
.option("-c, --custom-provider-header", "Header to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'.", cli.LIST) | ||
.action(function (args, options) { return pact_1.default.verifyPacts(options); }); | ||
cli.parse(process.argv); | ||
//# sourceMappingURL=pact-cli.js.map |
@@ -41,4 +41,5 @@ #!/usr/bin/env node | ||
.option("-pub, --publish-verification-result", "Publish verification result to Broker.") | ||
.option("-c, --custom-provider-header", "Header to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'.", cli.LIST) | ||
.action((args: any, options: any) => pact.verifyPacts(options)); | ||
cli.parse(process.argv); |
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="6.3.0"></a> | ||
# [6.3.0](https://github.com/pact-foundation/pact-node/compare/v6.2.0...v6.3.0) (2017-12-04) | ||
### Features | ||
* **custom-headers:** allow user to specify custom headers during provider verification ([3797193](https://github.com/pact-foundation/pact-node/commit/3797193)) | ||
<a name="6.2.0"></a> | ||
@@ -7,0 +17,0 @@ # [6.2.0](https://github.com/pact-foundation/pact-node/compare/v6.1.0...v6.2.0) (2017-12-04) |
{ | ||
"name": "@pact-foundation/pact-node", | ||
"version": "6.2.0", | ||
"version": "6.3.0", | ||
"description": "A wrapper for the Ruby version of Pact to work within Node", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -92,2 +92,3 @@ <img src="https://raw.githubusercontent.com/pact-foundation/pact-logo/master/media/logo-black.png" width="200"> | ||
publishVerificationResult: <Boolean> // Publish verification result to Broker. Optional | ||
customProviderHeaders: <Array> // Header(s) to add to provider state set up and pact verification requests. eg 'Authorization: Basic cGFjdDpwYWN0'. | ||
providerVersion: <Boolean> // Provider version, required to publish verification result to Broker. Optional otherwise. | ||
@@ -94,0 +95,0 @@ timeout: <Number> // The duration in ms we should wait to confirm verification process was successful. Defaults to 30000, Optional. |
@@ -20,2 +20,3 @@ /// <reference types="q" /> | ||
pactBrokerPassword?: string; | ||
customProviderHeaders?: string[]; | ||
publishVerificationResult?: boolean; | ||
@@ -22,0 +23,0 @@ providerVersion?: string; |
@@ -23,3 +23,4 @@ "use strict"; | ||
"publishVerificationResult": "--publish-verification-results", | ||
"providerVersion": "--provider-app-version" | ||
"providerVersion": "--provider-app-version", | ||
"customProviderHeaders": "--custom-provider-header" | ||
}; | ||
@@ -26,0 +27,0 @@ this.options = options; |
@@ -104,3 +104,4 @@ import path = require("path"); | ||
"publishVerificationResult": "--publish-verification-results", | ||
"providerVersion": "--provider-app-version" | ||
"providerVersion": "--provider-app-version", | ||
"customProviderHeaders": "--custom-provider-header" | ||
}; | ||
@@ -156,2 +157,3 @@ | ||
pactBrokerPassword?: string; | ||
customProviderHeaders?: string[]; | ||
publishVerificationResult?: boolean; | ||
@@ -158,0 +160,0 @@ providerVersion?: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340290
6058
198