From ec7c5a7d2d41c577d00980d2d8e7e1dfda1f0b7e Mon Sep 17 00:00:00 2001 From: Seth Miller Date: Tue, 25 Oct 2016 14:42:20 -0500 Subject: [PATCH] Updated size in the docs, version bump to 1.2.0 --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28450dc..20756b6 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ Set a value to the cache. Will call `callback` (an error first callback) with a | ------ | ---- | ------- | ----------- | | `staleTtl` | (integer, ms) | `crispCache.defaultStaleTtl` | How long the cache entry is valid before becoming stale. | | `expiresTtl` | (integer, ms) | `crispCache.defaultExpiresTtl` | If >0, cache entries that are older than this time will be deleted | -| `size` | (integer) | `null` | Required when `maxSize` is set on the cache, specifies the size for this entry. | +| `size` | (integer) | `1` | Required when `maxSize` is set on the cache, specifies the size for this cache entry. | ### del(key, [callback]) Removes the provided `key` (a string) from the cache, will call `callback` (an error first callback) when the delete is done. diff --git a/package.json b/package.json index bcd9b26..c0ee034 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "crisp-cache", - "version": "1.1.1", + "version": "1.2.0", "description": "A crispy fresh cache that will try and use updated data where it can, but can use a stale entry if need be.", "main": "main.js", "scripts": {