hollaex-node-lib 2.14.0 → 2.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,13 @@ const API_SECRET = process.env.API_SECRET || '73879b785c50e235a0e2e972a899eba569
6
6
  const client = new HollaEx({ apiURL: 'https://api.sandbox.hollaex.com', apiKey: API_KEY, apiSecret: API_SECRET });
7
7
 
8
8
  // client
9
- // .getBalance()
9
+ // .createOrder(
10
+ // 'xht-usdt',
11
+ // 'buy',
12
+ // 0.1,
13
+ // 'market',
14
+ // // 0
15
+ // )
10
16
  // .then(async (data) => {
11
17
  // console.log(data);
12
18
  // // console.log('The volume is', data.volume);
@@ -24,7 +30,7 @@ const client = new HollaEx({ apiURL: 'https://api.sandbox.hollaex.com', apiKey:
24
30
  symbols : xht-usdt
25
31
  */
26
32
 
27
- client.connect(['orderbook:xht-usdt','wallet']);
33
+ client.connect(['usertrade']);
28
34
 
29
35
  client.ws.on('message', (data) => {
30
36
  data = JSON.parse(data);
package/kit.js CHANGED
@@ -813,6 +813,7 @@ class HollaExKit {
813
813
  }
814
814
  break;
815
815
  case 'order':
816
+ case 'usertrade':
816
817
  case 'wallet':
817
818
  case 'deposit':
818
819
  this.ws.send(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hollaex-node-lib",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
4
4
  "description": "hollaex api and websocket library for nodejs",
5
5
  "main": "index.js",
6
6
  "dependencies": {
@@ -36,8 +36,7 @@
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "https://github.com/bitholla/hollaex-node-lib"
39
+ "url": "https://github.com/hollaex/hollaex-node-lib"
40
40
  },
41
- "author": "bitHolla Inc",
42
41
  "license": "MIT"
43
42
  }