@coffre/client 0.8.1 → 0.8.2

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 +6 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -4,6 +4,12 @@ coffre's API as typed function calls, generated from the server's routes,
4
4
  with the API's types: `createClient({ … })`. The `coffre` CLI and the web
5
5
  pages are built on it.
6
6
 
7
+ The published client has no dependency and runs on Node 20 or newer, and in
8
+ browsers and other runtimes with `fetch`. It is an ES module: `import` it, or
9
+ `require` it from CommonJS on Node 20.19 or newer and 22.12 or newer, where
10
+ `require` loads ES modules (before that, load it with `await import(…)`).
11
+ Developing coffre from its TypeScript sources requires Node 24.
12
+
7
13
  Part of [coffre](https://github.com/erwinkn/coffre), a secrets manager you
8
14
  deploy as a small project of your own. Its eight `@coffre/*` packages are
9
15
  released together, at one version. MIT licensed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffre/client",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "The coffre API as typed function calls.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "type": "module",
12
12
  "engines": {
13
- "node": ">=24"
13
+ "node": ">=20"
14
14
  },
15
15
  "files": [
16
16
  "dist",