Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@0x/mesh-rpc-client
Advanced tools
A Javascript library for interacting with the Mesh JSON RPC API over WebSockets
A Javascript library for interacting with the Mesh JSON RPC API over WebSockets.
yarn add @0x/mesh-rpc-client
If your project is in TypeScript, add the following to your tsconfig.json
:
"compilerOptions": {
"typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}
If you would like to contribute bug fixes or new features to the client, checkout the 0xproject/0x-mesh project and use the below commands to install the dependencies, build, lint and test your changes.
yarn install
yarn build
yarn clean
yarn lint
yarn test
v5.0.0-beta
txHashes
key in the OrderEvent
s emitted from the orders
JSON-RPC subscription and replaced it with contractEvents
, an array of decoded order-relevant contract events. Parsing these events allows callers to find every discrete order fill/cancel event. (#420)Kind
key in OrderEvent
to EndState
to better elucidate that it represents the aggregate change to the orders state since it was last re-validated. As an end state, it does not capture any possible intermediate states the order might have been in since the last re-validation. Intermediate states can be inferred from the contractEvents
included (#420)fillableTakerAssetAmount
in the DB when orders were being partially filled or when their fillability increased due to a block re-org. (#439)verbosity
field optional in the TypeScript Config
type. (#410)FAQs
A Javascript library for interacting with the Mesh JSON RPC API over WebSockets
The npm package @0x/mesh-rpc-client receives a total of 53 weekly downloads. As such, @0x/mesh-rpc-client popularity was classified as not popular.
We found that @0x/mesh-rpc-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.