@aws-amplify/api 4.0.34-cloud-logging.7 → 4.0.34-unstable.3

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