@scallop-io/sui-scallop-sdk 2.2.3-pyth-sponsored-transaction-alpha.2 → 2.2.3-pyth-sponsored-transaction-alpha.3

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
@@ -1192,6 +1192,7 @@ declare class ScallopUtils implements ScallopUtilsInterface {
1192
1192
  pythEndpoints: string[];
1193
1193
  readonly scallopSuiKit: ScallopSuiKit;
1194
1194
  readonly constants: ScallopConstants;
1195
+ readonly timeout: number;
1195
1196
  constructor(params?: ScallopUtilsParams);
1196
1197
  get walletAddress(): string;
1197
1198
  get suiKit(): _scallop_io_sui_kit.SuiKit;
@@ -1813,7 +1814,7 @@ type CoreNormalMethods = {
1813
1814
  };
1814
1815
  type CoreQuickMethods = {
1815
1816
  addCollateralQuick: (amount: number, collateralCoinName: string, obligationId?: SuiObjectArg) => Promise<void>;
1816
- takeCollateralQuick: (amount: number, collateralCoinName: string, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg) => Promise<TransactionResult>;
1817
+ takeCollateralQuick: (amount: number, collateralCoinName: string, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<TransactionResult>;
1817
1818
  borrowQuick: (amount: number, poolCoinName: string, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<TransactionResult>;
1818
1819
  borrowWithReferralQuick: (amount: number, poolCoinName: string, borrowReferral: SuiObjectArg, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<TransactionResult>;
1819
1820
  depositQuick: (amount: number, poolCoinName: string, returnSCoin?: boolean) => Promise<TransactionResult>;
package/dist/index.d.ts CHANGED
@@ -1192,6 +1192,7 @@ declare class ScallopUtils implements ScallopUtilsInterface {
1192
1192
  pythEndpoints: string[];
1193
1193
  readonly scallopSuiKit: ScallopSuiKit;
1194
1194
  readonly constants: ScallopConstants;
1195
+ readonly timeout: number;
1195
1196
  constructor(params?: ScallopUtilsParams);
1196
1197
  get walletAddress(): string;
1197
1198
  get suiKit(): _scallop_io_sui_kit.SuiKit;
@@ -1813,7 +1814,7 @@ type CoreNormalMethods = {
1813
1814
  };
1814
1815
  type CoreQuickMethods = {
1815
1816
  addCollateralQuick: (amount: number, collateralCoinName: string, obligationId?: SuiObjectArg) => Promise<void>;
1816
- takeCollateralQuick: (amount: number, collateralCoinName: string, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg) => Promise<TransactionResult>;
1817
+ takeCollateralQuick: (amount: number, collateralCoinName: string, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<TransactionResult>;
1817
1818
  borrowQuick: (amount: number, poolCoinName: string, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<TransactionResult>;
1818
1819
  borrowWithReferralQuick: (amount: number, poolCoinName: string, borrowReferral: SuiObjectArg, obligationId?: SuiObjectArg, obligationKey?: SuiObjectArg, isSponsoredTx?: boolean) => Promise<TransactionResult>;
1819
1820
  depositQuick: (amount: number, poolCoinName: string, returnSCoin?: boolean) => Promise<TransactionResult>;