@xyo-network/os-runtime 3.0.0 → 3.0.1
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/neutral/index.d.ts +1 -1
- package/dist/neutral/index.mjs +3 -7
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +28 -28
- package/src/XyOs.ts +3 -2
- package/src/classes/cache/RunningDappCache.ts +7 -1
- package/src/classes/node/createDappContext.ts +7 -1
- package/src/classes/registration/ValidateDappAccessDiviner/Diviner.ts +1 -3
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1562,7 +1562,7 @@ declare class XyOs extends XyOsContextBase<XyOsParams> implements XyOsContext {
|
|
|
1562
1562
|
protected _locator: ModuleFactoryLocator;
|
|
1563
1563
|
protected dappRegistrationService: DappRegistrationService;
|
|
1564
1564
|
private stackManager;
|
|
1565
|
-
constructor(params: XyOsParams, dappsConfiguration?: DappRegistrationServiceParams, developmentMode?: boolean);
|
|
1565
|
+
constructor({ eventBus, ...params }: XyOsParams, dappsConfiguration?: DappRegistrationServiceParams, developmentMode?: boolean);
|
|
1566
1566
|
static get monitoring(): XyOsMonitor | undefined;
|
|
1567
1567
|
static get xyOsGlobal(): XyOsGlobal;
|
|
1568
1568
|
get bios(): KernelExternal['bios'] | undefined;
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1105,11 +1105,7 @@ var ValidateDappAccessDiviner = class extends AbstractDiviner {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
};
|
|
1107
1107
|
var compareChildren = (interfaceChildren, dappChildren) => {
|
|
1108
|
-
return interfaceChildren.every(
|
|
1109
|
-
(interfaceChild) => Object.values(interfaceChild).every(
|
|
1110
|
-
(interfaceChildName) => dappChildren.some((dappChild) => Object.values(dappChild).includes(interfaceChildName))
|
|
1111
|
-
)
|
|
1112
|
-
);
|
|
1108
|
+
return interfaceChildren.every((interfaceChild) => Object.values(interfaceChild).every((interfaceChildName) => dappChildren.some((dappChild) => Object.values(dappChild).includes(interfaceChildName))));
|
|
1113
1109
|
};
|
|
1114
1110
|
var dappPackageManifestToPackageManifest = (dappPackageManifest) => {
|
|
1115
1111
|
return {
|
|
@@ -1847,8 +1843,8 @@ var XyOs = class _XyOs extends XyOsContextBase {
|
|
|
1847
1843
|
_locator;
|
|
1848
1844
|
dappRegistrationService;
|
|
1849
1845
|
stackManager;
|
|
1850
|
-
constructor(params, dappsConfiguration, developmentMode) {
|
|
1851
|
-
super(params);
|
|
1846
|
+
constructor({ eventBus = new EventBus(), ...params }, dappsConfiguration, developmentMode) {
|
|
1847
|
+
super({ eventBus, ...params });
|
|
1852
1848
|
this._locator = params.locator ?? new ModuleFactoryLocator5();
|
|
1853
1849
|
this.stackManager = new StackManager(OsStackMap);
|
|
1854
1850
|
this.dappRegistrationService = new DappRegistrationService(this, dappsConfiguration, this.locator, developmentMode);
|