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
5
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.1.1 to 3.1.2

11

CHANGELOG.md

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

<a name="3.1.2"></a>
## [3.1.2](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@3.1.1...aws-appsync-subscription-link@3.1.2) (2022-11-17)
### Bug Fixes
* added check for observer ([#735](https://github.com/awslabs/aws-mobile-appsync-sdk-js/issues/735)) ([db8f9ae](https://github.com/awslabs/aws-mobile-appsync-sdk-js/commit/db8f9ae))
<a name="3.1.1"></a>

@@ -8,0 +19,0 @@ ## [3.1.1](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@3.1.0...aws-appsync-subscription-link@3.1.1) (2022-10-07)

17

lib/realtime-subscription-handshake-link.js

@@ -735,9 +735,14 @@ "use strict";

});
observer.error({
errors: [
__assign({}, new graphql_1.GraphQLError("Connection failed: " + JSON.stringify(payload)))
]
});
clearTimeout(startAckTimeoutId);
observer.complete();
if (observer) {
observer.error({
errors: [
__assign({}, new graphql_1.GraphQLError("Connection failed: " + JSON.stringify(payload)))
]
});
observer.complete();
}
else {
logger("observer not found for id: " + id);
}
if (typeof subscriptionFailedCallback === "function") {

@@ -744,0 +749,0 @@ subscriptionFailedCallback();

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