@paystack/inline-js 2.22.4-dev.1 → 2.22.4-dev.2

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
@@ -1873,6 +1873,7 @@ var PaystackPop = (function () {
1873
1873
  inlineInstance = this;
1874
1874
  var resumableTransaction = findResumableTransaction(this.transactions, params);
1875
1875
  var transaction = resumableTransaction || new InlineTransaction(params);
1876
+ console.log('here 4', transaction);
1876
1877
  return new Promise(function (resolve, reject) {
1877
1878
  transaction.requestInline().then(function (response) {
1878
1879
  var canPayWithApplePay = isAppleOS() && canUseApplePay(response.channels);
@@ -2058,6 +2059,7 @@ var PaystackPop = (function () {
2058
2059
 
2059
2060
  if (inlineTransaction && transactionData) {
2060
2061
  this.transactions.push(inlineTransaction);
2062
+ console.log('here 1', inlineTransaction);
2061
2063
 
2062
2064
  if (!this.isDeprecatedApi) {
2063
2065
  var _inlineTransaction$ur;
@@ -2077,6 +2079,7 @@ var PaystackPop = (function () {
2077
2079
 
2078
2080
  if (resumableTransaction) {
2079
2081
  resumableTransaction.isActive = true;
2082
+ console.log('here 2', inlineTransaction);
2080
2083
 
2081
2084
  if (!this.isDeprecatedApi) {
2082
2085
  var _resumableTransaction;
@@ -2098,6 +2101,7 @@ var PaystackPop = (function () {
2098
2101
  this.transactions.push(transaction);
2099
2102
 
2100
2103
  if (!this.isDeprecatedApi) {
2104
+ console.log('here 3', inlineTransaction);
2101
2105
  this.open(params, preload);
2102
2106
  }
2103
2107
 
package/es/inline.js CHANGED
@@ -1870,6 +1870,7 @@ var Inline = /*#__PURE__*/function () {
1870
1870
  inlineInstance = this;
1871
1871
  var resumableTransaction = findResumableTransaction(this.transactions, params);
1872
1872
  var transaction = resumableTransaction || new InlineTransaction(params);
1873
+ console.log('here 4', transaction);
1873
1874
  return new Promise(function (resolve, reject) {
1874
1875
  transaction.requestInline().then(function (response) {
1875
1876
  var canPayWithApplePay = isAppleOS() && canUseApplePay(response.channels);
@@ -2055,6 +2056,7 @@ var Inline = /*#__PURE__*/function () {
2055
2056
 
2056
2057
  if (inlineTransaction && transactionData) {
2057
2058
  this.transactions.push(inlineTransaction);
2059
+ console.log('here 1', inlineTransaction);
2058
2060
 
2059
2061
  if (!this.isDeprecatedApi) {
2060
2062
  var _inlineTransaction$ur;
@@ -2074,6 +2076,7 @@ var Inline = /*#__PURE__*/function () {
2074
2076
 
2075
2077
  if (resumableTransaction) {
2076
2078
  resumableTransaction.isActive = true;
2079
+ console.log('here 2', inlineTransaction);
2077
2080
 
2078
2081
  if (!this.isDeprecatedApi) {
2079
2082
  var _resumableTransaction;
@@ -2095,6 +2098,7 @@ var Inline = /*#__PURE__*/function () {
2095
2098
  this.transactions.push(transaction);
2096
2099
 
2097
2100
  if (!this.isDeprecatedApi) {
2101
+ console.log('here 3', inlineTransaction);
2098
2102
  this.open(params, preload);
2099
2103
  }
2100
2104
 
package/lib/inline.js CHANGED
@@ -1872,6 +1872,7 @@ var Inline = /*#__PURE__*/function () {
1872
1872
  inlineInstance = this;
1873
1873
  var resumableTransaction = findResumableTransaction(this.transactions, params);
1874
1874
  var transaction = resumableTransaction || new InlineTransaction(params);
1875
+ console.log('here 4', transaction);
1875
1876
  return new Promise(function (resolve, reject) {
1876
1877
  transaction.requestInline().then(function (response) {
1877
1878
  var canPayWithApplePay = isAppleOS() && canUseApplePay(response.channels);
@@ -2057,6 +2058,7 @@ var Inline = /*#__PURE__*/function () {
2057
2058
 
2058
2059
  if (inlineTransaction && transactionData) {
2059
2060
  this.transactions.push(inlineTransaction);
2061
+ console.log('here 1', inlineTransaction);
2060
2062
 
2061
2063
  if (!this.isDeprecatedApi) {
2062
2064
  var _inlineTransaction$ur;
@@ -2076,6 +2078,7 @@ var Inline = /*#__PURE__*/function () {
2076
2078
 
2077
2079
  if (resumableTransaction) {
2078
2080
  resumableTransaction.isActive = true;
2081
+ console.log('here 2', inlineTransaction);
2079
2082
 
2080
2083
  if (!this.isDeprecatedApi) {
2081
2084
  var _resumableTransaction;
@@ -2097,6 +2100,7 @@ var Inline = /*#__PURE__*/function () {
2097
2100
  this.transactions.push(transaction);
2098
2101
 
2099
2102
  if (!this.isDeprecatedApi) {
2103
+ console.log('here 3', inlineTransaction);
2100
2104
  this.open(params, preload);
2101
2105
  }
2102
2106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.22.4-dev.1",
3
+ "version": "2.22.4-dev.2",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "main": "lib/inline.js",
6
6
  "module": "es/inline.js",