@aptos-scp/scp-component-store-selling-features-domain-model 2.7.0 → 2.7.1

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.
@@ -340,9 +340,10 @@ class TenderType {
340
340
  return tenderType;
341
341
  }
342
342
  signatureRequired(tenderAmount, authResponse) {
343
+ var _a;
343
344
  let sigRequired = false;
344
345
  //if the auth type is updateAuthorization then use signatureCapturePolicyForCallForAuth
345
- const signatureCapturePolicy = authResponse.requestType === scp_types_commerce_devices_1.PaymentRequestType.UpdateAuthorization
346
+ const signatureCapturePolicy = ((_a = authResponse) === null || _a === void 0 ? void 0 : _a.requestType) === scp_types_commerce_devices_1.PaymentRequestType.UpdateAuthorization
346
347
  ? this.signatureCapturePolicyForCallForAuth
347
348
  : this.signatureCapturePolicy;
348
349
  switch (signatureCapturePolicy) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-store-selling-features-domain-model",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE.md",