Commit graph

16 commits

Author SHA1 Message Date
2495f1e6e8
fix: repair npm install and the rollup build
Some checks failed
NYX Security Scan / nyx-scan (pull_request) Failing after 5m58s
Three independent breakages, all present on main before this branch:

1. `npm ci` always exited non-zero. The root package.json carried
   "install": "node-gyp-build", but binding.gyp lives in native/, so the
   script ran in a directory with nothing to build:

     gyp: binding.gyp not found (cwd: <repo root>)

   native/package.json already declares that same install script in the
   right place, alongside its binding.gyp and "gypfile": true, so the
   root copy was a duplicate in the wrong package. Removing it also
   clears the now-inaccurate hasInstallScript flag from the lockfile.
   `npm ci` exits 0 again; the addon still builds from native/.

2. `npm run build` failed at the first step. @rollup/plugin-typescript
   requires tslib as a peer, and nothing depended on it directly — it was
   only present transitively as an optional dev dep, so a clean install
   could omit it entirely. Declared explicitly.

3. rollup.config.js used ESM syntax while package.json has no
   "type": "module", so Node parsed it as CommonJS and threw
   "Cannot use import statement outside a module". Node 24 recovers by
   reparsing (with a warning); Node 18 fails outright. Renamed to
   rollup.config.mjs, which is unambiguous on both. Setting
   "type": "module" instead would have broken jest.config.js, which is
   CommonJS.

Verified on Node 18.19.1 and Node 24.18.0: npm ci exits 0, npm run build
produces all three bundles plus declarations, and 76/76 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-19 11:10:36 +02:00
opencode-agent[bot]
d3aa0e264c Node.js min bumped to 22.22.2
All checks were successful
NYX Security Scan / nyx-scan (pull_request) Successful in 5m11s
Co-authored-by: alpha-nerd <alpha-nerd@users.noreply.bitfreedom.net>
2026-06-26 12:36:50 +00:00
Renovate Bot
88f189bced Update dependency node-gyp to v13
All checks were successful
NYX Security Scan / nyx-scan (pull_request) Successful in 6m3s
2026-06-12 13:28:30 +00:00
Renovate Bot
11a204d2b1 chore(deps): update jest monorepo to v30 2026-05-10 11:00:35 +00:00
Renovate Bot
03928e4757 chore(deps): update dependency @rollup/plugin-node-resolve to v16 2026-05-10 10:51:23 +00:00
87458da079 Merge pull request 'chore(deps): update dependency @rollup/plugin-commonjs to v29' (#9) from renovate/rollup-plugin-commonjs-29.x into main
Reviewed-on: https://bitfreedom.net/code/code/nomyo-ai/nomyo-js/pulls/9
2026-05-10 12:51:04 +02:00
7d435babdf Merge pull request 'chore(deps): update dependency @rollup/plugin-typescript to v12' (#12) from renovate/rollup-plugin-typescript-12.x into main
Reviewed-on: https://bitfreedom.net/code/code/nomyo-ai/nomyo-js/pulls/12
2026-05-10 12:50:37 +02:00
3ea0594ddd Merge pull request 'chore(deps): update dependency @types/node to v24' (#13) from renovate/node-24.x into main
Reviewed-on: https://bitfreedom.net/code/code/nomyo-ai/nomyo-js/pulls/13
2026-05-10 12:49:35 +02:00
f07fa7633a Merge pull request 'chore(deps): update dependency node-gyp to v12' (#14) from renovate/node-gyp-12.x into main
Reviewed-on: https://bitfreedom.net/code/code/nomyo-ai/nomyo-js/pulls/14
2026-05-10 12:48:38 +02:00
Renovate Bot
95e3504034 chore(deps): update dependency typescript to v6 2026-05-10 10:45:29 +00:00
Renovate Bot
d9e9c82071 chore(deps): update dependency node-gyp to v12 2026-05-10 10:45:22 +00:00
Renovate Bot
04105d8200 chore(deps): update dependency @types/node to v24 2026-05-10 10:45:15 +00:00
Renovate Bot
eded84dc08 chore(deps): update dependency @rollup/plugin-typescript to v12 2026-05-10 10:45:08 +00:00
Renovate Bot
48eb1a6b73 chore(deps): update dependency @rollup/plugin-commonjs to v29 2026-05-10 10:44:53 +00:00
c7601b2270 fix:
- AES GCM protocol mismatch
- better, granular error handling
- UUID now uses crypto.randomUUID()
- added native mlock addon to improve security
- ZeroBuffer uses explicit_bzero now
- fixed imports

feat:
-  added unit tests
2026-03-04 11:30:44 +01:00
fd1a3b50cb feature: port from python client lib 2026-01-17 12:02:08 +01:00