@aws-amplify/api-graphql 4.0.1-console-preview.5a31ca1.0 → 4.0.1-console-preview.8d88eef.0

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.
@@ -14,7 +14,7 @@ var PubSub_1 = require("../../types/PubSub");
14
14
  var constants_1 = require("../constants");
15
15
  var ConnectionStateMonitor_1 = require("../../utils/ConnectionStateMonitor");
16
16
  var ReconnectionMonitor_1 = require("../../utils/ReconnectionMonitor");
17
- var logger = new utils_1.Logger('AWSAppSyncRealTimeProvider');
17
+ var logger = new core_1.ConsoleLogger('AWSAppSyncRealTimeProvider');
18
18
  var dispatchApiEvent = function (payload) {
19
19
  core_1.Hub.dispatch('api', payload, 'PubSub', constants_1.AMPLIFY_SYMBOL);
20
20
  };
@@ -4,6 +4,7 @@ var tslib_1 = require("tslib");
4
4
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
5
  // SPDX-License-Identifier: Apache-2.0
6
6
  var graphql_1 = require("graphql");
7
+ var core_1 = require("@aws-amplify/core");
7
8
  var utils_1 = require("@aws-amplify/core/internals/utils");
8
9
  var types_1 = require("../types");
9
10
  var api_rest_1 = require("@aws-amplify/api-rest");
@@ -11,7 +12,7 @@ var internals_1 = require("@aws-amplify/api-rest/internals");
11
12
  var AWSAppSyncRealTimeProvider_1 = require("../Providers/AWSAppSyncRealTimeProvider");
12
13
  var utils_2 = require("../utils");
13
14
  var USER_AGENT_HEADER = 'x-amz-user-agent';
14
- var logger = new utils_1.ConsoleLogger('GraphQLAPI');
15
+ var logger = new core_1.ConsoleLogger('GraphQLAPI');
15
16
  exports.graphqlOperation = function (query, variables, authToken) {
16
17
  if (variables === void 0) { variables = {}; }
17
18
  return ({