@hashicorp/api-double
Advanced tools
Comparing version 1.5.1 to 1.6.0
{ | ||
"name": "@hashicorp/api-double", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "api-double serving via HTTP or other means", | ||
@@ -41,4 +41,4 @@ "main": "index.js", | ||
"typedoc": "^0.15.0", | ||
"typedoc-plugin-markdown": "^2.1.3" | ||
"typedoc-plugin-markdown": "^2.1.11" | ||
} | ||
} |
@@ -45,7 +45,10 @@ # api-double | ||
### http properties | ||
### HTTP properties | ||
HTTP data is accessible via the http object using the following properties: | ||
``` | ||
http.method | ||
http.headers.* | ||
http.method | ||
http.body.* | ||
http.cookies.* | ||
@@ -118,2 +121,7 @@ ``` | ||
``` | ||
### location.search | ||
This gives you a place to access queryParams `location.search.queryParamName` | ||
### location.pathname.get(int) | ||
@@ -138,4 +146,3 @@ | ||
### location.search | ||
@@ -14,2 +14,3 @@ module.exports = function(locationFactory, range, env) { | ||
headers: vars.headers || {}, | ||
body: vars.body || {}, | ||
method: vars.method || 'GET', | ||
@@ -16,0 +17,0 @@ cookies: vars.cookies || {}, |
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
29727
368
146