Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/eventstream-handler-node

Package Overview
Dependencies
Maintainers
5
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/eventstream-handler-node - npm Package Compare versions

Comparing version 1.0.0-gamma.3 to 1.0.0-gamma.4

dist/es/EventSigningStream.d.ts

17

CHANGELOG.md

@@ -6,2 +6,19 @@ # Change Log

# [1.0.0-gamma.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/eventstream-handler-node@1.0.0-gamma.3...@aws-sdk/eventstream-handler-node@1.0.0-gamma.4) (2020-08-04)
### Features
* build command ([#1407](https://github.com/aws/aws-sdk-js-v3/issues/1407)) ([81b2e87](https://github.com/aws/aws-sdk-js-v3/commit/81b2e87067642a8cea8649cbdb2c342ca9fb6ac6))
* refactor middleware stack ([#1398](https://github.com/aws/aws-sdk-js-v3/issues/1398)) ([9fedaa9](https://github.com/aws/aws-sdk-js-v3/commit/9fedaa9696ff1ecf5d1e92b28b34d573583a7842))
### BREAKING CHANGES
* addRelativeTo() now doesn't require step in options. The middleware will be injected to the same step as the toMiddleware
# [1.0.0-gamma.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/eventstream-handler-node@1.0.0-gamma.2...@aws-sdk/eventstream-handler-node@1.0.0-gamma.3) (2020-07-21)

@@ -8,0 +25,0 @@

5

dist/cjs/EventSigningStream.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventSigningStream = void 0;
var tslib_1 = require("tslib");

@@ -47,3 +48,3 @@ var stream_1 = require("stream");

serializedSigned = this.eventMarshaller.marshall({
headers: tslib_1.__assign({}, dateHeader, { ":chunk-signature": {
headers: tslib_1.__assign(tslib_1.__assign({}, dateHeader), { ":chunk-signature": {
type: "binary",

@@ -72,2 +73,2 @@ value: getSignatureBinary(signature),

}
//# sourceMappingURL=data:application/json;base64,eyJ2Z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IHtcbiAgICAgIGNhbGxiYWNrKGVycik7XG4gICAgfVxuICB9XG59XG5cbmZ1bmN0aW9uIGdldFNpZ25hdHVyZUJpbmFyeShzaWduYXR1cmU6IHN0cmluZyk6IFVpbnQ4QXJyYXkge1xuICBjb25zdCBidWYgPSBCdWZmZXIuZnJvbShzaWduYXR1cmUsIFwiaGV4XCIpO1xuICByZXR1cm4gbmV3IFVpbnQ4QXJyYXkoYnVmLmJ1ZmZlciwgYnVmLmJ5dGVPZmZzZXQsIGJ1Zi5ieXRlTGVuZ3RoIC8gVWludDhBcnJheS5CWVRFU19QRVJfRUxFTUVOVCk7XG59XG4iXX0=

3

dist/cjs/EventStreamPayloadHandler.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventStreamPayloadHandler = void 0;
var tslib_1 = require("tslib");

@@ -75,2 +76,2 @@ var eventstream_marshaller_1 = require("@aws-sdk/eventstream-marshaller");

exports.EventStreamPayloadHandler = EventStreamPayloadHandler;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXZlbnRTdHJlYW1QYXlsb2FkSGFuZGxlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9FdmVudFN0cmVhbVBheWxvYWRIYW5kbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBFQUEyRjtBQWMzRixpQ0FBeUQ7QUFFekQsMkRBQTBEO0FBUTFEOzs7Ozs7R0FNRztBQUNIO0lBR0UsbUNBQVksT0FBeUM7UUFDbkQsSUFBSSxDQUFDLFdBQVcsR0FBRyxPQUFPLENBQUMsV0FBVyxDQUFDO1FBQ3ZDLElBQUksQ0FBQyxlQUFlLEdBQUcsSUFBSSw4Q0FBZSxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsT0FBTyxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBQ3ZGLENBQUM7SUFFSywwQ0FBT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sZXI6IHRoaXMuZXZlbnRNYXJzaGFsbGVyLFxuICAgICAgZXZlbnRTaWduZXI6IGF3YWl0IHRoaXMuZXZlbnRTaWduZXIoKSxcbiAgICB9KTtcbiAgICBwaXBlbGluZShwYXlsb2FkU3RyZWFtLCBzaWduaW5nU3RyZWFtLCByZXF1ZXN0LmJvZHksIChlcnIpID0+IHtcbiAgICAgIGlmIChlcnIpIHtcbiAgICAgICAgdGhyb3cgZXJyO1xuICAgICAgfVxuICAgIH0pO1xuICAgIHJldHVybiByZXN1bHQ7XG4gIH1cbn1cbiJdfQ==
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var provider_1 = require("./provider");
exports.eventStreamPayloadHandlerProvider = provider_1.eventStreamPayloadHandlerProvider;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1Q0FBK0Q7QUFBdEQsdURBQUEsaUNBQWlDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBldmVudFN0cmVhbVBheWxvYWRIYW5kbGVyUHJvdmlkZXIgfSBmcm9tIFwiLi9wcm92aWRlclwiO1xuIl19
Object.defineProperty(exports, "eventStreamPayloadHandlerProvider", { enumerable: true, get: function () { return provider_1.eventStreamPayloadHandlerProvider; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1Q0FBK0Q7QUFBdEQsNkhBQUEsaUNBQWlDLE9BQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBldmVudFN0cmVhbVBheWxvYWRIYW5kbGVyUHJvdmlkZXIgfSBmcm9tIFwiLi9wcm92aWRlclwiO1xuIl19
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.eventStreamPayloadHandlerProvider = void 0;
var EventStreamPayloadHandler_1 = require("./EventStreamPayloadHandler");
/** NodeJS event stream utils provider */
exports.eventStreamPayloadHandlerProvider = function (options) { return new EventStreamPayloadHandler_1.EventStreamPayloadHandler(options); };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcHJvdmlkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFFQSx5RUFBd0U7QUFFeEUseUNBQXlDO0FBQzVCLFFBQUEsaUNBQWlDLEdBQXNDLFVBQUMsT0FJcEYsSUFBSyxPQUFBLElBQUkscURBQXlCLENBQUMsT0FBTyxDQUFDLEVBQXRDLENBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEZWNvZGVyLCBFbmNvZGVyLCBFdmVudFNpZ25lciwgRXZlbnRTdHJlYW1QYXlsb2FkSGFuZGxlclByb3ZpZGVyLCBQcm92aWRlciB9IGZyb20gXCJAYXdzLXNkay90eXBlc1wiO1xuXG5pbXBvcnQgeyBFdmVudFN0cmVhbVBheWxvYWRIYW5kbGVyIH0gZnJvbSBcIi4vRXZlbnRTdHJlYW1QYXlsb2FkSGFuZGxlclwiO1xuXG4vKiogTm9kZUpTIGV2ZW50IHN0cmVhbSB1dGlscyBwcm92aWRlciAqL1xuZXhwb3J0IGNvbnN0IGV2ZW50U3RyZWFtUGF5bG9hZEhhbmRsZXJQcm92aWRlcjogRXZlbnRTdHJlYW1QYXlsb2FkSGFuZGxlclByb3ZpZGVyID0gKG9wdGlvbnM6IHtcbiAgdXRmOEVuY29kZXI6IEVuY29kZXI7XG4gIHV0ZjhEZWNvZGV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cmVhbVBheWxvYWRIYW5kbGVyKG9wdGlvbnMpO1xuIl19
{
"name": "@aws-sdk/eventstream-handler-node",
"version": "1.0.0-gamma.3",
"version": "1.0.0-gamma.4",
"scripts": {

@@ -9,2 +9,3 @@ "prepublishOnly": "yarn build:cjs && yarn build:es",

"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"

@@ -21,11 +22,11 @@ },

"dependencies": {
"@aws-sdk/eventstream-marshaller": "1.0.0-gamma.4",
"@aws-sdk/types": "1.0.0-gamma.3",
"@aws-sdk/eventstream-marshaller": "1.0.0-gamma.5",
"@aws-sdk/types": "1.0.0-gamma.4",
"tslib": "^1.8.0"
},
"devDependencies": {
"@aws-sdk/util-utf8-node": "1.0.0-gamma.4",
"@aws-sdk/util-utf8-node": "1.0.0-gamma.5",
"@types/jest": "^26.0.4",
"jest": "^26.1.0",
"typescript": "~3.4.0"
"typescript": "~3.9.3"
},

@@ -32,0 +33,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc