diff --git a/README.md b/README.md index abf59fe..395d743 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ The get function should accept a key and return whatever value was set for that The remove function should accept a key and remove the cached value associated with that key, if any. It is also safe for your caching delegate to remove values from the cache arbitrarily if desired (for example if you want to implement a TTL in the caching delegate). -Both functions can be async. +All three functions may be async. For example, you could make and use your own simple memory cache like this: diff --git a/package.json b/package.json index 9d00a74..a2f96b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-fetch-cache", - "version": "2.0.2", + "version": "2.0.3", "description": "node-fetch with a persistent cache.", "main": "index.js", "scripts": {