Socket
Socket
Sign inDemoInstall

coinbase-pro-node

Package Overview
Dependencies
15
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.14.0 to 2.15.0

3

dist/auth/RequestSigner.js

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

const crypto_1 = __importDefault(require("crypto"));
const buffer_1 = require("buffer/");
class RequestSigner {

@@ -14,3 +15,3 @@ // https://docs.pro.coinbase.com/#creating-a-request

const what = `${timestamp}${setup.httpMethod}${setup.requestPath}${setup.payload}`;
const key = Buffer.from(auth.apiSecret, 'base64');
const key = buffer_1.Buffer.from(auth.apiSecret, 'base64');
const hmac = crypto_1.default.createHmac('sha256', key);

@@ -17,0 +18,0 @@ const signature = hmac.update(what).digest('base64');

@@ -7,8 +7,9 @@ {

"@types/ws": "7.4.0",
"axios": "0.21.0",
"axios": "0.21.1",
"axios-retry": "3.1.9",
"buffer": "6.0.3",
"bufferutil": "4.0.2",
"reconnecting-websocket": "4.4.0",
"utf-8-validate": "5.0.3",
"ws": "7.4.0"
"ws": "7.4.1"
},

@@ -18,12 +19,12 @@ "description": "Coinbase Pro API for Node.js, written in TypeScript and covered by tests.",

"@types/jasmine": "3.6.2",
"@typescript-eslint/eslint-plugin": "4.9.0",
"@typescript-eslint/parser": "4.9.0",
"@typescript-eslint/eslint-plugin": "4.11.0",
"@typescript-eslint/parser": "4.11.0",
"cross-env": "7.0.3",
"dotenv-defaults": "2.0.1",
"eslint": "7.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-prettier": "3.2.0",
"eslint": "7.16.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-prettier": "3.3.0",
"eslint-plugin-typescript-sort-keys": "1.5.0",
"generate-changelog": "1.8.0",
"husky": "4.3.0",
"husky": "4.3.6",
"jasmine": "3.6.3",

@@ -36,6 +37,6 @@ "lint-staged": "10.5.3",

"rimraf": "3.0.2",
"ts-node": "9.1.0",
"ts-node": "9.1.1",
"typedoc": "0.19.2",
"typedoc-plugin-markdown": "3.0.11",
"typescript": "4.1.2"
"typedoc-plugin-markdown": "3.1.1",
"typescript": "4.1.3"
},

@@ -105,3 +106,3 @@ "engines": {

},
"version": "2.14.0"
"version": "2.15.0"
}

Sorry, the diff of this file is too big to display

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