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

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,6 +1,6 @@
1
1
  import { SandboxApplication, SandboxApplicationEvent } from "../../index";
2
2
  import { SandboxApplicationBridgePayload } from "./Payload/SandboxApplicationBridgePayload";
3
- export default class SandboxApplicationBridge extends SandboxApplicationEvent {
3
+ export default class SandboxApplicationBridge implements SandboxApplicationEvent {
4
4
  private readonly payload;
5
5
  constructor(payload: SandboxApplicationBridgePayload);
6
6
  start(...infos: SandboxApplication[]): string[];
@@ -1,8 +1,6 @@
1
- import { SandboxApplicationEvent } from "../../index";
2
- export default class SandboxApplicationBridge extends SandboxApplicationEvent {
1
+ export default class SandboxApplicationBridge {
3
2
  payload;
4
3
  constructor(payload) {
5
- super();
6
4
  this.payload = payload;
7
5
  }
8
6
  start(...infos) {
@@ -1,12 +1,12 @@
1
1
  import { SandboxApplication } from "../../index";
2
- export declare abstract class SandboxApplicationEvent {
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
- abstract start(...infos: SandboxApplication[]): string[];
7
+ start(...infos: SandboxApplication[]): string[];
8
8
  /**
9
9
  * Close or stop the sandbox activity.
10
10
  */
11
- abstract close(): void;
11
+ close(): void;
12
12
  }
@@ -1,2 +1 @@
1
- export class SandboxApplicationEvent {
2
- }
1
+ export {};
@@ -1 +1 @@
1
- export { SandboxApplicationEvent } from "./SandboxApplication/SandboxApplicationEvent";
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { SandboxApplicationEvent } from "../../Event/index";
2
+ export interface SandboxApplicationProps {
3
+ bridge: SandboxApplicationEvent;
4
+ }
@@ -0,0 +1 @@
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.4",
3
+ "version": "20251208.0.7",
4
4
  "description": "",
5
5
  "author": "jack8228@enerqi.tw <jack8228@enerqi.tw>",
6
6
  "main": "dist/index.js",
@@ -8,7 +8,7 @@
8
8
  "scripts": {
9
9
  "build": "tsc",
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
11
- "deploy": "pnpm build && npm publish --access public"
11
+ "deploy": "pnpm build && pnpm build && npm publish --access public"
12
12
  },
13
13
  "keywords": [],
14
14
  "files": [