apollo-cache-inmemory
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -5,2 +5,5 @@ # Change log | ||
### 1.1.4 | ||
- Change access modifier for data from "private" to "protected", to allow InMemoryCache subclasses to access it. | ||
### 1.1.3 | ||
@@ -7,0 +10,0 @@ - improves performance of in memory cache |
import { DocumentNode } from 'graphql'; | ||
import { Cache, DataProxy, ApolloCache, Transaction } from 'apollo-cache'; | ||
import { OptimisticStoreItem, ApolloReducerConfig, NormalizedCacheObject } from './types'; | ||
import { OptimisticStoreItem, ApolloReducerConfig, NormalizedCache, NormalizedCacheObject } from './types'; | ||
export declare function defaultDataIdFromObject(result: any): string | null; | ||
export declare class InMemoryCache extends ApolloCache<NormalizedCacheObject> { | ||
private data; | ||
protected data: NormalizedCache; | ||
protected config: ApolloReducerConfig; | ||
@@ -8,0 +8,0 @@ protected optimistic: OptimisticStoreItem[]; |
{ | ||
"name": "apollo-cache-inmemory", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Core abstract of Caching layer for Apollo Client", | ||
@@ -42,4 +42,4 @@ "author": "James Baxley <james@meteor.com>", | ||
"dependencies": { | ||
"apollo-cache": "^1.0.1", | ||
"apollo-utilities": "^1.0.2", | ||
"apollo-cache": "^1.0.2", | ||
"apollo-utilities": "^1.0.3", | ||
"graphql-anywhere": "^4.0.1" | ||
@@ -53,6 +53,6 @@ }, | ||
"@types/jest": "21.1.8", | ||
"@types/lodash": "4.14.87", | ||
"@types/lodash": "4.14.88", | ||
"browserify": "14.5.0", | ||
"graphql": "0.11.7", | ||
"graphql-tag": "2.4.2", | ||
"graphql-tag": "2.6.0", | ||
"jest": "20.0.4", | ||
@@ -59,0 +59,0 @@ "lodash": "4.17.4", |
@@ -41,3 +41,3 @@ import { DocumentNode } from 'graphql'; | ||
export class InMemoryCache extends ApolloCache<NormalizedCacheObject> { | ||
private data: NormalizedCache; | ||
protected data: NormalizedCache; | ||
protected config: ApolloReducerConfig; | ||
@@ -44,0 +44,0 @@ protected optimistic: OptimisticStoreItem[] = []; |
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
367714
Updatedapollo-cache@^1.0.2
Updatedapollo-utilities@^1.0.3