@zenflux/core 0.0.0-abc.10 → 0.0.0-abc.11
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/cjs/zenflux-core.js +1 -1
- package/dist/es/zenflux-core.js +1 -1
- package/dist/es/zenflux-core.mjs +1 -1
- package/dist/umd/zenflux-core.js +1 -1
- package/package.json +1 -1
- package/src/initializer.ts +2 -2
- package/src/globals.ts +0 -22
package/dist/cjs/zenflux-core.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var name = "@zenflux/core";
|
|
6
|
-
var version = "0.0.0-abc.
|
|
6
|
+
var version = "0.0.0-abc.11";
|
|
7
7
|
var description = "ZenFlux core";
|
|
8
8
|
var author = "Leonid Vinikov <leonidvinikov@gmail.com> (https://github.com/iNewLegend)";
|
|
9
9
|
var scripts = {
|
package/dist/es/zenflux-core.js
CHANGED
package/dist/es/zenflux-core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var t="0.0.0-abc.
|
|
1
|
+
var t="0.0.0-abc.11";class e extends Error{constructor(t,e){super(`ForeMethod implementation: at '${t}' method: '${e}'`)}}class r extends Error{constructor(t,e){super(`ForeMethod implementation: at '${t.getName()}' method: '${e}'`)}}let s=0;class n{virtualId=0;static getName(){throw new e("ObjectBase","getName")}constructor(){this.virtualId=s,s++}getName(){return this.constructor.getName()}}
|
|
2
2
|
/**
|
|
3
3
|
* Function getCircularReplacer() : Reduce circular references.
|
|
4
4
|
*
|
package/dist/umd/zenflux-core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@zenflux/core"]={})}(this,(function(t){"use strict";var e="0.0.0-abc.
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["@zenflux/core"]={})}(this,(function(t){"use strict";var e="0.0.0-abc.11";class r extends Error{constructor(t,e){super(`ForeMethod implementation: at '${t}' method: '${e}'`)}}class s extends Error{constructor(t,e){super(`ForeMethod implementation: at '${t.getName()}' method: '${e}'`)}}let n=0;class o{virtualId=0;static getName(){throw new r("ObjectBase","getName")}constructor(){this.virtualId=n,n++}getName(){return this.constructor.getName()}}
|
|
2
2
|
/**
|
|
3
3
|
* Function getCircularReplacer() : Reduce circular references.
|
|
4
4
|
*
|
package/package.json
CHANGED
package/src/initializer.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import pkg from "../package.json";
|
|
2
2
|
|
|
3
|
-
import * as exported from './exports';
|
|
4
|
-
|
|
5
3
|
import { IAPIConfig } from "./interfaces/config";
|
|
6
4
|
|
|
7
5
|
import { destroy, initialize } from "./managers";
|
|
8
6
|
|
|
7
|
+
import * as exported from './exports';
|
|
8
|
+
|
|
9
9
|
declare global {
|
|
10
10
|
var ZenCore: any;
|
|
11
11
|
}
|
package/src/globals.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
if ( typeof __ZEN_MANAGERS__ === 'undefined' || ! __ZEN_MANAGERS__ ) {
|
|
2
|
-
// @ts-ignore
|
|
3
|
-
globalThis.__ZEN_MANAGERS__ = {};
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
import Commands from "./manager-bases/commands";
|
|
7
|
-
import Controllers from "./manager-bases/controllers";
|
|
8
|
-
import Data from "./manager-bases/data";
|
|
9
|
-
import Internal from "./manager-bases/internal";
|
|
10
|
-
|
|
11
|
-
declare global {
|
|
12
|
-
var ZenCore: any;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
declare global {
|
|
16
|
-
var __ZEN_MANAGERS__: {
|
|
17
|
-
commands: Commands;
|
|
18
|
-
controllers: Controllers;
|
|
19
|
-
data: Data;
|
|
20
|
-
internal: Internal;
|
|
21
|
-
}
|
|
22
|
-
}
|