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.0.11 to 1.0.12

1

dist/api-client.d.ts

@@ -9,2 +9,3 @@ import { IAuthProvider } from "./iauth-provider";

issuePutRequest(path: string, body: any): Promise<any>;
issueDeleteRequest(path: string): Promise<any>;
}

@@ -62,4 +62,17 @@ "use strict";

}
issueDeleteRequest(path) {
return __awaiter(this, void 0, void 0, function* () {
const token = this.authProvider.signJwt(path);
return yield request_promise_native_1.default.delete({
uri: this.apiBaseUrl + path,
headers: {
"X-API-Key": this.authProvider.getApiKey(),
"Authorization": `Bearer ${token}`
},
json: true
});
});
}
}
exports.ApiClient = ApiClient;
//# sourceMappingURL=api-client.js.map

@@ -167,2 +167,24 @@ import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse } from "./types";

createTransaction(options: TransactionArguments): Promise<CreateTransactionResponse>;
/**
* Deletes a single internal wallet
* @param walletId The internal wallet ID
*/
deleteInternalWallet(walletId: string): Promise<OperationSuccessResponse>;
/**
* Deletes a single internal wallet asset
* @param walletId The internal wallet ID
* @param assetId The asset ID
*/
deleteInternalWalletAsset(walletId: string, assetId: string): Promise<WalletAssetResponse>;
/**
* Deletes a single external wallet
* @param walletId The external wallet ID
*/
deleteExternalWallet(walletId: string): Promise<OperationSuccessResponse>;
/**
* Deletes a single external wallet asset
* @param walletId The external wallet ID
* @param assetId The asset ID
*/
deleteExternalWalletAsset(walletId: string, assetId: string): Promise<WalletAssetResponse>;
}

@@ -328,4 +328,42 @@ "use strict";

}
/**
* Deletes a single internal wallet
* @param walletId The internal wallet ID
*/
deleteInternalWallet(walletId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueDeleteRequest(`/v1/internal_wallets/${walletId}`);
});
}
/**
* Deletes a single internal wallet asset
* @param walletId The internal wallet ID
* @param assetId The asset ID
*/
deleteInternalWalletAsset(walletId, assetId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueDeleteRequest(`/v1/internal_wallets/${walletId}/${assetId}`);
});
}
/**
* Deletes a single external wallet
* @param walletId The external wallet ID
*/
deleteExternalWallet(walletId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueDeleteRequest(`/v1/external_wallets/${walletId}`);
});
}
/**
* Deletes a single external wallet asset
* @param walletId The external wallet ID
* @param assetId The asset ID
*/
deleteExternalWalletAsset(walletId, assetId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueDeleteRequest(`/v1/external_wallets/${walletId}/${assetId}`);
});
}
}
exports.FireblocksSDK = FireblocksSDK;
//# sourceMappingURL=fireblocks-sdk.js.map

2

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