extend swap info

This commit is contained in:
TheJuze
2024-05-13 16:40:17 +03:00
parent 9a60f9751e
commit 82117a315d
3 changed files with 5 additions and 3 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@orionprotocol/sdk",
"version": "0.21.0-rc0",
"version": "0.21.0-rc1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@orionprotocol/sdk",
"version": "0.21.0-rc0",
"version": "0.21.0-rc1",
"hasInstallScript": true,
"license": "ISC",
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.21.0-rc0",
"version": "0.21.0-rc1",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -43,6 +43,8 @@ type SwapInfoSubscriptionPayload = {
es?: string // exchange list of all cex or all pools (ORION_POOL, UNISWAP, PANCAKESWAP etc)
e?: boolean // is amount IN? Value `false` means a = amount OUT, `true` if omitted
is?: boolean // instant settlement
sc?: string // CS sourceChain
tc?: string // CS targetChain
}
type BrokerTradableAtomicSwapBalanceSubscription = {