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

fireblocks-sdk

Package Overview
Dependencies
Maintainers
2
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.1 to 1.5.2

12

dist/fireblocks-sdk.d.ts

@@ -319,2 +319,14 @@ import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse } from "./types";

setCustomerRefIdForAddress(vaultAccountId: string, assetId: string, address: string, tag?: string, customerRefId?: string): Promise<OperationSuccessResponse>;
/**
* Set the required number of confirmations for transaction
* @param txId
* @param requiredConfirmationsNumber
*/
setConfirmationThresholdForTxId(txId: string, requiredConfirmationsNumber: number): Promise<any>;
/**
* Set the required number of confirmtations for transactions by tx hash
* @param txHash
* @param requiredConfirmationsNumber
*/
setConfirmationThresholdForTxHash(txHash: string, requiredConfirmationsNumber: number): Promise<any>;
}

@@ -608,4 +608,24 @@ "use strict";

}
/**
* Set the required number of confirmations for transaction
* @param txId
* @param requiredConfirmationsNumber
*/
setConfirmationThresholdForTxId(txId, requiredConfirmationsNumber) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issuePostRequest(`/v1/transactions/${txId}/set_confirmation_threshold`, { numOfConfirmations: requiredConfirmationsNumber });
});
}
/**
* Set the required number of confirmtations for transactions by tx hash
* @param txHash
* @param requiredConfirmationsNumber
*/
setConfirmationThresholdForTxHash(txHash, requiredConfirmationsNumber) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issuePostRequest(`/v1/txHash/${txHash}/set_confirmation_threshold`, { numOfConfirmations: requiredConfirmationsNumber });
});
}
}
exports.FireblocksSDK = FireblocksSDK;
//# sourceMappingURL=fireblocks-sdk.js.map

1

dist/types.d.ts

@@ -291,3 +291,4 @@ export interface VaultAccountResponse {

export interface CreateTransferTicketResponse {
ticketId: string;
}
export {};

2

package.json
{
"name": "fireblocks-sdk",
"version": "1.5.1",
"version": "1.5.2",
"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

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