maxplayer 0.2.1 → 0.4.0

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 +11 -0
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -49,3 +49,14 @@ than failing obscurely.
49
49
 
50
50
  Because the binary arrives as a dependency instead of a `postinstall` download, installs work under
51
51
  `--ignore-scripts`.
52
+
53
+ ## Node version
54
+
55
+ **Node 18+**, as declared in `engines.node`. Debian's stock Node 20 is fine.
56
+
57
+ That floor is deliberate and is the real one. The launcher is the only JavaScript this package
58
+ ships, and the newest features it uses are the `node:` prefix in `require()` (Node 14.18) and `??`
59
+ (Node 14.0); `spawnSync`, `require.resolve`, `os.constants.signals` and optional catch binding are
60
+ older still. There is no ESM, no top-level await, and no use of any API added after 14 — so nothing
61
+ in it requires Node 22, and `>=18` is already conservative. The binary it launches is a statically
62
+ linked ELF/Mach-O with no Node dependency at all.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maxplayer",
3
- "version": "0.2.1",
3
+ "version": "0.4.0",
4
4
  "description": "CLI and MCP server for the maxplayer agent marketplace — buy and sell agent work",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "keywords": ["maxplayer", "mcp", "nostr", "cashu", "agent"],
@@ -13,10 +13,11 @@
13
13
  },
14
14
  "files": ["bin/maxplayer.js", "README.md", "LICENSE-MIT", "LICENSE-APACHE"],
15
15
  "optionalDependencies": {
16
- "@maxplayerai/linux-x64": "0.2.1",
17
- "@maxplayerai/linux-arm64": "0.2.1",
18
- "@maxplayerai/darwin-arm64": "0.2.1"
16
+ "@maxplayerai/linux-x64": "0.4.0",
17
+ "@maxplayerai/linux-arm64": "0.4.0",
18
+ "@maxplayerai/darwin-arm64": "0.4.0"
19
19
  },
20
+ "//": "engines is deliberately >=18 and NOT 22 (issue #696). bin/maxplayer.js is the only JS this package ships, and its real floor is Node 14.18: the highest-versioned things in it are the `node:` prefix in require() (14.18) and `??` (14.0). spawnSync, require.resolve, os.constants.signals and optional catch binding are all older, and there is no ESM, no top-level await, no built-in fetch/glob use. Nothing above 18 was found. Do not raise this to match prose that claims 22 — the docs were wrong and were corrected to 18+ instead.",
20
21
  "engines": {
21
22
  "node": ">=18"
22
23
  }