@paystack/inline-js 2.25.0-dev.8 → 2.25.0-dev.9

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
@@ -1993,7 +1993,7 @@ var PaystackPop = (function () {
1993
1993
  var _this4 = this;
1994
1994
  var paymentMethod = 'google pay';
1995
1995
  var transaction = this.activeTransaction();
1996
- if (transaction) {
1996
+ if (transaction && transaction.response) {
1997
1997
  if (this.isCharging) {
1998
1998
  return;
1999
1999
  }
@@ -2074,7 +2074,7 @@ var PaystackPop = (function () {
2074
2074
  var _this5 = this;
2075
2075
  var paymentMethod = 'apple pay';
2076
2076
  var transaction = this.activeTransaction();
2077
- if (transaction) {
2077
+ if (transaction && transaction.response) {
2078
2078
  if (this.isCharging) {
2079
2079
  return;
2080
2080
  }
package/es/inline.js CHANGED
@@ -1990,7 +1990,7 @@ var Inline = /*#__PURE__*/function () {
1990
1990
  var _this4 = this;
1991
1991
  var paymentMethod = 'google pay';
1992
1992
  var transaction = this.activeTransaction();
1993
- if (transaction) {
1993
+ if (transaction && transaction.response) {
1994
1994
  if (this.isCharging) {
1995
1995
  return;
1996
1996
  }
@@ -2071,7 +2071,7 @@ var Inline = /*#__PURE__*/function () {
2071
2071
  var _this5 = this;
2072
2072
  var paymentMethod = 'apple pay';
2073
2073
  var transaction = this.activeTransaction();
2074
- if (transaction) {
2074
+ if (transaction && transaction.response) {
2075
2075
  if (this.isCharging) {
2076
2076
  return;
2077
2077
  }
package/lib/inline.js CHANGED
@@ -1992,7 +1992,7 @@ var Inline = /*#__PURE__*/function () {
1992
1992
  var _this4 = this;
1993
1993
  var paymentMethod = 'google pay';
1994
1994
  var transaction = this.activeTransaction();
1995
- if (transaction) {
1995
+ if (transaction && transaction.response) {
1996
1996
  if (this.isCharging) {
1997
1997
  return;
1998
1998
  }
@@ -2073,7 +2073,7 @@ var Inline = /*#__PURE__*/function () {
2073
2073
  var _this5 = this;
2074
2074
  var paymentMethod = 'apple pay';
2075
2075
  var transaction = this.activeTransaction();
2076
- if (transaction) {
2076
+ if (transaction && transaction.response) {
2077
2077
  if (this.isCharging) {
2078
2078
  return;
2079
2079
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.25.0-dev.8",
3
+ "version": "2.25.0-dev.9",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800",
6
6
  "main": "lib/inline.js",