@myx-trade/sdk 0.1.88 → 0.1.90

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/dist/index.d.mts CHANGED
@@ -918,7 +918,8 @@ declare namespace index$1 {
918
918
  export { index$1_claimQuotePoolRebate as claimQuotePoolRebate, index$1_claimQuotePoolRebates as claimQuotePoolRebates, index$1_deposit as deposit, index$1_getLpPrice as getLpPrice, index$1_getRewards as getRewards, index$1_transfer as transfer, index$1_withdraw as withdraw };
919
919
  }
920
920
 
921
- declare const getMarket: (chainId: ChainId, marketId: string) => Promise<([string, bigint, bigint, bigint, bigint, bigint] & {
921
+ declare const getMarket: (chainId: ChainId, marketId: string) => Promise<([string, string, bigint, bigint, bigint, bigint, bigint] & {
922
+ marketId: string;
922
923
  quoteToken: string;
923
924
  baseReserveRatio: bigint;
924
925
  quoteReserveRatio: bigint;
package/dist/index.d.ts CHANGED
@@ -918,7 +918,8 @@ declare namespace index$1 {
918
918
  export { index$1_claimQuotePoolRebate as claimQuotePoolRebate, index$1_claimQuotePoolRebates as claimQuotePoolRebates, index$1_deposit as deposit, index$1_getLpPrice as getLpPrice, index$1_getRewards as getRewards, index$1_transfer as transfer, index$1_withdraw as withdraw };
919
919
  }
920
920
 
921
- declare const getMarket: (chainId: ChainId, marketId: string) => Promise<([string, bigint, bigint, bigint, bigint, bigint] & {
921
+ declare const getMarket: (chainId: ChainId, marketId: string) => Promise<([string, string, bigint, bigint, bigint, bigint, bigint] & {
922
+ marketId: string;
922
923
  quoteToken: string;
923
924
  baseReserveRatio: bigint;
924
925
  quoteReserveRatio: bigint;
package/dist/index.js CHANGED
@@ -1838,7 +1838,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
1838
1838
  // package.json
1839
1839
  var package_default = {
1840
1840
  name: "@myx-trade/sdk",
1841
- version: "0.1.88",
1841
+ version: "0.1.90",
1842
1842
  private: false,
1843
1843
  publishConfig: {
1844
1844
  access: "public"
@@ -14480,6 +14480,7 @@ var Order = class {
14480
14480
  useAccountBalance: false
14481
14481
  };
14482
14482
  });
14483
+ this.logger.info("closeAllPositions params--->", positionIds, dataMap);
14483
14484
  const gasLimit = await brokerContract.placeOrdersWithPosition.estimateGas(positionIds, dataMap);
14484
14485
  const transaction = await brokerContract.placeOrdersWithPosition(positionIds, dataMap, {
14485
14486
  gasLimit: gasLimit * 120n / 100n
package/dist/index.mjs CHANGED
@@ -1749,7 +1749,7 @@ var RotationProvider = class extends BaseProvider {
1749
1749
  // package.json
1750
1750
  var package_default = {
1751
1751
  name: "@myx-trade/sdk",
1752
- version: "0.1.88",
1752
+ version: "0.1.90",
1753
1753
  private: false,
1754
1754
  publishConfig: {
1755
1755
  access: "public"
@@ -14391,6 +14391,7 @@ var Order = class {
14391
14391
  useAccountBalance: false
14392
14392
  };
14393
14393
  });
14394
+ this.logger.info("closeAllPositions params--->", positionIds, dataMap);
14394
14395
  const gasLimit = await brokerContract.placeOrdersWithPosition.estimateGas(positionIds, dataMap);
14395
14396
  const transaction = await brokerContract.placeOrdersWithPosition(positionIds, dataMap, {
14396
14397
  gasLimit: gasLimit * 120n / 100n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myx-trade/sdk",
3
- "version": "0.1.88",
3
+ "version": "0.1.90",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"