polyedge 1.1.0 → 1.2.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.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -203,6 +203,8 @@ interface Market {
|
|
|
203
203
|
tags_slug?: string[];
|
|
204
204
|
/** ERC-1155 token IDs: [Token 1, Token 2] */
|
|
205
205
|
token_ids?: [string, string];
|
|
206
|
+
/** Polymarket protocol version: "v1" (CTF tokens) or "v2" (protocol v2 positions) */
|
|
207
|
+
version?: string;
|
|
206
208
|
}
|
|
207
209
|
/**
|
|
208
210
|
* Data model for MarketDetailResponse
|
|
@@ -272,6 +274,8 @@ interface MarketMetadata {
|
|
|
272
274
|
neg_risk?: boolean;
|
|
273
275
|
/** Raw JSON array of outcome display names, e.g. ["Yes", "No"] */
|
|
274
276
|
outcomes?: [string, string];
|
|
277
|
+
/** Array of 2 on-chain position IDs corresponding to outcomes */
|
|
278
|
+
position_ids?: string[];
|
|
275
279
|
/** Full title question describing the market condition */
|
|
276
280
|
question?: string;
|
|
277
281
|
/** Source URL or oracle specification for resolution */
|
|
@@ -290,8 +294,10 @@ interface MarketMetadata {
|
|
|
290
294
|
start_date?: string;
|
|
291
295
|
/** Raw JSON array of topic tag URL slugs */
|
|
292
296
|
tags_slug?: string[];
|
|
293
|
-
/** Array of 2 ERC-1155 token IDs corresponding to outcomes */
|
|
297
|
+
/** Array of 2 ERC-1155 token IDs corresponding to outcomes (clobTokenIds) */
|
|
294
298
|
token_ids?: [string, string];
|
|
299
|
+
/** Polymarket protocol version: "v1" (CTF tokens) or "v2" (protocol v2 positions) */
|
|
300
|
+
version?: string;
|
|
295
301
|
}
|
|
296
302
|
/**
|
|
297
303
|
* Data model for MarketSettlementDetail
|
package/dist/index.d.ts
CHANGED
|
@@ -203,6 +203,8 @@ interface Market {
|
|
|
203
203
|
tags_slug?: string[];
|
|
204
204
|
/** ERC-1155 token IDs: [Token 1, Token 2] */
|
|
205
205
|
token_ids?: [string, string];
|
|
206
|
+
/** Polymarket protocol version: "v1" (CTF tokens) or "v2" (protocol v2 positions) */
|
|
207
|
+
version?: string;
|
|
206
208
|
}
|
|
207
209
|
/**
|
|
208
210
|
* Data model for MarketDetailResponse
|
|
@@ -272,6 +274,8 @@ interface MarketMetadata {
|
|
|
272
274
|
neg_risk?: boolean;
|
|
273
275
|
/** Raw JSON array of outcome display names, e.g. ["Yes", "No"] */
|
|
274
276
|
outcomes?: [string, string];
|
|
277
|
+
/** Array of 2 on-chain position IDs corresponding to outcomes */
|
|
278
|
+
position_ids?: string[];
|
|
275
279
|
/** Full title question describing the market condition */
|
|
276
280
|
question?: string;
|
|
277
281
|
/** Source URL or oracle specification for resolution */
|
|
@@ -290,8 +294,10 @@ interface MarketMetadata {
|
|
|
290
294
|
start_date?: string;
|
|
291
295
|
/** Raw JSON array of topic tag URL slugs */
|
|
292
296
|
tags_slug?: string[];
|
|
293
|
-
/** Array of 2 ERC-1155 token IDs corresponding to outcomes */
|
|
297
|
+
/** Array of 2 ERC-1155 token IDs corresponding to outcomes (clobTokenIds) */
|
|
294
298
|
token_ids?: [string, string];
|
|
299
|
+
/** Polymarket protocol version: "v1" (CTF tokens) or "v2" (protocol v2 positions) */
|
|
300
|
+
version?: string;
|
|
295
301
|
}
|
|
296
302
|
/**
|
|
297
303
|
* Data model for MarketSettlementDetail
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polyedge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Official TypeScript/Node.js SDK for PolyEdge ultra-low latency Polymarket mempool trade streaming and real-time on-chain analytics API.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"homepage": "https://polyedge.dev",
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
48
|
-
"url": "https://github.com/PolyEdgeDev/polyedge-ts.git"
|
|
48
|
+
"url": "git+https://github.com/PolyEdgeDev/polyedge-ts.git"
|
|
49
49
|
},
|
|
50
50
|
"bugs": {
|
|
51
51
|
"url": "https://github.com/PolyEdgeDev/polyedge-ts/issues"
|