pmxtjs 2.48.3 → 2.48.4
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/esm/index.d.ts +4 -0
- package/dist/esm/index.js +3 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +5 -1
- package/generated/package.json +1 -1
- package/index.ts +4 -0
- package/package.json +2 -2
package/dist/esm/index.d.ts
CHANGED
|
@@ -20,9 +20,12 @@
|
|
|
20
20
|
import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock } from "./pmxt/client.js";
|
|
21
21
|
import { Router } from "./pmxt/router.js";
|
|
22
22
|
import { ServerManager } from "./pmxt/server-manager.js";
|
|
23
|
+
import { FeedClient } from "./pmxt/feed-client.js";
|
|
23
24
|
import * as models from "./pmxt/models.js";
|
|
24
25
|
import * as errors from "./pmxt/errors.js";
|
|
25
26
|
export { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock, PolymarketOptions } from "./pmxt/client.js";
|
|
27
|
+
export { FeedClient } from "./pmxt/feed-client.js";
|
|
28
|
+
export type { Ticker, Tickers, OHLCV, Market as FeedMarket, OracleRound, FeedClientOptions } from "./pmxt/feed-client.js";
|
|
26
29
|
export { Router } from "./pmxt/router.js";
|
|
27
30
|
export { ServerManager } from "./pmxt/server-manager.js";
|
|
28
31
|
export { HOSTED_URL, LOCAL_URL, ENV, resolvePmxtBaseUrl } from "./pmxt/constants.js";
|
|
@@ -93,6 +96,7 @@ declare const pmxt: {
|
|
|
93
96
|
Mock: typeof Mock;
|
|
94
97
|
Router: typeof Router;
|
|
95
98
|
ServerManager: typeof ServerManager;
|
|
99
|
+
FeedClient: typeof FeedClient;
|
|
96
100
|
server: {
|
|
97
101
|
readonly status: () => Promise<{
|
|
98
102
|
running: boolean;
|
package/dist/esm/index.js
CHANGED
|
@@ -20,9 +20,11 @@
|
|
|
20
20
|
import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock } from "./pmxt/client.js";
|
|
21
21
|
import { Router } from "./pmxt/router.js";
|
|
22
22
|
import { ServerManager } from "./pmxt/server-manager.js";
|
|
23
|
+
import { FeedClient } from "./pmxt/feed-client.js";
|
|
23
24
|
import * as models from "./pmxt/models.js";
|
|
24
25
|
import * as errors from "./pmxt/errors.js";
|
|
25
26
|
export { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock } from "./pmxt/client.js";
|
|
27
|
+
export { FeedClient } from "./pmxt/feed-client.js";
|
|
26
28
|
export { Router } from "./pmxt/router.js";
|
|
27
29
|
export { ServerManager } from "./pmxt/server-manager.js";
|
|
28
30
|
export { HOSTED_URL, LOCAL_URL, ENV, resolvePmxtBaseUrl } from "./pmxt/constants.js";
|
|
@@ -76,6 +78,7 @@ const pmxt = {
|
|
|
76
78
|
Mock,
|
|
77
79
|
Router,
|
|
78
80
|
ServerManager,
|
|
81
|
+
FeedClient,
|
|
79
82
|
server,
|
|
80
83
|
stopServer,
|
|
81
84
|
restartServer,
|
package/dist/index.d.ts
CHANGED
|
@@ -20,9 +20,12 @@
|
|
|
20
20
|
import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock } from "./pmxt/client.js";
|
|
21
21
|
import { Router } from "./pmxt/router.js";
|
|
22
22
|
import { ServerManager } from "./pmxt/server-manager.js";
|
|
23
|
+
import { FeedClient } from "./pmxt/feed-client.js";
|
|
23
24
|
import * as models from "./pmxt/models.js";
|
|
24
25
|
import * as errors from "./pmxt/errors.js";
|
|
25
26
|
export { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock, PolymarketOptions } from "./pmxt/client.js";
|
|
27
|
+
export { FeedClient } from "./pmxt/feed-client.js";
|
|
28
|
+
export type { Ticker, Tickers, OHLCV, Market as FeedMarket, OracleRound, FeedClientOptions } from "./pmxt/feed-client.js";
|
|
26
29
|
export { Router } from "./pmxt/router.js";
|
|
27
30
|
export { ServerManager } from "./pmxt/server-manager.js";
|
|
28
31
|
export { HOSTED_URL, LOCAL_URL, ENV, resolvePmxtBaseUrl } from "./pmxt/constants.js";
|
|
@@ -93,6 +96,7 @@ declare const pmxt: {
|
|
|
93
96
|
Mock: typeof Mock;
|
|
94
97
|
Router: typeof Router;
|
|
95
98
|
ServerManager: typeof ServerManager;
|
|
99
|
+
FeedClient: typeof FeedClient;
|
|
96
100
|
server: {
|
|
97
101
|
readonly status: () => Promise<{
|
|
98
102
|
running: boolean;
|
package/dist/index.js
CHANGED
|
@@ -55,10 +55,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
55
55
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
56
56
|
};
|
|
57
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
-
exports.server = exports.MarketList = exports.resolvePmxtBaseUrl = exports.ENV = exports.LOCAL_URL = exports.HOSTED_URL = exports.ServerManager = exports.Router = exports.Mock = exports.SuiBets = exports.Hyperliquid = exports.GeminiTitan = exports.PolymarketUS = exports.Smarkets = exports.Metaculus = exports.Opinion = exports.Baozi = exports.Probable = exports.Myriad = exports.Limitless = exports.KalshiDemo = exports.Kalshi = exports.Polymarket = exports.Exchange = void 0;
|
|
58
|
+
exports.server = exports.MarketList = exports.resolvePmxtBaseUrl = exports.ENV = exports.LOCAL_URL = exports.HOSTED_URL = exports.ServerManager = exports.Router = exports.FeedClient = exports.Mock = exports.SuiBets = exports.Hyperliquid = exports.GeminiTitan = exports.PolymarketUS = exports.Smarkets = exports.Metaculus = exports.Opinion = exports.Baozi = exports.Probable = exports.Myriad = exports.Limitless = exports.KalshiDemo = exports.Kalshi = exports.Polymarket = exports.Exchange = void 0;
|
|
59
59
|
const client_js_1 = require("./pmxt/client.js");
|
|
60
60
|
const router_js_1 = require("./pmxt/router.js");
|
|
61
61
|
const server_manager_js_1 = require("./pmxt/server-manager.js");
|
|
62
|
+
const feed_client_js_1 = require("./pmxt/feed-client.js");
|
|
62
63
|
const models = __importStar(require("./pmxt/models.js"));
|
|
63
64
|
const errors = __importStar(require("./pmxt/errors.js"));
|
|
64
65
|
var client_js_2 = require("./pmxt/client.js");
|
|
@@ -78,6 +79,8 @@ Object.defineProperty(exports, "GeminiTitan", { enumerable: true, get: function
|
|
|
78
79
|
Object.defineProperty(exports, "Hyperliquid", { enumerable: true, get: function () { return client_js_2.Hyperliquid; } });
|
|
79
80
|
Object.defineProperty(exports, "SuiBets", { enumerable: true, get: function () { return client_js_2.SuiBets; } });
|
|
80
81
|
Object.defineProperty(exports, "Mock", { enumerable: true, get: function () { return client_js_2.Mock; } });
|
|
82
|
+
var feed_client_js_2 = require("./pmxt/feed-client.js");
|
|
83
|
+
Object.defineProperty(exports, "FeedClient", { enumerable: true, get: function () { return feed_client_js_2.FeedClient; } });
|
|
81
84
|
var router_js_2 = require("./pmxt/router.js");
|
|
82
85
|
Object.defineProperty(exports, "Router", { enumerable: true, get: function () { return router_js_2.Router; } });
|
|
83
86
|
var server_manager_js_2 = require("./pmxt/server-manager.js");
|
|
@@ -138,6 +141,7 @@ const pmxt = {
|
|
|
138
141
|
Mock: client_js_1.Mock,
|
|
139
142
|
Router: router_js_1.Router,
|
|
140
143
|
ServerManager: server_manager_js_1.ServerManager,
|
|
144
|
+
FeedClient: feed_client_js_1.FeedClient,
|
|
141
145
|
server: exports.server,
|
|
142
146
|
stopServer,
|
|
143
147
|
restartServer,
|
package/generated/package.json
CHANGED
package/index.ts
CHANGED
|
@@ -22,10 +22,13 @@
|
|
|
22
22
|
import { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock } from "./pmxt/client.js";
|
|
23
23
|
import { Router } from "./pmxt/router.js";
|
|
24
24
|
import { ServerManager } from "./pmxt/server-manager.js";
|
|
25
|
+
import { FeedClient } from "./pmxt/feed-client.js";
|
|
25
26
|
import * as models from "./pmxt/models.js";
|
|
26
27
|
import * as errors from "./pmxt/errors.js";
|
|
27
28
|
|
|
28
29
|
export { Exchange, Polymarket, Kalshi, KalshiDemo, Limitless, Myriad, Probable, Baozi, Opinion, Metaculus, Smarkets, PolymarketUS, GeminiTitan, Hyperliquid, SuiBets, Mock, PolymarketOptions } from "./pmxt/client.js";
|
|
30
|
+
export { FeedClient } from "./pmxt/feed-client.js";
|
|
31
|
+
export type { Ticker, Tickers, OHLCV, Market as FeedMarket, OracleRound, FeedClientOptions } from "./pmxt/feed-client.js";
|
|
29
32
|
export { Router } from "./pmxt/router.js";
|
|
30
33
|
export { ServerManager } from "./pmxt/server-manager.js";
|
|
31
34
|
export { HOSTED_URL, LOCAL_URL, ENV, resolvePmxtBaseUrl } from "./pmxt/constants.js";
|
|
@@ -87,6 +90,7 @@ const pmxt = {
|
|
|
87
90
|
Mock,
|
|
88
91
|
Router,
|
|
89
92
|
ServerManager,
|
|
93
|
+
FeedClient,
|
|
90
94
|
server,
|
|
91
95
|
stopServer,
|
|
92
96
|
restartServer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmxtjs",
|
|
3
|
-
"version": "2.48.
|
|
3
|
+
"version": "2.48.4",
|
|
4
4
|
"description": "Unified prediction market data API - The ccxt for prediction markets",
|
|
5
5
|
"author": "PMXT Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"unified"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"pmxt-core": "2.48.
|
|
46
|
+
"pmxt-core": "2.48.4",
|
|
47
47
|
"ws": "^8.18.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|