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
4
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 3.0.3 to 3.0.4

8

CHANGELOG.md

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

<a name="3.0.4"></a>
## [3.0.4](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@3.0.3...aws-appsync-subscription-link@3.0.4) (2021-01-08)
**Note:** Version bump only for package aws-appsync-subscription-link
<a name="3.0.3"></a>

@@ -8,0 +16,0 @@ ## [3.0.3](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@3.0.2...aws-appsync-subscription-link@3.0.3) (2020-10-01)

5

lib/index.js

@@ -14,5 +14,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createSubscriptionHandshakeLink = exports.CONTROL_EVENTS_KEY = void 0;
var subscription_handshake_link_1 = require("./subscription-handshake-link");
Object.defineProperty(exports, "CONTROL_EVENTS_KEY", { enumerable: true, get: function () { return subscription_handshake_link_1.CONTROL_EVENTS_KEY; } });
exports.CONTROL_EVENTS_KEY = subscription_handshake_link_1.CONTROL_EVENTS_KEY;
var client_1 = require("@apollo/client");

@@ -32,3 +31,3 @@ var apollo_utilities_1 = require("apollo-utilities");

var _a;
var _b = operation, _c = _b.variables, _d = subscription_handshake_link_1.CONTROL_EVENTS_KEY, controlEvents = _c[_d], variables = __rest(_c, [typeof _d === "symbol" ? _d : _d + ""]);
var _b = operation.variables, _c = subscription_handshake_link_1.CONTROL_EVENTS_KEY, controlEvents = _b[_c], variables = __rest(_b, [typeof _c === "symbol" ? _c : _c + ""]);
if (typeof controlEvents !== "undefined") {

@@ -35,0 +34,0 @@ operation.variables = variables;

1

lib/non-terminating-http-link.js

@@ -16,3 +16,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.NonTerminatingHttpLink = void 0;
/*!

@@ -19,0 +18,0 @@ * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.

@@ -63,3 +63,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.NonTerminatingLink = void 0;
/*!

@@ -66,0 +65,0 @@ * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.

@@ -63,3 +63,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.AppSyncRealTimeSubscriptionHandshakeLink = exports.CONTROL_EVENTS_KEY = void 0;
/*!

@@ -708,2 +707,5 @@ * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.

var _a = this.subscriptionObserverMap.get(subscriptionId), observer = _a.observer, query = _a.query, variables = _a.variables;
if (!observer) {
return;
}
this.subscriptionObserverMap.set(subscriptionId, {

@@ -710,0 +712,0 @@ observer: observer,

@@ -1,2 +0,1 @@

/// <reference types="zen-observable" />
/*!

@@ -3,0 +2,0 @@ * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.

@@ -74,3 +74,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SubscriptionHandshakeLink = exports.CONTROL_EVENTS_KEY = void 0;
/*!

@@ -77,0 +76,0 @@ * Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.

@@ -1,2 +0,1 @@

/// <reference types="zen-observable" />
import { AuthOptions } from "aws-appsync-auth-link";

@@ -3,0 +2,0 @@ export declare enum SUBSCRIPTION_STATUS {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MESSAGE_TYPES = exports.SOCKET_STATUS = exports.SUBSCRIPTION_STATUS = void 0;
//#region Subscription link enums

@@ -5,0 +4,0 @@ var SUBSCRIPTION_STATUS;

@@ -8,2 +8,2 @@ "use strict";

var logger_1 = require("./logger");
Object.defineProperty(exports, "rootLogger", { enumerable: true, get: function () { return logger_1.default; } });
exports.rootLogger = logger_1.default;

@@ -52,3 +52,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.jitteredExponentialRetry = exports.retry = exports.NonRetryableError = void 0;
var index_1 = require("./index");

@@ -55,0 +54,0 @@ var logger = index_1.rootLogger.extend("retry");

{
"name": "aws-appsync-subscription-link",
"version": "3.0.3",
"version": "3.0.4",
"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