@aws-amplify/api 4.0.50-unstable.4 → 4.0.51
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
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [4.0.51](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.50...@aws-amplify/api@4.0.51) (2022-08-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-amplify/api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.0.50](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.49...@aws-amplify/api@4.0.50) (2022-08-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-amplify/api
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [4.0.49](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.48...@aws-amplify/api@4.0.49) (2022-08-16)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-amplify/api
|
package/dist/aws-amplify-api.js
CHANGED
|
@@ -13219,14 +13219,17 @@ function (_super) {
|
|
|
13219
13219
|
|
|
13220
13220
|
_this.awsRealTimeSocket.send(JSON.stringify(gqlInit));
|
|
13221
13221
|
|
|
13222
|
-
|
|
13223
|
-
|
|
13222
|
+
var checkAckOk_1 = function checkAckOk_1(ackOk) {
|
|
13223
|
+
if (!ackOk) {
|
|
13224
|
+
_this.connectionStateMonitor.record(_utils_ConnectionStateMonitor__WEBPACK_IMPORTED_MODULE_11__["CONNECTION_CHANGE"].CONNECTION_FAILED);
|
|
13224
13225
|
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
|
|
13228
|
-
|
|
13229
|
-
|
|
13226
|
+
rej(new Error("Connection timeout: ack from AWSAppSyncRealTime was not received after " + _constants__WEBPACK_IMPORTED_MODULE_10__["CONNECTION_INIT_TIMEOUT"] + " ms"));
|
|
13227
|
+
}
|
|
13228
|
+
};
|
|
13229
|
+
|
|
13230
|
+
setTimeout(function () {
|
|
13231
|
+
return checkAckOk_1(ackOk_1);
|
|
13232
|
+
}, _constants__WEBPACK_IMPORTED_MODULE_10__["CONNECTION_INIT_TIMEOUT"]);
|
|
13230
13233
|
}
|
|
13231
13234
|
});
|
|
13232
13235
|
}()];
|