@gerync/utils 1.0.1 → 1.0.2

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,12 @@
1
1
  import coloredlog from "./functions/Colorlog.js";
2
2
  import errorHandler from "./functions/handleError.js";
3
+ import config from "./functions/Config.js";
4
+ import object from "./functions/ObjectKeys.js";
5
+ export { coloredlog, errorHandler, object, config };
6
+ export declare const configure: (options: {
7
+ responses: any;
8
+ prefs: any;
9
+ }) => void;
3
10
  declare const _default: {
4
11
  coloredlog: typeof coloredlog;
5
12
  errorHandler: typeof errorHandler;
@@ -13,10 +20,6 @@ declare const _default: {
13
20
  setMessage(lang: string, code: string, message: string): void;
14
21
  getMessage(lang: string, code: string, fallback?: string): string | undefined;
15
22
  };
16
- configure: (options: {
17
- responses: any;
18
- prefs: any;
19
- }) => void;
20
23
  object: {
21
24
  Keysamount: typeof import("./functions/ObjectKeys.js").Keysamount;
22
25
  KeysInRange: typeof import("./functions/ObjectKeys.js").KeysInRange;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,YAAY,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AAKtD,wBAME"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,MAAM,MAAM,2BAA2B,CAAC;AAE/C,OAAO,EACH,UAAU,EACV,YAAY,EACZ,MAAM,EACN,MAAM,EACT,CAAC;AAEF,eAAO,MAAM,SAAS;;;UAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;AAE1C,wBAKE"}
package/dist/index.js CHANGED
@@ -2,10 +2,11 @@ import coloredlog from "./functions/Colorlog.js";
2
2
  import errorHandler from "./functions/handleError.js";
3
3
  import config from "./functions/Config.js";
4
4
  import object from "./functions/ObjectKeys.js";
5
+ export { coloredlog, errorHandler, object, config };
6
+ export const configure = config.configure;
5
7
  export default {
6
8
  coloredlog,
7
9
  errorHandler,
8
10
  config,
9
- configure: config.configure,
10
11
  object
11
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gerync/utils",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A collection of utilities for any type of project, providing logging, error handling, configuration management, and object manipulation helpers.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",