hide-a-bed 4.0.2 → 4.0.3

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/schema/bulk.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hide-a-bed",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "An abstraction over couchdb calls that includes easy mock/stubs with pouchdb",
5
5
  "module": "index.mjs",
6
6
  "main": "cjs/index.cjs",
package/schema/bulk.mjs CHANGED
@@ -29,12 +29,12 @@ export const BulkSaveBound = z.function().args(
29
29
  export const BulkGet = z.function().args(
30
30
  CouchConfig,
31
31
  z.array(z.string().describe('the ids to get'))
32
- ).returns(z.promise(z.array(CouchDoc)))
32
+ ).returns(z.promise(z.array(CouchDoc.nullable())))
33
33
  /** @typedef { z.infer<typeof BulkGet> } BulkGetSchema */
34
34
 
35
35
  export const BulkGetBound = z.function().args(
36
36
  z.array(z.string().describe('the ids to get'))
37
- ).returns(z.promise(z.array(CouchDoc)))
37
+ ).returns(z.promise(z.array(CouchDoc.nullable())))
38
38
  /** @typedef { z.infer<typeof BulkGetBound> } BulkGetBoundSchema */
39
39
 
40
40
  export const BulkRemove = z.function().args(