@cloud-os/sandbox-app-standard-bridge 20251208.0.2 → 20251208.0.4

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,5 +1,5 @@
1
1
  import { SandboxApplication } from "../../../Interface/SandboxApplication/SandboxApplication";
2
2
  export interface SandboxApplicationBridgePayload {
3
- handleStart: (...infos: SandboxApplication[]) => string;
3
+ handleStart: (...infos: SandboxApplication[]) => string[];
4
4
  handleClose: () => void;
5
5
  }
@@ -3,6 +3,6 @@ import { SandboxApplicationBridgePayload } from "./Payload/SandboxApplicationBri
3
3
  export default class SandboxApplicationBridge extends SandboxApplicationEvent {
4
4
  private readonly payload;
5
5
  constructor(payload: SandboxApplicationBridgePayload);
6
- start(...infos: SandboxApplication[]): string;
6
+ start(...infos: SandboxApplication[]): string[];
7
7
  close(): void;
8
8
  }
@@ -1,5 +1,6 @@
1
1
  import { SandboxApplicationEvent } from "../../index";
2
2
  export default class SandboxApplicationBridge extends SandboxApplicationEvent {
3
+ payload;
3
4
  constructor(payload) {
4
5
  super();
5
6
  this.payload = payload;
@@ -4,7 +4,7 @@ export declare abstract class SandboxApplicationEvent {
4
4
  * Start a sandbox activity.
5
5
  * @returns A unique identifier for this started activity.
6
6
  */
7
- abstract start(...infos: SandboxApplication[]): string;
7
+ abstract start(...infos: SandboxApplication[]): string[];
8
8
  /**
9
9
  * Close or stop the sandbox activity.
10
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-os/sandbox-app-standard-bridge",
3
- "version": "20251208.0.2",
3
+ "version": "20251208.0.4",
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": "commonjs",
18
+ "type": "module",
19
19
  "devDependencies": {
20
20
  "typescript": "^5.9.3"
21
21
  }