gap-nodejs-sdk 1.0.302 → 1.0.303
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.
|
@@ -467,9 +467,8 @@ export default class CloverPaymentObject {
|
|
|
467
467
|
}
|
|
468
468
|
},
|
|
469
469
|
onResetDeviceResponse: (resetDeviceResponse) => {
|
|
470
|
-
var _a;
|
|
471
470
|
console.log(resetDeviceResponse);
|
|
472
|
-
|
|
471
|
+
// this.logger?.info(JSON.stringify(resetDeviceResponse));
|
|
473
472
|
this.resetDeviceCallback = this.handleSuccessCallback(true, this.resetDeviceCallback);
|
|
474
473
|
this.pendingSaleRequest = null;
|
|
475
474
|
// if (this.pendingSaleRequest) {
|
|
@@ -517,17 +516,15 @@ export default class CloverPaymentObject {
|
|
|
517
516
|
}
|
|
518
517
|
},
|
|
519
518
|
onDeviceError: (cloverDeviceErrorEvent) => {
|
|
520
|
-
var _a;
|
|
521
519
|
this.deviceError = cloverDeviceErrorEvent;
|
|
522
|
-
|
|
520
|
+
// this.logger?.info(JSON.stringify(cloverDeviceErrorEvent));
|
|
523
521
|
},
|
|
524
522
|
onDeviceDisconnected: () => {
|
|
525
523
|
this.deviceDisconnected = true;
|
|
526
524
|
},
|
|
527
525
|
onRetrieveDeviceStatusResponse: (response) => {
|
|
528
|
-
var _a;
|
|
529
526
|
this.retrieveDeviceStatusResponse = response;
|
|
530
|
-
|
|
527
|
+
// this.logger?.info(JSON.stringify(response));
|
|
531
528
|
}
|
|
532
529
|
});
|
|
533
530
|
}
|