@dnax/core 0.19.3 → 0.19.4

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.
@@ -549,7 +549,7 @@ class useRest {
549
549
 
550
550
  async find(
551
551
  collection: string,
552
- params: findParam,
552
+ params?: findParam,
553
553
  options?: optionCb
554
554
  ): Promise<
555
555
  object[] | { data: object[]; meta: { total: number; count: number } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.19.3",
3
+ "version": "0.19.4",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -261,7 +261,7 @@ export type Collection = {
261
261
  enabled?: boolean;
262
262
  handler?: (ctx: {
263
263
  data: {
264
- payload?: object | undefined;
264
+ payload: any;
265
265
  };
266
266
  error: typeof fn.error;
267
267
  c: Context;