@paystack/inline-js 2.19.0-dev.2 → 2.19.0-dev.3

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.
package/dist/inline.js CHANGED
@@ -1481,7 +1481,6 @@ var PaystackPop = (function () {
1481
1481
  function getApplePayContent() {
1482
1482
  var wrapper = document.createElement('div');
1483
1483
  wrapper.classList.add('modal-wrapper');
1484
- wrapper.innerHTML = wrapper.innerHTML + secureByPaystackWhite + secureByPaystackGrey;
1485
1484
  wrapper.innerHTML = applePayMarkLight;
1486
1485
  var applePayDescription = document.createElement('p');
1487
1486
  applePayDescription.id = 'apple-pay-description';
@@ -1491,6 +1490,7 @@ var PaystackPop = (function () {
1491
1490
  paymentButtonContainer.id = 'payment-request-button';
1492
1491
  wrapper.appendChild(paymentButtonContainer);
1493
1492
  wrapper.appendChild(getOtherPaymentOptionsButton('More payment options'));
1493
+ wrapper.innerHTML = wrapper.innerHTML + secureByPaystackWhite + secureByPaystackGrey;
1494
1494
  return wrapper;
1495
1495
  }
1496
1496
  /*
package/es/inline.js CHANGED
@@ -1478,7 +1478,6 @@ function getOtherPaymentOptionsButton(text) {
1478
1478
  function getApplePayContent() {
1479
1479
  var wrapper = document.createElement('div');
1480
1480
  wrapper.classList.add('modal-wrapper');
1481
- wrapper.innerHTML = wrapper.innerHTML + secureByPaystackWhite + secureByPaystackGrey;
1482
1481
  wrapper.innerHTML = applePayMarkLight;
1483
1482
  var applePayDescription = document.createElement('p');
1484
1483
  applePayDescription.id = 'apple-pay-description';
@@ -1488,6 +1487,7 @@ function getApplePayContent() {
1488
1487
  paymentButtonContainer.id = 'payment-request-button';
1489
1488
  wrapper.appendChild(paymentButtonContainer);
1490
1489
  wrapper.appendChild(getOtherPaymentOptionsButton('More payment options'));
1490
+ wrapper.innerHTML = wrapper.innerHTML + secureByPaystackWhite + secureByPaystackGrey;
1491
1491
  return wrapper;
1492
1492
  }
1493
1493
  /*
package/lib/inline.js CHANGED
@@ -1480,7 +1480,6 @@ function getOtherPaymentOptionsButton(text) {
1480
1480
  function getApplePayContent() {
1481
1481
  var wrapper = document.createElement('div');
1482
1482
  wrapper.classList.add('modal-wrapper');
1483
- wrapper.innerHTML = wrapper.innerHTML + secureByPaystackWhite + secureByPaystackGrey;
1484
1483
  wrapper.innerHTML = applePayMarkLight;
1485
1484
  var applePayDescription = document.createElement('p');
1486
1485
  applePayDescription.id = 'apple-pay-description';
@@ -1490,6 +1489,7 @@ function getApplePayContent() {
1490
1489
  paymentButtonContainer.id = 'payment-request-button';
1491
1490
  wrapper.appendChild(paymentButtonContainer);
1492
1491
  wrapper.appendChild(getOtherPaymentOptionsButton('More payment options'));
1492
+ wrapper.innerHTML = wrapper.innerHTML + secureByPaystackWhite + secureByPaystackGrey;
1493
1493
  return wrapper;
1494
1494
  }
1495
1495
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.19.0-dev.2",
3
+ "version": "2.19.0-dev.3",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "main": "lib/inline.js",
6
6
  "module": "es/inline.js",