From af1e977620fa19b1a25d3a580d8e1f1c166a3834 Mon Sep 17 00:00:00 2001 From: Randall Schmidt Date: Mon, 5 Jul 2021 11:07:08 -0400 Subject: [PATCH] update README --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {