From 6daa066c5e74c1923e45e5bc2db379f3f4d481ef Mon Sep 17 00:00:00 2001 From: Manuel Iglesias Date: Fri, 16 Feb 2018 15:11:16 -0800 Subject: [PATCH] Add setimmediate as a dependency (#47) * Add setimmediate as a dependency * Update CHANGELOG.md --- packages/aws-appsync/CHANGELOG.md | 3 +++ packages/aws-appsync/package-lock.json | 5 +++++ packages/aws-appsync/package.json | 1 + packages/aws-appsync/src/client.js | 1 + 4 files changed, 10 insertions(+) diff --git a/packages/aws-appsync/CHANGELOG.md b/packages/aws-appsync/CHANGELOG.md index c83ca2ac..283048b5 100644 --- a/packages/aws-appsync/CHANGELOG.md +++ b/packages/aws-appsync/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +### vNext +- Add setimmediate as a dependency [PR#47](https://github.com/awslabs/aws-mobile-appsync-sdk-js/pull/47) + ### 1.0.10 - Update x-amz-user-agent header [PR#40](https://github.com/awslabs/aws-mobile-appsync-sdk-js/pull/40) diff --git a/packages/aws-appsync/package-lock.json b/packages/aws-appsync/package-lock.json index df6b4104..5f1a103b 100644 --- a/packages/aws-appsync/package-lock.json +++ b/packages/aws-appsync/package-lock.json @@ -467,6 +467,11 @@ "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o=" }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, "sigmund": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", diff --git a/packages/aws-appsync/package.json b/packages/aws-appsync/package.json index b036a447..e52ae03c 100644 --- a/packages/aws-appsync/package.json +++ b/packages/aws-appsync/package.json @@ -27,6 +27,7 @@ "paho-client": "^1.0.1", "redux": "^3.7.2", "redux-thunk": "^2.2.0", + "setimmediate": "^1.0.5", "url": "^0.11.0" }, "devDependencies": { diff --git a/packages/aws-appsync/src/client.js b/packages/aws-appsync/src/client.js index 888f8d8c..99f38b45 100644 --- a/packages/aws-appsync/src/client.js +++ b/packages/aws-appsync/src/client.js @@ -6,6 +6,7 @@ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, express or implied. See the License for the specific language governing permissions and limitations under the License. */ +import 'setimmediate'; import ApolloClient, { ApolloClientOptions, MutationOptions } from 'apollo-client'; import { InMemoryCache } from 'apollo-cache-inmemory'; import { ApolloLink, FetchResult } from 'apollo-link';