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

fireblocks-sdk

Package Overview
Dependencies
Maintainers
1
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.4.0 to 1.4.1

13

dist/fireblocks-sdk.d.ts

@@ -173,5 +173,16 @@ import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse } from "./types";

* @param name A name for the new vault account
* @param hiddenOnUI If true, the created account and all related transactions will not be shown on Fireblocks console
*/
createVaultAccount(name: string): Promise<VaultAccountResponse>;
createVaultAccount(name: string, hiddenOnUI?: boolean): Promise<VaultAccountResponse>;
/**
* Hides a vault account in Fireblocks console
* @param vaultAccountId The vault account ID
*/
hideVaultAccount(vaultAccountId: string): Promise<VaultAccountResponse>;
/**
* Reveals a hidden vault account in Fireblocks console
* @param vaultAccountId The vault account ID
*/
unhideVaultAccount(vaultAccountId: string): Promise<VaultAccountResponse>;
/**
* Updates a vault account

@@ -178,0 +189,0 @@ * @param name A new name for the vault account

@@ -321,7 +321,9 @@ "use strict";

* @param name A name for the new vault account
* @param hiddenOnUI If true, the created account and all related transactions will not be shown on Fireblocks console
*/
createVaultAccount(name) {
createVaultAccount(name, hiddenOnUI) {
return __awaiter(this, void 0, void 0, function* () {
const body = {
name: name
name: name,
hiddenOnUI: hiddenOnUI || false
};

@@ -332,2 +334,20 @@ return yield this.apiClient.issuePostRequest("/v1/vault/accounts", body);

/**
* Hides a vault account in Fireblocks console
* @param vaultAccountId The vault account ID
*/
hideVaultAccount(vaultAccountId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issuePostRequest(`/v1/vault/accounts/${vaultAccountId}/hide`, {});
});
}
/**
* Reveals a hidden vault account in Fireblocks console
* @param vaultAccountId The vault account ID
*/
unhideVaultAccount(vaultAccountId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issuePostRequest(`/v1/vault/accounts/${vaultAccountId}/unhide`, {});
});
}
/**
* Updates a vault account

@@ -334,0 +354,0 @@ * @param name A new name for the vault account

export interface VaultAccountResponse {
id: string;
name: string;
hiddenOnUI: boolean;
assets: AssetResponse[];

@@ -5,0 +6,0 @@ }

2

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