gap-nodejs-sdk 1.0.185 → 1.0.186

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.
@@ -187,9 +187,9 @@ export default class CloverPaymentObject {
187
187
  this.paymentResponse = null;
188
188
  this.retrievePaymentCallback = callback;
189
189
  this.pendingSaleRequest = new clover.remotepay.RetrievePaymentRequest();
190
- this.pendingSaleRequest.setExternalId(retrieveInput.refId);
190
+ this.pendingSaleRequest.setExternalPaymentId(retrieveInput.refId);
191
191
  console.log({ message: "Sending retrieve", request: this.pendingSaleRequest });
192
- console.log(`Payment: ${this.pendingSaleRequest.getExternalId()} is in progress.`);
192
+ console.log(`Payment: ${this.pendingSaleRequest.getExternalPaymentId()} is in progress.`);
193
193
  // Send the retrieve to the device.
194
194
  (_a = this.cloverConnector) === null || _a === void 0 ? void 0 : _a.retrievePayment(this.pendingSaleRequest);
195
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gap-nodejs-sdk",
3
- "version": "1.0.185",
3
+ "version": "1.0.186",
4
4
  "description": "GCI App Platform Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",