Skip to content

Commit

Permalink
feat: update typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhigang1992 committed Dec 11, 2024
1 parent 267859b commit e3f41e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packageManager": "[email protected]",
"version": "3.0.0-beta.4",
"version": "3.0.0-beta.5",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/alexSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e3f41e9

Please sign in to comment.