@paystack/checkout-js 1.50.2-dev.2 → 1.50.2-dev.4

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
@@ -20296,17 +20296,16 @@ var Paystack = (function (exports) {
20296
20296
  voucher = _ref.voucher,
20297
20297
  registrationToken = _ref.registrationToken;
20298
20298
  this.logAttempt('mobile money');
20299
- var params = buildMobileMoneyParams(_objectSpread2(_objectSpread2({
20299
+ var params = buildMobileMoneyParams(_objectSpread2({
20300
20300
  provider: provider,
20301
20301
  voucher: voucher,
20302
- registrationToken: registrationToken
20302
+ registrationToken: registrationToken,
20303
+ id: this.id,
20304
+ deviceFingerprint: this.deviceFingerprint
20303
20305
  }, phoneNumber ? {
20304
20306
  phoneNumber: phoneNumber
20305
20307
  } : {
20306
20308
  accountNumber: accountNumber
20307
- }), {}, {
20308
- id: this.id,
20309
- deviceFingerprint: this.deviceFingerprint
20310
20309
  }));
20311
20310
  if (phoneNumber) {
20312
20311
  return validate$1(phoneNumber).then(function () {
package/es/checkout.js CHANGED
@@ -20293,17 +20293,16 @@ var MobileMoneyCharge = {
20293
20293
  voucher = _ref.voucher,
20294
20294
  registrationToken = _ref.registrationToken;
20295
20295
  this.logAttempt('mobile money');
20296
- var params = buildMobileMoneyParams(_objectSpread2(_objectSpread2({
20296
+ var params = buildMobileMoneyParams(_objectSpread2({
20297
20297
  provider: provider,
20298
20298
  voucher: voucher,
20299
- registrationToken: registrationToken
20299
+ registrationToken: registrationToken,
20300
+ id: this.id,
20301
+ deviceFingerprint: this.deviceFingerprint
20300
20302
  }, phoneNumber ? {
20301
20303
  phoneNumber: phoneNumber
20302
20304
  } : {
20303
20305
  accountNumber: accountNumber
20304
- }), {}, {
20305
- id: this.id,
20306
- deviceFingerprint: this.deviceFingerprint
20307
20306
  }));
20308
20307
  if (phoneNumber) {
20309
20308
  return validate$1(phoneNumber).then(function () {
package/lib/checkout.js CHANGED
@@ -20297,17 +20297,16 @@ var MobileMoneyCharge = {
20297
20297
  voucher = _ref.voucher,
20298
20298
  registrationToken = _ref.registrationToken;
20299
20299
  this.logAttempt('mobile money');
20300
- var params = buildMobileMoneyParams(_objectSpread2(_objectSpread2({
20300
+ var params = buildMobileMoneyParams(_objectSpread2({
20301
20301
  provider: provider,
20302
20302
  voucher: voucher,
20303
- registrationToken: registrationToken
20303
+ registrationToken: registrationToken,
20304
+ id: this.id,
20305
+ deviceFingerprint: this.deviceFingerprint
20304
20306
  }, phoneNumber ? {
20305
20307
  phoneNumber: phoneNumber
20306
20308
  } : {
20307
20309
  accountNumber: accountNumber
20308
- }), {}, {
20309
- id: this.id,
20310
- deviceFingerprint: this.deviceFingerprint
20311
20310
  }));
20312
20311
  if (phoneNumber) {
20313
20312
  return validate$1(phoneNumber).then(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.50.2-dev.2",
3
+ "version": "1.50.2-dev.4",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",