@cloud-os/sandbox-app-standard-bridge 20251212.0.3 → 20251212.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.
@@ -0,0 +1,8 @@
1
+ import { ResolvePayload } from "../../Event/Io/Payload/ResolvePayload";
2
+ import { ApplicationInfo, IOEvent } from "../../index";
3
+ import { IoBridgePayload } from "./Payload/IoBridgePayload";
4
+ export default class IoBridge implements IOEvent {
5
+ private readonly payload;
6
+ constructor(payload: IoBridgePayload);
7
+ resolve(payload: ResolvePayload): Promise<ApplicationInfo | null>;
8
+ }
@@ -0,0 +1,9 @@
1
+ export default class IoBridge {
2
+ payload;
3
+ constructor(payload) {
4
+ this.payload = payload;
5
+ }
6
+ resolve(payload) {
7
+ return this.payload.handleResolve(payload);
8
+ }
9
+ }
@@ -2,3 +2,4 @@ export { default as SandboxApplicationBridge } from "./SandboxApplication/index"
2
2
  export { default as CommunicationBridge } from "./Communication/index";
3
3
  export { default as SystemBridge } from "./System/index";
4
4
  export { default as AuthorizationBridge } from "./Authorization/index";
5
+ export { default as IoBridge } from "./Io/index";
@@ -2,3 +2,4 @@ export { default as SandboxApplicationBridge } from "./SandboxApplication/index"
2
2
  export { default as CommunicationBridge } from "./Communication/index";
3
3
  export { default as SystemBridge } from "./System/index";
4
4
  export { default as AuthorizationBridge } from "./Authorization/index";
5
+ export { default as IoBridge } from "./Io/index";
@@ -1,5 +1,5 @@
1
1
  export interface ProcessInfo {
2
2
  name: string;
3
3
  url: string;
4
- arguments: string[] | undefined;
4
+ arguments: {} | undefined;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-os/sandbox-app-standard-bridge",
3
- "version": "20251212.0.3",
3
+ "version": "20251212.0.5",
4
4
  "description": "",
5
5
  "author": "jack8228@enerqi.tw <jack8228@enerqi.tw>",
6
6
  "main": "dist/index.js",