@galacticcouncil/sdk 0.0.6 → 0.0.8
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 +24 -1
- package/dist/index.esm.js +17 -1
- package/dist/index.js +3 -1
- package/dist/types/api/{router.d.ts → Router.d.ts} +1 -1
- package/dist/types/api/{tradeRouter.d.ts → TradeRouter.d.ts} +23 -17
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/client/index.d.ts +1 -1
- package/dist/types/errors.d.ts +12 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/pool/{polkadotApiPoolService.d.ts → PolkadotApiPoolService.d.ts} +3 -3
- package/dist/types/pool/index.d.ts +8 -8
- package/dist/types/pool/lbp/{lbpPool.d.ts → LbpPool.d.ts} +3 -3
- package/dist/types/pool/omni/{omniPool.d.ts → OmniPool.d.ts} +3 -3
- package/dist/types/registry/Registry.d.ts +20 -0
- package/dist/types/registry/index.d.ts +2 -0
- package/dist/types/registry/types.d.ts +22 -0
- package/dist/types/route/bfs.d.ts +2 -2
- package/dist/types/route/graph.d.ts +2 -2
- package/dist/types/storage/Storage.d.ts +18 -0
- package/dist/types/storage/index.d.ts +1 -0
- package/dist/types/types.d.ts +21 -15
- package/dist/types/wallet/Wallet.d.ts +21 -0
- package/dist/types/wallet/balance/Erc20BalanceAdapter.d.ts +11 -0
- package/dist/types/wallet/balance/NativeBalanceAdapter.d.ts +14 -0
- package/dist/types/wallet/balance/TokenBalanceAdapter.d.ts +12 -0
- package/dist/types/wallet/evm/AcalaEvmProvider.d.ts +9 -0
- package/dist/types/wallet/evm/DefaultEvmProvider.d.ts +7 -0
- package/dist/types/wallet/index.d.ts +5 -0
- package/dist/types/wallet/types.d.ts +10 -0
- package/dist/types/wallet/utils.d.ts +19 -0
- package/package.json +15 -4
- package/xcmgr.sync.mjs +65 -0
- package/dist/types/client/cApi.d.ts +0 -0
- /package/dist/types/client/{polkadotApi.d.ts → PolkadotApi.d.ts} +0 -0
- /package/dist/types/pool/{poolFactory.d.ts → PoolFactory.d.ts} +0 -0
- /package/dist/types/pool/lbp/{lbpMath.d.ts → LbpMath.d.ts} +0 -0
- /package/dist/types/pool/lbp/{lbpPolkadotApiClient.d.ts → LbpPolkadotApiClient.d.ts} +0 -0
- /package/dist/types/pool/omni/{omniMath.d.ts → OmniMath.d.ts} +0 -0
- /package/dist/types/pool/omni/{omniPolkadotApiClient.d.ts → OmniPolkadotApiClient.d.ts} +0 -0
- /package/dist/types/pool/xyk/{xykMath.d.ts → XykMath.d.ts} +0 -0
- /package/dist/types/pool/xyk/{xykPolkadotApiClient.d.ts → XykPolkadotApiClient.d.ts} +0 -0
- /package/dist/types/pool/xyk/{xykPool.d.ts → XykPool.d.ts} +0 -0
- /package/dist/types/utils/{queue.d.ts → Queue.d.ts} +0 -0
- /package/dist/types/utils/{stack.d.ts → Stack.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -101,10 +101,33 @@ Component list and current status ⬇️
|
|
|
101
101
|
| Omni | Math | 🧪 |
|
|
102
102
|
| Omni | Pool | 🧪 |
|
|
103
103
|
| LBP | Math | 🧪 |
|
|
104
|
-
| LBP | Pool |
|
|
104
|
+
| LBP | Pool | 🛠 |
|
|
105
105
|
| Stable | Math | ⏳ |
|
|
106
106
|
| Stable | Pool | ⏳ |
|
|
107
107
|
|
|
108
|
+
## Development and Build
|
|
109
|
+
|
|
110
|
+
### Requirements
|
|
111
|
+
|
|
112
|
+
- [Node.js](https://nodejs.org/) (**version 18 or higher**)
|
|
113
|
+
|
|
114
|
+
### Build & Release
|
|
115
|
+
|
|
116
|
+
```sh
|
|
117
|
+
npm install # to install all dependencies
|
|
118
|
+
npm run pckg:release # to release patch version (default)
|
|
119
|
+
npm run pckg:publish # to publish npm package
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### Other
|
|
123
|
+
|
|
124
|
+
To release minor or major version of the SDK use following commands.
|
|
125
|
+
|
|
126
|
+
```sh
|
|
127
|
+
npm run pckg:release -- --release-as minor # Release minor version. E.g. 1.0.23 -> 1.1.0
|
|
128
|
+
npm run pckg:release -- --release-as major # Release major version. E.g. 1.0.23 -> 2.0.0
|
|
129
|
+
```
|
|
130
|
+
|
|
108
131
|
## Issue reporting
|
|
109
132
|
|
|
110
133
|
In case of unexpected sdk behaviour, please create well-written issue [here](https://https://github.com/galacticcouncil/sdk/issues/new). It makes it easier to find & fix the problem accordingly.
|