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

@coinbase/coinbase-sdk

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coinbase/coinbase-sdk - npm Package Compare versions

Comparing version 0.11.0 to 0.11.1

4

dist/coinbase/coinbase.d.ts

@@ -87,5 +87,7 @@ import { ApiClients, CoinbaseConfigureFromJsonOptions, CoinbaseOptions } from "./types";

* @param options.basePath - The base path for the API. Defaults to BASE_PATH.
* @param options.source - Optional source string to be sent with the API requests. Defaults to `sdk`.
* @param options.sourceVersion - Optional source version string to be sent with the API requests.
* @returns A new instance of the Coinbase SDK.
*/
static configure({ apiKeyName, privateKey, useServerSigner, debugging, basePath, }: CoinbaseOptions): Coinbase;
static configure({ apiKeyName, privateKey, useServerSigner, debugging, basePath, source, sourceVersion, }: CoinbaseOptions): Coinbase;
/**

@@ -92,0 +94,0 @@ * Reads the API key and private key from a JSON file and initializes the Coinbase SDK.

@@ -112,5 +112,7 @@ "use strict";

* @param options.basePath - The base path for the API. Defaults to BASE_PATH.
* @param options.source - Optional source string to be sent with the API requests. Defaults to `sdk`.
* @param options.sourceVersion - Optional source version string to be sent with the API requests.
* @returns A new instance of the Coinbase SDK.
*/
static configure({ apiKeyName, privateKey, useServerSigner = false, debugging = false, basePath = base_1.BASE_PATH, }) {
static configure({ apiKeyName, privateKey, useServerSigner = false, debugging = false, basePath = base_1.BASE_PATH, source = "sdk", sourceVersion = undefined, }) {
return new Coinbase({

@@ -122,2 +124,4 @@ apiKeyName,

basePath,
source,
sourceVersion,
});

@@ -124,0 +128,0 @@ }

@@ -7,3 +7,3 @@ {

"repository": "https://github.com/coinbase/coinbase-sdk-nodejs",
"version": "0.11.0",
"version": "0.11.1",
"main": "dist/index.js",

@@ -10,0 +10,0 @@ "types": "dist/index.d.ts",

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