coakka-v2-connector-electron 2.3.0 → 2.4.1

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/README.md CHANGED
@@ -18,6 +18,10 @@ to select an exact package and native platform tuple.
18
18
  Start with the [CoAkka Documentation](https://github.com/phuong-tran/coakka-samples/blob/main/docs/README.md)
19
19
  for concepts, integration paths, operations, and runnable samples.
20
20
 
21
+ Minimum hosts: Electron 42 and Node.js 22 in the Electron main process. The
22
+ native runtime remains owned by main-process code; renderer and preload code
23
+ do not load it directly.
24
+
21
25
  ## New To CoAkka
22
26
 
23
27
  CoAkka is a native-backed runtime and logger toolkit for application-owned
@@ -148,7 +152,7 @@ Before generating Electron integration code, read the public
148
152
  and the runnable Electron sample. Connection policy and native lane ownership
149
153
  belong to Electron main; renderer code sends validated intent only.
150
154
 
151
- Version `2.3.0` contains the Stream Lane connector surface for Electron main
152
- over exact native generation `2.3.0+a83ab412`. Keep runtime ownership in the
155
+ Version `2.4.1` contains the Stream Lane connector surface for Electron main
156
+ over exact native generation `2.4.0+c2f53117`. Keep runtime ownership in the
153
157
  main process and follow the public
154
158
  [streaming contract](https://github.com/phuong-tran/coakka-publish/blob/main/docs/runtime-streaming.md).
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { RuntimeCapability, RuntimeTcpConnectionMode, RuntimeTcpSecurityMode, Ru
5
5
  * intentionally absent from the preload and renderer intent surfaces.
6
6
  */
7
7
  export { STREAM_LANE_DETAIL_MAX_BYTES, STREAM_LANE_MAX_FRAME_BYTES, STREAM_LANE_MAX_WINDOW_BYTES, StreamConsumerDecision, StreamDirection, StreamFrameFlag, StreamLane, StreamLaneError, StreamLaneFlag, StreamLaneSecurityMode, StreamPressureReason, StreamPressureState, StreamResult, StreamSourceSignal, StreamState, type StreamConsumer, type StreamFrameMetadata, type StreamLaneConfig, type StreamLaneSecurityConfig, type StreamLaneStats, type StreamPressureSnapshot, type StreamPublishSpec, type StreamSessionSnapshot, type StreamSource, type StreamSourceFrame, type StreamSubscribeSpec, } from "coakka-v2-connector-node";
8
- export declare const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.3.0";
8
+ export declare const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.4.1";
9
9
  export declare const COAKKA_ELECTRON_INTENT_CHANNEL = "coakka:intent";
10
10
  export interface ElectronIntentPayloadIdentity {
11
11
  messageType: string;
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export { RuntimeCapability, RuntimeTcpConnectionMode, RuntimeTcpSecurityMode, Ru
5
5
  * intentionally absent from the preload and renderer intent surfaces.
6
6
  */
7
7
  export { STREAM_LANE_DETAIL_MAX_BYTES, STREAM_LANE_MAX_FRAME_BYTES, STREAM_LANE_MAX_WINDOW_BYTES, StreamConsumerDecision, StreamDirection, StreamFrameFlag, StreamLane, StreamLaneError, StreamLaneFlag, StreamLaneSecurityMode, StreamPressureReason, StreamPressureState, StreamResult, StreamSourceSignal, StreamState, } from "coakka-v2-connector-node";
8
- export const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.3.0";
8
+ export const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.4.1";
9
9
  export const COAKKA_ELECTRON_INTENT_CHANNEL = "coakka:intent";
10
10
  const DEFAULT_ROUTE_PORT = 19481;
11
11
  export class ElectronRuntimeIntentBridge {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coakka-v2-connector-electron",
3
- "version": "2.3.0",
3
+ "version": "2.4.1",
4
4
  "description": "Electron connector for the polyglot, multi-language, multi-platform CoAkka Runtime ecosystem",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "repository": {
@@ -23,6 +23,9 @@
23
23
  "ipc"
24
24
  ],
25
25
  "type": "module",
26
+ "engines": {
27
+ "node": ">=22"
28
+ },
26
29
  "main": "./dist/index.js",
27
30
  "types": "./dist/index.d.ts",
28
31
  "exports": {
@@ -49,10 +52,13 @@
49
52
  "smoke:packaged": "bash scripts/smoke-packaged-package.sh"
50
53
  },
51
54
  "dependencies": {
52
- "coakka-v2-connector-node": "2.3.0"
55
+ "coakka-v2-connector-node": "2.4.1"
56
+ },
57
+ "peerDependencies": {
58
+ "electron": ">=42"
53
59
  },
54
60
  "devDependencies": {
55
- "@types/node": "^24.0.0",
61
+ "@types/node": "^22.0.0",
56
62
  "typescript": "^5.8.3"
57
63
  }
58
64
  }