Skip to content

Release rpc-node-toolkit 0.1.4 - #1

Merged
n-car merged 1 commit into
mainfrom
agent/release-0.1.4
Jul 29, 2026
Merged

Release rpc-node-toolkit 0.1.4#1
n-car merged 1 commit into
mainfrom
agent/release-0.1.4

Conversation

@n-car

@n-car n-car commented Jul 29, 2026

Copy link
Copy Markdown
Owner

What changed

  • rewrites the root TypeScript declarations around the canonical CommonJS export = plus namespace-merging model;
  • adds a dedicated declaration for the /safe object entrypoint while preserving all runtime exports;
  • makes /safe named exports discoverable to Node.js ESM consumers without changing object values or order;
  • adds tarball-based TypeScript and runtime consumer tests for ESM and CommonJS;
  • adds publint and Are the Types Wrong validation, CI packaging coverage, and compatibility documentation;
  • updates the package and lockfile to 0.1.4.

Why

The previous declarations described an ESM-shaped default while the runtime uses module.exports = RpcEndpoint; the /safe entrypoint also pointed to the wrong declaration and its spread exports were not statically visible to Node.js ESM.

Impact

This release restores strict TypeScript compatibility while preserving the constructable CommonJS root, all 13 named runtime properties, and the /safe subpath.

Validation

  • 8 Node.js tests
  • TypeScript 6 ESM/NodeNext and CommonJS consumers with skipLibCheck: false and esModuleInterop: false
  • Node.js ESM and CommonJS runtime smoke tests
  • publint strict and ATTW for root and /safe
  • npm publish --dry-run
  • dependency audit with no vulnerabilities

@n-car
n-car marked this pull request as ready for review July 29, 2026 08:55
@n-car
n-car merged commit e63a01d into main Jul 29, 2026
4 checks passed
@n-car
n-car deleted the agent/release-0.1.4 branch July 29, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant