coakka-logger-electron 1.2.1 → 1.2.3

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
@@ -2,6 +2,31 @@
2
2
 
3
3
  This package is the Electron main-process intent bridge for CoAkka logger.
4
4
 
5
+ ## New To CoAkka
6
+
7
+ CoAkka is a native-backed runtime and logger toolkit for application-owned
8
+ work. The Electron logger package keeps renderer JavaScript on an intent API
9
+ while the Electron main process owns native logger lifecycle, bounded queueing,
10
+ drain, and counters.
11
+
12
+ Use these public repositories to orient first:
13
+
14
+ | Repository | Use it for | Link |
15
+ | --- | --- | --- |
16
+ | `coakka-samples` | Runnable examples and code you can inspect first. | https://github.com/phuong-tran/coakka-samples |
17
+ | `coakka-publish` | Released packages, native archives, manifests, checksums, compatibility matrix, and release notes. | https://github.com/phuong-tran/coakka-publish |
18
+
19
+ Run the matching sample:
20
+
21
+ ```sh
22
+ git clone https://github.com/phuong-tran/coakka-samples.git
23
+ cd coakka-samples
24
+ bash run.sh logger electron basic
25
+ ```
26
+
27
+ No-checkout npm smoke:
28
+ https://github.com/phuong-tran/coakka-samples/blob/main/docs/first-npm-smoke.md
29
+
5
30
  The boundary is intentionally strict:
6
31
 
7
32
  - renderer JavaScript sends a log intent through `ipcRenderer.invoke`
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type LoggerRecordSnapshot, type LoggerSpec, type LoggerStatsSnapshot } from "coakka-logger-node";
2
- export declare const COAKKA_LOGGER_ELECTRON_VERSION = "1.2.1";
2
+ export declare const COAKKA_LOGGER_ELECTRON_VERSION = "1.2.3";
3
3
  export declare const COAKKA_ELECTRON_LOGGER_INTENT_CHANNEL = "coakka:logger-intent";
4
4
  export type ElectronLoggerLevelName = "trace" | "debug" | "info" | "warn" | "error" | "fatal";
5
5
  export interface ElectronLoggerIntent {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CoakkaLoggerLevel, Logger, LoggerStatusError, } from "coakka-logger-node";
2
- export const COAKKA_LOGGER_ELECTRON_VERSION = "1.2.1";
2
+ export const COAKKA_LOGGER_ELECTRON_VERSION = "1.2.3";
3
3
  export const COAKKA_ELECTRON_LOGGER_INTENT_CHANNEL = "coakka:logger-intent";
4
4
  export class ElectronLoggerIntentBridge {
5
5
  logger;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coakka-logger-electron",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Electron main-process intent bridge for the CoAkka logger",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "smoke:packaged": "bash scripts/smoke-packaged-package.sh"
31
31
  },
32
32
  "dependencies": {
33
- "coakka-logger-node": "1.2.1"
33
+ "coakka-logger-node": "1.2.3"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^24.0.0",