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

@altangent/lib-coinbase-prime

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altangent/lib-coinbase-prime - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

dist/CoinbasePrimeClient.d.ts

3

dist/index.d.ts

@@ -1,3 +0,2 @@

export * from "./CoinbaseClient";
export * from "./CoinbasePrimeClient";
export * from "./Results";
export * from "./Options";

@@ -13,5 +13,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./CoinbaseClient"), exports);
__exportStar(require("./CoinbasePrimeClient"), exports);
__exportStar(require("./Results"), exports);
__exportStar(require("./Options"), exports);
//# sourceMappingURL=index.js.map
export declare namespace Results {
type SingleResult<T> = {
data: T;
type PortfolioList = {
portfolios: Portfolio[];
};
type Pagination = {
ending_before: string;
starting_after: string;
previous_ending_before: string;
next_starting_after: string;
limit: number;
order: string;
previous_uri: string;
next_uri: string;
};
type PagedResult<T> = {
pagination: Pagination;
data: T[];
};
type Iso8601 = string;
type User = {
type Portfolio = {
id: string;
name: string;
username: string;
profile_location: string;
profile_bio: string;
profile_url: string;
avatar_url: string;
resource: "user";
resource_path: string;
entity_id: string;
organization_id: string;
};
type Account = {
id: string;
name: string;
primary: boolean;
type: AccountType;
currency: string;
balance: MoneyHash;
created_at: Iso8601;
updated_at: Iso8601;
resource: "account";
resource_path: string;
type ListBalances = {
balances: Balance[];
type: "TRADING_BALANCES" | "VAULT_BALANCES" | "TOTAL_BALANCES";
trading_balances: {
total: string;
holds: string;
};
vault_balances: {
total: string;
holds: string;
};
};
enum AccountType {
wallet = "wallet",
fiat = "fiat",
value = "value"
}
type MoneyHash = {
type Balance = {
symbol: string;
amount: string;
currency: string;
holds: string;
bonded_amount: string;
reserved_amount: string;
unbonding_amount: string;
unvested_amount: string;
pending_rewards_amount: string;
past_rewards_amount: string;
bondable_amount: string;
withdrawable_amount: string;
fiat_amount: string;
};
type Address = {
id: string;
address: string;
name: string;
network: string;
created_at: Iso8601;
updated_at: Iso8601;
resource: "address";
resource_path: string;
type ListTransactions = {
transactions: Transaction[];
pagination: {
next_cursor: string;
sort_direction: string;
has_next: boolean;
};
};
type Transaction = {
id: string;
wallet_id: string;
portfolio_id: string;
type: string;
status: string;
amount: MoneyHash;
native_amount: MoneyHash;
description: string;
created_at: Iso8601;
updated_at: Iso8601;
resource: "transaction";
resource_path: string;
details: Partial<Details>;
network?: Partial<Network>;
to?: Partial<To>;
from?: Partial<From>;
address?: any;
application?: any;
};
type Network = {
status: string;
status_description: string;
hash: string;
transaction_url: string;
transaction_fee: {
amount: string;
currency: string;
symbol: string;
created_at: string;
completed_at: string;
amount: string;
transfer_from: {
type: string;
value: string;
};
transaction_amount: {
amount: string;
currency: string;
transfer_to: {
type: string;
value: string;
};
confirmations: number;
network_fees: string;
fees: string;
fee_symbol: string;
blockchain_ids: string[];
transaction_id: string;
destination_symbol: string;
};
type From = {
resource: string;
currency: string;
type ListWallets = {
wallets: Wallet[];
pagination: {
next_cursor: string;
sort_direction: string;
has_next: boolean;
};
};
type To = {
resource: string;
address: string;
currency: string;
address_url: string;
type Wallet = {
id: string;
name: string;
type: string;
created_at: string;
};
type Details = {
title: string;
subtitle: string;
header: string;
health: string;
payment_method_name: string;
type ListOrders = {
orders: Order[];
next_cursor: string;
sort_direction: string;
has_next: boolean;
};
type Order = {
id: string;
user_id: string;
portfolio_id: string;
product_id: string;
side: string;
client_order_id: string;
type: string;
base_quantity: string;
quote_value: string;
limit_price: string;
start_time: string;
expiry_time: string;
status: string;
time_in_force: string;
created_at: string;
filled_quantity: string;
filed_value: string;
average_filled_price: string;
commission: string;
exchange_fee: string;
};
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Results = void 0;
/* eslint-disable @typescript-eslint/no-namespace */
var Results;
(function (Results) {
let AccountType;
(function (AccountType) {
AccountType["wallet"] = "wallet";
AccountType["fiat"] = "fiat";
AccountType["value"] = "value";
})(AccountType = Results.AccountType || (Results.AccountType = {}));
})(Results = exports.Results || (exports.Results = {}));
//# sourceMappingURL=Results.js.map
{
"name": "@altangent/lib-coinbase-prime",
"version": "0.13.0",
"version": "0.13.1",
"description": "Coinbase Prime API client",

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

"dependencies": {
"@altangent/lib-http": "^0.13.0"
"@altangent/lib-http": "^0.13.1"
},
"publishConfig": {
"access": "public"
}
},
"gitHead": "5189e326fe5b556c6b93a4c3a1318934461d54ef"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc