Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@altangent/lib-coinbase

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altangent/lib-coinbase - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

6

package.json
{
"name": "@altangent/lib-coinbase",
"version": "0.10.0",
"version": "0.10.1",
"description": "Coinbase API client",

@@ -27,3 +27,3 @@ "author": "Brian Mancini <bmancini@gmail.com>",

"dependencies": {
"@altangent/lib-http": "^0.10.0"
"@altangent/lib-http": "^0.10.1"
},

@@ -33,3 +33,3 @@ "publishConfig": {

},
"gitHead": "3a97f77d3e45056ad90da16ecaaf4d3a367fd56c"
"gitHead": "10d80a02d731c7add869af44d1027703abff687b"
}

@@ -1,7 +0,1 @@

// API Key: IvR4b7GmIv1Qzi6W
// API Secret: x7Dgfc3WybLGSLO1gA35141pKZnCHUxI
// curl https://api.coinbase.com/v2/accounts/2bbf394c-193b-5b2a-9155-3b4732659ede/transactions /
// -H 'Authorization: Bearer abd90df5f27a7b170cd775abf89d632b350b7c1c9d53e08b340cd9832ce52c2c'
import { request } from "@altangent/lib-http";

@@ -13,8 +7,13 @@ import crypto from "crypto";

const key = "xjOGCPmvkDRSrvck";
const keysecret = "w9TWdZEW6PHWWNpdIUXo8BzNNPmeZ61X";
const key = process.env.CB_KEY;
const keysecret = process.env.CB_SECRET;
const accountid = process.env.CB_ACCOUNTID;
console.log("key", key);
console.log("secret", keysecret);
console.log("account", accountid);
const timestamp = Math.floor(new Date().getTime() / 1000);
const method = "GET";
const path = "/v2/accounts/0e795055-823f-5dd0-9010-deb823088912";
const path = `/v2/accounts/${accountid}`;
// const path = "/v2/accounts?limit=100";

@@ -21,0 +20,0 @@ const body = "";

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