pmxtjs 2.50.6 → 2.50.8
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.
|
@@ -46,7 +46,7 @@ export function ensureHostedTradingSupported(client) {
|
|
|
46
46
|
if (!client.pmxtApiKey)
|
|
47
47
|
return;
|
|
48
48
|
if (!HOSTED_TRADING_VENUES.has(client.exchangeName)) {
|
|
49
|
-
throw new NotSupported(`Hosted trading is only supported for Polymarket and
|
|
49
|
+
throw new NotSupported(`Hosted trading is only supported for Polymarket, Opinion, and Limitless; ${client.exchangeName} is not supported with pmxtApiKey.`);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
@@ -53,7 +53,7 @@ function ensureHostedTradingSupported(client) {
|
|
|
53
53
|
if (!client.pmxtApiKey)
|
|
54
54
|
return;
|
|
55
55
|
if (!exports.HOSTED_TRADING_VENUES.has(client.exchangeName)) {
|
|
56
|
-
throw new errors_1.NotSupported(`Hosted trading is only supported for Polymarket and
|
|
56
|
+
throw new errors_1.NotSupported(`Hosted trading is only supported for Polymarket, Opinion, and Limitless; ${client.exchangeName} is not supported with pmxtApiKey.`);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
/**
|
package/generated/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmxtjs",
|
|
3
|
-
"version": "2.50.
|
|
3
|
+
"version": "2.50.8",
|
|
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.50.
|
|
46
|
+
"pmxt-core": "2.50.8",
|
|
47
47
|
"ws": "^8.18.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
package/pmxt/hosted-routing.ts
CHANGED
|
@@ -72,7 +72,7 @@ export function ensureHostedTradingSupported(client: HostedClientLike): void {
|
|
|
72
72
|
if (!client.pmxtApiKey) return;
|
|
73
73
|
if (!HOSTED_TRADING_VENUES.has(client.exchangeName)) {
|
|
74
74
|
throw new NotSupported(
|
|
75
|
-
`Hosted trading is only supported for Polymarket and
|
|
75
|
+
`Hosted trading is only supported for Polymarket, Opinion, and Limitless; ${client.exchangeName} is not supported with pmxtApiKey.`,
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
78
|
}
|