From e839c92a03e6bc5ae184c38ad02975d78f8f72e3 Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Wed, 15 May 2019 15:48:37 +0100 Subject: [PATCH] fix: Use upstream cache persist --- packages/sync/package.json | 2 +- packages/sync/src/offline/storage/defaultStorage.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sync/package.json b/packages/sync/package.json index 63763bdd..2c0e7b91 100644 --- a/packages/sync/package.json +++ b/packages/sync/package.json @@ -47,7 +47,7 @@ }, "dependencies": { "@aerogear/core": "2.5.0-rc1", - "@graphqlheroes/apollo-cache-persist": "0.1.2", + "apollo-cache-persist": "0.1.1", "apollo-cache-inmemory": "1.5.1", "apollo-client": "2.5.1", "apollo-link": "1.2.11", diff --git a/packages/sync/src/offline/storage/defaultStorage.ts b/packages/sync/src/offline/storage/defaultStorage.ts index 60ec45dc..eaca0878 100644 --- a/packages/sync/src/offline/storage/defaultStorage.ts +++ b/packages/sync/src/offline/storage/defaultStorage.ts @@ -1,5 +1,5 @@ import { Store } from "idb-localstorage"; -import { persistCache } from "@graphqlheroes/apollo-cache-persist"; +import { persistCache } from "apollo-cache-persist"; import { InMemoryCache } from "apollo-cache-inmemory"; import { PersistedData, PersistentStore } from "./PersistentStore";