feat: updated fee type

This commit is contained in:
Mikhail Gladchenko
2024-05-23 11:01:03 +01:00
parent eed05bd830
commit cec0688c8e
3 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -516,6 +516,7 @@ class AggregatorWS {
factory: path.f,
assetAddressIn: path.aai,
assetAddressOut: path.aao,
fee: path.fee,
})),
poolOptimal: json.po,
...(json.oi) && {

View File

@@ -181,7 +181,7 @@ export type SingleSwap = {
factory: Factory
assetAddressIn: string
assetAddressOut: string
fee?: number
fee?: number | undefined
}
export type SwapInfoBase = {