@quatrain/core 1.1.21 → 1.1.22

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/lib/Core.d.ts CHANGED
@@ -5,12 +5,12 @@ export declare class Core {
5
5
  static readonly me: string;
6
6
  static readonly storage: any;
7
7
  static readonly storagePrefix = "core";
8
- static readonly userClass: typeof User;
9
8
  static readonly classRegistry: {
10
9
  [key: string]: any;
11
10
  };
12
11
  static readonly logLevel = LogLevel.DEBUG;
13
12
  static readonly logger: AbstractLoggerAdapter;
13
+ static userClass: typeof User;
14
14
  static addLogger(alias?: string): any;
15
15
  static setLogLevel(level: LogLevel): void;
16
16
  static readonly timestamp: () => string;
package/lib/Core.js CHANGED
@@ -88,10 +88,10 @@ _a = Core;
88
88
  Core.me = _a.name;
89
89
  Core.storage = require('node-persist');
90
90
  Core.storagePrefix = 'core';
91
- Core.userClass = User_1.User;
92
91
  Core.classRegistry = {};
93
92
  Core.logLevel = log_1.LogLevel.DEBUG;
94
93
  Core.logger = _a.addLogger();
94
+ Core.userClass = User_1.User;
95
95
  // How timestamp are formatted
96
96
  Core.timestamp = () => new Date().toISOString();
97
97
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/core",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Core objects for business apps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",