Socket
Socket
Sign inDemoInstall

dashrpc

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashrpc - npm Package Compare versions

Comparing version 19.0.1 to 20.0.0

dashrpc.js

31

package.json
{
"name": "dashrpc",
"version": "19.0.1",
"version": "20.0.0",
"description": "Lightweight JavaScript SDK Dash RPC, made Browser, Node.js, & Bundler compatible",
"main": "promise.js",
"main": "dashrpc.js",
"files": [
"promise.js",
"lib/index.js"
"dashrpc.js"
],

@@ -13,6 +12,11 @@ "scripts": {

"fmt": "npm run prettier",
"test": "mocha test -R spec",
"coverage": "nyc npm run test",
"lint": "npm run jshint && npm run tsc",
"test": "node ./tests/",
"--------": "------------------------------------------------",
"prettier": "npx -p prettier@3.x -- prettier -w '**/*.{js,md}'"
"prettier": "npx -p prettier@3.x -- prettier -w '**/*.{js,md}'",
"jshint": "npx -p jshint@2.x -- jshint -c ./.jshintrc ./*.js",
"tsc": "npx -p typescript@4.x -- tsc -p ./jsconfig.json",
"reexport-types": "npx -p jswt@1.x -- reexport",
"---------": "-----------------------------------------------",
"prepublish": "npm run reexport-types && npm run fmt"
},

@@ -28,15 +32,8 @@ "homepage": "https://github.com/dashhive/DashRPC.js",

],
"devDependencies": {
"async": "^3.2.4",
"chai": "^4.2.0",
"eslint": "^7.15.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"mocha": "^10.4.0",
"nyc": "15.1.0",
"sinon": "^9.2.2"
},
"bugs": {
"url": "https://github.com/dashhive/DashRPC.js/issues"
},
"devDependencies": {
"dotenv": "^16.4.5"
},
"author": {

@@ -43,0 +40,0 @@ "name": "AJ ONeal",

@@ -17,7 +17,7 @@ # [DashRPC.js](https://github.com/dashhive/DashRPC.js)

You can examine `RpcClient.callspec` to see the list of supported RPCs:
You can examine `DashRpc.callspec` to see the list of supported RPCs:
```js
console.info('Supported RPCs:');
console.info(RpcClient.callspec);
console.info(DashRpc.callspec);
```

@@ -27,3 +27,3 @@

### RpcClient
### DashRpc

@@ -56,4 +56,4 @@ Config parameters :

```js
var RpcClient = require('dashrpc');
var rpc = new RpcClient(config);
var DashRpc = require('dashrpc');
var rpc = DashRpc.create(config);

@@ -86,4 +86,4 @@ async function main() {

```
const RpcClient = require('dashrpc');
var client = new RPCclient({
const DashRpc = require('dashrpc');
var client = DashRpc.create({
protocol:'http',

@@ -90,0 +90,0 @@ user: 'dash',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc