@spot-flow/checkout-inline-js 0.1.49-dev.7 → 0.1.49-dev.8

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.
@@ -38027,11 +38027,12 @@ class ba {
38027
38027
  d(this, "token");
38028
38028
  d(this, "currency");
38029
38029
  d(this, "paymentResponse");
38030
+ d(this, "localCurrency");
38030
38031
  // private paymentResponseHeaders: Headers;
38031
38032
  d(this, "retryingPayment");
38032
38033
  d(this, "isMaxRetriesReached");
38033
38034
  d(this, "errorText");
38034
- this.container = e.container, this.onAction = e.onAction, this.onVerify = e.onVerify, this.amount = e.amount, this.currency = e.currency, this.restartTransactionProcess = e.restartTransactionProcess, this.paymentResponse = {}, this.token = e.token, this.reference = e.reference, this.callBackUrl = e.callBackUrl, this.customer = e.customer, this.metadata = e.metadata, this.retryingPayment = e.retryingPayment, this.warningError = new nn({
38035
+ this.container = e.container, this.onAction = e.onAction, this.onVerify = e.onVerify, this.amount = e.amount, this.currency = e.currency, this.restartTransactionProcess = e.restartTransactionProcess, this.paymentResponse = {}, this.token = e.token, this.reference = e.reference, this.callBackUrl = e.callBackUrl, this.customer = e.customer, this.metadata = e.metadata, this.retryingPayment = e.retryingPayment, this.localCurrency = e.localCurrency, this.warningError = new nn({
38035
38036
  container: this.container,
38036
38037
  onAction: this.restartTransactionProcess.bind(this)
38037
38038
  }), this.merchantKey = e.merchantKey, this.url = e.url, this.rdtCode = e.rdtCode, this._currentStep = 1, this.isMaxRetriesReached = !1, this.errorText = "";
@@ -38210,6 +38211,7 @@ class ba {
38210
38211
  callBackUrl: this.callBackUrl,
38211
38212
  metadata: this.metadata,
38212
38213
  isCheckout: !0,
38214
+ ...this.localCurrency && { localCurrency: this.localCurrency },
38213
38215
  deviceInformation: a,
38214
38216
  ...((l = this.merchantPlanDetail) == null ? void 0 : l.taxQuoteId) && {
38215
38217
  taxQuoteId: (c = this.merchantPlanDetail) == null ? void 0 : c.taxQuoteId
@@ -38602,7 +38604,8 @@ class Eu {
38602
38604
  reference: this.reference,
38603
38605
  retryingPayment: this.retryingPayment,
38604
38606
  token: this.token,
38605
- totalAmount: this.totalAmount
38607
+ totalAmount: this.totalAmount,
38608
+ localCurrency: this.localCurrency
38606
38609
  }), this.stableCoinsForm.renderComponent();
38607
38610
  break;
38608
38611
  case 2:
@@ -38700,7 +38703,8 @@ class Eu {
38700
38703
  reference: this.reference,
38701
38704
  retryingPayment: this.retryingPayment,
38702
38705
  token: this.token,
38703
- totalAmount: this.totalAmount
38706
+ totalAmount: this.totalAmount,
38707
+ localCurrency: this.localCurrency
38704
38708
  }), this.stableCoinsForm.renderComponent();
38705
38709
  break;
38706
38710
  }
@@ -39377,7 +39381,8 @@ class Du {
39377
39381
  customer: t || this.customerDetails,
39378
39382
  reference: this.reference,
39379
39383
  retryingPayment: this.retryingPayment,
39380
- localCurrency: this.localCurrency
39384
+ localCurrency: this.localCurrency,
39385
+ url: this.url
39381
39386
  });
39382
39387
  default:
39383
39388
  return null;