@inrixia/helpers 3.20.3 → 3.21.0

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,4 +1,3 @@
1
- import { UnknownRecord } from "../ts/types";
2
1
  /**
3
2
  * stringifies and then parses a object to convert it to a JSON supported object.
4
3
  * @param obj Object to convert.
@@ -11,5 +10,5 @@ import { UnknownRecord } from "../ts/types";
11
10
  * const b = JSON.parse(JSON.stringify(obj))
12
11
  * console.log(a == b) -> true
13
12
  */
14
- export declare const objectify: (obj: UnknownRecord) => UnknownRecord;
13
+ export declare const objectify: <T>(obj: T) => T;
15
14
  //# sourceMappingURL=objectify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"objectify.d.ts","sourceRoot":"","sources":["../../src/obj/objectify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,SAAS,GAAI,KAAK,aAAa,KAAG,aAAgD,CAAC"}
1
+ {"version":3,"file":"objectify.d.ts","sourceRoot":"","sources":["../../src/obj/objectify.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,SAAS,GAAI,CAAC,EAAE,KAAK,CAAC,KAAG,CAAoC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"objectify.js","sourceRoot":"","sources":["../../src/obj/objectify.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,GAAkB,EAAiB,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"objectify.js","sourceRoot":"","sources":["../../src/obj/objectify.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAI,GAAM,EAAK,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inrixia/helpers",
3
- "version": "3.20.3",
3
+ "version": "3.21.0",
4
4
  "description": "Helper functions for various projects",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",