@scallop-io/sui-scallop-sdk 2.2.4 → 2.2.5
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/models/scallopClient.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1528,7 +1528,7 @@ declare class ScallopClient implements ScallopClientInterface {
|
|
|
1528
1528
|
* @return Transaction block response or transaction block.
|
|
1529
1529
|
*/
|
|
1530
1530
|
depositCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
|
|
1531
|
-
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string): Promise<ScallopClientFnReturnType<S>>;
|
|
1531
|
+
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Withdraw collateral from the specific pool.
|
|
1534
1534
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1528,7 +1528,7 @@ declare class ScallopClient implements ScallopClientInterface {
|
|
|
1528
1528
|
* @return Transaction block response or transaction block.
|
|
1529
1529
|
*/
|
|
1530
1530
|
depositCollateral(collateralCoinName: string, amount: number): Promise<SuiTransactionBlockResponse>;
|
|
1531
|
-
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string): Promise<ScallopClientFnReturnType<S>>;
|
|
1531
|
+
depositCollateral<S extends boolean>(collateralCoinName: string, amount: number, sign?: S, obligationId?: string, walletAddress?: string, isSponsoredTx?: boolean): Promise<ScallopClientFnReturnType<S>>;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Withdraw collateral from the specific pool.
|
|
1534
1534
|
*
|
package/package.json
CHANGED
|
@@ -222,7 +222,8 @@ class ScallopClient implements ScallopClientInterface {
|
|
|
222
222
|
amount: number,
|
|
223
223
|
sign?: S,
|
|
224
224
|
obligationId?: string,
|
|
225
|
-
walletAddress?: string
|
|
225
|
+
walletAddress?: string,
|
|
226
|
+
isSponsoredTx?: boolean
|
|
226
227
|
): Promise<ScallopClientFnReturnType<S>>;
|
|
227
228
|
async depositCollateral<S extends boolean>(
|
|
228
229
|
collateralCoinName: string,
|