@plurid/plurid-engine 0.0.0-12 → 0.0.0-13
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/distribution/index.es.js +4 -4
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +4 -4
- package/distribution/index.js.map +1 -1
- package/distribution/modules/state/compute/index.d.ts +1 -1
- package/distribution/modules/state/compute/space/index.d.ts +1 -1
- package/package.json +1 -1
package/distribution/index.es.js
CHANGED
|
@@ -2568,13 +2568,13 @@ var index$2 = Object.freeze({
|
|
|
2568
2568
|
view: index$3
|
|
2569
2569
|
});
|
|
2570
2570
|
|
|
2571
|
-
const resolveSpace = (view, configuration, planesRegistrar, currentState, localState, precomputedState, contextState) => {
|
|
2571
|
+
const resolveSpace = (view, configuration, planesRegistrar, currentState, localState, precomputedState, contextState, hostname = "origin") => {
|
|
2572
2572
|
const registeredPlanes = getRegisteredPlanes(planesRegistrar);
|
|
2573
2573
|
const spaceTree = new Tree({
|
|
2574
2574
|
planes: registeredPlanes,
|
|
2575
2575
|
configuration: configuration,
|
|
2576
2576
|
view: view
|
|
2577
|
-
});
|
|
2577
|
+
}, hostname);
|
|
2578
2578
|
const computedTree = spaceTree.compute();
|
|
2579
2579
|
const stateSpace = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
|
|
2580
2580
|
loading: true,
|
|
@@ -2659,10 +2659,10 @@ const resolveThemes = (configuration, precomputedState) => {
|
|
|
2659
2659
|
return stateThemes;
|
|
2660
2660
|
};
|
|
2661
2661
|
|
|
2662
|
-
const compute = (view, configuration, planesRegistrar, currentState, localState, precomputedState, contextState) => {
|
|
2662
|
+
const compute = (view, configuration, planesRegistrar, currentState, localState, precomputedState, contextState, hostname = "origin") => {
|
|
2663
2663
|
const specifiedConfiguration = merge(configuration);
|
|
2664
2664
|
const stateConfiguration = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, specifiedConfiguration), precomputedState === null || precomputedState === void 0 ? void 0 : precomputedState.configuration), contextState === null || contextState === void 0 ? void 0 : contextState.configuration), localState === null || localState === void 0 ? void 0 : localState.configuration), currentState === null || currentState === void 0 ? void 0 : currentState.configuration);
|
|
2665
|
-
const stateSpace = resolveSpace(view, stateConfiguration, planesRegistrar, currentState, localState, precomputedState, contextState);
|
|
2665
|
+
const stateSpace = resolveSpace(view, stateConfiguration, planesRegistrar, currentState, localState, precomputedState, contextState, hostname);
|
|
2666
2666
|
const stateThemes = resolveThemes(stateConfiguration, precomputedState);
|
|
2667
2667
|
const state = {
|
|
2668
2668
|
configuration: Object.assign({}, stateConfiguration),
|