@taphubhq/sdk-core 0.25.1 → 0.25.3

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 CHANGED
@@ -1453,6 +1453,7 @@ function mapWireCandle(raw) {
1453
1453
  c: c.c
1454
1454
  };
1455
1455
  if (c.volatility !== void 0) result.volatility = c.volatility;
1456
+ if (c.slowVolatility !== void 0) result.slowVolatility = c.slowVolatility;
1456
1457
  if (c.coef_mults !== void 0) result.coefMults = c.coef_mults;
1457
1458
  if (c.coefMults !== void 0) result.coefMults = c.coefMults;
1458
1459
  return result;
@@ -2353,9 +2354,10 @@ function createMqttProbe(monitor) {
2353
2354
  return (event) => {
2354
2355
  switch (event.kind) {
2355
2356
  case "connect":
2356
- case "reconnect":
2357
2357
  monitor.notifyMqttConnect(event.rttMs);
2358
2358
  return;
2359
+ case "reconnect":
2360
+ return;
2359
2361
  case "disconnect":
2360
2362
  monitor.notifyMqttDisconnect();
2361
2363
  return;
package/dist/index.d.mts CHANGED
@@ -647,6 +647,8 @@ interface MqttWireCandle {
647
647
  l: number;
648
648
  c: number;
649
649
  volatility?: number;
650
+ /** SLOW σ — grid geometry only; `volatility` above (fast σ) prices coefficients. */
651
+ slowVolatility?: number;
650
652
  coef_mults?: number[];
651
653
  }
652
654
  interface MqttWireAcceptedBid {
@@ -808,6 +810,8 @@ interface MqttCandleEvent {
808
810
  l: number;
809
811
  c: number;
810
812
  volatility?: number;
813
+ /** SLOW σ — grid geometry only (cell-size ideal); fast σ in `volatility` prices coefficients. */
814
+ slowVolatility?: number;
811
815
  coefMults?: number[];
812
816
  }
813
817
  /**
package/dist/index.d.ts CHANGED
@@ -647,6 +647,8 @@ interface MqttWireCandle {
647
647
  l: number;
648
648
  c: number;
649
649
  volatility?: number;
650
+ /** SLOW σ — grid geometry only; `volatility` above (fast σ) prices coefficients. */
651
+ slowVolatility?: number;
650
652
  coef_mults?: number[];
651
653
  }
652
654
  interface MqttWireAcceptedBid {
@@ -808,6 +810,8 @@ interface MqttCandleEvent {
808
810
  l: number;
809
811
  c: number;
810
812
  volatility?: number;
813
+ /** SLOW σ — grid geometry only (cell-size ideal); fast σ in `volatility` prices coefficients. */
814
+ slowVolatility?: number;
811
815
  coefMults?: number[];
812
816
  }
813
817
  /**
package/dist/index.js CHANGED
@@ -1387,6 +1387,7 @@ function mapWireCandle(raw) {
1387
1387
  c: c.c
1388
1388
  };
1389
1389
  if (c.volatility !== void 0) result.volatility = c.volatility;
1390
+ if (c.slowVolatility !== void 0) result.slowVolatility = c.slowVolatility;
1390
1391
  if (c.coef_mults !== void 0) result.coefMults = c.coef_mults;
1391
1392
  if (c.coefMults !== void 0) result.coefMults = c.coefMults;
1392
1393
  return result;
@@ -2287,9 +2288,10 @@ function createMqttProbe(monitor) {
2287
2288
  return (event) => {
2288
2289
  switch (event.kind) {
2289
2290
  case "connect":
2290
- case "reconnect":
2291
2291
  monitor.notifyMqttConnect(event.rttMs);
2292
2292
  return;
2293
+ case "reconnect":
2294
+ return;
2293
2295
  case "disconnect":
2294
2296
  monitor.notifyMqttDisconnect();
2295
2297
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taphubhq/sdk-core",
3
- "version": "0.25.1",
3
+ "version": "0.25.3",
4
4
  "description": "Core SDK for building on the TabHub platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.cjs",