@open-tender/utils 0.0.37 → 0.0.38

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.
@@ -1,7 +1,7 @@
1
1
  import { GuestData } from '@open-tender/types';
2
2
  export declare const isString: (str: any) => boolean;
3
3
  export declare const isObject: (obj: any) => boolean;
4
- export declare const isEmpty: (obj?: Record<string | number, unknown> | null) => boolean;
4
+ export declare const isEmpty: (obj?: object | null) => boolean;
5
5
  export declare const isNum: (s: string) => boolean;
6
6
  export declare const contains: (arr: Array<any> | string, values: Array<any>) => boolean;
7
7
  export declare const slugify: (text: string) => string;
@@ -1,7 +1,7 @@
1
1
  import { GuestData } from '@open-tender/types';
2
2
  export declare const isString: (str: any) => boolean;
3
3
  export declare const isObject: (obj: any) => boolean;
4
- export declare const isEmpty: (obj?: Record<string | number, unknown> | null) => boolean;
4
+ export declare const isEmpty: (obj?: object | null) => boolean;
5
5
  export declare const isNum: (s: string) => boolean;
6
6
  export declare const contains: (arr: Array<any> | string, values: Array<any>) => boolean;
7
7
  export declare const slugify: (text: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",