@gbozee/ultimate 0.0.2-196 → 0.0.2-198
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.cjs +6 -2
- package/dist/index.js +6 -2
- package/dist/mcp-server.cjs +6 -2
- package/dist/mcp-server.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -54430,7 +54430,9 @@ function decryptObject(encryptedString, password) {
|
|
|
54430
54430
|
}
|
|
54431
54431
|
async function initPocketBaseClient(proxy_credentials) {
|
|
54432
54432
|
const pb = new Client(proxy_credentials.host);
|
|
54433
|
-
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password
|
|
54433
|
+
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password, {
|
|
54434
|
+
autoRefreshThreshold: 30 * 60
|
|
54435
|
+
});
|
|
54434
54436
|
const customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
|
|
54435
54437
|
if (typeof pb === "object" && pb !== null) {
|
|
54436
54438
|
pb[customInspectSymbol] = function() {
|
|
@@ -59329,7 +59331,9 @@ async function cancelAllOrders(client, symbol, payload) {
|
|
|
59329
59331
|
console.log("cancelling", ordersToCancel);
|
|
59330
59332
|
await cancelOrders({
|
|
59331
59333
|
symbol,
|
|
59332
|
-
orders: ordersToCancel.map((x) => ({
|
|
59334
|
+
orders: ordersToCancel.map((x) => ({
|
|
59335
|
+
clientOrderId: x.clientOrderId
|
|
59336
|
+
})),
|
|
59333
59337
|
custom_client: client
|
|
59334
59338
|
});
|
|
59335
59339
|
}
|
package/dist/index.js
CHANGED
|
@@ -54367,7 +54367,9 @@ function decryptObject(encryptedString, password) {
|
|
|
54367
54367
|
}
|
|
54368
54368
|
async function initPocketBaseClient(proxy_credentials) {
|
|
54369
54369
|
const pb = new Client(proxy_credentials.host);
|
|
54370
|
-
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password
|
|
54370
|
+
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password, {
|
|
54371
|
+
autoRefreshThreshold: 30 * 60
|
|
54372
|
+
});
|
|
54371
54373
|
const customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
|
|
54372
54374
|
if (typeof pb === "object" && pb !== null) {
|
|
54373
54375
|
pb[customInspectSymbol] = function() {
|
|
@@ -59266,7 +59268,9 @@ async function cancelAllOrders(client, symbol, payload) {
|
|
|
59266
59268
|
console.log("cancelling", ordersToCancel);
|
|
59267
59269
|
await cancelOrders({
|
|
59268
59270
|
symbol,
|
|
59269
|
-
orders: ordersToCancel.map((x) => ({
|
|
59271
|
+
orders: ordersToCancel.map((x) => ({
|
|
59272
|
+
clientOrderId: x.clientOrderId
|
|
59273
|
+
})),
|
|
59270
59274
|
custom_client: client
|
|
59271
59275
|
});
|
|
59272
59276
|
}
|
package/dist/mcp-server.cjs
CHANGED
|
@@ -61123,7 +61123,9 @@ function decryptObject(encryptedString, password) {
|
|
|
61123
61123
|
}
|
|
61124
61124
|
async function initPocketBaseClient(proxy_credentials) {
|
|
61125
61125
|
const pb = new Client(proxy_credentials.host);
|
|
61126
|
-
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password
|
|
61126
|
+
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password, {
|
|
61127
|
+
autoRefreshThreshold: 30 * 60
|
|
61128
|
+
});
|
|
61127
61129
|
const customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
|
|
61128
61130
|
if (typeof pb === "object" && pb !== null) {
|
|
61129
61131
|
pb[customInspectSymbol] = function() {
|
|
@@ -65902,7 +65904,9 @@ async function cancelAllOrders(client, symbol, payload) {
|
|
|
65902
65904
|
console.log("cancelling", ordersToCancel);
|
|
65903
65905
|
await cancelOrders({
|
|
65904
65906
|
symbol,
|
|
65905
|
-
orders: ordersToCancel.map((x) => ({
|
|
65907
|
+
orders: ordersToCancel.map((x) => ({
|
|
65908
|
+
clientOrderId: x.clientOrderId
|
|
65909
|
+
})),
|
|
65906
65910
|
custom_client: client
|
|
65907
65911
|
});
|
|
65908
65912
|
}
|
package/dist/mcp-server.js
CHANGED
|
@@ -61096,7 +61096,9 @@ function decryptObject(encryptedString, password) {
|
|
|
61096
61096
|
}
|
|
61097
61097
|
async function initPocketBaseClient(proxy_credentials) {
|
|
61098
61098
|
const pb = new Client(proxy_credentials.host);
|
|
61099
|
-
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password
|
|
61099
|
+
await pb.collection("_superusers").authWithPassword(proxy_credentials.email, proxy_credentials.password, {
|
|
61100
|
+
autoRefreshThreshold: 30 * 60
|
|
61101
|
+
});
|
|
61100
61102
|
const customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
|
|
61101
61103
|
if (typeof pb === "object" && pb !== null) {
|
|
61102
61104
|
pb[customInspectSymbol] = function() {
|
|
@@ -65875,7 +65877,9 @@ async function cancelAllOrders(client, symbol, payload) {
|
|
|
65875
65877
|
console.log("cancelling", ordersToCancel);
|
|
65876
65878
|
await cancelOrders({
|
|
65877
65879
|
symbol,
|
|
65878
|
-
orders: ordersToCancel.map((x) => ({
|
|
65880
|
+
orders: ordersToCancel.map((x) => ({
|
|
65881
|
+
clientOrderId: x.clientOrderId
|
|
65882
|
+
})),
|
|
65879
65883
|
custom_client: client
|
|
65880
65884
|
});
|
|
65881
65885
|
}
|