apollo-cache-persist
Advanced tools
Comparing version 0.0.2-beta.4 to 0.1.0
{ | ||
"name": "apollo-cache-persist", | ||
"version": "0.0.2-beta.4", | ||
"version": "0.1.0", | ||
"description": "Simple persistence for all Apollo cache implementations", | ||
@@ -5,0 +5,0 @@ "author": "James Reggio <james.reggio@gmail.com>", |
# apollo-cache-persist [![npm version](https://badge.fury.io/js/apollo-cache-persist.svg)](https://badge.fury.io/js/apollo-cache-persist) [![build status](https://travis-ci.org/apollographql/apollo-cache-persist.svg?branch=master)](https://travis-ci.org/apollographql/apollo-cache-persist) | ||
**NOTE: This repo is in 'pre-release' and not quite ready to production use | ||
yet.** | ||
Simple persistence for all Apollo Client 2.0 cache implementations, including | ||
@@ -52,3 +49,3 @@ [`InMemoryCache`][0] and [`Hermes`][1]. | ||
cache, | ||
storage: document.localStorage, | ||
storage: window.localStorage, | ||
}); | ||
@@ -181,4 +178,4 @@ | ||
* `AsyncStorage` on React Native | ||
* `document.localStorage` on web | ||
* `document.sessionStorage` on web | ||
* `window.localStorage` on web | ||
* `window.sessionStorage` on web | ||
* [`localForage`](https://github.com/localForage/localForage) on web | ||
@@ -185,0 +182,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105619
302