aws-appsync-subscription-link
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -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) |
@@ -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 : "", |
@@ -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", |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
272245
6083