From a4b8209de360d873d81beb8a2191868cba196e21 Mon Sep 17 00:00:00 2001 From: Kyle Fang Date: Sat, 7 Sep 2024 01:50:04 +0000 Subject: [PATCH] feat: add github action to automatically deploy on main branch --- .github/workflows/docs.yaml | 2 +- src/alexSDK.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index b9981a2..d5b7ddb 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -27,7 +27,7 @@ jobs: run: pnpm install - name: Build docs - run: pnpm docs + run: pnpm run docs - name: Setup Pages uses: actions/configure-pages@v4 diff --git a/src/alexSDK.ts b/src/alexSDK.ts index 66c72e4..d5f943f 100644 --- a/src/alexSDK.ts +++ b/src/alexSDK.ts @@ -48,7 +48,7 @@ export class AlexSDK { * This function returns an array of TokenInfo objects, each containing detailed * information about a supported swappable currency. * - * @returns {Promise} - A promise that resolves to an array of + * @returns {Promise} - A promise that resolves to an array of * `TokenInfo` objects representing the currencies available for swaps. */ fetchSwappableCurrency(): Promise { @@ -60,7 +60,7 @@ export class AlexSDK { } /** - * This function returns all possible routes for swapping between two specified currencies. + * This function returns all possible routes for swapping between two specified currencies. * It returns an array of AMMRoute, representing possible swap routes. * * @param {Currency} from - The currency to swap from. @@ -197,8 +197,8 @@ export class AlexSDK { } /** - * This function fetches the current balances of all supported tokens for a specified STX address. - * It returns an object where the keys are the currency identifiers (as defined in the Currency enum) + * This function fetches the current balances of all supported tokens for a specified STX address. + * It returns an object where the keys are the currency identifiers (as defined in the Currency enum) * and the values are the corresponding balances as bigint values. * * @param {string} stxAddress - The Stacks (STX) address to retrieve the balances for.