authzed / authzed-node

Official SpiceDB client library for NodeJS
https://authzed.com/docs/reference/api
Apache License 2.0
48 stars 18 forks source link

Rework to remove need for js-dist #159

Open tstirrat15 opened 3 weeks ago

tstirrat15 commented 3 weeks ago

It'd be nice to only have a single package.json as a single source of truth. There are other node libraries out there that are written in TS and distributed in JS; https://github.com/nats-io/nats.node is an example.

tstirrat15 commented 3 weeks ago

I think authzed-node should work fine for a non-TS consumer. I'm going to verify that before I cut it out, though. My understanding is that it was added when a user asked for it for a non-TS environment.

tstirrat15 commented 3 weeks ago

This is almost certainly why: https://github.com/authzed/authzed-node/blob/main/package.json#L31-L32

Part of this work will be figuring out why protobuf-ts has its own runtime :thonk: