@polymarket/clob-client 1.3.0 → 1.3.1
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/types.d.ts +5 -2
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ export interface OpenOrder {
|
|
|
153
153
|
outcome_index: number;
|
|
154
154
|
created_at: number;
|
|
155
155
|
}
|
|
156
|
-
export type OpenOrdersResponse = OpenOrder[];
|
|
156
|
+
export declare type OpenOrdersResponse = OpenOrder[];
|
|
157
157
|
export interface FilterParams {
|
|
158
158
|
owner?: string;
|
|
159
159
|
max?: number;
|
|
@@ -208,8 +208,9 @@ export interface Trade {
|
|
|
208
208
|
owner: string;
|
|
209
209
|
maker_address: string;
|
|
210
210
|
maker_orders: MakerOrder[];
|
|
211
|
+
transaction_hash: string;
|
|
211
212
|
}
|
|
212
|
-
export type OptionalParams = {
|
|
213
|
+
export declare type OptionalParams = {
|
|
213
214
|
[query: string]: string;
|
|
214
215
|
};
|
|
215
216
|
export declare enum Chain {
|
|
@@ -233,6 +234,7 @@ export interface TradeNotification {
|
|
|
233
234
|
market: string;
|
|
234
235
|
asset_id: string;
|
|
235
236
|
side: string;
|
|
237
|
+
type: string;
|
|
236
238
|
price: string;
|
|
237
239
|
original_size: string;
|
|
238
240
|
matched_size: string;
|
|
@@ -241,6 +243,7 @@ export interface TradeNotification {
|
|
|
241
243
|
outcome_index: number;
|
|
242
244
|
action: string;
|
|
243
245
|
timestamp: number;
|
|
246
|
+
transaction_hash: string;
|
|
244
247
|
}
|
|
245
248
|
export interface OrderMarketCancelParams {
|
|
246
249
|
market?: string;
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AA+BA,IAAY,IAGX;AAHD,WAAY,IAAI;IACZ,mBAAW,CAAA;IACX,qBAAa,CAAA;AACjB,CAAC,EAHW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAGf;AAED,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,wBAAW,CAAA;IACX,wBAAW,CAAA;AACf,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AA+BA,IAAY,IAGX;AAHD,WAAY,IAAI;IACZ,mBAAW,CAAA;IACX,qBAAa,CAAA;AACjB,CAAC,EAHW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAGf;AAED,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,wBAAW,CAAA;IACX,wBAAW,CAAA;AACf,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AAuND,IAAY,KAGX;AAHD,WAAY,KAAK;IACb,yCAAa,CAAA;IACb,yCAAc,CAAA;AAClB,CAAC,EAHW,KAAK,GAAL,aAAK,KAAL,aAAK,QAGhB;AAmDD,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,sCAAyB,CAAA;IACzB,wCAA2B,CAAA;AAC/B,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|