@paystack/checkout-js 1.21.0-dev.7 → 1.22.0-dev.1

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
@@ -21052,6 +21052,7 @@ var Paystack = (function (exports) {
21052
21052
  this.customer = data.customer;
21053
21053
  this.channels = data.channels || ['card'];
21054
21054
  this.isListening = false;
21055
+ this.isTest = data.domain === 'test';
21055
21056
  this.merchant = {
21056
21057
  id: data.merchant_id,
21057
21058
  logo: data.merchant_logo,
package/es/checkout.js CHANGED
@@ -21049,6 +21049,7 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
21049
21049
  this.customer = data.customer;
21050
21050
  this.channels = data.channels || ['card'];
21051
21051
  this.isListening = false;
21052
+ this.isTest = data.domain === 'test';
21052
21053
  this.merchant = {
21053
21054
  id: data.merchant_id,
21054
21055
  logo: data.merchant_logo,
package/lib/checkout.js CHANGED
@@ -21053,6 +21053,7 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
21053
21053
  this.customer = data.customer;
21054
21054
  this.channels = data.channels || ['card'];
21055
21055
  this.isListening = false;
21056
+ this.isTest = data.domain === 'test';
21056
21057
  this.merchant = {
21057
21058
  id: data.merchant_id,
21058
21059
  logo: data.merchant_logo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.21.0-dev.7",
3
+ "version": "1.22.0-dev.1",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",