codehooks-js 1.2.18 → 1.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codehooks-js",
3
- "version": "1.2.18",
3
+ "version": "1.2.19",
4
4
  "type": "module",
5
5
  "description": "Codehooks.io official library - provides express.JS like syntax",
6
6
  "main": "index.js",
package/types/index.d.ts CHANGED
@@ -381,7 +381,7 @@ export type DatastoreAPI = {
381
381
  /**
382
382
  * - Set a key-value pair in the current Datastore
383
383
  */
384
- set: (key: string, value: string, options?: object) => Promise<any>;
384
+ set: (key: string, value: string | object, options?: object) => Promise<any>;
385
385
  /**
386
386
  * - Get a key-value pair in the current Datastore
387
387
  */