@aws-amplify/api-graphql 2.3.16 → 2.3.17
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,14 @@
|
|
|
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
|
+
## [2.3.17](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@2.3.16...@aws-amplify/api-graphql@2.3.17) (2022-09-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-amplify/api-graphql
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [2.3.16](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-graphql@2.3.15...@aws-amplify/api-graphql@2.3.16) (2022-09-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/api-graphql
|
|
@@ -12877,7 +12877,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12877
12877
|
/* harmony import */ var _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__);
|
|
12878
12878
|
/* harmony import */ var _utils_ConnectionStateMonitor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/ConnectionStateMonitor */ "../pubsub/lib-esm/utils/ConnectionStateMonitor.js");
|
|
12879
12879
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./constants */ "../pubsub/lib-esm/Providers/constants.js");
|
|
12880
|
-
/* harmony import */ var ___WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! .. */ "../pubsub/lib-esm/index.js");
|
|
12881
12880
|
function _typeof(obj) {
|
|
12882
12881
|
"@babel/helpers - typeof";
|
|
12883
12882
|
|
|
@@ -13106,7 +13105,6 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
13106
13105
|
|
|
13107
13106
|
|
|
13108
13107
|
|
|
13109
|
-
|
|
13110
13108
|
var logger = new _aws_amplify_core__WEBPACK_IMPORTED_MODULE_4__["ConsoleLogger"]('MqttOverWSProvider');
|
|
13111
13109
|
function mqttTopicMatch(filter, topic) {
|
|
13112
13110
|
var filterArray = filter.split('/');
|
|
@@ -13202,7 +13200,7 @@ function (_super) {
|
|
|
13202
13200
|
_this._clientIdObservers = new Map(); // Monitor the connection health state and pass changes along to Hub
|
|
13203
13201
|
|
|
13204
13202
|
_this.connectionStateMonitor.connectionStateObservable.subscribe(function (connectionStateChange) {
|
|
13205
|
-
dispatchPubSubEvent(
|
|
13203
|
+
dispatchPubSubEvent(_constants__WEBPACK_IMPORTED_MODULE_6__["CONNECTION_STATE_CHANGE"], {
|
|
13206
13204
|
provider: _this,
|
|
13207
13205
|
connectionState: connectionStateChange
|
|
13208
13206
|
}, "Connection state is " + connectionStateChange);
|
|
@@ -13686,13 +13684,14 @@ function () {
|
|
|
13686
13684
|
/*!************************************************!*\
|
|
13687
13685
|
!*** ../pubsub/lib-esm/Providers/constants.js ***!
|
|
13688
13686
|
\************************************************/
|
|
13689
|
-
/*! 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 */
|
|
13687
|
+
/*! 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 */
|
|
13690
13688
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13691
13689
|
|
|
13692
13690
|
"use strict";
|
|
13693
13691
|
__webpack_require__.r(__webpack_exports__);
|
|
13694
13692
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MAX_DELAY_MS", function() { return MAX_DELAY_MS; });
|
|
13695
13693
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NON_RETRYABLE_CODES", function() { return NON_RETRYABLE_CODES; });
|
|
13694
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONNECTION_STATE_CHANGE", function() { return CONNECTION_STATE_CHANGE; });
|
|
13696
13695
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MESSAGE_TYPES", function() { return MESSAGE_TYPES; });
|
|
13697
13696
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SUBSCRIPTION_STATUS", function() { return SUBSCRIPTION_STATUS; });
|
|
13698
13697
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SOCKET_STATUS", function() { return SOCKET_STATUS; });
|
|
@@ -13704,6 +13703,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
13704
13703
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT", function() { return DEFAULT_KEEP_ALIVE_ALERT_TIMEOUT; });
|
|
13705
13704
|
var MAX_DELAY_MS = 5000;
|
|
13706
13705
|
var NON_RETRYABLE_CODES = [400, 401, 403];
|
|
13706
|
+
var CONNECTION_STATE_CHANGE = 'ConnectionStateChange';
|
|
13707
13707
|
var MESSAGE_TYPES;
|
|
13708
13708
|
|
|
13709
13709
|
(function (MESSAGE_TYPES) {
|
|
@@ -14249,7 +14249,6 @@ _aws_amplify_core__WEBPACK_IMPORTED_MODULE_1__["Amplify"].register(PubSub);
|
|
|
14249
14249
|
|
|
14250
14250
|
"use strict";
|
|
14251
14251
|
__webpack_require__.r(__webpack_exports__);
|
|
14252
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONNECTION_STATE_CHANGE", function() { return CONNECTION_STATE_CHANGE; });
|
|
14253
14252
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONTROL_MSG", function() { return CONTROL_MSG; });
|
|
14254
14253
|
/* harmony import */ var _PubSub__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PubSub */ "../pubsub/lib-esm/PubSub.js");
|
|
14255
14254
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PubSub", function() { return _PubSub__WEBPACK_IMPORTED_MODULE_0__["PubSub"]; });
|
|
@@ -14267,8 +14266,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14267
14266
|
|
|
14268
14267
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "MqttOverWSProvider", function() { return _Providers__WEBPACK_IMPORTED_MODULE_1__["MqttOverWSProvider"]; });
|
|
14269
14268
|
|
|
14270
|
-
/* harmony import */ var
|
|
14271
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
14269
|
+
/* harmony import */ var _Providers_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Providers/constants */ "../pubsub/lib-esm/Providers/constants.js");
|
|
14270
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CONNECTION_STATE_CHANGE", function() { return _Providers_constants__WEBPACK_IMPORTED_MODULE_2__["CONNECTION_STATE_CHANGE"]; });
|
|
14271
|
+
|
|
14272
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./types */ "../pubsub/lib-esm/types/index.js");
|
|
14273
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ConnectionState", function() { return _types__WEBPACK_IMPORTED_MODULE_3__["ConnectionState"]; });
|
|
14272
14274
|
|
|
14273
14275
|
/*
|
|
14274
14276
|
* Copyright 2017-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
@@ -14294,7 +14296,7 @@ var CONTROL_MSG;
|
|
|
14294
14296
|
CONTROL_MSG["TIMEOUT_DISCONNECT"] = "Timeout disconnect";
|
|
14295
14297
|
})(CONTROL_MSG || (CONTROL_MSG = {}));
|
|
14296
14298
|
|
|
14297
|
-
|
|
14299
|
+
|
|
14298
14300
|
|
|
14299
14301
|
|
|
14300
14302
|
/**
|