gap-nodejs-sdk 1.0.187 → 1.0.188

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.
@@ -419,7 +419,6 @@ export default class CloverPaymentObject {
419
419
  const payment = retrievePaymentResponse.getPayment();
420
420
  this.retrievePaymentCallback = this.handleSuccessCallback(payment, this.retrievePaymentCallback);
421
421
  // console.log(`${payment.getResult()}: Payment ${this.pendingSaleRequest.getExternalId()} is complete.`, payment.getResult() === clover.payments.Result.SUCCESS);
422
- this.pendingSaleRequest = null; // The pending sale is complete.
423
422
  }
424
423
  else if (retrievePaymentResponse.getQueryStatus() === clover.remotepay.QueryStatus.IN_PROGRESS) {
425
424
  // payment either not found or in progress,
@@ -435,6 +434,7 @@ export default class CloverPaymentObject {
435
434
  else {
436
435
  this.resetDevice();
437
436
  }
437
+ this.pendingSaleRequest = null;
438
438
  // }
439
439
  // }
440
440
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gap-nodejs-sdk",
3
- "version": "1.0.187",
3
+ "version": "1.0.188",
4
4
  "description": "GCI App Platform Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",