haedal-vault-sdk 1.7.0 → 1.8.1
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 +3 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { PreSwapLpChangeParams, AggregatorClient } from '@cetusprotocol/aggregat
|
|
|
3
3
|
import { PaginationArgs, DataPage, CoinPairType, TableHandle, IModule as IModule$1, Package, SuiAddressType, FullClient, CoinAsset, SuiResource } from '@cetusprotocol/common-sdk';
|
|
4
4
|
import { Pool as Pool$1, CetusClmmSDK } from '@cetusprotocol/sui-clmm-sdk';
|
|
5
5
|
import { TransactionObjectArgument, Transaction } from '@mysten/sui/transactions';
|
|
6
|
-
import
|
|
6
|
+
import * as _pythnetwork_price_service_sdk from '@pythnetwork/price-service-sdk';
|
|
7
|
+
import { SuiPriceServiceConnection, SuiPythClient } from '@pythnetwork/pyth-sui-js';
|
|
7
8
|
import * as CetusDlmmSDK from '@cetusprotocol/dlmm-sdk';
|
|
8
9
|
import CetusDlmmSDK__default, { DlmmPosition, BinLiquidityInfo, DlmmPool } from '@cetusprotocol/dlmm-sdk';
|
|
9
10
|
import BN from 'bn.js';
|
|
@@ -259,7 +260,7 @@ declare class PythPriceModule implements IModule {
|
|
|
259
260
|
*/
|
|
260
261
|
getLatestPrice(coinTypeList: string[], useCache?: boolean): Promise<Record<string, Price>>;
|
|
261
262
|
getPriceFeedsUpdateData(feedIds: string[]): Promise<Buffer[] | undefined>;
|
|
262
|
-
getLatestPriceFeeds(feedIds: string[]): Promise<
|
|
263
|
+
getLatestPriceFeeds(feedIds: string[]): Promise<_pythnetwork_price_service_sdk.PriceFeed[] | undefined>;
|
|
263
264
|
/**
|
|
264
265
|
* Builds the payload to update Pyth price feeds with the provided coin types and transaction.
|
|
265
266
|
*
|