@galacticcouncil/sdk-next 0.36.0 → 0.36.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -7
- package/build/index.cjs +1 -1
- package/build/index.mjs +1 -1
- package/build/types/pool/hsm/HsmPool.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@galacticcouncil/sdk-next)
|
|
4
4
|
|
|
5
|
-
Next gen
|
|
6
|
-
|
|
7
|
-
⚠️ **Disclaimer:** Next is not prod ready yet. Official `1.x` release coming soon.
|
|
8
|
-
|
|
9
|
-
Missing functionality & progress tracked [here](https://github.com/galacticcouncil/sdk/issues/119)
|
|
5
|
+
Next gen Hydration SDK built on top of [Polkadot API (Papi)](https://papi.how/).
|
|
10
6
|
|
|
11
7
|
Table of contents:
|
|
12
8
|
|
|
@@ -118,7 +114,7 @@ Gracefully cleans up SDK resources. Always call before exiting to avoid memory l
|
|
|
118
114
|
| :----- | :----------- |
|
|
119
115
|
| `getDcaOrder(assetIn: number, assetOut: number, amountInTotal: string, duration: number): TradeDcaOrder` | Calculate DCA order. |
|
|
120
116
|
| `getTwapBuyOrder(assetIn: number, assetOut: number, amountInTotal: string): TradeOrder` | Calculate TWAP buy order. |
|
|
121
|
-
| `getTwapSellOrder(assetIn: number, assetOut: number, amountInTotal: string): TradeOrder` | Calculate TWAP
|
|
117
|
+
| `getTwapSellOrder(assetIn: number, assetOut: number, amountInTotal: string): TradeOrder` | Calculate TWAP sell order. |
|
|
122
118
|
|
|
123
119
|
➡️ For type definitions visit [types.ts](src/sor/types.ts)<br />
|
|
124
120
|
|
|
@@ -144,7 +140,7 @@ Gracefully cleans up SDK resources. Always call before exiting to avoid memory l
|
|
|
144
140
|
|
|
145
141
|
## Examples
|
|
146
142
|
|
|
147
|
-
All examples assume
|
|
143
|
+
All examples assume SDK has been initialized, [see](#usage)
|
|
148
144
|
|
|
149
145
|
### TradeRouter
|
|
150
146
|
|