Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
242 commits
Select commit Hold shift + click to select a range
53996e6
expose reserve fields
bernardev254 May 28, 2026
4a2a5b8
feat: add React Query adapter package @stellar-hooks/query
amankoli09 May 28, 2026
d1256c3
faet add badges for npm version, license, and bundle size
Sulex45 May 28, 2026
d45f260
feat: add transaction, Freighter, ledger, and Soroban contract hooks …
TheBigWealth89 May 28, 2026
1460299
feat: implement useFreighter auto-connect and session persistence
Enemuo-debug May 28, 2026
ec2fdd2
feat: add Changesets support for automated changelog and npm release …
raymondidahor-bot May 28, 2026
9d175e4
docs: add inline JSDoc examples to all hook return values
DammyAji May 28, 2026
5818710
feat: add SWR adapter package (@stellar-hooks/swr)
zeemscript May 28, 2026
63fff03
feat: expose standalone contract simulate method and normalize Soroba…
The-Big-Danny May 29, 2026
dca6002
test(useFreighter): add Vitest mock for @stellar/freighter-api
May 29, 2026
ceb004a
fix(useFreighter): mark wallet installed when SET_DISCONNECTED
May 29, 2026
e09c733
test: expand useClaimableBalance and utils coverage
May 29, 2026
b907fce
docs: document StellarProvider customConfig shape with CustomNetworkC…
funds0033-cmyk May 29, 2026
2d7958d
feat(useFreighter): add wallet change tracking
Lakes41 May 29, 2026
ce310b3
refactor: update sdk, freighter api, build, and docs
Lakes41 May 29, 2026
a68dae9
chore: remove leftover output.txt file
Lakes41 May 29, 2026
7bfea9e
Merge pull request #57 from Lakes41/king2
gloriaelishahabu May 29, 2026
cf8a359
Merge pull request #55 from funds0033-cmyk/main
gloriaelishahabu May 29, 2026
1b2d1ae
Merge pull request #53 from sarah-obasi-analytics/feature/expose-soro…
gloriaelishahabu May 29, 2026
f037fdb
feat: add onSuccess and onError callbacks
Lakes41 May 29, 2026
b2322ff
Merge pull request #51 from mordabdul1/feat/swr-adapter
gloriaelishahabu May 29, 2026
cf0a213
Merge pull request #50 from DammyAji/docs/jsdoc-examples-hook-return-…
gloriaelishahabu May 29, 2026
3efbdbc
Merge pull request #44 from bernardev254/feat/useStellarAccount_expos…
gloriaelishahabu May 29, 2026
54efc86
Merge pull request #45 from amankoli09/feat/react-query-adapter
gloriaelishahabu May 29, 2026
154a977
Merge pull request #46 from Sulex45/main
gloriaelishahabu May 29, 2026
2082de3
test(config): add hook tests and configure vitest
Lakes41 May 29, 2026
6039c62
Merge branch 'main' into king4
Lakes41 May 29, 2026
611d657
Merge branch 'main' into king3
Lakes41 May 29, 2026
f741054
fix(hooks): clear useStellarAccount polling on unmount
mofejo1 May 28, 2026
32dba52
fix: replace SorobanRpc with rpc namespace for stellar-sdk v13
dzekojohn4 May 30, 2026
5c03c8d
fix: add explicit StellarBalance types to sort callbacks in utils.tes…
levibliz May 31, 2026
ca44cf6
Merge pull request #60 from dzekojohn4/fix/37-soroban-rpc-rename
gloriaelishahabu May 31, 2026
8bef60f
Merge pull request #52 from mofejo1/fix/31-useStellarAccount-interval…
gloriaelishahabu May 31, 2026
38d7f99
Merge pull request #58 from Lakes41/king3
gloriaelishahabu May 31, 2026
de516b7
Merge pull request #59 from Lakes41/king4
gloriaelishahabu May 31, 2026
6b99e6e
Merge branch 'main' into feat/freighter-auto-connect
gloriaelishahabu May 31, 2026
fc184fe
Merge pull request #48 from Enemuo-debug/feat/freighter-auto-connect
gloriaelishahabu May 31, 2026
d177f7d
Merge pull request #61 from levibliz/fix/issue-39-implicit-any-sort-c…
gloriaelishahabu May 31, 2026
3f3bcea
Merge branch 'main' into test/mock-freighter-api-unit-tests
gloriaelishahabu May 31, 2026
d7649df
Merge pull request #54 from spiffamani/test/mock-freighter-api-unit-t…
gloriaelishahabu May 31, 2026
35da323
Merge branch 'main' into automated-changelog
gloriaelishahabu May 31, 2026
b9cd39f
Merge pull request #49 from raymondidahor-bot/automated-changelog
gloriaelishahabu May 31, 2026
b06e5b1
Merge branch 'main' into release/v0.1-stellar-hooks
gloriaelishahabu May 31, 2026
c6d947f
Merge pull request #47 from TheBigWealth89/release/v0.1-stellar-hooks
gloriaelishahabu May 31, 2026
6fbc884
docs: add standardized file headers and update README
shamsss04 Jun 1, 2026
058d8ed
feat: implement new hooks for txs, events, offer book, and network co…
Agbelomo Jun 1, 2026
af67144
Merge pull request #99 from Agbelomo/feat/add-new-hooks
gloriaelishahabu Jun 1, 2026
540a2a6
Merge branch 'main' into lakes1
gloriaelishahabu Jun 1, 2026
b894040
Merge pull request #98 from shamsss04/lakes1
gloriaelishahabu Jun 1, 2026
8df023f
Update useStellarAccount.ts
jerrydanzaria5-svg Jun 1, 2026
99e41aa
Create index.ts
jerrydanzaria5-svg Jun 1, 2026
a48b49d
Merge pull request #100 from jerrydanzaria5-svg/main
gloriaelishahabu Jun 1, 2026
3a4063a
solved
faith3310 Jun 1, 2026
0e2ff4a
Merge pull request #101 from nissinanlung/main
gloriaelishahabu Jun 1, 2026
19e1041
feat: implement usePathPayment hook and update roadmap status
AugistineCreates Jun 2, 2026
8512bf9
feat: update badges and mark tasks complete in TODO.md
edehvictor Jun 2, 2026
0dddf8c
solved
faith3310 Jun 2, 2026
e1bb7d2
feat: implement useStellarAccount hook and utilities #63
Aesdecodes Jun 2, 2026
8252ff6
feat: add useStellarAccount hook and core utilities #63
Aesdecodes Jun 2, 2026
a874684
docs: create migration guide from raw stellar-sdk to stellar-hooks
Daveside9 Jun 2, 2026
ed3d576
feat: implement useSorobanContract hook and comprehensive unit tests …
Aesdecodes Jun 2, 2026
cf49da1
feat: implement useFreighter hook and update roadmap #62
Aesdecodes Jun 2, 2026
64a70bb
feat: add useStellarBalance hook for token balances (#65)
Aesdecodes Jun 2, 2026
a156fab
Merge pull request #105 from Aesdecodes/feat/issue-63-stellar-account…
gloriaelishahabu Jun 2, 2026
3dfb44d
Merge pull request #107 from Aesdecodes/feat/issue-64-soroban-hook
gloriaelishahabu Jun 2, 2026
5622b72
Merge pull request #108 from Aesdecodes/feat/62-use-freighter-hook
gloriaelishahabu Jun 2, 2026
d0c490d
Merge pull request #109 from Aesdecodes/feature/issue-65-stellar-bala…
gloriaelishahabu Jun 2, 2026
4370a5d
Merge pull request #106 from Daveside9/docs/migration-guide-issue-92
gloriaelishahabu Jun 2, 2026
928d0de
Merge branch 'main' into usePathPayment-implementation
gloriaelishahabu Jun 2, 2026
0740695
Merge pull request #102 from AugistineCreates/usePathPayment-implemen…
gloriaelishahabu Jun 2, 2026
93c7653
Merge branch 'main' into main
gloriaelishahabu Jun 2, 2026
374571c
Merge pull request #103 from edehvictor/main
gloriaelishahabu Jun 2, 2026
3572236
Merge pull request #104 from faith3310/main
gloriaelishahabu Jun 2, 2026
1a9b2d2
feat: implement usePayment hook for native and asset payments
MorsH14 Jun 2, 2026
fc06165
feat: implement useSorobanTokenBalance hook for SAC token balances
Bellamzy Jun 2, 2026
5365548
Merge pull request #111 from Bellamzy/feat/use-soroban-token-balance
gloriaelishahabu Jun 2, 2026
43760e8
Merge pull request #110 from MorsH14/feat/issue-77-use-payment
gloriaelishahabu Jun 2, 2026
e0d4a74
ci: add semantic-release for automated version management
Bellamzy Jun 2, 2026
b2e0c8b
ci: add releasedLabels to semantic-release github config
Bellamzy Jun 2, 2026
72e28cb
Merge pull request #112 from Bellamzy/ci/semantic-release
gloriaelishahabu Jun 2, 2026
0d4334e
Create use freighter hook
Aesdecodes Jun 2, 2026
509dea0
Merge pull request #113 from Aesdecodes/patch-1
gloriaelishahabu Jun 2, 2026
abaccb7
Create stellar hooks
Aesdecodes Jun 2, 2026
2c9a41c
Merge pull request #114 from Aesdecodes/patch-2
gloriaelishahabu Jun 2, 2026
bb0d46d
solved
favvy0217 Jun 2, 2026
aa70494
Merge pull request #115 from favvy0217/main
gloriaelishahabu Jun 19, 2026
84014d0
fix: update freighter-api to v6, fix exactOptionalPropertyTypes, fix …
cokehill Jun 19, 2026
52327d9
update
cokehill Jun 19, 2026
8281587
Implement useAccountFlags() hook for setting and clearing Stellar acc…
onajidavid87-web Jun 23, 2026
c60d98f
feat: implement useInflation() hook for legacy inflation operation su…
teeschima Jun 23, 2026
4eb3c13
feat: implement useAccountMerge() - merge source account into destina…
Jun 23, 2026
7aa1288
feat: implement useCreateAccount, useAssets, and add changeset
walterthesmart Jun 23, 2026
151ab96
fix(package): add exports map with types/import/require paths
raymondidahor-bot Jun 23, 2026
cf0a5be
Fixed the Issue.
ItunuOni Jun 23, 2026
6979a2a
feat(types): add branded string types for Stellar identifiers
Peolite001 Jun 23, 2026
1bd37b9
test: add snapshot test for exported TypeScript types
DevALVIN-24 Jun 23, 2026
482c323
ci: add stale issue bot to auto-close after 60 days of inactivity
DevALVIN-24 Jun 23, 2026
3bce3c1
chore: add husky pre-commit hook to enforce lint and typecheck
OlaGreat Jun 23, 2026
a5c5af9
ci: add bundle size report as PR comment via size-limit action
DevALVIN-24 Jun 23, 2026
f3e2661
docs: add freighter-api v1 to v6 migration guide
Vicistar-V Jun 23, 2026
a38022c
test: add unit tests for useLedgerEntry with mocked RPC responses
OlaGreat Jun 23, 2026
7e58830
docs: document StellarProvider props and network configuration options
Ibk-Bless Jun 23, 2026
6df2096
dx: add eslint-plugin-react-hooks to catch hooks rule violations
OlaGreat Jun 23, 2026
b78c05c
ci: add lint step to CI pipeline
Ibk-Bless Jun 23, 2026
6bed13d
test: add comprehensive unit tests for usePathPayment strict-send and…
believetimothy Jun 23, 2026
b45a4a9
feat: implement useManageData() hook for account data entries
OlaGreat Jun 23, 2026
b00ca5d
feat: implement useBumpSequence() hook
AMAfolayan Jun 23, 2026
f2d9073
perf: tree-shake unused Stellar SDK imports to reduce bundle size (#2)
AMAfolayan Jun 23, 2026
8f4436c
perf: tree-shake unused Stellar SDK imports to reduce bundle size
AMAfolayan Jun 23, 2026
d15e621
docs: add comprehensive Getting Started guide with complete dApp example
queentiffany1111-cloud Jun 23, 2026
434d982
feat: implement useEffects() - stream account effects from Horizon
shimonenator Jun 23, 2026
5016888
docs: add TypeDoc API reference generation for all packages
nice-bills Jun 23, 2026
429aa3b
feat: add input validation for public keys and contract IDs across al…
believetimothy Jun 23, 2026
7ae505b
perf(query): add React Query v5 adapter with caching and background r…
alamuoyeemmanuel7-create Jun 23, 2026
75cf748
Add: I implementend useTrade() - place, modify and cancel DEX offers
Dydex Jun 23, 2026
9603b90
security(useFreighter): warn when wallet network passphrase mismatche…
shimonenator Jun 23, 2026
bb12bba
eco(hooks): add Stellar Wallets Kit adapter for multi-wallet support
alamuoyeemmanuel7-create Jun 23, 2026
4ddcebd
fix(useContractEvents): omit undefined startLedger and topics from RP…
shimonenator Jun 23, 2026
1879839
eco(hooks): add WalletConnect v2 adapter for Freighter Mobile support
alamuoyeemmanuel7-create Jun 23, 2026
73fc467
eco(docs): add Stellar ecosystem directory submission content
alamuoyeemmanuel7-create Jun 23, 2026
d9689b1
test: add integration tests for StellarProvider network config propag…
goodness-cpu Jun 23, 2026
0a193aa
feat: implement useOperations() hook to fetch operations by account o…
omosvico Jun 23, 2026
f087682
Merge pull request #231 from omosvico/feat/use-operations
gloriaelishahabu Jun 24, 2026
598faf9
Merge pull request #230 from goodness-cpu/test/stellar-provider-netwo…
gloriaelishahabu Jun 24, 2026
d3fa86f
Merge pull request #229 from alamuoyeemmanuel7-create/eco/195-stellar…
gloriaelishahabu Jun 24, 2026
25b66a1
Merge pull request #228 from alamuoyeemmanuel7-create/feat/192-wallet…
gloriaelishahabu Jun 24, 2026
56fedbe
Merge pull request #222 from nice-bills/docs/typedoc-api-generation
gloriaelishahabu Jun 24, 2026
fb63ee7
Merge pull request #223 from believetimothy/security-input-validation
gloriaelishahabu Jun 24, 2026
14b7b0c
Merge pull request #224 from alamuoyeemmanuel7-create/feat/179-react-…
gloriaelishahabu Jun 24, 2026
81463a5
Merge pull request #225 from Dydex/feat/useTrade
gloriaelishahabu Jun 24, 2026
7e4e10b
Merge branch 'main' into fix/124-feat-implement-useeffects-stream-acc…
gloriaelishahabu Jun 24, 2026
0a1e1de
Merge pull request #221 from broda-spendy/fix/124-feat-implement-usee…
gloriaelishahabu Jun 24, 2026
665b0d9
Merge pull request #220 from queentiffany1111-cloud/docs/getting-star…
gloriaelishahabu Jun 24, 2026
9a77f2d
Merge pull request #217 from AMAfolayan/feat/use-bump-sequence
gloriaelishahabu Jun 24, 2026
ee2ba1a
Merge branch 'main' into issue-128-useManageData
gloriaelishahabu Jun 24, 2026
b26c549
Merge pull request #216 from OlaGreat/issue-128-useManageData
gloriaelishahabu Jun 24, 2026
fbe35da
Merge pull request #213 from Ibk-Bless/ci/issue-171-add-lint-step
gloriaelishahabu Jun 24, 2026
b732255
Merge pull request #212 from Ibk-Bless/docs/issue-152-stellar-provide…
gloriaelishahabu Jun 24, 2026
751120e
Merge pull request #211 from OlaGreat/issue-142-useLedgerEntry-tests
gloriaelishahabu Jun 24, 2026
960df6b
Merge branch 'main' into snapshot-test-types
gloriaelishahabu Jun 24, 2026
5886529
Merge pull request #210 from DevALVIN-24/snapshot-test-types
gloriaelishahabu Jun 24, 2026
66ad7cb
Merge pull request #209 from Vicistar-V/docs/freighter-api-v1-to-v6-m…
gloriaelishahabu Jun 24, 2026
0baa4fd
Merge pull request #206 from DevALVIN-24/main
gloriaelishahabu Jun 24, 2026
3e13471
Merge branch 'main' into feature/branded-string-types
gloriaelishahabu Jun 24, 2026
db7b830
Merge pull request #205 from dextro172-ui/feature/branded-string-types
gloriaelishahabu Jun 24, 2026
99290e3
Merge branch 'main' into perf/tree-shake-stellar-sdk-imports
gloriaelishahabu Jun 24, 2026
70f9562
Merge pull request #219 from AMAfolayan/perf/tree-shake-stellar-sdk-i…
gloriaelishahabu Jun 24, 2026
d3cd33e
Merge branch 'main' into feat/193-wallets-kit-adapter
gloriaelishahabu Jun 24, 2026
129f2bb
Merge branch 'main' into fix/190-security-add-network-passphrase-mism…
gloriaelishahabu Jun 24, 2026
0d3e820
Merge branch 'main' into main
gloriaelishahabu Jun 24, 2026
d752ddb
Merge pull request #198 from onajidavid87-web/main
gloriaelishahabu Jun 24, 2026
1f542fd
Merge branch 'main' into branch
gloriaelishahabu Jun 24, 2026
007da8c
Merge pull request #199 from teeschima/branch
gloriaelishahabu Jun 24, 2026
4d629a0
Merge branch 'main' into feat/add-hooks-changesets
gloriaelishahabu Jun 24, 2026
3b430e9
Merge pull request #200 from teefeh-07/feat/add-hooks-changesets
gloriaelishahabu Jun 24, 2026
46ca5a2
Merge pull request #201 from adepoju2006/feat/use-account-merge
gloriaelishahabu Jun 24, 2026
6d3b62b
Merge branch 'main' into fix-package
gloriaelishahabu Jun 24, 2026
d53cc1e
Merge pull request #202 from raymondidahor-bot/fix-package
gloriaelishahabu Jun 24, 2026
68c7405
Merge branch 'main' into Lucifer
gloriaelishahabu Jun 24, 2026
2367598
Merge pull request #203 from ItunuOni/Lucifer
gloriaelishahabu Jun 24, 2026
0e60204
Merge origin/main into issue-164-husky-pre-commit
OlaGreat Jun 24, 2026
9ab65a5
Merge origin/main into issue-161-eslint-plugin-react-hooks
OlaGreat Jun 24, 2026
5375fa3
ci: add stale issue bot to auto-close after 60 days of inactivity and…
TheWeirdDee Jun 24, 2026
dea9c2b
feat: implement useMultiSig() hook for building and collecting multi-…
goodness-cpu Jun 24, 2026
e437212
Merge pull request #1 from goodness-cpu/feat/use-multi-sig
goodness-cpu Jun 24, 2026
89fbe90
chore: update package-lock.json to match current package.json
goodness-cpu Jun 24, 2026
b10303d
Merge branch 'main' into feat/use-multi-sig
goodness-cpu Jun 24, 2026
7572f49
feat: implement useTrustline() — add, remove, and modify trustlines
goodness-cpu Jun 24, 2026
7a3d60b
Merge branch 'main' into feat/use-trustline
goodness-cpu Jun 24, 2026
90e0f7c
dx: add CODEOWNERS file to auto-assign reviewers (#167)
Amas-01 Jun 24, 2026
d5878eb
docs: set up VitePress docs site with live examples (#157)
Amas-01 Jun 23, 2026
4347981
chore: update package-lock.json for VitePress dependency
Amas-01 Jun 24, 2026
8e9fa61
Initial commit: setting up stellar-hooks project
SHEROSE0 Jun 24, 2026
3c6f870
Merge pull request #218 from Amas-01/docs/vitepress-site-157
gloriaelishahabu Jun 24, 2026
eb9c224
Merge branch 'main' into issue-161-eslint-plugin-react-hooks
gloriaelishahabu Jun 24, 2026
963c33b
@"
SHEROSE0 Jun 24, 2026
ed92d24
Merge pull request #214 from OlaGreat/issue-161-eslint-plugin-react-h…
gloriaelishahabu Jun 24, 2026
036c779
Merge branch 'main' into issue-164-husky-pre-commit
gloriaelishahabu Jun 24, 2026
1b596c4
Merge pull request #208 from OlaGreat/issue-164-husky-pre-commit
gloriaelishahabu Jun 24, 2026
22a57e9
Merge branch 'main' into issue-175-stale-bot-and-fixes
gloriaelishahabu Jun 24, 2026
94977f7
Merge pull request #282 from TheWeirdDee/issue-175-stale-bot-and-fixes
gloriaelishahabu Jun 24, 2026
fcf1abc
Merge pull request #286 from Amas-01/dx/add-codeowners-167
gloriaelishahabu Jun 24, 2026
2a8fccb
Merge pull request #285 from goodness-cpu/feat/use-trustline
gloriaelishahabu Jun 24, 2026
201f629
Merge branch 'main' into feat/use-multi-sig
gloriaelishahabu Jun 24, 2026
e4c2de0
Merge pull request #284 from goodness-cpu/feat/use-multi-sig
gloriaelishahabu Jun 24, 2026
530dc01
Merge branch 'main' into fix/190-security-add-network-passphrase-mism…
gloriaelishahabu Jun 24, 2026
58f65fe
Merge pull request #227 from broda-spendy/fix/190-security-add-networ…
gloriaelishahabu Jun 24, 2026
988371b
Merge pull request #226 from alamuoyeemmanuel7-create/feat/193-wallet…
gloriaelishahabu Jun 24, 2026
c5c56ae
Merge branch 'main' into main
gloriaelishahabu Jun 24, 2026
161c0ed
Merge pull request #287 from SHEROSE0/main
gloriaelishahabu Jun 24, 2026
bc7ca07
Add separate stellar-hooks types package
tun1r Jun 24, 2026
5aac2e1
docs: add Soroban contract integration cookbook (#155)
temi-Dee Jun 24, 2026
c9c72bd
test: add unit tests for useStellarBalance and native XLM extraction
believetimothy Jun 24, 2026
b426adf
test/use-freighter-v6-mocks
jerrydanzaria5-svg Jun 24, 2026
7e0a58b
moving fast
jerrydanzaria5-svg Jun 24, 2026
740a63d
Merge pull request #292 from jerrydanzaria5-svg/feat/use-offer-book
gloriaelishahabu Jun 24, 2026
2424ba0
Merge pull request #290 from temi-Dee/docs/soroban-cookbook
gloriaelishahabu Jun 24, 2026
ef5f7a9
Merge pull request #289 from tun1r/tunir/stellar-hooks-types-package-186
gloriaelishahabu Jun 24, 2026
9937906
Merge pull request #288 from believetimothy/test/use-stellar-balance-…
gloriaelishahabu Jun 24, 2026
dbf2be3
ci: add Dependabot configuration for automated dependency updates
believetimothy Jun 24, 2026
582ee65
perf(#177): add configurable request deduplication to useStellarAccou…
devJaja Jun 24, 2026
d27eb6a
Merge branch 'main' into perf/177-useStellarAccount-request-deduplica…
jajafwangshak86-ops Jun 24, 2026
f63fc09
Merge pull request #294 from jajafwangshak86-ops/perf/177-useStellarA…
gloriaelishahabu Jun 24, 2026
daf18df
Merge pull request #293 from believetimothy/ci/dependabot-setup
gloriaelishahabu Jun 24, 2026
d861dca
chore(deps): bump actions/upload-pages-artifact from 3 to 5
dependabot[bot] Jun 24, 2026
901bd65
chore(deps): bump actions/stale from 9 to 10
dependabot[bot] Jun 24, 2026
b0852eb
chore(deps): bump actions/deploy-pages from 4 to 5
dependabot[bot] Jun 24, 2026
3d3e1a8
chore(deps): bump actions/configure-pages from 4 to 6
dependabot[bot] Jun 24, 2026
7695548
feat: implement useClaimableBalance() - list, create, and claim balances
Jun 24, 2026
e47dbc2
dx: publish package to npm as stellar-hooks@0.1.0
Ibk-Bless Jun 24, 2026
1a458a1
fix(tests): update useFreighter test to match freighter-api v6 interface
Bizify1370 Jun 24, 2026
a9138b5
ci: add automated test run to CI on push and PR
Ibk-Bless Jun 24, 2026
d6b4879
ci: fix CI workflow - ensure npm run build passes on every PR
Dydex Jun 24, 2026
b50bdd1
perf: memoize Horizon and RPC server instances and fix useStellarAcco…
DevALVIN-24 Jun 24, 2026
b8481ec
Merge remote-tracking branch 'origin/main' into snapshot-test-types
DevALVIN-24 Jun 24, 2026
f175f5f
feat(#71): implement useTransaction hook for building and submitting …
CmxTop Jun 24, 2026
3956f51
docs: add JSDoc @example to every exported hook and type (#149)
euniceamoni Jun 24, 2026
77f411b
security: update package-lock.json to resolve npm audit vulnerabiliti…
cokehill Jun 24, 2026
a3cda0d
Merge branch 'main' into main
cokehill Jun 24, 2026
1e02c97
Merge pull request #311 from cokehill/main
gloriaelishahabu Jun 24, 2026
2e28ae2
Merge pull request #310 from euniceamoni/docs/jsdoc-examples-issue-149
gloriaelishahabu Jun 24, 2026
b92bd5c
Merge branch 'main' into snapshot-test-types
gloriaelishahabu Jun 24, 2026
d278715
Merge pull request #309 from DevALVIN-24/snapshot-test-types
gloriaelishahabu Jun 24, 2026
7b4ed5f
Merge pull request #307 from CmxTop/feat/71-useTransaction-build-submit
gloriaelishahabu Jun 24, 2026
f23c25e
Merge pull request #304 from Dydex/ci-workflow
gloriaelishahabu Jun 24, 2026
c1f6bfb
Merge pull request #303 from Bizify1370/feat/use-path-payment-119
gloriaelishahabu Jun 24, 2026
8f2d061
Merge pull request #302 from Ibk-Bless/ci/issue-169-automated-test-run
gloriaelishahabu Jun 24, 2026
adc2bb7
Merge pull request #301 from Ibk-Bless/dx/issue-158-publish-npm-stell…
gloriaelishahabu Jun 24, 2026
0aacb0f
Merge branch 'main' into feat/use-claimable-balance
gloriaelishahabu Jun 24, 2026
0dd281b
Merge pull request #300 from adepoju2006/feat/use-claimable-balance
gloriaelishahabu Jun 24, 2026
c67dc14
chore(deps): bump actions/checkout from 4 to 7
dependabot[bot] Jun 24, 2026
0a5d7cd
Merge pull request #299 from dark-princezz/dependabot/github_actions/…
gloriaelishahabu Jun 24, 2026
f649f00
Merge pull request #298 from dark-princezz/dependabot/github_actions/…
gloriaelishahabu Jun 24, 2026
dbf782b
Merge pull request #297 from dark-princezz/dependabot/github_actions/…
gloriaelishahabu Jun 24, 2026
54621a6
Merge pull request #296 from dark-princezz/dependabot/github_actions/…
gloriaelishahabu Jun 24, 2026
5143d09
Merge pull request #295 from dark-princezz/dependabot/github_actions/…
gloriaelishahabu Jun 24, 2026
0b89fda
feat: implement usePayment and useStellarToml with full test coverage
UzyKhs Jun 24, 2026
a6b14e8
Merge upstream/main and fix CI blockers from upstream regressions
UzyKhs Jun 24, 2026
6a6d644
chore: keep workflow files unchanged on fork for push compatibility
UzyKhs Jun 24, 2026
fe016bf
Merge pull request #312 from UzyKhs/fix/116-120-use-payment-stellar-t…
gloriaelishahabu Jun 25, 2026
bfb545f
ci: add npm audit check to CI to catch new vulnerabilities
DammyAji Jun 23, 2026
7833c0e
ci: add npm audit check and fix all CI failures
DammyAji Jun 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": [
"@changesets/changelog-github",
{
"repo": "spiffamani/stellar-hooks"
}
],
"commit": false,
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/new-hooks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stellar-hooks": minor
---

feat: implement useCreateAccount() and useAssets() hooks
5 changes: 5 additions & 0 deletions .changeset/use-effects-hook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stellar-hooks": minor
---

Add `useEffects()` hook to fetch and stream account effects from Horizon via SSE.
5 changes: 5 additions & 0 deletions .changeset/use-payment-stellar-toml.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stellar-hooks": minor
---

feat: add usePayment() and useStellarToml() hooks with full test coverage
24 changes: 22 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
plugins: ["@typescript-eslint", "react-hooks"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
],
env: {
browser: true,
es2022: true,
Expand All @@ -11,4 +15,20 @@ module.exports = {
ecmaVersion: "latest",
sourceType: "module",
},
overrides: [
{
files: [
"**/__tests__/**",
"**/__mocks__/**",
"**/*.test.ts",
"**/*.test.tsx",
"**/*.test-d.ts",
],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"react-hooks/rules-of-hooks": "off",
},
},
],
};
11 changes: 11 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CODEOWNERS — auto-assigns reviewers when pull requests are opened.
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
#
# Format: <path-pattern> @<github-username-or-team>
#
# Entries are ordered from least specific to most specific.
# Later entries override earlier ones for the same path.

# ===== Default ownership =====
# Repository owner is the default reviewer for all paths
* @Amas-01
39 changes: 39 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2
updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
versioning-strategy: increase
groups:
stellar:
patterns:
- '@stellar/*'
react:
patterns:
- react
- react-dom
- '@types/react'
- '@types/react-dom'
testing:
patterns:
- 'vitest'
- '@testing-library/*'
- 'jsdom'
- 'react-test-renderer'
- '@types/react-test-renderer'
typescript-eslint:
patterns:
- '@typescript-eslint/*'
changesets:
patterns:
- '@changesets/*'
semantic-release:
patterns:
- semantic-release
- '@semantic-release/*'

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Pull Request

## Summary
- Added stricter typing for Soroban contract call arguments in `ContractCallOptions`.
- `args` now accepts `xdr.ScVal[]` instead of `unknown[]`.
- `parseResult` now receives `xdr.ScVal` instead of `any`.

## Files Changed
- `src/types/index.ts`

## Testing
- Run `npm run typecheck`
- Run `npm test`

## Notes
- The hook implementation still supports runtime conversion of plain JS values via `nativeToScVal`.
- This change improves compile-time type safety for contract call arguments and result parsing.
86 changes: 79 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,91 @@
name: CI

permissions:
pull-requests: write

on:
push:
branches: ["**"]
pull_request:

jobs:
checks:
lint:
name: Lint & Type-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm run lint
- run: npm test

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Type-check
run: npm run typecheck

audit:
name: Security audit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Audit dependencies
run: npm audit --audit-level=high

test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

build:
name: Build & bundle size
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Bundle size report
uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
56 changes: 56 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Deploy Docs

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

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

- name: Install dependencies
run: npm ci

- name: Build docs
run: npm run docs:build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release

on:
workflow_run:
workflows: ["CI"]
branches: [main]
types: [completed]

jobs:
release:
# Only run when CI passed on main
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false

- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- run: npm ci

- name: Build
run: npm run build

- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Stale Issue Bot

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Auto-close stale issues
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 60
days-before-issue-close: 0
days-before-pr-stale: -1
stale-issue-label: stale
close-issue-message: "Closing this issue due to prolonged inactivity."
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
node_modules
node_modules/
dist/
.env
.env.local
*.tsbuildinfo
.DS_Store
coverage/
AGENTS.md
docs/.vitepress/dist
docs/.vitepress/cache
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npx lint-staged
npm run typecheck
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dist
node_modules
coverage
*.md
package-lock.json
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": true,
"singleQuote": false,
"trailingComma": "all",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "always",
"endOfLine": "lf"
}
Loading
Loading