New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitget-node-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitget-node-api - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

1

build/lib/mix/MixOrderApi.d.ts

@@ -13,4 +13,5 @@ import { BaseApi } from '../BaseApi';

current(symbol: string): Promise<import("axios").AxiosResponse<any>>;
allOpen(productType: string): Promise<import("axios").AxiosResponse<any>>;
detail(symbol: string, orderId: string): Promise<import("axios").AxiosResponse<any>>;
fills(symbol: string, orderId: string): Promise<import("axios").AxiosResponse<any>>;
}

@@ -39,2 +39,8 @@ "use strict";

}
allOpen(productType) {
const url = config_1.MIX_URL.MIX_ORDER + '/marginCoinCurrent';
const qsOrBody = { productType };
const headers = this.signer('GET', url, qsOrBody);
return this.axiosInstance.get(url, { headers, params: qsOrBody });
}
detail(symbol, orderId) {

@@ -41,0 +47,0 @@ const url = config_1.MIX_URL.MIX_ORDER + '/detail';

2

package.json
{
"name": "bitget-node-api",
"version": "1.0.1",
"version": "1.0.2",
"description": "Node.js/typescript connector for Bidget REST APIs and WebSockets",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -71,3 +71,15 @@ import {BaseApi} from '../BaseApi';

}
/**
* Get the current delegate
* @param productType
*/
allOpen(productType: string):Promise<import("axios").AxiosResponse<any>> {
const url = MIX_URL.MIX_ORDER + '/marginCoinCurrent';
const qsOrBody = {productType};
const headers = this.signer('GET', url, qsOrBody)
return this.axiosInstance.get(url, {headers, params: qsOrBody})
}
/**
* Get order details

@@ -74,0 +86,0 @@ * @param symbol

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc