aws-appsync-subscription-link 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/lib/subscription-handshake-link.d.ts +2 -2
- package/lib/types/index.d.ts +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
<a name="2.4.1"></a>
|
|
7
|
+
## [2.4.1](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@2.4.0...aws-appsync-subscription-link@2.4.1) (2022-10-07)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **data:** port over Angular fix from master ([#733](https://github.com/awslabs/aws-mobile-appsync-sdk-js/issues/733)) ([0a38f28](https://github.com/awslabs/aws-mobile-appsync-sdk-js/commit/0a38f28))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
<a name="2.4.0"></a>
|
|
7
18
|
# [2.4.0](https://github.com/awslabs/aws-mobile-appsync-sdk-js/compare/aws-appsync-subscription-link@2.3.0...aws-appsync-subscription-link@2.4.0) (2022-06-24)
|
|
8
19
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="zen-observable" />
|
|
2
1
|
/*!
|
|
3
2
|
* Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
4
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
4
|
*/
|
|
6
5
|
import { ApolloLink, Observable, Operation, FetchResult } from "apollo-link";
|
|
6
|
+
import * as ZenObservable from 'zen-observable-ts';
|
|
7
7
|
declare type MqttConnectionInfo = {
|
|
8
8
|
client: string;
|
|
9
9
|
url: string;
|
|
@@ -15,7 +15,7 @@ export declare class SubscriptionHandshakeLink extends ApolloLink {
|
|
|
15
15
|
private topicObservers;
|
|
16
16
|
private clientObservers;
|
|
17
17
|
constructor(subsInfoContextKey: any);
|
|
18
|
-
request(operation: Operation): Observable<
|
|
18
|
+
request(operation: Operation): Observable<FetchResult> | null;
|
|
19
19
|
connectNewClients(connectionInfo: MqttConnectionInfo[], observer: ZenObservable.Observer<FetchResult>, operation: Operation): Promise<any[]>;
|
|
20
20
|
connectNewClient(connectionInfo: MqttConnectionInfo, observer: ZenObservable.Observer<FetchResult>, selectionNames: string[]): Promise<any>;
|
|
21
21
|
subscribeToTopics<T>(client: any, topics: string[], observer: ZenObservable.Observer<T>): Promise<unknown[]>;
|
package/lib/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aws-appsync-subscription-link",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "AWS Mobile AppSync SDK for JavaScript",
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"apollo-link-retry": "2.2.7",
|
|
26
26
|
"aws-appsync-auth-link": "^2.0.8",
|
|
27
27
|
"debug": "2.6.9",
|
|
28
|
-
"url": "^0.11.0"
|
|
28
|
+
"url": "^0.11.0",
|
|
29
|
+
"zen-observable-ts": "^1.2.5"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@redux-offline/redux-offline": "2.5.2-native.0",
|