@aws-sdk/protocol-http
Advanced tools
Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3
@@ -26,2 +26,4 @@ "use strict"; | ||
//determine if request is a valid httpRequest | ||
if (!request) | ||
return false; | ||
var req = request; | ||
@@ -93,2 +95,2 @@ return ("method" in req && | ||
exports.HttpRequest = HttpRequest; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cFJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaHR0cFJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNERBQXFEO0FBY3JEO0lBVUUscUJBQVksT0FBMkI7UUFDckMsSUFBSSxDQUFDLE1BQU0sR0FBRyxPQUFPLENBQUMsTUFBTSxJQUFJLEtBQUssQ0FBQztRQUN0QyxJQUFJLENBQUMsUUFBUSxHQUFHLE9BQU8sQ0FBQyxRQUFRLElBQUksV0FBVyxDQUFDO1FBQ2hELElBQUksQ0FBQyxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQztRQUN6QixJQUFJLENBQUMsS0FBSyxHQUFHLE9BQU8sQ0FBQyxLQUFLLElBQUksRUFBRSxDQUFDO1FBQ2pDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDLE9BQU8sSUFBSSxFQUFFLENBQUM7UUFDckMsSUFBSSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxRQUFRLEdBQUcsT0FBTyxDQUFDLFFBQVE7WUFDOUIsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssR0FBRztnQkFDbkMsQ0FBQyxDQUFJLE9BQU8sQ0FBQyxRQUFRLE1BQUc7Z0JBQ3hCLENBQUMsQ0FBQyxPQUFPLENBQUMsU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JyYXkuaXNBcnJheShwYXJhbSkgPyBbLi4ucGFyYW1dIDogcGFyYW1cbiAgICAgICAgfTtcbiAgICAgIH0sXG4gICAgICB7fVxuICAgICk7XG4gIH1cblxuICBwcml2YXRlIGJ1aWxkUXVlcnlTdHJpbmcoKTogc3RyaW5nIHtcbiAgICBjb25zdCBwYXJ0czogc3RyaW5nW10gPSBbXTtcbiAgICBmb3IgKGxldCBrZXkgb2YgT2JqZWN0LmtleXModGhpcy5xdWVyeSB8fCB7fSkuc29ydCgpKSB7XG4gICAgICBjb25zdCB2YWx1ZSA9IHRoaXMucXVlcnlba2V5XTtcbiAgICAgIGtleSA9IGVzY2FwZVVyaShrZXkpO1xuICAgICAgaWYgKEFycmF5LmlzQXJyYXkodmFsdWUpKSB7XG4gICAgICAgIGZvciAobGV0IGkgPSAwLCBpTGVuID0gdmFsdWUubGVuZ3RoOyBpIDwgaUxlbjsgaSsrKSB7XG4gICAgICAgICAgcGFydHMucHVzaChgJHtrZXl9PSR7ZXNjYXBlVXJpKHZhbHVlW2ldKX1gKTtcbiAgICAgICAgfVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgbGV0IHFzRW50cnkgPSBrZXk7XG4gICAgICAgIGlmICh2YWx1ZSB8fCB0eXBlb2YgdmFsdWUgPT09IFwic3RyaW5nXCIpIHtcbiAgICAgICAgICBxc0VudHJ5ICs9IGA9JHtlc2NhcGVVcmkodmFsdWUpfWA7XG4gICAgICAgIH1cbiAgICAgICAgcGFydHMucHVzaChxc0VudHJ5KTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gcGFydHMuam9pbihcIiZcIik7XG4gIH1cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cFJlcXVlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaHR0cFJlcXVlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6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3J0KCkpIHtcbiAgICAgIGNvbnN0IHZhbHVlID0gdGhpcy5xdWVyeVtrZXldO1xuICAgICAga2V5ID0gZXNjYXBlVXJpKGtleSk7XG4gICAgICBpZiAoQXJyYXkuaXNBcnJheSh2YWx1ZSkpIHtcbiAgICAgICAgZm9yIChsZXQgaSA9IDAsIGlMZW4gPSB2YWx1ZS5sZW5ndGg7IGkgPCBpTGVuOyBpKyspIHtcbiAgICAgICAgICBwYXJ0cy5wdXNoKGAke2tleX09JHtlc2NhcGVVcmkodmFsdWVbaV0pfWApO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBsZXQgcXNFbnRyeSA9IGtleTtcbiAgICAgICAgaWYgKHZhbHVlIHx8IHR5cGVvZiB2YWx1ZSA9PT0gXCJzdHJpbmdcIikge1xuICAgICAgICAgIHFzRW50cnkgKz0gYD0ke2VzY2FwZVVyaSh2YWx1ZSl9YDtcbiAgICAgICAgfVxuICAgICAgICBwYXJ0cy5wdXNoKHFzRW50cnkpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBwYXJ0cy5qb2luKFwiJlwiKTtcbiAgfVxufVxuIl19 |
@@ -11,6 +11,5 @@ import { HttpMessage, HeaderBag, HttpResponse as IHttpResponse } from "@aws-sdk/types"; | ||
body?: any; | ||
private readonly isHttpResponse; | ||
constructor(options: HttpResponseOptions); | ||
static isInstance(request: unknown): request is HttpResponse; | ||
static isInstance(response: unknown): response is HttpResponse; | ||
} | ||
export {}; |
@@ -5,3 +5,2 @@ "use strict"; | ||
function HttpResponse(options) { | ||
this.isHttpResponse = true; | ||
this.statusCode = options.statusCode; | ||
@@ -11,4 +10,8 @@ this.headers = options.headers || {}; | ||
} | ||
HttpResponse.isInstance = function (request) { | ||
return (request !== undefined && request.isHttpResponse === true); | ||
HttpResponse.isInstance = function (response) { | ||
//determine if response is a valid HttpResponse | ||
if (!response) | ||
return false; | ||
var resp = response; | ||
return (typeof resp.statusCode === "number" && typeof resp.headers === "object"); | ||
}; | ||
@@ -18,2 +21,2 @@ return HttpResponse; | ||
exports.HttpResponse = HttpResponse; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cFJlc3BvbnNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2h0dHBSZXNwb25zZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQVlBO0lBTUUsc0JBQVksT0FBNEI7UUFGdkIsbUJBQWMsR0FBRyxJQUFJLENBQUM7UUFHckMsSUFBSSxDQUFDLFVBQVUsR0FBRyxPQUFPLENBQUMsVUFBVSxDQUFDO1FBQ3JDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDLE9BQU8sSUFBSSxFQUFFLENBQUM7UUFDckMsSUFBSSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDO0lBQzNCLENBQUM7SUFFTSx1QkFBVSxHQUFqQixVQUFrQixPQUFnQjtRQUNoQyxPQUFPLENBQ0wsT0FBTyxLQUFLLFNBQVMsSUFBSyxPQUF3QixDQUFDLGNBQWMsS0FBSyxJQUFJLENBQzNFLENBQUM7SUFDSixDQUFDO0lBQ0gsbUJBQUM7QUFBRCxDQUFDLEFBakJELElBaUJDO0FBakJZLG9DQUFZIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgSHR0cE1lc3NhZ2UsXG4gIEhlYWRlckJhZyxcbiAgSHR0cFJlc3BvbnNlIGFzIElIdHRwUmVzcG9uc2Vcbn0gZnJvbSBcIkBhd3Mtc2RrL3R5cGVzXCI7XG5cbnR5cGUgSHR0cFJlc3BvbnNlT3B0aW9ucyA9IFBhcnRpYWw8SHR0cE1lc3NhZ2U+ICYge1xuICBzdGF0dXNDb2RlOiBudW1iZXI7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIEh0dHBSZXNwb25zZSBleHRlbmRzIElIdHRwUmVzc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gdGhpcy5ib2R5ID0gb3B0aW9ucy5ib2R5O1xuICB9XG5cbiAgc3RhdGljIGlzSW5zdGFuY2UocmVzcG9uc2U6IHVua25vd24pOiByZXNwb25zZSBpcyBIdHRwUmVzcG9uc2Uge1xuICAgIC8vZGV0ZXJtaW5lIGlmIHJlc3BvbnNlIGlzIGEgdmFsaWQgSHR0cFJlc3BvbnNlXG4gICAgaWYgKCFyZXNwb25zZSkgcmV0dXJuIGZhbHNlO1xuICAgIGNvbnN0IHJlc3AgPSByZXNwb25zZSBhcyBhbnk7XG4gICAgcmV0dXJuIChcbiAgICAgIHR5cGVvZiByZXNwLnN0YXR1c0NvZGUgPT09IFwibnVtYmVyXCIgJiYgdHlwZW9mIHJlc3AuaGVhZGVycyA9PT0gXCJvYmplY3RcIlxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -6,2 +6,30 @@ # Change Log | ||
# 1.0.0-alpha.3 (2020-01-10) | ||
### Bug Fixes | ||
* request/response object validation ([#709](https://github.com/aws/aws-sdk-js-v3/issues/709)) ([f6f8256](https://github.com/aws/aws-sdk-js-v3/commit/f6f8256)) | ||
# 0.9.0 (2020-01-09) | ||
### Bug Fixes | ||
* support custom agent in node http handler ([#489](https://github.com/aws/aws-sdk-js-v3/issues/489)) ([9c6cde8](https://github.com/aws/aws-sdk-js-v3/commit/9c6cde8)) | ||
* update updated types ([#474](https://github.com/aws/aws-sdk-js-v3/issues/474)) ([9efac3e](https://github.com/aws/aws-sdk-js-v3/commit/9efac3e)) | ||
### Features | ||
* apply protocol and middleware update ([0de0a22](https://github.com/aws/aws-sdk-js-v3/commit/0de0a22)) | ||
* remove protocol rest json class ([#438](https://github.com/aws/aws-sdk-js-v3/issues/438)) ([7ec275a](https://github.com/aws/aws-sdk-js-v3/commit/7ec275a)) | ||
* use flag to replace httprequest instanceof ([b584032](https://github.com/aws/aws-sdk-js-v3/commit/b584032)) | ||
# 1.0.0-alpha.2 (2020-01-09) | ||
@@ -8,0 +36,0 @@ |
{ | ||
"name": "@aws-sdk/protocol-http", | ||
"version": "1.0.0-alpha.2", | ||
"version": "1.0.0-alpha.3", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "prepublishOnly": "tsc", |
32780
185