@cloud-os/sandbox-app-standard-bridge 20251208.0.3 → 20251208.0.5
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/Bridge/SandboxApplication/index.d.ts +1 -1
- package/dist/Bridge/SandboxApplication/index.js +2 -3
- package/dist/Event/SandboxApplication/SandboxApplicationEvent.d.ts +3 -3
- package/dist/Event/SandboxApplication/SandboxApplicationEvent.js +1 -2
- package/dist/Event/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SandboxApplication, SandboxApplicationEvent } from "../../index";
|
|
2
2
|
import { SandboxApplicationBridgePayload } from "./Payload/SandboxApplicationBridgePayload";
|
|
3
|
-
export default class SandboxApplicationBridge
|
|
3
|
+
export default class SandboxApplicationBridge implements SandboxApplicationEvent {
|
|
4
4
|
private readonly payload;
|
|
5
5
|
constructor(payload: SandboxApplicationBridgePayload);
|
|
6
6
|
start(...infos: SandboxApplication[]): string[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export default class SandboxApplicationBridge {
|
|
2
|
+
payload;
|
|
3
3
|
constructor(payload) {
|
|
4
|
-
super();
|
|
5
4
|
this.payload = payload;
|
|
6
5
|
}
|
|
7
6
|
start(...infos) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SandboxApplication } from "../../index";
|
|
2
|
-
export
|
|
2
|
+
export interface SandboxApplicationEvent {
|
|
3
3
|
/**
|
|
4
4
|
* Start a sandbox activity.
|
|
5
5
|
* @returns A unique identifier for this started activity.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
start(...infos: SandboxApplication[]): string[];
|
|
8
8
|
/**
|
|
9
9
|
* Close or stop the sandbox activity.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
close(): void;
|
|
12
12
|
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
}
|
|
1
|
+
export {};
|
package/dist/Event/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-os/sandbox-app-standard-bridge",
|
|
3
|
-
"version": "20251208.0.
|
|
3
|
+
"version": "20251208.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "jack8228@enerqi.tw <jack8228@enerqi.tw>",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"type": "
|
|
18
|
+
"type": "module",
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"typescript": "^5.9.3"
|
|
21
21
|
}
|