pmxt-core 2.43.10 → 2.43.11

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.
@@ -674,10 +674,6 @@ export declare abstract class PredictionMarketExchange {
674
674
  * Close all WebSocket connections and clean up resources.
675
675
  * Call this when you're done streaming to properly release connections.
676
676
  */
677
- /**
678
- * Test method for auto-generation verification.
679
- */
680
- testDummyMethod(param?: string): Promise<string>;
681
677
  close(): Promise<void>;
682
678
  /**
683
679
  * Find the same or related market on other venues. Two modes:
@@ -878,12 +878,6 @@ class PredictionMarketExchange {
878
878
  * Close all WebSocket connections and clean up resources.
879
879
  * Call this when you're done streaming to properly release connections.
880
880
  */
881
- /**
882
- * Test method for auto-generation verification.
883
- */
884
- async testDummyMethod(param) {
885
- throw new Error("Test method not implemented.");
886
- }
887
881
  async close() {
888
882
  // Default implementation: no-op
889
883
  // Exchanges with WebSocket support should override this
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/kalshi/Kalshi.yaml
3
- * Generated at: 2026-05-23T11:16:20.597Z
3
+ * Generated at: 2026-05-23T11:49:57.982Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const kalshiApiSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.kalshiApiSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/kalshi/Kalshi.yaml
6
- * Generated at: 2026-05-23T11:16:20.597Z
6
+ * Generated at: 2026-05-23T11:49:57.982Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.kalshiApiSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/limitless/Limitless.yaml
3
- * Generated at: 2026-05-23T11:16:20.638Z
3
+ * Generated at: 2026-05-23T11:49:58.021Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const limitlessApiSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.limitlessApiSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/limitless/Limitless.yaml
6
- * Generated at: 2026-05-23T11:16:20.638Z
6
+ * Generated at: 2026-05-23T11:49:58.021Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.limitlessApiSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/myriad/myriad.yaml
3
- * Generated at: 2026-05-23T11:16:20.649Z
3
+ * Generated at: 2026-05-23T11:49:58.034Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const myriadApiSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.myriadApiSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/myriad/myriad.yaml
6
- * Generated at: 2026-05-23T11:16:20.649Z
6
+ * Generated at: 2026-05-23T11:49:58.034Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.myriadApiSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/opinion/opinion-openapi.yaml
3
- * Generated at: 2026-05-23T11:16:20.654Z
3
+ * Generated at: 2026-05-23T11:49:58.038Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const opinionApiSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.opinionApiSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/opinion/opinion-openapi.yaml
6
- * Generated at: 2026-05-23T11:16:20.654Z
6
+ * Generated at: 2026-05-23T11:49:58.038Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.opinionApiSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/polymarket/PolymarketClobAPI.yaml
3
- * Generated at: 2026-05-23T11:16:20.604Z
3
+ * Generated at: 2026-05-23T11:49:57.988Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const polymarketClobSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.polymarketClobSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/polymarket/PolymarketClobAPI.yaml
6
- * Generated at: 2026-05-23T11:16:20.604Z
6
+ * Generated at: 2026-05-23T11:49:57.988Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.polymarketClobSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/polymarket/Polymarket_Data_API.yaml
3
- * Generated at: 2026-05-23T11:16:20.619Z
3
+ * Generated at: 2026-05-23T11:49:58.001Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const polymarketDataSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.polymarketDataSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/polymarket/Polymarket_Data_API.yaml
6
- * Generated at: 2026-05-23T11:16:20.619Z
6
+ * Generated at: 2026-05-23T11:49:58.001Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.polymarketDataSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/polymarket/PolymarketGammaAPI.yaml
3
- * Generated at: 2026-05-23T11:16:20.616Z
3
+ * Generated at: 2026-05-23T11:49:57.998Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const polymarketGammaSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.polymarketGammaSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/polymarket/PolymarketGammaAPI.yaml
6
- * Generated at: 2026-05-23T11:16:20.616Z
6
+ * Generated at: 2026-05-23T11:49:57.998Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.polymarketGammaSpec = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/probable/probable.yaml
3
- * Generated at: 2026-05-23T11:16:20.642Z
3
+ * Generated at: 2026-05-23T11:49:58.029Z
4
4
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
5
5
  */
6
6
  export declare const probableApiSpec: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.probableApiSpec = void 0;
4
4
  /**
5
5
  * Auto-generated from /home/runner/work/pmxt/pmxt/core/specs/probable/probable.yaml
6
- * Generated at: 2026-05-23T11:16:20.642Z
6
+ * Generated at: 2026-05-23T11:49:58.029Z
7
7
  * Do not edit manually -- run "npm run fetch:openapi" to regenerate.
8
8
  */
9
9
  exports.probableApiSpec = {
@@ -409,16 +409,6 @@
409
409
  }
410
410
  ]
411
411
  },
412
- "testDummyMethod": {
413
- "verb": "post",
414
- "args": [
415
- {
416
- "name": "param",
417
- "kind": "string",
418
- "optional": true
419
- }
420
- ]
421
- },
422
412
  "close": {
423
413
  "verb": "post",
424
414
  "args": []
@@ -1364,39 +1364,6 @@ paths:
1364
1364
  description: >-
1365
1365
  Filter a list of events by criteria. Can filter by string query, structured criteria object, or custom filter
1366
1366
  function.
1367
- '/api/{exchange}/testDummyMethod':
1368
- post:
1369
- summary: Test Dummy Method
1370
- operationId: testDummyMethod
1371
- parameters:
1372
- - $ref: '#/components/parameters/ExchangeParam'
1373
- requestBody:
1374
- content:
1375
- application/json:
1376
- schema:
1377
- title: TestDummyMethodRequest
1378
- type: object
1379
- properties:
1380
- args:
1381
- type: array
1382
- maxItems: 1
1383
- items:
1384
- type: string
1385
- credentials:
1386
- $ref: '#/components/schemas/ExchangeCredentials'
1387
- responses:
1388
- '200':
1389
- description: Test Dummy Method response
1390
- content:
1391
- application/json:
1392
- schema:
1393
- allOf:
1394
- - $ref: '#/components/schemas/BaseResponse'
1395
- - type: object
1396
- properties:
1397
- data:
1398
- type: string
1399
- description: Test method for auto-generation verification.
1400
1367
  '/api/{exchange}/close':
1401
1368
  post:
1402
1369
  summary: Close
@@ -1423,6 +1390,9 @@ paths:
1423
1390
  application/json:
1424
1391
  schema:
1425
1392
  $ref: '#/components/schemas/BaseResponse'
1393
+ description: >-
1394
+ Close all WebSocket connections and clean up resources. Call this when you're done streaming to properly release
1395
+ connections.
1426
1396
  '/api/{exchange}/fetchMarketMatches':
1427
1397
  get:
1428
1398
  summary: Market Matches
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmxt-core",
3
- "version": "2.43.10",
3
+ "version": "2.43.11",
4
4
  "description": "pmxt is a unified prediction market data API. The ccxt for prediction markets.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,8 +29,8 @@
29
29
  "test": "jest -c jest.config.js",
30
30
  "server": "tsx watch src/server/index.ts",
31
31
  "server:prod": "node dist/server/index.js",
32
- "generate:sdk:python": "npx @openapitools/openapi-generator-cli generate -i src/server/openapi.yaml -g python -o ../sdks/python/generated --package-name pmxt_internal --additional-properties=projectName=pmxt-internal,packageVersion=2.43.10,library=urllib3",
33
- "generate:sdk:typescript": "npx @openapitools/openapi-generator-cli generate -i src/server/openapi.yaml -g typescript-fetch -o ../sdks/typescript/generated --additional-properties=npmName=pmxtjs,npmVersion=2.43.10,supportsES6=true,typescriptThreePlus=true && node ../sdks/typescript/scripts/fix-generated.js",
32
+ "generate:sdk:python": "npx @openapitools/openapi-generator-cli generate -i src/server/openapi.yaml -g python -o ../sdks/python/generated --package-name pmxt_internal --additional-properties=projectName=pmxt-internal,packageVersion=2.43.11,library=urllib3",
33
+ "generate:sdk:typescript": "npx @openapitools/openapi-generator-cli generate -i src/server/openapi.yaml -g typescript-fetch -o ../sdks/typescript/generated --additional-properties=npmName=pmxtjs,npmVersion=2.43.11,supportsES6=true,typescriptThreePlus=true && node ../sdks/typescript/scripts/fix-generated.js",
34
34
  "fetch:openapi": "node scripts/fetch-openapi-specs.js",
35
35
  "extract:jsdoc": "node ../scripts/extract-jsdoc.js",
36
36
  "generate:docs": "npm run extract:jsdoc && node ../scripts/generate-api-docs.js",