@scallop-io/sui-scallop-sdk 2.3.14-rc.1 → 2.3.14-rc.2

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.mts CHANGED
@@ -1242,9 +1242,9 @@ declare class ScallopUtils implements ScallopUtilsInterface {
1242
1242
  get suiKit(): _scallop_io_sui_kit.SuiKit;
1243
1243
  get queryClient(): _tanstack_query_core.QueryClient;
1244
1244
  get address(): ScallopConstants;
1245
- isSuiBridgeAsset(coinName: any): boolean;
1246
- isWormholeAsset(coinName: any): boolean;
1247
- isLayerZeroAsset(coinName: any): boolean;
1245
+ isSuiBridgeAsset(coinName: string): boolean;
1246
+ isWormholeAsset(coinName: string): boolean;
1247
+ isLayerZeroAsset(coinName: string): boolean;
1248
1248
  isMarketCoin(coinName: string): boolean;
1249
1249
  init({ force }?: {
1250
1250
  force?: boolean;
@@ -1587,7 +1587,8 @@ declare class ScallopClient implements ScallopClientInterface {
1587
1587
  * @param isSponsoredTx - Whether the transaction is sponsored.
1588
1588
  * @return Transaction block response or transaction block.
1589
1589
  */
1590
- withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign: S | undefined, obligationId: string, obligationKey: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1590
+ withdrawCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
1591
+ withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, obligationKey?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1591
1592
  /**
1592
1593
  * Deposit asset into the specific pool.
1593
1594
  *
package/dist/index.d.ts CHANGED
@@ -1242,9 +1242,9 @@ declare class ScallopUtils implements ScallopUtilsInterface {
1242
1242
  get suiKit(): _scallop_io_sui_kit.SuiKit;
1243
1243
  get queryClient(): _tanstack_query_core.QueryClient;
1244
1244
  get address(): ScallopConstants;
1245
- isSuiBridgeAsset(coinName: any): boolean;
1246
- isWormholeAsset(coinName: any): boolean;
1247
- isLayerZeroAsset(coinName: any): boolean;
1245
+ isSuiBridgeAsset(coinName: string): boolean;
1246
+ isWormholeAsset(coinName: string): boolean;
1247
+ isLayerZeroAsset(coinName: string): boolean;
1248
1248
  isMarketCoin(coinName: string): boolean;
1249
1249
  init({ force }?: {
1250
1250
  force?: boolean;
@@ -1587,7 +1587,8 @@ declare class ScallopClient implements ScallopClientInterface {
1587
1587
  * @param isSponsoredTx - Whether the transaction is sponsored.
1588
1588
  * @return Transaction block response or transaction block.
1589
1589
  */
1590
- withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign: S | undefined, obligationId: string, obligationKey: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1590
+ withdrawCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
1591
+ withdrawCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, obligationKey?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
1591
1592
  /**
1592
1593
  * Deposit asset into the specific pool.
1593
1594
  *