New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fireblocks-sdk

Package Overview
Dependencies
Maintainers
4
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireblocks-sdk - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

16

dist/fireblocks-sdk.d.ts
import { IAuthProvider } from "./iauth-provider";
import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, GasStationInfo, MaxSpendableAmountResponse, VaultAccountsFilter, VaultBalancesFilter, ValidateAddressResponse, CreateVaultAssetResponse, RequestOptions, AllocateFundsRequest, DeallocateFundsRequest, ResendWebhooksResponse, AssetTypeResponse, User, TransactionPageResponse, TransactionPageFilter, InternalWalletAsset, ExternalWalletAsset } from "./types";
import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, GasStationInfo, MaxSpendableAmountResponse, VaultAccountsFilter, VaultBalancesFilter, ValidateAddressResponse, CreateVaultAssetResponse, RequestOptions, AllocateFundsRequest, DeallocateFundsRequest, ResendWebhooksResponse, AssetTypeResponse, User, TransactionPageResponse, TransactionPageFilter, InternalWalletAsset, ExternalWalletAsset, OffExchangeEntityResponse } from "./types";
export * from "./types";

@@ -427,2 +427,16 @@ export declare class FireblocksSDK {

getUsers(): Promise<User[]>;
/**
* Get off exchange accounts
*/
getOffExchangeAccounts(): Promise<OffExchangeEntityResponse[]>;
/**
* Get off exchange account by virtual account id
* @param id the ID of the off exchange
*/
getOffExchangeAccountById(id: string): Promise<OffExchangeEntityResponse>;
/**
* Settle off exchange account by virtual account id
* @param id the ID of the off exchange
*/
settleOffExchangeAccountById(id: string): Promise<void>;
}

@@ -845,4 +845,30 @@ "use strict";

}
/**
* Get off exchange accounts
*/
getOffExchangeAccounts() {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueGetRequest(`/v1/off_exchange_accounts`);
});
}
/**
* Get off exchange account by virtual account id
* @param id the ID of the off exchange
*/
getOffExchangeAccountById(id) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueGetRequest(`/v1/off_exchange_accounts/${id}`);
});
}
/**
* Settle off exchange account by virtual account id
* @param id the ID of the off exchange
*/
settleOffExchangeAccountById(id) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issuePostRequest(`/v1/off_exchange_accounts/${id}/settle`, {});
});
}
}
exports.FireblocksSDK = FireblocksSDK;
//# sourceMappingURL=fireblocks-sdk.js.map

@@ -176,2 +176,3 @@ export interface VaultAccountResponse {

treatAsGrossAmount?: boolean;
forceSweep?: boolean;
}

@@ -478,2 +479,3 @@ export declare enum FeeLevel {

minAmountThreshold?: number;
assetId?: string;
}

@@ -498,2 +500,3 @@ export interface VaultBalancesFilter {

nativeAsset: string;
decimals?: number;
}

@@ -511,1 +514,14 @@ export interface User {

}
export interface OffExchangeEntityResponse {
id: string;
vaultAccountId: string;
thirdPartyAccountId: string;
balance?: {
[assetId: string]: {
total?: string;
locked?: string;
pending?: string;
frozen?: string;
};
};
}

2

package.json
{
"name": "fireblocks-sdk",
"version": "1.7.2",
"version": "1.7.3",
"main": "dist/fireblocks-sdk.js",

@@ -5,0 +5,0 @@ "types": "dist/fireblocks-sdk.d.ts",

@@ -5,3 +5,3 @@ # The Official Javascript & Typescript SDK for Fireblocks API

This repository contains the official Javascript & Typescript SDK for Fireblocks API.
For the complete API reference, go to [API reference](https://api.fireblocks.io/docs/v1/swagger-ui).
For the complete API reference, go to [API reference](https://docs.fireblocks.com/api/swagger-ui/).

@@ -8,0 +8,0 @@ ## Usage

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