@paystack/checkout-js 1.19.0-dev.19 → 1.19.0-dev.20

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This is the client-side JS library for billing customers with Paystack. It makes it easy to create custom, secure payment experiences for merchant apps and websites. Checkout JS handles payment data encryption and transmission, this allows merchants to collect sensitive information such as credit card information without violating compliance.
4
4
 
5
- It is used in Checkout, Paystack's proprietary checkout form .
5
+ It is used in Checkout, Paystack's proprietary checkout form.
6
6
 
7
7
  # Documentation
8
8
 
package/dist/checkout.js CHANGED
@@ -20707,6 +20707,12 @@ var Paystack = (function (exports) {
20707
20707
  this.channels = data.channels || ['card'];
20708
20708
  this.deviceFingerprint = data.deviceFingerprint || null;
20709
20709
  this.isListening = false;
20710
+ this.merchant = {
20711
+ id: data.merchant_id,
20712
+ logo: data.merchant_logo,
20713
+ name: data.merchant_name,
20714
+ key: data.merchant_key
20715
+ };
20710
20716
  loadPusher();
20711
20717
  /**
20712
20718
  * We initialize parameters we send to the API as empty strings
package/es/checkout.js CHANGED
@@ -20704,6 +20704,12 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
20704
20704
  this.channels = data.channels || ['card'];
20705
20705
  this.deviceFingerprint = data.deviceFingerprint || null;
20706
20706
  this.isListening = false;
20707
+ this.merchant = {
20708
+ id: data.merchant_id,
20709
+ logo: data.merchant_logo,
20710
+ name: data.merchant_name,
20711
+ key: data.merchant_key
20712
+ };
20707
20713
  loadPusher();
20708
20714
  /**
20709
20715
  * We initialize parameters we send to the API as empty strings
package/lib/checkout.js CHANGED
@@ -20708,6 +20708,12 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
20708
20708
  this.channels = data.channels || ['card'];
20709
20709
  this.deviceFingerprint = data.deviceFingerprint || null;
20710
20710
  this.isListening = false;
20711
+ this.merchant = {
20712
+ id: data.merchant_id,
20713
+ logo: data.merchant_logo,
20714
+ name: data.merchant_name,
20715
+ key: data.merchant_key
20716
+ };
20711
20717
  loadPusher();
20712
20718
  /**
20713
20719
  * We initialize parameters we send to the API as empty strings
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.19.0-dev.19",
3
+ "version": "1.19.0-dev.20",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",