@aws-amplify/api 4.0.52-unstable.1 → 4.0.53
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.53](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.52...@aws-amplify/api@4.0.53) (2022-09-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-amplify/api
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.0.52](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api@4.0.51...@aws-amplify/api@4.0.52) (2022-09-01)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-amplify/api
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [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
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-amplify/api
|
package/dist/aws-amplify-api.js
CHANGED
|
@@ -13798,7 +13798,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13798
13798
|
/* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__);
|
|
13799
13799
|
/* harmony import */ var _utils_ConnectionStateMonitor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/ConnectionStateMonitor */ "../pubsub/lib-esm/utils/ConnectionStateMonitor.js");
|
|
13800
13800
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ "../pubsub/lib-esm/Providers/constants.js");
|
|
13801
|
-
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! .. */ "../pubsub/lib-esm/index.js");
|
|
13802
13801
|
function _typeof(obj) {
|
|
13803
13802
|
"@babel/helpers - typeof";
|
|
13804
13803
|
|
|
@@ -14027,7 +14026,6 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
14027
14026
|
|
|
14028
14027
|
|
|
14029
14028
|
|
|
14030
|
-
|
|
14031
14029
|
var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__["ConsoleLogger"]('MqttOverWSProvider');
|
|
14032
14030
|
function mqttTopicMatch(filter, topic) {
|
|
14033
14031
|
var filterArray = filter.split('/');
|
|
@@ -14123,7 +14121,7 @@ function (_super) {
|
|
|
14123
14121
|
_this._clientIdObservers = new Map(); // Monitor the connection health state and pass changes along to Hub
|
|
14124
14122
|
|
|
14125
14123
|
_this.connectionStateMonitor.connectionStateObservable.subscribe(function (connectionStateChange) {
|
|
14126
|
-
dispatchPubSubEvent(
|
|
14124
|
+
dispatchPubSubEvent(_constants__WEBPACK_IMPORTED_MODULE_6__["CONNECTION_STATE_CHANGE"], {
|
|
14127
14125
|
provider: _this,
|
|
14128
14126
|
connectionState: connectionStateChange
|
|
14129
14127
|
}, "Connection state is " + connectionStateChange);
|
|
@@ -14607,13 +14605,14 @@ function () {
|
|
|
14607
14605
|
/*!************************************************!*\
|
|
14608
14606
|
!*** ../pubsub/lib-esm/Providers/constants.js ***!
|
|
14609
14607
|
\************************************************/
|
|
14610
|
-
/*! exports provided: MAX_DELAY_MS, NON_RETRYABLE_CODES, MESSAGE_TYPES, SUBSCRIPTION_STATUS, SOCKET_STATUS, AMPLIFY_SYMBOL, AWS_APPSYNC_REALTIME_HEADERS, CONNECTION_INIT_TIMEOUT, START_ACK_TIMEOUT, DEFAULT_KEEP_ALIVE_TIMEOUT, DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT */
|
|
14608
|
+
/*! exports provided: MAX_DELAY_MS, NON_RETRYABLE_CODES, CONNECTION_STATE_CHANGE, MESSAGE_TYPES, SUBSCRIPTION_STATUS, SOCKET_STATUS, AMPLIFY_SYMBOL, AWS_APPSYNC_REALTIME_HEADERS, CONNECTION_INIT_TIMEOUT, START_ACK_TIMEOUT, DEFAULT_KEEP_ALIVE_TIMEOUT, DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT */
|
|
14611
14609
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14612
14610
|
|
|
14613
14611
|
"use strict";
|
|
14614
14612
|
__webpack_require__.r(__webpack_exports__);
|
|
14615
14613
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MAX_DELAY_MS", function() { return MAX_DELAY_MS; });
|
|
14616
14614
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NON_RETRYABLE_CODES", function() { return NON_RETRYABLE_CODES; });
|
|
14615
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONNECTION_STATE_CHANGE", function() { return CONNECTION_STATE_CHANGE; });
|
|
14617
14616
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MESSAGE_TYPES", function() { return MESSAGE_TYPES; });
|
|
14618
14617
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SUBSCRIPTION_STATUS", function() { return SUBSCRIPTION_STATUS; });
|
|
14619
14618
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SOCKET_STATUS", function() { return SOCKET_STATUS; });
|
|
@@ -14625,6 +14624,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14625
14624
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT", function() { return DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT; });
|
|
14626
14625
|
var MAX_DELAY_MS = 5000;
|
|
14627
14626
|
var NON_RETRYABLE_CODES = [400, 401, 403];
|
|
14627
|
+
var CONNECTION_STATE_CHANGE = 'ConnectionStateChange';
|
|
14628
14628
|
var MESSAGE_TYPES;
|
|
14629
14629
|
|
|
14630
14630
|
(function (MESSAGE_TYPES) {
|
|
@@ -15170,7 +15170,6 @@ _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Amplify"].register(PubSub);
|
|
|
15170
15170
|
|
|
15171
15171
|
"use strict";
|
|
15172
15172
|
__webpack_require__.r(__webpack_exports__);
|
|
15173
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONNECTION_STATE_CHANGE", function() { return CONNECTION_STATE_CHANGE; });
|
|
15174
15173
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONTROL_MSG", function() { return CONTROL_MSG; });
|
|
15175
15174
|
/* harmony import */ var _PubSub__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PubSub */ "../pubsub/lib-esm/PubSub.js");
|
|
15176
15175
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PubSub", function() { return _PubSub__WEBPACK_IMPORTED_MODULE_0__["PubSub"]; });
|
|
@@ -15188,8 +15187,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15188
15187
|
|
|
15189
15188
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MqttOverWSProvider", function() { return _Providers__WEBPACK_IMPORTED_MODULE_1__["MqttOverWSProvider"]; });
|
|
15190
15189
|
|
|
15191
|
-
/* harmony import */ var
|
|
15192
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
15190
|
+
/* harmony import */ var _Providers_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Providers/constants */ "../pubsub/lib-esm/Providers/constants.js");
|
|
15191
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CONNECTION_STATE_CHANGE", function() { return _Providers_constants__WEBPACK_IMPORTED_MODULE_2__["CONNECTION_STATE_CHANGE"]; });
|
|
15192
|
+
|
|
15193
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "../pubsub/lib-esm/types/index.js");
|
|
15194
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConnectionState", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["ConnectionState"]; });
|
|
15193
15195
|
|
|
15194
15196
|
/*
|
|
15195
15197
|
* Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
@@ -15215,7 +15217,7 @@ var CONTROL_MSG;
|
|
|
15215
15217
|
CONTROL_MSG["TIMEOUT_DISCONNECT"] = "Timeout disconnect";
|
|
15216
15218
|
})(CONTROL_MSG || (CONTROL_MSG = {}));
|
|
15217
15219
|
|
|
15218
|
-
|
|
15220
|
+
|
|
15219
15221
|
|
|
15220
15222
|
|
|
15221
15223
|
/**
|