@observertc/observer-js 1.0.0-beta.6 → 1.0.0-beta.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -15,7 +15,7 @@ and emits a single, unified stream of typed events the application can react to.
15
15
  > agent) should be able to integrate the library, or develop it further, from this file alone.
16
16
  > A companion doc, [`docs/logging.md`](./docs/logging.md), covers logging integration in depth.
17
17
 
18
- > **Packaging:** server-side, **Node.js ≥ 22**, shipped as a **dual ESM + CommonJS** build — so it
18
+ > **Packaging:** server-side, **Node.js ≥ 20**, shipped as a **dual ESM + CommonJS** build — so it
19
19
  > works whether your project uses `import` (ESM) or `require()` (CommonJS). Everything — including
20
20
  > the built-in file sink — is exported from the single `@observertc/observer-js` entry.
21
21
 
@@ -52,7 +52,7 @@ npm install @observertc/observer-js
52
52
  yarn add @observertc/observer-js
53
53
  ```
54
54
 
55
- **Server-side, Node.js ≥ 22, dual ESM + CommonJS.** The package ships both module formats, so it
55
+ **Server-side, Node.js ≥ 20, dual ESM + CommonJS.** The package ships both module formats, so it
56
56
  works the same whether your project is ESM or CommonJS — your import line is unchanged either way:
57
57
 
58
58
  ```ts
@@ -929,7 +929,7 @@ yarn test # jest
929
929
 
930
930
  The build is driven by [`tsup`](https://tsup.egoist.dev) (config in `tsup.config.ts`): a single
931
931
  entry (`src/index.ts`), dual ESM + CommonJS output to `dist/` (`index.mjs` / `index.js`) with
932
- `.d.mts` / `.d.ts` types and sourcemaps, targeting Node 22. CI (`.github/workflows/ci.yml`) runs
932
+ `.d.mts` / `.d.ts` types and sourcemaps, targeting Node 20. CI (`.github/workflows/ci.yml`) runs
933
933
  lint + typecheck + **build** + test on every push/PR.
934
934
 
935
935
  **Project layout** (`src/`): `Observer.ts`, `ObservedCall.ts`, `ObservedClient.ts`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@observertc/observer-js",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.7",
4
4
  "description": "Server-side Node.js library for processing ObserveRTC Samples",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -21,7 +21,7 @@
21
21
  "dist"
22
22
  ],
23
23
  "engines": {
24
- "node": ">=22"
24
+ "node": ">=20"
25
25
  },
26
26
  "scripts": {
27
27
  "prepare": "npm run build",