@geekcash/geekcash-rpc
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@geekcash/geekcash-rpc", | ||
"description": "JavaScript Client Library to connect to GeekCash via RPC", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": { | ||
@@ -50,3 +50,4 @@ "name": "Stephen Pair", | ||
"dependencies": { | ||
"async": "^2.6.1" | ||
"async": "^2.6.1", | ||
"bluebird": "^3.5.1" | ||
}, | ||
@@ -53,0 +54,0 @@ "devDependencies": { |
@@ -22,3 +22,3 @@ geekcash-rpc.js | ||
- host : (string - optional) - (default: '127.0.0.1') - The host you want to connect with. | ||
- port : (integer - optional) - (default: 9998) - Set the port on which perform the RPC command. | ||
- port : (integer - optional) - (default: 6888) - Set the port on which perform the RPC command. | ||
@@ -30,3 +30,3 @@ ## Examples | ||
var bitcore = require('bitcore'); | ||
var RpcClient = require('geekcash-rpc'); | ||
var RpcClient = require('@geekcash/geekcash-rpc'); | ||
@@ -85,9 +85,9 @@ var config = { | ||
``` | ||
const RpcClient = require('geekcash-rpc'); | ||
const RpcClient = require('@geekcash/geekcash-rpc'); | ||
var client = new RPCclient({ | ||
protocol:'http', | ||
user: 'dash', | ||
pass: 'local321', | ||
user: 'root', | ||
pass: 'password', | ||
host: '127.0.0.1', | ||
port: 19998 | ||
port: 6888 | ||
}); | ||
@@ -94,0 +94,0 @@ |
37885
8
770
2
+ Addedbluebird@^3.5.1
+ Addedbluebird@3.7.2(transitive)