feat: update typo

This commit is contained in:
Kyle Fang
2024-12-11 05:53:56 +00:00
parent 267859b635
commit e3f41e92ab
2 changed files with 3 additions and 3 deletions

View File

@@ -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",

View File

@@ -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,