@taphubhq/sdk-core 0.25.0 → 0.25.2
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 +2 -1
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2353,9 +2353,10 @@ function createMqttProbe(monitor) {
|
|
|
2353
2353
|
return (event) => {
|
|
2354
2354
|
switch (event.kind) {
|
|
2355
2355
|
case "connect":
|
|
2356
|
-
case "reconnect":
|
|
2357
2356
|
monitor.notifyMqttConnect(event.rttMs);
|
|
2358
2357
|
return;
|
|
2358
|
+
case "reconnect":
|
|
2359
|
+
return;
|
|
2359
2360
|
case "disconnect":
|
|
2360
2361
|
monitor.notifyMqttDisconnect();
|
|
2361
2362
|
return;
|
package/dist/index.d.mts
CHANGED
|
@@ -656,6 +656,8 @@ interface MqttWireAcceptedBid {
|
|
|
656
656
|
gameUuid: string;
|
|
657
657
|
/** Pair id, e.g. "grid-ETH-USD". */
|
|
658
658
|
pairId?: string;
|
|
659
|
+
/** Display pair, e.g. "ETH/USD"; frozen at placement. */
|
|
660
|
+
pairName?: string;
|
|
659
661
|
currency: string;
|
|
660
662
|
amount: string;
|
|
661
663
|
coefficient: number;
|
|
@@ -821,6 +823,8 @@ interface MqttAcceptedBid {
|
|
|
821
823
|
gameUuid: string;
|
|
822
824
|
/** Pair id, e.g. "grid-ETH-USD". */
|
|
823
825
|
pairId?: string;
|
|
826
|
+
/** Display pair, e.g. "ETH/USD". Frozen at placement; used to label live trades. */
|
|
827
|
+
pairName?: string;
|
|
824
828
|
currency: string;
|
|
825
829
|
amount: string;
|
|
826
830
|
coefficient: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -656,6 +656,8 @@ interface MqttWireAcceptedBid {
|
|
|
656
656
|
gameUuid: string;
|
|
657
657
|
/** Pair id, e.g. "grid-ETH-USD". */
|
|
658
658
|
pairId?: string;
|
|
659
|
+
/** Display pair, e.g. "ETH/USD"; frozen at placement. */
|
|
660
|
+
pairName?: string;
|
|
659
661
|
currency: string;
|
|
660
662
|
amount: string;
|
|
661
663
|
coefficient: number;
|
|
@@ -821,6 +823,8 @@ interface MqttAcceptedBid {
|
|
|
821
823
|
gameUuid: string;
|
|
822
824
|
/** Pair id, e.g. "grid-ETH-USD". */
|
|
823
825
|
pairId?: string;
|
|
826
|
+
/** Display pair, e.g. "ETH/USD". Frozen at placement; used to label live trades. */
|
|
827
|
+
pairName?: string;
|
|
824
828
|
currency: string;
|
|
825
829
|
amount: string;
|
|
826
830
|
coefficient: number;
|
package/dist/index.js
CHANGED
|
@@ -2287,9 +2287,10 @@ function createMqttProbe(monitor) {
|
|
|
2287
2287
|
return (event) => {
|
|
2288
2288
|
switch (event.kind) {
|
|
2289
2289
|
case "connect":
|
|
2290
|
-
case "reconnect":
|
|
2291
2290
|
monitor.notifyMqttConnect(event.rttMs);
|
|
2292
2291
|
return;
|
|
2292
|
+
case "reconnect":
|
|
2293
|
+
return;
|
|
2293
2294
|
case "disconnect":
|
|
2294
2295
|
monitor.notifyMqttDisconnect();
|
|
2295
2296
|
return;
|