@aws-amplify/core
Advanced tools
Comparing version 1.0.27 to 1.0.28-unstable.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.0.28-unstable.0"></a> | ||
## [1.0.28-unstable.0](https://github.com/aws/aws-amplify/compare/@aws-amplify/core@1.0.27...@aws-amplify/core@1.0.28-unstable.0) (2019-05-17) | ||
### Bug Fixes | ||
* **@aws-amplify/core:** guard for Symbol reference ([ac76a7f](https://github.com/aws/aws-amplify/commit/ac76a7f)) | ||
<a name="1.0.27"></a> | ||
@@ -8,0 +19,0 @@ ## [1.0.27](https://github.com/aws/aws-amplify/compare/@aws-amplify/core@1.0.27-unstable.0...@aws-amplify/core@1.0.27) (2019-05-14) |
@@ -1,5 +0,1 @@ | ||
/** | ||
* This Symbol is used to reference an internal-only PubSub provider that | ||
* is used for AppSync/GraphQL subscriptions in the API category. | ||
*/ | ||
export declare const INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER: unique symbol; | ||
export declare const INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER: string | symbol; |
@@ -19,3 +19,5 @@ "use strict"; | ||
*/ | ||
exports.INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER = Symbol('INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER'); | ||
var hasSymbol = (typeof (Symbol) !== 'undefined' && typeof (Symbol.for) === 'function'); | ||
exports.INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER = hasSymbol ? | ||
Symbol.for('INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER') : '@@INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER'; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@aws-amplify/core", | ||
"version": "1.0.27", | ||
"version": "1.0.28-unstable.0", | ||
"description": "Core category of aws-amplify", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -15,5 +15,8 @@ /* | ||
/** | ||
* This Symbol is used to reference an internal-only PubSub provider that | ||
* This Symbol is used to reference an internal-only PubSub provider that | ||
* is used for AppSync/GraphQL subscriptions in the API category. | ||
*/ | ||
export const INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER = Symbol('INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER'); | ||
const hasSymbol = (typeof(Symbol) !== 'undefined' && typeof(Symbol.for) === 'function'); | ||
export const INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER = hasSymbol ? | ||
Symbol.for('INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER') : '@@INTERNAL_AWS_APPSYNC_PUBSUB_PROVIDER'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4114164
1