@aws-amplify/api 4.0.34 → 4.0.35-api-logging.2
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/dist/aws-amplify-api.js
CHANGED
|
@@ -12750,7 +12750,11 @@ function (_super) {
|
|
|
12750
12750
|
};
|
|
12751
12751
|
|
|
12752
12752
|
AWSAppSyncRealTimeProvider.prototype._handleIncomingSubscriptionMessage = function (message) {
|
|
12753
|
-
|
|
12753
|
+
if (message.data && message.data === '{"type":"ka"}') {
|
|
12754
|
+
logger.verbose("subscription message from AWS AppSync RealTime: " + message.data);
|
|
12755
|
+
} else {
|
|
12756
|
+
logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
|
|
12757
|
+
}
|
|
12754
12758
|
|
|
12755
12759
|
var _a = JSON.parse(message.data),
|
|
12756
12760
|
_b = _a.id,
|