UNPKG

@aws-amplify/core

Version:
15 lines (14 loc) 746 B
"use strict"; // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.USER_AGENT_HEADER = exports.INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER = void 0; /** * This Symbol is used to reference an internal-only PubSub provider that * is used for AppSync/GraphQL subscriptions in the API category. */ var hasSymbol = typeof Symbol !== 'undefined' && typeof Symbol.for === 'function'; exports.INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER = hasSymbol ? Symbol.for('INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER') : '@@INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER'; exports.USER_AGENT_HEADER = 'x-amz-user-agent';