Releases: Lumina-DEX/lumina
@lumina-dex/[email protected]
Minor Changes
- 50b59a8: add server-side pool creation
@lumina-dex/[email protected]
Minor Changes
- c88ed07: add tokenId to LuminaPool
@lumina-dex/[email protected]
Minor Changes
- 0694cae: Move multisig from pool to factory
Update sdk to integrate the new contracts
Correct a calculation bug on add liquidity
Patch Changes
- Updated dependencies [0694cae]
- @lumina-dex/[email protected]
@lumina-dex/[email protected]
Minor Changes
- 0694cae: Move multisig from pool to factory
Update sdk to integrate the new contracts
Correct a calculation bug on add liquidity
@lumina-dex/[email protected]
Minor Changes
-
049a173: ## Add debugging flags to control caching and debugging output
localStorage.setItem("disableCache", "true") // default false localStorage.setItem("debugLogs", "true") // default false in prod
Fix blockscan explorer domain in transaction hash
Now points to the correct url and network.
Rework Contract Compilation
Contracts are now loaded and compiled on demand, behind the following feature flags :
- Swap (enabled by default)
- DeployPool
- DeployToken
- Claim
When initializing the SDK, you can specify which features to load:
const Dex = createDex({ input: { wallet: Wallet, features: ["Swap", "DeployPool"], // Load specific features frontendFee: { destination: "B62qmdQRb8FKaKA7cwaujmuTBbpp5NXTJFQqL1X9ya5nkvHSuWsiQ1H", amount: 1 } } })
You can load additional features dynamically after initialization:
Dex.send({ type: "LoadFeatures", features: ["DeployPool", "Claim"] })
@lumina-dex/[email protected]
Minor Changes
- 8098bc5: Add multisig in the pools contracts
Update contract address in the sdk
Remove faucet and token admin contract from sdk compile list (you can't deploy a new token)
Patch Changes
- Updated dependencies [8098bc5]
- @lumina-dex/[email protected]
@lumina-dex/[email protected]
Minor Changes
- 8098bc5: Add multisig in the pools contracts
Update contract address in the sdk
Remove faucet and token admin contract from sdk compile list (you can't deploy a new token)
@lumina-dex/[email protected]
Patch Changes
- bed7d24: fix dataclone errors while loading contracts
@lumina-dex/[email protected]
Minor Changes
- a72aab2: - Implement
fetchPoolList
, which fetches pools from the CDN and returnsLuminaPool[]
- Change
fetchTokenList
return type toLuminaToken[]
. This is a breaking change. - Remove
poolAddress
fromLuminaToken
. This is a breaking change.
- Change
Patch Changes
- 952aa9e: Minor interface change for
LuminaToken
andLuminaPool
.
@lumina-dex/[email protected]
Minor Changes
-
731fa10: This patch introduces new functions to fetch pools and refactor the existing fetch token logic. This is a breaking change.
-
New Interface:
LuminaPool
,PoolDbList
-
Renamed interface:
TokenDbToken
=>LuminaToken
-
New functions :
fetchAllFromPoolFactory
,fetchAllPoolsFromPoolFactory
,fetchPoolList
-
Renamed function :
fetchPoolTokenList
=>fetchTokenList
The return type of the
fetchAll*
functions has changed : It's now aMap
instead of an array.Additionally, concurrency limits are introduced in several parts of the SDK.
Note that
fetchPoolList
is not implemented yet. -