Kyle Fang
5d3dea011d
Fix ES linter warnings.
3.0.0-beta.1
2024-11-28 05:38:26 +00:00
Kyle Fang
ef7caab4b4
chore: bump version for clarity codegen
2024-11-28 05:23:17 +00:00
Kyle Fang
f4e47bb84f
chore: bump version to 2.2.0-beta.0
2024-11-28 04:58:03 +00:00
Kyle Fang
cb0d0681e1
feat: update the codebase to latest stacks.js SDK
2024-11-28 04:55:52 +00:00
Kyle Fang
a865bb3f17
chore: bump version
2024-11-19 09:45:34 +00:00
Kyle Fang
794df86dc6
feat: add fetchTokenInfo to alexSDK
2024-11-19 09:44:58 +00:00
ignacio.pena@coinfabrik.com
cf4d5e4ace
fixed link to api doc
2024-09-12 07:51:33 +08:00
david weil
a1f6259e29
fix overflow test
2024-09-11 07:24:06 +08:00
Kyle Fang
888bfdf0c6
feat: add github action to automatically deploy on main branch
2024-09-07 01:53:00 +00:00
Kyle Fang
42a3686b24
feat: add github action to automatically deploy on main branch
2024-09-07 01:47:29 +00:00
Ignacio Peña
075372b11c
Base PR to include ts-doc in sdk library sources ( #15 )
...
* add typedoc comments
* documentation.md was removed because typedoc is now used
* running typedoc
* removed docs
* added docs into gitignore
* irrelevant subtitle removed
2024-09-07 09:47:16 +08:00
ignaciopenia
f673f2d280
Fix/handle other errors ( #13 )
...
* add tests to mock-externals suite
* tests: complete custom and alternative routes coverage
* handle STACKS_API_HOST error
* tests: lint fix
* tests: empty route coverage
* refactor mock-externals suite
* tests: coverage on fungible token balances and null token cases
* refactor mock-externals suite
* tests: remove unused structure
* temp commit
* remove redundant describe
* lint fix
---------
Co-authored-by: simsbluebox <simsbluebox@gmail.com >
Co-authored-by: david weil <david.weil@coinfabrik.com >
2024-07-24 11:50:15 +08:00
ignaciopenia
38e997e8c6
Docs/refactor readme ( #14 )
...
* docs: update docs with new functions
* docs: add types to documentation.md
2024-07-23 15:33:07 +08:00
ignaciopenia
9c5de7dec5
Backlog tests and coverage ( #12 )
...
* add tests to mock-externals suite
* tests: complete custom and alternative routes coverage
* tests: lint fix
* tests: empty route coverage
* refactor mock-externals suite
* tests: coverage on fungible token balances and null token cases
* refactor mock-externals suite
* tests: remove unused structure
* remove redundant describe
* lint fix
---------
Co-authored-by: simsbluebox <simsbluebox@gmail.com >
2024-07-23 15:32:09 +08:00
Kyle Fang
924cca8a2e
fix: check in updates to pnpm-lock
2024-07-15 21:26:52 +08:00
david weil
fc23587ce3
Tests/sdk features stage 2 ( #11 )
...
* tests: enhance tests for existing functions
* tests: add test cases for existing functions
* tests: add test cases for three new functions
* tests: Introduce mock for getFeeRate function
* tests: implement workaround for Jest BigInt assertion issue
* tests: wip test cases getRoute, getAmountTo, runSwap
* tests: mocked functions runSwap, getLatestPrices
* temp commit
* tests: mocked functions getBalances, fetchSwappableCurrency
* tests: add additional tests for error scenarios
* tests: add more coverage to runSwap SDK method
* temp commit
* temp commit
* sync merge
* code linted + documentation update
* tests: SDK getWayPoints method
* tests: add lint fix command
* tests: add getFeeRate with custom route
* test: add external error tests
* fix: minor changes
* conflicts resolved
---------
Co-authored-by: ignacio.pena@coinfabrik.com <ignacio.pena@coinfabrik.com >
Co-authored-by: simsbluebox <simsbluebox@gmail.com >
Co-authored-by: david weil <david.weil@endlesstruction.com.ar >
2024-07-15 21:25:14 +08:00
Kyle Fang
4c9ee30faf
feat: add ci script
2024-07-12 09:30:38 +08:00
Kyle Fang
03ab838ddc
feat: move TxToBroadCast back to SwapHelper
2024-07-12 09:30:38 +08:00
Kyle Fang
8d666ee029
feat: remove supported currency section
...
the new sdk fetches supported tokens in runtime
2024-07-12 09:30:38 +08:00
Kyle Fang
da4091e7e0
feat: add routing related tests
2024-07-12 09:30:38 +08:00
Kyle Fang
28461a41fa
tests: add ajv to automatically validate external responses in runtime
2024-07-12 09:30:38 +08:00
david weil
de391d1ddd
Tests/sdk features: coverage. Stage 1 ( #9 )
...
* tests: enhance tests for existing functions
* tests: add test cases for existing functions
* tests: add test cases for three new functions
* merge from alex changes
* fix: error with variable name
* fix: removed unused variable
* fix: testing of getRoute updated to its signature
---------
Co-authored-by: ignacio.pena@coinfabrik.com <ignacio.pena@coinfabrik.com >
Co-authored-by: simsbluebox <simsbluebox@gmail.com >
Co-authored-by: david weil <david.weil@endlesstruction.com.ar >
2024-07-11 17:56:32 +08:00
Kyle Fang
8489554ffc
feat: add support for custom route
...
Also fix typo of router -> route
2024-07-04 15:24:06 +08:00
fiftyeightandeight
d5660b4238
Merge pull request #6 from CoinFabrik/docs/refactor-readme-apidoc-aside
...
Docs/refactor readme api-doc aside
2024-07-04 14:06:56 +08:00
fiftyeightandeight
c271735854
Merge pull request #5 from CoinFabrik/docs/refactor-readme
...
Docs/refactor readme
2024-07-04 14:06:41 +08:00
david weil
4346910e46
refactor(README): Function order sorted
2024-06-28 17:50:00 -03:00
david weil
aacc31e8e8
refactor(README): Function especification moved into documentation.md file
2024-06-28 17:32:24 -03:00
david weil
953afaa5b0
Merge branch 'refs/heads/main' into docs/refactor-readme
...
# Conflicts:
# README.md
2024-06-28 17:21:00 -03:00
Kyle Fang
a0eaea9e0e
feat: update README.md
2024-06-28 15:40:09 +08:00
Kyle Fang
14f6ffad6b
feat: update README.md and add ALEX currency
2024-06-28 15:35:51 +08:00
david weil
cf3a02bc84
format updates
2024-06-27 17:14:39 -03:00
ignacio.pena@coinfabrik.com
28e9974551
added exceptions
2024-06-27 16:52:41 -03:00
ignacio.pena@coinfabrik.com
5351c32186
Update README with three additional SDK functions
2024-06-27 15:10:46 -03:00
Kyle Fang
9f69383f88
chore: bump
2024-06-19 06:49:13 +00:00
Kyle Fang
7922bed64e
fix: token price for STX
2024-06-19 06:48:56 +00:00
Kyle Fang
89e7bff91e
fix: balance fetching
2024-06-18 10:10:55 +00:00
Kyle Fang
cf95cb62c9
feat: add support for rebase token
2024-06-18 09:56:54 +00:00
Kyle Fang
456065a7c3
chore: bump version
2024-06-18 03:18:21 +00:00
Kyle Fang
d303932172
fix: export TokenInfo
2024-06-18 03:18:10 +00:00
Kyle Fang
6d09b8228d
chore: bump to correct version
2024-06-18 03:13:52 +00:00
Kyle Fang
d0fc88ce70
chore: bump
2024-06-18 03:09:46 +00:00
Kyle Fang
543826d194
fix: passing wrapped contract id
2024-06-18 03:09:31 +00:00
Kyle Fang
492650ed10
chore: bump version
2024-06-18 02:46:08 +00:00
Kyle Fang
18bce82f38
feat: update to new alex-sdk-api
2024-06-18 02:45:19 +00:00
Kyle Fang
716516508e
feat: upgrade to alex amm pool v2-1
2024-06-16 15:39:27 +00:00
Kyle Fang
ebafbacba8
0.1.28
2024-04-14 23:01:00 +08:00
Kyle Fang
2133f2f3f2
fix: post condition on LQSTX
2024-04-14 23:00:33 +08:00
Kyle Fang
dae7e7db57
0.1.27
2024-04-01 23:26:52 +08:00
Kyle Fang
eafe0b4e86
feat: add sSKO
2024-04-01 23:26:36 +08:00
Kyle Fang
2153f4ca26
fix: finding the shortest route possible
2024-04-01 23:03:34 +08:00