v1.0.0: stable release for bitget rest apis & websockets

This commit is contained in:
Tiago Siebler
2022-11-22 12:36:47 +00:00
parent be9d6b1d50
commit 1bba614a3f
2 changed files with 8 additions and 1 deletions

View File

@@ -4,3 +4,10 @@ These samples can be executed using `ts-node`:
``` ```
ts-node ./examples/rest-spot-public.ts ts-node ./examples/rest-spot-public.ts
``` ```
Samples that require authentication can be edited directly but also support environmental variables. E.g. on mac/unix:
```
API_KEY_COM="yourkeyhere" API_SECRET_COM="yoursecrethere" API_PASS_COM="yourapipasshere" ts-node examples/rest-trade-futures.ts
```
They can also be converted to JavaScript by changing the imports to require & removing any type annotations.

View File

@@ -1,6 +1,6 @@
{ {
"name": "bitget-api", "name": "bitget-api",
"version": "0.9.0", "version": "1.0.0",
"description": "Node.js connector for Bitget REST APIs and WebSockets, with TypeScript & integration tests.", "description": "Node.js connector for Bitget REST APIs and WebSockets, with TypeScript & integration tests.",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",