diff --git a/README.md b/README.md index 8f1dff2..fadee0b 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ $ npm install node-containerpattern * ``` documentation() : JSON object ``` generate a documentation for all the stored data * ``` get(key: string) : mixed ``` the value in association with this key (may be recursive) * ``` has(key: string) : bool ``` check if a key is used (may be recursive) - * ``` limit(key: string, array limit) : this ``` associate a key with a limit + * ``` limit(key: string, limit: Array) : this ``` associate a key with a limit * ``` set(key: string, mixed value) : this ``` associate and remember a key with a value (may be recursive) * ``` skeleton(key: string, skeleton: string) : this ``` skeleton must be "array", "boolean", "email", "float", "integer", "ipv4", "ipv6", "number", "object", "string" diff --git a/package.json b/package.json index ccde9ee..54e7cb3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-containerpattern", - "version": "0.5.3", + "version": "0.5.4", "description": "A 'Container pattern' object for a clean global use of data.", "main": "lib/main.js", "typings": "lib/index.d.ts",