Closed doseofted closed 8 months ago
Latest commit: 3ccc4de8b6982bcdfb83ae64f279dde811595742
The changes in this PR will be included in the next version bump.
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
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 |
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.
"idempotent"
for:.rpc
property value of functionsoptions.allowList
options.methodsOnMethods
.methodsOnMethods
is no longer an array: it is an object with keys representing the names of functions, values being either true (it is RPC) or "idempotent" (RPC utilizing new keyword)