fireblocks-sdk
Advanced tools
Comparing version 1.11.1 to 1.12.0
@@ -5,15 +5,8 @@ ### Changelog | ||
#### [v1.11.1](https://github.com/fireblocks/fireblocks-sdk-js/compare/v1.10.0...v1.11.1) | ||
#### [v1.12.0](https://github.com/fireblocks/fireblocks-sdk-js/compare/v1.9.0...v1.12.0) | ||
> 20 December 2021 | ||
> 4 January 2022 | ||
- fix: add missing fields to TransactionResponse [`#69`](https://github.com/fireblocks/fireblocks-sdk-js/pull/69) | ||
- add refresh balance to js sdk [`#71`](https://github.com/fireblocks/fireblocks-sdk-js/pull/71) | ||
#### [v1.10.0](https://github.com/fireblocks/fireblocks-sdk-js/compare/v1.9.0...v1.10.0) | ||
> 5 December 2021 | ||
- Add RequestOptions for all post request [`#64`](https://github.com/fireblocks/fireblocks-sdk-js/pull/64) | ||
- add functionality for activate vault asset [`#62`](https://github.com/fireblocks/fireblocks-sdk-js/pull/62) | ||
#### [v1.9.0](https://github.com/fireblocks/fireblocks-sdk-js/compare/v1.8.2...v1.9.0) | ||
@@ -20,0 +13,0 @@ |
@@ -46,2 +46,8 @@ import { IAuthProvider } from "./iauth-provider"; | ||
/** | ||
* Gets a single vault account asset balance after forcing refresh from the blockchain | ||
* @param vaultAccountId The vault account ID | ||
* @param assetId The ID of the asset to get | ||
*/ | ||
refreshVaultAssetBalance(vaultAccountId: string, assetId: string, requestOptions?: RequestOptions): Promise<AssetResponse>; | ||
/** | ||
* Gets deposit addresses for an asset in a vault account | ||
@@ -436,2 +442,9 @@ * @param vaultAccountId The vault account ID | ||
/** | ||
* Resend transaction webhooks | ||
* @param txId The transaction for which the message is sent | ||
* @param resendCreated If true a webhook will be sent for the creation of the transaction | ||
* @param resendStatusUpdated If true a webhook will be sent for the status of the transaction | ||
*/ | ||
resendTransactionWebhooksById(txId: string, resendCreated?: boolean, resendStatusUpdated?: boolean, requestOptions?: RequestOptions): Promise<ResendWebhooksResponse>; | ||
/** | ||
* Gets all Users for your tenant | ||
@@ -438,0 +451,0 @@ */ |
@@ -93,2 +93,12 @@ "use strict"; | ||
/** | ||
* Gets a single vault account asset balance after forcing refresh from the blockchain | ||
* @param vaultAccountId The vault account ID | ||
* @param assetId The ID of the asset to get | ||
*/ | ||
refreshVaultAssetBalance(vaultAccountId, assetId, requestOptions) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield this.apiClient.issuePostRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/balance`, "{}", requestOptions); | ||
}); | ||
} | ||
/** | ||
* Gets deposit addresses for an asset in a vault account | ||
@@ -851,2 +861,14 @@ * @param vaultAccountId The vault account ID | ||
/** | ||
* Resend transaction webhooks | ||
* @param txId The transaction for which the message is sent | ||
* @param resendCreated If true a webhook will be sent for the creation of the transaction | ||
* @param resendStatusUpdated If true a webhook will be sent for the status of the transaction | ||
*/ | ||
resendTransactionWebhooksById(txId, resendCreated, resendStatusUpdated, requestOptions) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const body = { resendCreated, resendStatusUpdated }; | ||
return yield this.apiClient.issuePostRequest(`/v1/webhooks/resend/${txId}`, body, requestOptions); | ||
}); | ||
} | ||
/** | ||
* Gets all Users for your tenant | ||
@@ -853,0 +875,0 @@ */ |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "1.11.1", | ||
"version": "1.12.0", | ||
"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
124394
2180