Skip to content

Commit a4b8209

Browse files
committed
feat: add github action to automatically deploy on main branch
1 parent 42a3686 commit a4b8209

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: pnpm install
2828

2929
- name: Build docs
30-
run: pnpm docs
30+
run: pnpm run docs
3131

3232
- name: Setup Pages
3333
uses: actions/configure-pages@v4

src/alexSDK.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class AlexSDK {
4848
* This function returns an array of TokenInfo objects, each containing detailed
4949
* information about a supported swappable currency.
5050
*
51-
* @returns {Promise<TokenInfo[]>} - A promise that resolves to an array of
51+
* @returns {Promise<TokenInfo[]>} - A promise that resolves to an array of
5252
* `TokenInfo` objects representing the currencies available for swaps.
5353
*/
5454
fetchSwappableCurrency(): Promise<TokenInfo[]> {
@@ -60,7 +60,7 @@ export class AlexSDK {
6060
}
6161

6262
/**
63-
* This function returns all possible routes for swapping between two specified currencies.
63+
* This function returns all possible routes for swapping between two specified currencies.
6464
* It returns an array of AMMRoute, representing possible swap routes.
6565
*
6666
* @param {Currency} from - The currency to swap from.
@@ -197,8 +197,8 @@ export class AlexSDK {
197197
}
198198

199199
/**
200-
* This function fetches the current balances of all supported tokens for a specified STX address.
201-
* It returns an object where the keys are the currency identifiers (as defined in the Currency enum)
200+
* This function fetches the current balances of all supported tokens for a specified STX address.
201+
* It returns an object where the keys are the currency identifiers (as defined in the Currency enum)
202202
* and the values are the corresponding balances as bigint values.
203203
*
204204
* @param {string} stxAddress - The Stacks (STX) address to retrieve the balances for.

0 commit comments

Comments
 (0)