UNPKG

746 BJavaScriptView Raw
1"use strict";
2// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3// SPDX-License-Identifier: Apache-2.0
4Object.defineProperty(exports, "__esModule", { value: true });
5exports.USER_AGENT_HEADER = exports.INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER = void 0;
6/**
7 * This Symbol is used to reference an internal-only PubSub provider that
8 * is used for AppSync/GraphQL subscriptions in the API category.
9 */
10var hasSymbol = typeof Symbol !== 'undefined' && typeof Symbol.for === 'function';
11exports.INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER = hasSymbol
12 ? Symbol.for('INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER')
13 : '@@INTERNAL_AWS_APPSYNC_REALTIME_PUBSUB_PROVIDER';
14exports.USER_AGENT_HEADER = 'x-amz-user-agent';