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
3
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.5.17 to 1.5.18

18

dist/fireblocks-sdk.d.ts

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

import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, GasStationInfo, MaxSpendableAmountResponse, VaultAccountsFilter, RequestOptions, VaultBalancesFilter, ValidateAddressResponse, CreateVaultAssetResponse } from "./types";
import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, GasStationInfo, MaxSpendableAmountResponse, VaultAccountsFilter, VaultBalancesFilter, ValidateAddressResponse, CreateVaultAssetResponse, RequestOptions, AllocateFundsRequest, DeallocateFundsRequest } from "./types";
export * from "./types";

@@ -343,2 +343,18 @@ export declare class FireblocksSDK {

/**
* allocate funds from you default balance to a private ledger
* @param vaultAccountId
* @param asset
* @param vaultAccountId
* @param asset
* @param args
*/
allocateFundsToPrivateLedger(vaultAccountId: string, asset: string, args: AllocateFundsRequest): Promise<any>;
/**
* deallocate funds from a private ledger to your default balance
* @param vaultAccountId
* @param asset
* @param args
*/
deallocateFundsFromPrivateLedger(vaultAccountId: string, asset: string, args: DeallocateFundsRequest): Promise<any>;
/**
* Get the public key information for a vault account

@@ -345,0 +361,0 @@ * @param args

@@ -668,2 +668,28 @@ "use strict";

/**
* allocate funds from you default balance to a private ledger
* @param vaultAccountId
* @param asset
* @param vaultAccountId
* @param asset
* @param args
*/
allocateFundsToPrivateLedger(vaultAccountId, asset, args) {
return __awaiter(this, void 0, void 0, function* () {
const url = `/v1/vault/accounts/${vaultAccountId}/${asset}/lock_allocation`;
return yield this.apiClient.issuePostRequest(url, args);
});
}
/**
* deallocate funds from a private ledger to your default balance
* @param vaultAccountId
* @param asset
* @param args
*/
deallocateFundsFromPrivateLedger(vaultAccountId, asset, args) {
return __awaiter(this, void 0, void 0, function* () {
const url = `/v1/vault/accounts/${vaultAccountId}/${asset}/release_allocation`;
return yield this.apiClient.issuePostRequest(url, args);
});
}
/**
* Get the public key information for a vault account

@@ -670,0 +696,0 @@ * @param args

@@ -75,2 +75,4 @@ export interface VaultAccountResponse {

id?: string;
virtualId?: string;
virtualType?: VirtualType;
address?: string;

@@ -81,2 +83,4 @@ }

id: string;
virtualId?: string;
virtualType?: VirtualType;
oneTimeAddress?: IOneTimeAddress;

@@ -296,2 +300,6 @@ }

}
export declare enum VirtualType {
OFF_EXCHANGE = "OFF_EXCHANGE",
DEFAULT = "DEFAULT"
}
export declare enum TransactionOperation {

@@ -306,2 +314,10 @@ TRANSFER = "TRANSFER",

}
export interface AllocateFundsRequest {
allocationId: string;
amount: string;
}
export interface DeallocateFundsRequest {
allocationId: string;
amount: string;
}
export interface CreateTransferTicketArgs {

@@ -308,0 +324,0 @@ externalTicketId: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransferTicketTermStatus = exports.TransferTicketStatus = exports.TransactionOperation = exports.PeerType = exports.TransactionStatus = exports.TransactionOrder = exports.FeeLevel = exports.SigningAlgorithm = void 0;
exports.TransferTicketTermStatus = exports.TransferTicketStatus = exports.TransactionOperation = exports.VirtualType = exports.PeerType = exports.TransactionStatus = exports.TransactionOrder = exports.FeeLevel = exports.SigningAlgorithm = void 0;
var SigningAlgorithm;

@@ -61,2 +61,7 @@ (function (SigningAlgorithm) {

})(PeerType = exports.PeerType || (exports.PeerType = {}));
var VirtualType;
(function (VirtualType) {
VirtualType["OFF_EXCHANGE"] = "OFF_EXCHANGE";
VirtualType["DEFAULT"] = "DEFAULT";
})(VirtualType = exports.VirtualType || (exports.VirtualType = {}));
var TransactionOperation;

@@ -63,0 +68,0 @@ (function (TransactionOperation) {

2

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

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

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