mirror of
https://github.com/alexgo-io/alex-sdk.git
synced 2026-01-12 14:25:02 +08:00
feat: update typo
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"packageManager": "pnpm@9.4.0",
|
||||
"version": "3.0.0-beta.4",
|
||||
"version": "3.0.0-beta.5",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
|
||||
@@ -184,7 +184,7 @@ export class AlexSDK {
|
||||
* @param {AMMRoute} [customRoute] - An optional custom route for the swap.
|
||||
* @returns {Promise<bigint>} - A promise that resolves to a bigint representing the amount of the destination currency that will be received.
|
||||
*/
|
||||
async getAmountToForSponsorTx(
|
||||
async getAmountToForSponsoredTx(
|
||||
from: Currency,
|
||||
fromAmount: bigint,
|
||||
to: Currency,
|
||||
@@ -252,7 +252,7 @@ export class AlexSDK {
|
||||
* @param {AMMRoute} [customRoute] - An optional custom route for the swap.
|
||||
* @returns {Promise<TxToBroadCast>} - A promise that resolves to a TxToBroadCast object, representing the transaction to be broadcasted.
|
||||
*/
|
||||
async runSwapForSponsorTx(
|
||||
async runSwapForSponsoredTx(
|
||||
stxAddress: string,
|
||||
currencyX: Currency,
|
||||
currencyY: Currency,
|
||||
|
||||
Reference in New Issue
Block a user