Skip to content

Commit

Permalink
feat: add github action to automatically deploy on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
zhigang1992 committed Sep 7, 2024
1 parent 42a3686 commit a4b8209
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/alexSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<TokenInfo[]>} - A promise that resolves to an array of
* @returns {Promise<TokenInfo[]>} - A promise that resolves to an array of
* `TokenInfo` objects representing the currencies available for swaps.
*/
fetchSwappableCurrency(): Promise<TokenInfo[]> {
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit a4b8209

Please sign in to comment.