@paystack/checkout-js 1.24.0-dev.4 → 1.24.0-dev.6

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/checkout.js CHANGED
@@ -11532,7 +11532,7 @@ var Paystack = (function (exports) {
11532
11532
  return axiosInstance.get(url, {
11533
11533
  headers: headers
11534
11534
  }).then(function (response) {
11535
- return ChargeResponses.parse(response.data);
11535
+ return response.data;
11536
11536
  });
11537
11537
  }
11538
11538
  };
@@ -20519,6 +20519,7 @@ var Paystack = (function (exports) {
20519
20519
 
20520
20520
  this.savedCardsTempAuthToken = null;
20521
20521
  this.savedCardsToken = null;
20522
+ this.reference = data.reference;
20522
20523
  /**
20523
20524
  * We initialize parameters we send to the API as empty strings
20524
20525
  * when we don't have them instead of null because the API expects
package/es/checkout.js CHANGED
@@ -11529,7 +11529,7 @@ var TransactionAPI = {
11529
11529
  return axiosInstance.get(url, {
11530
11530
  headers: headers
11531
11531
  }).then(function (response) {
11532
- return ChargeResponses.parse(response.data);
11532
+ return response.data;
11533
11533
  });
11534
11534
  }
11535
11535
  };
@@ -20516,6 +20516,7 @@ var TransactionInstance = /*#__PURE__*/function () {
20516
20516
 
20517
20517
  this.savedCardsTempAuthToken = null;
20518
20518
  this.savedCardsToken = null;
20519
+ this.reference = data.reference;
20519
20520
  /**
20520
20521
  * We initialize parameters we send to the API as empty strings
20521
20522
  * when we don't have them instead of null because the API expects
package/lib/checkout.js CHANGED
@@ -11533,7 +11533,7 @@ var TransactionAPI = {
11533
11533
  return axiosInstance.get(url, {
11534
11534
  headers: headers
11535
11535
  }).then(function (response) {
11536
- return ChargeResponses.parse(response.data);
11536
+ return response.data;
11537
11537
  });
11538
11538
  }
11539
11539
  };
@@ -20520,6 +20520,7 @@ var TransactionInstance = /*#__PURE__*/function () {
20520
20520
 
20521
20521
  this.savedCardsTempAuthToken = null;
20522
20522
  this.savedCardsToken = null;
20523
+ this.reference = data.reference;
20523
20524
  /**
20524
20525
  * We initialize parameters we send to the API as empty strings
20525
20526
  * when we don't have them instead of null because the API expects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.24.0-dev.4",
3
+ "version": "1.24.0-dev.6",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",