bitget-node-api
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -7,2 +7,3 @@ import { BaseApi } from '../BaseApi'; | ||
transferRecords(coinId: string, fromType: string, limit: string, after: string, before: string): Promise<import("axios").AxiosResponse<any>>; | ||
keyInfo(): Promise<import("axios").AxiosResponse<any>>; | ||
} |
{ | ||
"name": "bitget-node-api", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Node.js/typescript connector for Bidget REST APIs and WebSockets", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -6,3 +6,3 @@ # Instructions | ||
```bash | ||
npm i bitget-api-node-npm | ||
npm i bitget-api-node | ||
``` | ||
@@ -13,3 +13,3 @@ | ||
```javascript | ||
const bitgetApi = require('bitget-api-node-npm') | ||
const bitgetApi = require('bitget-api-node') | ||
const { test, describe, expect } = require('@jest/globals') | ||
@@ -33,3 +33,3 @@ | ||
```javascript | ||
var bitgetApi = require('bitget-api-node-npm') | ||
var bitgetApi = require('bitget-api-node') | ||
@@ -36,0 +36,0 @@ const apiKey = '' |
@@ -38,2 +38,8 @@ import {BaseApi} from '../BaseApi'; | ||
} | ||
keyInfo():Promise<import("axios").AxiosResponse<any>>{ | ||
const url = SPOT_URL.SPOT_ACCOUNT + '/getInfo'; | ||
const headers = this.signer('GET', url, null) | ||
return this.axiosInstance.get(url, {headers}) | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
258462
165
5571