Socket
Socket
Sign inDemoInstall

coinbase-advanced-node

Package Overview
Dependencies
54
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

dist/client/RESTClient.js

@@ -62,2 +62,3 @@ "use strict";

const ConvertAPI_1 = require("../convert/ConvertAPI");
const shared_request_1 = require("../util/shared-request");
// eslint-disable-next-line no-redeclare

@@ -70,2 +71,3 @@ class RESTClient extends events_1.EventEmitter {

this.httpClient = axios_1.default.create({
paramsSerializer: shared_request_1.serializeParamsArray,
timeout: 50000,

@@ -72,0 +74,0 @@ });

4

dist/product/ProductAPI.js

@@ -242,3 +242,5 @@ "use strict";

const resource = `/brokerage/best_bid_ask`;
const response = yield this.apiClient.get(resource, { params: { product_ids: productIds } });
const response = yield this.apiClient.get(resource, {
params: { product_ids: productIds },
});
return response.data.pricebooks;

@@ -245,0 +247,0 @@ });

import { AxiosInstance } from 'axios';
import { NewSIWCTransaction, PaginatedData, Pagination } from '../payload';
export declare const serializeParamsArray: (params: any) => string;
export declare const formatPaginationIntoParams: (pagination: Pagination, siwc?: boolean, params?: {}) => object;

@@ -4,0 +5,0 @@ export declare class SharedRequestService {

@@ -12,3 +12,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SharedRequestService = exports.formatPaginationIntoParams = void 0;
exports.SharedRequestService = exports.formatPaginationIntoParams = exports.serializeParamsArray = void 0;
const qs_1 = require("qs");
const serializeParamsArray = (params) => {
return (0, qs_1.stringify)(params, { arrayFormat: 'repeat', indices: false });
};
exports.serializeParamsArray = serializeParamsArray;
const formatPaginationIntoParams = (pagination, siwc = false, params = {}) => {

@@ -15,0 +20,0 @@ if (pagination.after) {

@@ -13,2 +13,3 @@ {

"jsonwebtoken": "^9.0.2",
"qs": "^6.11.2",
"reconnecting-websocket": "4.4.0",

@@ -21,2 +22,3 @@ "utf-8-validate": "5.0.10",

"@types/jasmine": "4.0.3",
"@types/qs": "^6.9.11",
"@typescript-eslint/eslint-plugin": "5.45.0",

@@ -113,3 +115,3 @@ "@typescript-eslint/parser": "5.45.0",

},
"version": "3.0.0"
"version": "3.0.1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc