@myx-trade/sdk 0.1.256-beta.2 → 0.1.257

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
@@ -1743,20 +1743,6 @@ interface PostVoteSignatureParams {
1743
1743
  signature: string;
1744
1744
  }
1745
1745
  type PostVoteResponse = 1 | 0;
1746
- interface GetWarmholeSignParams {
1747
- account: string;
1748
- }
1749
- interface GuardianSignatureItem {
1750
- r: string;
1751
- s: string;
1752
- v: string;
1753
- guardianIndex: number;
1754
- }
1755
- interface GetWarmholeSignResponse {
1756
- epoch: number;
1757
- response: string;
1758
- guardianSignatures: GuardianSignatureItem[];
1759
- }
1760
1746
 
1761
1747
  interface RequestOptions extends WretchOptions {
1762
1748
  auth?: boolean;
@@ -1825,7 +1811,6 @@ declare class Api extends Request {
1825
1811
  postVoteSignature(params: PostVoteSignatureParams): Promise<ApiResponse<PostVoteResponse>>;
1826
1812
  getPedingVoteCount(): Promise<ApiResponse<number>>;
1827
1813
  getMyAppealCount(): Promise<ApiResponse<number>>;
1828
- getWarmholeSign(params: GetWarmholeSignParams): Promise<ApiResponse<GetWarmholeSignResponse>>;
1829
1814
  /**
1830
1815
  * appeal module end ------>
1831
1816
  */
@@ -3908,4 +3893,4 @@ declare class MyxClient {
3908
3893
  getAccessToken(): Promise<string | null>;
3909
3894
  }
3910
3895
 
3911
- export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealCaseTypeEnum, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, AppealNodeStateEnum, type AppealNodeVoteItem, type AppealNodeVoteListItem, AppealNodeVotedStateEnum, type AppealReconsiderationDetail, type AppealReconsiderationItem, type AppealReconsiderationListItem, AppealReconsiderationType, type AppealReimbursementItem, type AppealReimbursementParams, AppealStage, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, ChainId, type ChainIdRequest, CloseTypeEnum, type DashboardType, Direction, DirectionEnum, ErrorCode, ExecTypeEnum, type FavoritesListItem, type FavoritesListParams, type FavoritesTimeInterval, type FavoritesType, type FetchForwarderGetParams, type FetchForwarderGetResponse, type FetchForwarderGetResponseData, ForwarderGetStatus, type ForwarderTxParams, type GetAppealDetailParams, type GetAppealListParams, type GetAppealNodeVoteListParams, type GetAppealReconsiderationDetailParams, type GetAppealReconsiderationListParams, type GetAppealVoteNodeDetailParams, type GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type GetWarmholeSignParams, type GetWarmholeSignResponse, type GuardianSignatureItem, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, MarketCapType, type MarketDetailResponse, type MarketInfo, type MarketPool, type MarketPoolResponse, MarketPoolState, MarketType, MxSDK, MyxClient, type MyxClientConfig, type MyxSubscriptionOptions, type NetWorkFee, NodeTypeEnum, type ObjectType, type OnKlineCallback, type OnOrderCallback, type OnPositionCallback, type OnTickersAllCallback, type OnTickersCallback, OperationEnum, OperationType, OracleType, type Order$1 as Order, OrderStatus, OrderStatusEnum, OrderType, OrderTypeEnum, type PlaceOrderParams, type PoolLevelConfig, type PoolOpenOrder, type PoolOpenOrdersResponse, type PoolResponse, type PoolSymbolAllResponse, type Position$1 as Position, type PositionHistoryItem, type PositionResponse, type PositionTpSlOrderParams, type PositionType, type PostVoteResponse, type PostVoteSignatureParams, type PriceResponse, type PriceType, type RemoveFavoriteParams, type SearchMarketParams, type SearchResultContractItem, type SearchResultCookItem, type SearchResultEarnItem, type SearchResultResponse, SearchSecondTypeEnum, SearchTypeEnum, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getTickerData, getTokenInfo, index as market, index$3 as pool, index$1 as quote };
3896
+ export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealCaseTypeEnum, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, AppealNodeStateEnum, type AppealNodeVoteItem, type AppealNodeVoteListItem, AppealNodeVotedStateEnum, type AppealReconsiderationDetail, type AppealReconsiderationItem, type AppealReconsiderationListItem, AppealReconsiderationType, type AppealReimbursementItem, type AppealReimbursementParams, AppealStage, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, ChainId, type ChainIdRequest, CloseTypeEnum, type DashboardType, Direction, DirectionEnum, ErrorCode, ExecTypeEnum, type FavoritesListItem, type FavoritesListParams, type FavoritesTimeInterval, type FavoritesType, type FetchForwarderGetParams, type FetchForwarderGetResponse, type FetchForwarderGetResponseData, ForwarderGetStatus, type ForwarderTxParams, type GetAppealDetailParams, type GetAppealListParams, type GetAppealNodeVoteListParams, type GetAppealReconsiderationDetailParams, type GetAppealReconsiderationListParams, type GetAppealVoteNodeDetailParams, type GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, MarketCapType, type MarketDetailResponse, type MarketInfo, type MarketPool, type MarketPoolResponse, MarketPoolState, MarketType, MxSDK, MyxClient, type MyxClientConfig, type MyxSubscriptionOptions, type NetWorkFee, NodeTypeEnum, type ObjectType, type OnKlineCallback, type OnOrderCallback, type OnPositionCallback, type OnTickersAllCallback, type OnTickersCallback, OperationEnum, OperationType, OracleType, type Order$1 as Order, OrderStatus, OrderStatusEnum, OrderType, OrderTypeEnum, type PlaceOrderParams, type PoolLevelConfig, type PoolOpenOrder, type PoolOpenOrdersResponse, type PoolResponse, type PoolSymbolAllResponse, type Position$1 as Position, type PositionHistoryItem, type PositionResponse, type PositionTpSlOrderParams, type PositionType, type PostVoteResponse, type PostVoteSignatureParams, type PriceResponse, type PriceType, type RemoveFavoriteParams, type SearchMarketParams, type SearchResultContractItem, type SearchResultCookItem, type SearchResultEarnItem, type SearchResultResponse, SearchSecondTypeEnum, SearchTypeEnum, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getTickerData, getTokenInfo, index as market, index$3 as pool, index$1 as quote };
package/dist/index.d.ts CHANGED
@@ -1743,20 +1743,6 @@ interface PostVoteSignatureParams {
1743
1743
  signature: string;
1744
1744
  }
1745
1745
  type PostVoteResponse = 1 | 0;
1746
- interface GetWarmholeSignParams {
1747
- account: string;
1748
- }
1749
- interface GuardianSignatureItem {
1750
- r: string;
1751
- s: string;
1752
- v: string;
1753
- guardianIndex: number;
1754
- }
1755
- interface GetWarmholeSignResponse {
1756
- epoch: number;
1757
- response: string;
1758
- guardianSignatures: GuardianSignatureItem[];
1759
- }
1760
1746
 
1761
1747
  interface RequestOptions extends WretchOptions {
1762
1748
  auth?: boolean;
@@ -1825,7 +1811,6 @@ declare class Api extends Request {
1825
1811
  postVoteSignature(params: PostVoteSignatureParams): Promise<ApiResponse<PostVoteResponse>>;
1826
1812
  getPedingVoteCount(): Promise<ApiResponse<number>>;
1827
1813
  getMyAppealCount(): Promise<ApiResponse<number>>;
1828
- getWarmholeSign(params: GetWarmholeSignParams): Promise<ApiResponse<GetWarmholeSignResponse>>;
1829
1814
  /**
1830
1815
  * appeal module end ------>
1831
1816
  */
@@ -3908,4 +3893,4 @@ declare class MyxClient {
3908
3893
  getAccessToken(): Promise<string | null>;
3909
3894
  }
3910
3895
 
3911
- export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealCaseTypeEnum, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, AppealNodeStateEnum, type AppealNodeVoteItem, type AppealNodeVoteListItem, AppealNodeVotedStateEnum, type AppealReconsiderationDetail, type AppealReconsiderationItem, type AppealReconsiderationListItem, AppealReconsiderationType, type AppealReimbursementItem, type AppealReimbursementParams, AppealStage, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, ChainId, type ChainIdRequest, CloseTypeEnum, type DashboardType, Direction, DirectionEnum, ErrorCode, ExecTypeEnum, type FavoritesListItem, type FavoritesListParams, type FavoritesTimeInterval, type FavoritesType, type FetchForwarderGetParams, type FetchForwarderGetResponse, type FetchForwarderGetResponseData, ForwarderGetStatus, type ForwarderTxParams, type GetAppealDetailParams, type GetAppealListParams, type GetAppealNodeVoteListParams, type GetAppealReconsiderationDetailParams, type GetAppealReconsiderationListParams, type GetAppealVoteNodeDetailParams, type GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type GetWarmholeSignParams, type GetWarmholeSignResponse, type GuardianSignatureItem, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, MarketCapType, type MarketDetailResponse, type MarketInfo, type MarketPool, type MarketPoolResponse, MarketPoolState, MarketType, MxSDK, MyxClient, type MyxClientConfig, type MyxSubscriptionOptions, type NetWorkFee, NodeTypeEnum, type ObjectType, type OnKlineCallback, type OnOrderCallback, type OnPositionCallback, type OnTickersAllCallback, type OnTickersCallback, OperationEnum, OperationType, OracleType, type Order$1 as Order, OrderStatus, OrderStatusEnum, OrderType, OrderTypeEnum, type PlaceOrderParams, type PoolLevelConfig, type PoolOpenOrder, type PoolOpenOrdersResponse, type PoolResponse, type PoolSymbolAllResponse, type Position$1 as Position, type PositionHistoryItem, type PositionResponse, type PositionTpSlOrderParams, type PositionType, type PostVoteResponse, type PostVoteSignatureParams, type PriceResponse, type PriceType, type RemoveFavoriteParams, type SearchMarketParams, type SearchResultContractItem, type SearchResultCookItem, type SearchResultEarnItem, type SearchResultResponse, SearchSecondTypeEnum, SearchTypeEnum, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getTickerData, getTokenInfo, index as market, index$3 as pool, index$1 as quote };
3896
+ export { type AccessTokenRequest, type AccessTokenResponse$1 as AccessTokenResponse, type AccessTokenType, type AddFavoriteParams, type Address, type ApiResponse, AppealCaseTypeEnum, AppealClaimStatusEnum, type AppealDetail, type AppealListItem, AppealNodeStateEnum, type AppealNodeVoteItem, type AppealNodeVoteListItem, AppealNodeVotedStateEnum, type AppealReconsiderationDetail, type AppealReconsiderationItem, type AppealReconsiderationListItem, AppealReconsiderationType, type AppealReimbursementItem, type AppealReimbursementParams, AppealStage, AppealType, type AppealUploadEvidenceParams, type AppealVoteItem, type BaseDetailResponse, type BaseResponse, COMMON_LP_AMOUNT_DECIMALS, COMMON_PRICE_DECIMALS, ChainId, type ChainIdRequest, CloseTypeEnum, type DashboardType, Direction, DirectionEnum, ErrorCode, ExecTypeEnum, type FavoritesListItem, type FavoritesListParams, type FavoritesTimeInterval, type FavoritesType, type FetchForwarderGetParams, type FetchForwarderGetResponse, type FetchForwarderGetResponseData, ForwarderGetStatus, type ForwarderTxParams, type GetAppealDetailParams, type GetAppealListParams, type GetAppealNodeVoteListParams, type GetAppealReconsiderationDetailParams, type GetAppealReconsiderationListParams, type GetAppealVoteNodeDetailParams, type GetBaseDetailParams, type GetHistoryOrdersParams, type GetIsVoteNodeParams, type GetKlineDataParams, type GetMarketDetailParams, type GetPoolLevelConfigParams, type GetTickerDataParams, type HistoryOrderItem, type HttpEnvParams, HttpKlineIntervalEnum, IsVoteNodeEnum, type KlineDataItemType, type KlineDataResponse, type KlineResolution, type LevelConfig, MarketCapType, type MarketDetailResponse, type MarketInfo, type MarketPool, type MarketPoolResponse, MarketPoolState, MarketType, MxSDK, MyxClient, type MyxClientConfig, type MyxSubscriptionOptions, type NetWorkFee, NodeTypeEnum, type ObjectType, type OnKlineCallback, type OnOrderCallback, type OnPositionCallback, type OnTickersAllCallback, type OnTickersCallback, OperationEnum, OperationType, OracleType, type Order$1 as Order, OrderStatus, OrderStatusEnum, OrderType, OrderTypeEnum, type PlaceOrderParams, type PoolLevelConfig, type PoolOpenOrder, type PoolOpenOrdersResponse, type PoolResponse, type PoolSymbolAllResponse, type Position$1 as Position, type PositionHistoryItem, type PositionResponse, type PositionTpSlOrderParams, type PositionType, type PostVoteResponse, type PostVoteSignatureParams, type PriceResponse, type PriceType, type RemoveFavoriteParams, type SearchMarketParams, type SearchResultContractItem, type SearchResultCookItem, type SearchResultEarnItem, type SearchResultResponse, SearchSecondTypeEnum, SearchTypeEnum, type StatDashBoardResponse, type TickerDataItem, type TickersDataResponse, TimeInForce, TradeFlowAccountTypeEnum, type TradeFlowItem, TradeFlowTypeEnum, type TradingResult, TriggerType, TriggerTypeEnum, type UpdateOrderTpSlParams, VoteTypeEnum, approve, index$2 as base, bigintAmountSlipperCalculator, bigintTradingGasPriceWithRatio, bigintTradingGasToRatioCalculator, getAllowanceApproved, getBalanceOf, getBaseDetail, getBaseUrlByEnv, getMarketDetail, getMarketList, getOraclePrice, getPoolDetail, getPoolList, getPoolOpenOrders, getPriceData, getPricesData, getTickerData, getTokenInfo, index as market, index$3 as pool, index$1 as quote };
package/dist/index.js CHANGED
@@ -1773,7 +1773,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
1773
1773
  // package.json
1774
1774
  var package_default = {
1775
1775
  name: "@myx-trade/sdk",
1776
- version: "0.1.256-beta.2",
1776
+ version: "0.1.257",
1777
1777
  private: false,
1778
1778
  publishConfig: {
1779
1779
  access: "public"
@@ -1800,7 +1800,7 @@ var package_default = {
1800
1800
  "gen:abi": "typechain --target ethers-v6 --out-dir ./src/abi/types './src/abi/**/*.json'",
1801
1801
  prepublishOnly: "npm run build",
1802
1802
  prepare: "pnpm gen:abi",
1803
- "custom-publish": "tsx scripts/customPublish.ts",
1803
+ "custom-publish": "node scripts/customPublish.js",
1804
1804
  "type-check": "echo 'Skipping type-check for @myx-trade/sdk'"
1805
1805
  },
1806
1806
  keywords: [
@@ -1821,7 +1821,6 @@ var package_default = {
1821
1821
  "@types/react-dom": "^18.2.0",
1822
1822
  "@vitejs/plugin-react": "^4.3.0",
1823
1823
  tsup: "^8.0.0",
1824
- tsx: "^4.21.0",
1825
1824
  typechain: "^8.3.2",
1826
1825
  typescript: "^5.3.0"
1827
1826
  },
@@ -22838,12 +22837,6 @@ var Api = class extends Request {
22838
22837
  }
22839
22838
  );
22840
22839
  }
22841
- async getWarmholeSign(params) {
22842
- return this.get(
22843
- "/openapi/gateway/scan/get-warmhole-sign",
22844
- params
22845
- );
22846
- }
22847
22840
  /**
22848
22841
  * appeal module end ------>
22849
22842
  */
package/dist/index.mjs CHANGED
@@ -1687,7 +1687,7 @@ var RotationProvider = class extends BaseProvider {
1687
1687
  // package.json
1688
1688
  var package_default = {
1689
1689
  name: "@myx-trade/sdk",
1690
- version: "0.1.256-beta.2",
1690
+ version: "0.1.257",
1691
1691
  private: false,
1692
1692
  publishConfig: {
1693
1693
  access: "public"
@@ -1714,7 +1714,7 @@ var package_default = {
1714
1714
  "gen:abi": "typechain --target ethers-v6 --out-dir ./src/abi/types './src/abi/**/*.json'",
1715
1715
  prepublishOnly: "npm run build",
1716
1716
  prepare: "pnpm gen:abi",
1717
- "custom-publish": "tsx scripts/customPublish.ts",
1717
+ "custom-publish": "node scripts/customPublish.js",
1718
1718
  "type-check": "echo 'Skipping type-check for @myx-trade/sdk'"
1719
1719
  },
1720
1720
  keywords: [
@@ -1735,7 +1735,6 @@ var package_default = {
1735
1735
  "@types/react-dom": "^18.2.0",
1736
1736
  "@vitejs/plugin-react": "^4.3.0",
1737
1737
  tsup: "^8.0.0",
1738
- tsx: "^4.21.0",
1739
1738
  typechain: "^8.3.2",
1740
1739
  typescript: "^5.3.0"
1741
1740
  },
@@ -22752,12 +22751,6 @@ var Api = class extends Request {
22752
22751
  }
22753
22752
  );
22754
22753
  }
22755
- async getWarmholeSign(params) {
22756
- return this.get(
22757
- "/openapi/gateway/scan/get-warmhole-sign",
22758
- params
22759
- );
22760
- }
22761
22754
  /**
22762
22755
  * appeal module end ------>
22763
22756
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myx-trade/sdk",
3
- "version": "0.1.256-beta.2",
3
+ "version": "0.1.257",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -36,7 +36,6 @@
36
36
  "@types/react-dom": "^18.2.0",
37
37
  "@vitejs/plugin-react": "^4.3.0",
38
38
  "tsup": "^8.0.0",
39
- "tsx": "^4.21.0",
40
39
  "typechain": "^8.3.2",
41
40
  "typescript": "^5.3.0"
42
41
  },
@@ -62,7 +61,7 @@
62
61
  "clean": "rm -rf dist",
63
62
  "prebuild": "npm run clean",
64
63
  "gen:abi": "typechain --target ethers-v6 --out-dir ./src/abi/types './src/abi/**/*.json'",
65
- "custom-publish": "tsx scripts/customPublish.ts",
64
+ "custom-publish": "node scripts/customPublish.js",
66
65
  "type-check": "echo 'Skipping type-check for @myx-trade/sdk'"
67
66
  }
68
67
  }