@aws-amplify/api-graphql 2.2.23-cloud-logging.7 → 2.2.23-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.
@@ -11838,11 +11838,7 @@ function (_super) {
11838
11838
  };
11839
11839
 
11840
11840
  AWSAppSyncRealTimeProvider.prototype._handleIncomingSubscriptionMessage = function (message) {
11841
- if (message.data && message.data === '{"type":"ka"}') {
11842
- logger.verbose("subscription message from AWS AppSync RealTime: " + message.data);
11843
- } else {
11844
- logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
11845
- }
11841
+ logger.debug("subscription message from AWS AppSync RealTime: " + message.data);
11846
11842
 
11847
11843
  var _a = JSON.parse(message.data),
11848
11844
  _b = _a.id,
@@ -11861,21 +11857,12 @@ function (_super) {
11861
11857
  subscriptionReadyCallback = _c.subscriptionReadyCallback,
11862
11858
  subscriptionFailedCallback = _c.subscriptionFailedCallback;
11863
11859
 
11864
- if (!id && !observer && !query && Object.keys(variables).length === 0) {
11865
- logger.verbose({
11866
- id: id,
11867
- observer: observer,
11868
- query: query,
11869
- variables: variables
11870
- });
11871
- } else {
11872
- logger.debug({
11873
- id: id,
11874
- observer: observer,
11875
- query: query,
11876
- variables: variables
11877
- });
11878
- }
11860
+ logger.debug({
11861
+ id: id,
11862
+ observer: observer,
11863
+ query: query,
11864
+ variables: variables
11865
+ });
11879
11866
 
11880
11867
  if (type === MESSAGE_TYPES.GQL_DATA && payload && payload.data) {
11881
11868
  if (observer) {