datmetal1
datmetal13mo ago

what rpc version is https://github.com/deno-libs/rpc?

is this repo comply with the jsonRpc 1.0 or 2.0 spec?
3 Replies
Deno AI Helper
Deno AI Helper3mo ago
I wasn't able to find the answer to your question in the official Deno documentation. However, after looking at the repository you mentioned, I can provide some insights based on the information available there. To determine the JSON-RPC version that the deno-libs/rpc library complies with, you would typically look for mentions of the version in the README, code comments, or the implementation itself. If the repository does not specify the version, you might need to look at the code to see if it uses features specific to JSON-RPC 1.0 or 2.0, such as batch requests or specific error codes. Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of this advice by reviewing the repository's code and any associated documentation or by reaching out to the maintainers of the library for clarification.
CatalinIuga
CatalinIuga3mo ago
I searched the repo for '2.0' and '1.0' and I think it's 2.0 compliant:
No description
datmetal1
datmetal13mo ago
i was rushing and forgot to do that. you are life saver!!