@aws-amplify/api 4.0.33-cloud-logging.3 → 4.0.33-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.
@@ -12749,11 +12749,7 @@ function (_super) {
12749
12749
  };
12750
12750
 
12751
12751
  AWSAppSyncRealTimeProvider.prototype._handleIncomingSubscriptionMessage = function (message) {
12752
- if (message.data && message.data === '{"type":"ka"}') {
12753
- logger.verbose("subscription message from AWS AppSync RealTime: " + message.data);
12754
- } else {
12755
- logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
12756
- }
12752
+ logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
12757
12753
 
12758
12754
  var _a = JSON.parse(message.data),
12759
12755
  _b = _a.id,
@@ -12772,21 +12768,12 @@ function (_super) {
12772
12768
  subscriptionReadyCallback = _c.subscriptionReadyCallback,
12773
12769
  subscriptionFailedCallback = _c.subscriptionFailedCallback;
12774
12770
 
12775
- if (!id && !observer && !query && Object.keys(variables).length === 0) {
12776
- logger.verbose({
12777
- id: id,
12778
- observer: observer,
12779
- query: query,
12780
- variables: variables
12781
- });
12782
- } else {
12783
- logger.debug({
12784
- id: id,
12785
- observer: observer,
12786
- query: query,
12787
- variables: variables
12788
- });
12789
- }
12771
+ logger.debug({
12772
+ id: id,
12773
+ observer: observer,
12774
+ query: query,
12775
+ variables: variables
12776
+ });
12790
12777
 
12791
12778
  if (type === MESSAGE_TYPES.GQL_DATA && payload && payload.data) {
12792
12779
  if (observer) {