File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main # or your default branch name
77
8+ # Add this permissions block
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
814jobs :
915 build-and-deploy :
1016 runs-on : ubuntu-latest
17+ environment :
18+ name : github-pages
19+ url : ${{ steps.deployment.outputs.page_url }}
1120
1221 steps :
1322 - name : Checkout repository
2736 run : pnpm install
2837
2938 - name : Build docs
30- run : pnpm docs
39+ run : pnpm run docs
3140
3241 - name : Setup Pages
3342 uses : actions/configure-pages@v4
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments