Skip to content

Commit db2df5a

Browse files
authored
Merge pull request #39 from JJ-Cro/Update191124
v1.1.1 feat(): updated support for headers in params directly
2 parents 8a07564 + 56e73ce commit db2df5a

File tree

10 files changed

+484
-340
lines changed

10 files changed

+484
-340
lines changed

docs/endpointFunctionList.md

Lines changed: 273 additions & 273 deletions
Large diffs are not rendered by default.

examples/apidoc/RestClient/batchCancelFuturesOrders.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
const { RestClient } = require('gateio-api');
22

3-
// This example shows how to call this Gate.io API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "gateio-api" for Gate.io exchange
4-
// This Gate.io API SDK is available on npm via "npm install gateio-api"
5-
// ENDPOINT: /futures/{settle}/batch_cancel_orders
6-
// METHOD: POST
7-
// PUBLIC: NO
3+
// This example shows how to call this Gate.io API endpoint with either node.js, javascript (js) or typescript (ts) with the npm module "gateio-api" for Gate.io exchange
4+
// This Gate.io API SDK is available on npm via "npm install gateio-api"
5+
// ENDPOINT: /futures/{settle}/batch_cancel_orders
6+
// METHOD: POST
7+
// PUBLIC: NO
88

99
const client = new RestClient({
1010
apiKey: 'insert_api_key_here',
1111
apiSecret: 'insert_api_secret_here',
1212
});
1313

14-
client
15-
.batchCancelFuturesOrders(params)
14+
client.batchCancelFuturesOrders(params)
1615
.then((response) => {
1716
console.log(response);
1817
})

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gateio-api",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Complete & robust Node.js SDK for Gate.io's REST APIs, WebSockets & WebSocket APIs, with TypeScript declarations.",
55
"scripts": {
66
"clean": "rm -rf dist/*",

0 commit comments

Comments
 (0)