mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
* Added sync log to streamer. * Fixed ledger closing attempt while syncing. * Added diagnostic contract. * Reset to stage 0 on unreliable votes. * Reduced peer msg age threshold. * Added health tracking. * Weakly-connected detection improvement. * Increased version 0.5.1. * Improved client lib server version check. * Added health logging support to text client. * Added weakly connected status in status response. * Increased max peers limits when serializing. * Local docker cluster manual ip. * Updated vultr script vm region order. * Sync status reporting improvement. * Added milliseconds to logging.
Hot Pocket javascript client library and examples
Single-file javascript library to support json and bson protocols in NodeJs and Browser environments.
NodeJs
- Run
npm installto install all the dependencies. lib/hp-client-lib.jsis the Hot Pocket client library for NodeJs.text-client.jsis the example for json mode.file-client.jsis the example for bson mode.
Browser
- Run
npm installto install all the compilation dependencies. - Run
npm run build-browserto produced the minified library for the browser. browser-example.htmlis the simple html/javascript example for json mode.
(For BSON support in browser, a slightly modified version of https://www.npmjs.com/package/bson is used. The minified library includes this bson support library as well)