@myx-trade/sdk 0.1.272-beta.1 → 1.0.0
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 +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2248,7 +2248,7 @@ declare class Order {
|
|
|
2248
2248
|
private account;
|
|
2249
2249
|
private api;
|
|
2250
2250
|
constructor(configManager: ConfigManager, logger: Logger, utils: Utils, seamless: Seamless, account: Account, api: Api);
|
|
2251
|
-
createIncreaseOrder(params: PlaceOrderParams, tradingFee: string, marketId: string
|
|
2251
|
+
createIncreaseOrder(params: PlaceOrderParams, tradingFee: string, marketId: string): Promise<{
|
|
2252
2252
|
code: number;
|
|
2253
2253
|
message: string;
|
|
2254
2254
|
data: ApiResponse<any>;
|
|
@@ -3868,7 +3868,8 @@ interface AppealVoteParams {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
|
|
3870
3870
|
declare class Appeal extends BaseMyxClient {
|
|
3871
|
-
|
|
3871
|
+
private configManager;
|
|
3872
|
+
constructor(client: MyxClient, configManager: ConfigManager);
|
|
3872
3873
|
private getDisputeCourtContract;
|
|
3873
3874
|
private getReimbursementContract;
|
|
3874
3875
|
/**
|
|
@@ -3949,6 +3950,7 @@ declare class Appeal extends BaseMyxClient {
|
|
|
3949
3950
|
getDisputeTotalCount(): Promise<ApiResponse<number>>;
|
|
3950
3951
|
getAppealTotalCount(): Promise<ApiResponse<number>>;
|
|
3951
3952
|
getReimbursementTotalCount(): Promise<ApiResponse<number>>;
|
|
3953
|
+
getAppealStatus(poolId: string, chainId: number, address: string): Promise<ApiResponse<number>>;
|
|
3952
3954
|
}
|
|
3953
3955
|
|
|
3954
3956
|
declare class Referrals extends BaseMyxClient {
|
package/dist/index.d.ts
CHANGED
|
@@ -2248,7 +2248,7 @@ declare class Order {
|
|
|
2248
2248
|
private account;
|
|
2249
2249
|
private api;
|
|
2250
2250
|
constructor(configManager: ConfigManager, logger: Logger, utils: Utils, seamless: Seamless, account: Account, api: Api);
|
|
2251
|
-
createIncreaseOrder(params: PlaceOrderParams, tradingFee: string, marketId: string
|
|
2251
|
+
createIncreaseOrder(params: PlaceOrderParams, tradingFee: string, marketId: string): Promise<{
|
|
2252
2252
|
code: number;
|
|
2253
2253
|
message: string;
|
|
2254
2254
|
data: ApiResponse<any>;
|
|
@@ -3868,7 +3868,8 @@ interface AppealVoteParams {
|
|
|
3868
3868
|
}
|
|
3869
3869
|
|
|
3870
3870
|
declare class Appeal extends BaseMyxClient {
|
|
3871
|
-
|
|
3871
|
+
private configManager;
|
|
3872
|
+
constructor(client: MyxClient, configManager: ConfigManager);
|
|
3872
3873
|
private getDisputeCourtContract;
|
|
3873
3874
|
private getReimbursementContract;
|
|
3874
3875
|
/**
|
|
@@ -3949,6 +3950,7 @@ declare class Appeal extends BaseMyxClient {
|
|
|
3949
3950
|
getDisputeTotalCount(): Promise<ApiResponse<number>>;
|
|
3950
3951
|
getAppealTotalCount(): Promise<ApiResponse<number>>;
|
|
3951
3952
|
getReimbursementTotalCount(): Promise<ApiResponse<number>>;
|
|
3953
|
+
getAppealStatus(poolId: string, chainId: number, address: string): Promise<ApiResponse<number>>;
|
|
3952
3954
|
}
|
|
3953
3955
|
|
|
3954
3956
|
declare class Referrals extends BaseMyxClient {
|