x-state-lib 0.1.1 → 0.1.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.js +4 -4
- package/dist/state/state.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -650,22 +650,22 @@ function xa(t) {
|
|
|
650
650
|
}), e;
|
|
651
651
|
}
|
|
652
652
|
const Ea = function() {
|
|
653
|
-
return window.
|
|
653
|
+
return window.state || (window.state = {
|
|
654
654
|
base: qt(),
|
|
655
655
|
runtime: Pa(),
|
|
656
656
|
app: Wt(),
|
|
657
657
|
compute: Yt(),
|
|
658
658
|
data: Xt(),
|
|
659
659
|
resource: Jt()
|
|
660
|
-
}), window.
|
|
660
|
+
}), window.state;
|
|
661
661
|
}();
|
|
662
662
|
export {
|
|
663
|
-
Ea as blocklyState,
|
|
664
663
|
Ia as buildProps,
|
|
665
664
|
Wt as initApp,
|
|
666
665
|
qt as initBase,
|
|
667
666
|
Yt as initCompute,
|
|
668
667
|
Xt as initData,
|
|
669
668
|
Jt as initResource,
|
|
670
|
-
Pa as initRuntime
|
|
669
|
+
Pa as initRuntime,
|
|
670
|
+
Ea as state
|
|
671
671
|
};
|
package/dist/state/state.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Compute } from './compute';
|
|
|
4
4
|
import { Data } from './data';
|
|
5
5
|
import { Resource } from './resource';
|
|
6
6
|
import { Runtime } from './runtime';
|
|
7
|
-
export type
|
|
7
|
+
export type State = {
|
|
8
8
|
base: Base;
|
|
9
9
|
runtime: Runtime;
|
|
10
10
|
app: App;
|
|
@@ -12,4 +12,4 @@ export type BlocklyState = {
|
|
|
12
12
|
data: Data;
|
|
13
13
|
resource: Resource;
|
|
14
14
|
};
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const state: State;
|