Comparing version 19.0.0 to 19.0.1
{ | ||
"name": "dashrpc", | ||
"version": "19.0.0", | ||
"version": "19.0.1", | ||
"description": "Lightweight JavaScript SDK Dash RPC, made Browser, Node.js, & Bundler compatible", | ||
@@ -5,0 +5,0 @@ "main": "promise.js", |
@@ -47,2 +47,5 @@ # [DashRPC.js](https://github.com/dashhive/DashRPC.js) | ||
port: 19998, | ||
onconnected: function () { | ||
console.info('[dashrpc] connected to `${config.host:config.port}`'); | ||
}, | ||
}; | ||
@@ -56,2 +59,5 @@ ``` | ||
async function main() { | ||
let height = await rpc.init({ retry: 5000 }); | ||
console.info(`[dashrpc] best block height is ${height}`); | ||
let rawMempool = await rpc.getRawMemPool(); | ||
@@ -58,0 +64,0 @@ for (let result of rawMempool.result) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18434
114