doseofted / prim-rpc

Easy-to-understand, type-safe, transport-agnostic RPC/IPC for JavaScript, supporting callbacks, batching, file handling, custom serialization, and more.
https://prim.doseofted.me
Apache License 2.0
98 stars 1 forks source link

Support new RPC keyword for idempotency #80

Closed doseofted closed 8 months ago

doseofted commented 8 months ago

This adds a new feature and restricts Prim+RPC usage depending on the request made. All RPC requests must now be made over POST by default when sent over a network (inapplicable to IPC) and GET requests are now disabled by default.

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 3ccc4de8b6982bcdfb83ae64f279dde811595742

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------------ | ----- | | @doseofted/prim-rpc | Minor | | @doseofted/prim-example-server | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
prim-rpc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2024 2:49am