@hyperionxyz/sdk
Version:
This SDK allows you to interact with the Hyperion API. You can use it to request data, create pools/positions and more.
170 lines (89 loc) • 2.65 kB
Markdown
@hyperion/sdk
# 0.1.1
## Patch Changes
- Update Aptos package compatibility and wallet adapter integration.
# 0.1.0
## Minor Changes
- Replace Hyperion indexer reads with REST API endpoints for pools, ticks, positions, and claimed rewards.
- Remove the SDK runtime dependency on `graphql-request`.
- Remove public GraphQL request helpers from `RequestModule`; SDK consumers should use the high-level `Pool`, `Position`, `Reward`, and `Swap` modules instead.
## Compatibility Notes
- Public high-level SDK methods keep the same call signatures for pool, position, reward, and swap workflows.
- `SDKOptions.officialFullNodeIndexerURL` was removed because the SDK no longer performs official indexer GraphQL requests.
- `SDKOptions.hyperionFullNodeIndexerURL` now points to the Hyperion API host. Existing values ending in `/v1/graphql` are normalized for compatibility, but new integrations should pass `https://api.hyperion.xyz`
- If your integration called `requestModule.queryIndexer` or imported files from `src/config/queries`, replace that usage with the matching high-level SDK method or call the REST API directly.
# 0.0.25
## Patch Changes
- update swap est amount function
# 0.0.24
## Patch Changes
- add composer sdk
# 0.0.23
## Patch Changes
- add aggregate script function
- try script function
- try script function
# 0.0.23-alpha.1
## Patch Changes
- try script function
# 0.0.23-alpha.0
## Patch Changes
- try script function
# 0.0.22
## Patch Changes
- update testnet contract
# 0.0.21
## Patch Changes
- update testnet contract address
# 0.0.20
## Patch Changes
- update: testnet contract address
# 0.0.19
## Patch Changes
- fix bignumber exponential
# 0.0.18
## Patch Changes
- feat: add bridge package
# 0.0.17
## Patch Changes
- add swapWithPartnershipTransactionPayload
# 0.0.16
## Patch Changes
- update feeTier config
# 0.0.15
## Patch Changes
- update: testnet contract address
# 0.0.14
## Patch Changes
- update testnet contract address
# 0.0.13
## Patch Changes
- support aptos api key and claimAllRewardsTransactionPayload
# 0.0.12
## Patch Changes
- 28af84c: add safemode to swap
# 0.0.11
## Patch Changes
- fix
# 0.0.10
## Patch Changes
- update: swap fucntion supports coinType
# 0.0.9
## Patch Changes
- update sdk package.json
# 0.0.8
## Patch Changes
- fix swap amount estimate
# 0.0.7
## Patch Changes
- add getPoolByTokenPairAndFeeTier
# 0.0.6
## Patch Changes
- d177350: fix types exports
- d177350: update package.json
# 0.0.5
## Patch Changes
- init
# 0.0.2
## Patch Changes
- init