@aws-amplify/pubsub 4.2.9-cloud-logging.3 → 4.2.9-unstable.4

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.
@@ -8342,11 +8342,7 @@ function (_super) {
8342
8342
  };
8343
8343
 
8344
8344
  AWSAppSyncRealTimeProvider.prototype._handleIncomingSubscriptionMessage = function (message) {
8345
- if (message.data && message.data === '{"type":"ka"}') {
8346
- logger.verbose("subscription message from AWS AppSync RealTime: " + message.data);
8347
- } else {
8348
- logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
8349
- }
8345
+ logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
8350
8346
 
8351
8347
  var _a = JSON.parse(message.data),
8352
8348
  _b = _a.id,
@@ -8365,21 +8361,12 @@ function (_super) {
8365
8361
  subscriptionReadyCallback = _c.subscriptionReadyCallback,
8366
8362
  subscriptionFailedCallback = _c.subscriptionFailedCallback;
8367
8363
 
8368
- if (!id && !observer && !query && Object.keys(variables).length === 0) {
8369
- logger.verbose({
8370
- id: id,
8371
- observer: observer,
8372
- query: query,
8373
- variables: variables
8374
- });
8375
- } else {
8376
- logger.debug({
8377
- id: id,
8378
- observer: observer,
8379
- query: query,
8380
- variables: variables
8381
- });
8382
- }
8364
+ logger.debug({
8365
+ id: id,
8366
+ observer: observer,
8367
+ query: query,
8368
+ variables: variables
8369
+ });
8383
8370
 
8384
8371
  if (type === MESSAGE_TYPES.GQL_DATA && payload && payload.data) {
8385
8372
  if (observer) {