@endge/computation-sandbox 0.2.0 → 0.3.0

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.
@@ -1,2 +1,8 @@
1
1
  import { EndgePlugin } from '@endge/core';
2
+ import { EndgeComputationSandbox_Module } from './modules/EndgeComputationSandbox_Module';
3
+ declare module '@endge/core' {
4
+ interface EndgeExtensions {
5
+ readonly computationSandbox: EndgeComputationSandbox_Module;
6
+ }
7
+ }
2
8
  export declare const EndgeComputationSandboxPlugin: EndgePlugin;
@@ -125,13 +125,13 @@ class m extends d {
125
125
  }
126
126
  const w = {
127
127
  id: "@endge/computation-sandbox",
128
- install() {
129
- n.defineModule({
128
+ modules: [
129
+ {
130
130
  key: "computationSandbox",
131
- module: new m(),
131
+ create: () => new m(),
132
132
  before: "runtime"
133
- });
134
- }
133
+ }
134
+ ]
135
135
  };
136
136
  export {
137
137
  w as EndgeComputationSandboxPlugin,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@endge/computation-sandbox",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.3.0",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "lint-fix": "eslint . --fix --cache"
26
26
  },
27
27
  "peerDependencies": {
28
- "@endge/core": "^6.0.0"
28
+ "@endge/core": "^7.0.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "@jitl/quickjs-ng-wasmfile-release-sync": "^0.32.0",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@antfu/eslint-config": "9.3.0",
37
- "@endge/core": "^6.0.0",
38
- "@endge/raph": "^3.1.0",
37
+ "@endge/core": "^7.0.0",
38
+ "@endge/raph": "^3.2.0",
39
39
  "@endge/utils": "^0.26.0",
40
40
  "eslint": "10.9.1",
41
41
  "rimraf": "^6.0.1",