@carrot-protocol/boost-http-client 0.4.3-fix-store-pyth-account-not-feed-dev-fa4b932 → 0.4.4-handoff-dev-06f2933
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
- package/src/index.ts +4 -0
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export declare class Client extends ApiClient {
|
|
|
79
79
|
* @returns Withdraw emissions operation result
|
|
80
80
|
*/
|
|
81
81
|
withdrawEmissions(clendAccount: web3.PublicKey): Promise<string>;
|
|
82
|
+
handoffDepositLeverage(): Promise<string>;
|
|
82
83
|
getPerformanceChartingExtension(clendAccount: web3.PublicKey): Promise<PositionChartingExtension>;
|
|
83
84
|
getGroupChartingExtension(group: web3.PublicKey): Promise<GroupChartingExtension>;
|
|
84
85
|
getWalletChartingExtension(address?: web3.PublicKey): Promise<WalletChartingExtension>;
|
package/dist/index.js
CHANGED
|
@@ -424,6 +424,9 @@ class Client extends api_1.ApiClient {
|
|
|
424
424
|
const txSig = await this.send(withdrawEmissionsResponse.unsignedBase64Tx, withdrawEmissionsResponse.userRequestId);
|
|
425
425
|
return txSig;
|
|
426
426
|
}
|
|
427
|
+
async handoffDepositLeverage() {
|
|
428
|
+
return "";
|
|
429
|
+
}
|
|
427
430
|
async getPerformanceChartingExtension(clendAccount) {
|
|
428
431
|
return new position_1.PositionChartingExtension(this.baseUrl, clendAccount);
|
|
429
432
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -595,6 +595,10 @@ export class Client extends ApiClient {
|
|
|
595
595
|
return txSig;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
+
async handoffDepositLeverage(): Promise<string> {
|
|
599
|
+
return "";
|
|
600
|
+
}
|
|
601
|
+
|
|
598
602
|
public async getPerformanceChartingExtension(
|
|
599
603
|
clendAccount: web3.PublicKey,
|
|
600
604
|
): Promise<PositionChartingExtension> {
|