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

aws-appsync-subscription-link

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-appsync-subscription-link - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

16

CHANGELOG.md

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

<a name="2.2.0"></a>
# [2.2.0](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@2.1.0...aws-appsync-subscription-link@2.2.0) (2020-06-24)
### Bug Fixes
* **aws-appsync-subscription-link:** change relativ ([#564](https://github.com/awslabs/aws-mobile-appsync-sdk-js/issues/564)) ([f9d95a6](https://github.com/awslabs/aws-mobile-appsync-sdk-js/commit/f9d95a6))
### Features
* **aws-appsync-subscription-link:** allow custom headers to be processed by a Subscription resolver's vtl ([#497](https://github.com/awslabs/aws-mobile-appsync-sdk-js/issues/497)) ([6851a36](https://github.com/awslabs/aws-mobile-appsync-sdk-js/commit/6851a36))
<a name="2.1.0"></a>

@@ -8,0 +24,0 @@ # [2.1.0](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@2.0.1...aws-appsync-subscription-link@2.1.0) (2020-04-15)

5

lib/realtime-subscription-handshake-link.js

@@ -114,5 +114,5 @@ "use strict";

var query = operation.query, variables = operation.variables;
var _b = operation.getContext().controlMessages, _c = exports.CONTROL_EVENTS_KEY, controlEvents = (_b === void 0 ? (_a = {},
var _b = operation.getContext(), _c = _b.controlMessages, _d = exports.CONTROL_EVENTS_KEY, controlEvents = (_c === void 0 ? (_a = {},
_a[exports.CONTROL_EVENTS_KEY] = undefined,
_a) : _b)[_c];
_a) : _c)[_d], headers = _b.headers;
return new apollo_link_1.Observable(function (observer) {

@@ -125,2 +125,3 @@ var subscriptionId = uuid_1.v4();

region: _this.region,
graphql_headers: function () { return (headers); },
variables: variables,

@@ -127,0 +128,0 @@ apiKey: _this.auth.type === aws_appsync_auth_link_1.AUTH_TYPE.API_KEY ? _this.auth.apiKey : "",

4

lib/utils/retry.js

@@ -52,4 +52,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var _1 = require(".");
var logger = _1.rootLogger.extend("retry");
var index_1 = require("./index");
var logger = index_1.rootLogger.extend("retry");
var MAX_DELAY_MS = 5000;

@@ -56,0 +56,0 @@ /**

{
"name": "aws-appsync-subscription-link",
"version": "2.1.0",
"version": "2.2.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

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