@paystack/checkout-js 1.49.0-dev.2 → 1.49.0-dev.3

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
@@ -22277,7 +22277,7 @@ var Paystack = (function (exports) {
22277
22277
  this.isListening = false;
22278
22278
  this.isTest = data.domain === 'test';
22279
22279
  this.deviceFingerprint = data.deviceFingerprint || null;
22280
- this.accessCode = data.access_code;
22280
+ this.accessCode = data.accessCode || null;
22281
22281
  this.merchant = {
22282
22282
  id: data.merchant_id,
22283
22283
  logo: data.merchant_logo,
@@ -22337,7 +22337,8 @@ var Paystack = (function (exports) {
22337
22337
  case 5:
22338
22338
  response = _context.sent;
22339
22339
  return _context.abrupt("return", response && Object.seal(new PreauthorizationInstance(_objectSpread2(_objectSpread2({}, response.data), {}, {
22340
- deviceFingerprint: deviceFingerprint
22340
+ deviceFingerprint: deviceFingerprint,
22341
+ accessCode: accessCode
22341
22342
  }))));
22342
22343
  case 7:
22343
22344
  case "end":
package/es/checkout.js CHANGED
@@ -22274,7 +22274,7 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
22274
22274
  this.isListening = false;
22275
22275
  this.isTest = data.domain === 'test';
22276
22276
  this.deviceFingerprint = data.deviceFingerprint || null;
22277
- this.accessCode = data.access_code;
22277
+ this.accessCode = data.accessCode || null;
22278
22278
  this.merchant = {
22279
22279
  id: data.merchant_id,
22280
22280
  logo: data.merchant_logo,
@@ -22334,7 +22334,8 @@ var Preauthorization = {
22334
22334
  case 5:
22335
22335
  response = _context.sent;
22336
22336
  return _context.abrupt("return", response && Object.seal(new PreauthorizationInstance(_objectSpread2(_objectSpread2({}, response.data), {}, {
22337
- deviceFingerprint: deviceFingerprint
22337
+ deviceFingerprint: deviceFingerprint,
22338
+ accessCode: accessCode
22338
22339
  }))));
22339
22340
  case 7:
22340
22341
  case "end":
package/lib/checkout.js CHANGED
@@ -22278,7 +22278,7 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
22278
22278
  this.isListening = false;
22279
22279
  this.isTest = data.domain === 'test';
22280
22280
  this.deviceFingerprint = data.deviceFingerprint || null;
22281
- this.accessCode = data.access_code;
22281
+ this.accessCode = data.accessCode || null;
22282
22282
  this.merchant = {
22283
22283
  id: data.merchant_id,
22284
22284
  logo: data.merchant_logo,
@@ -22338,7 +22338,8 @@ var Preauthorization = {
22338
22338
  case 5:
22339
22339
  response = _context.sent;
22340
22340
  return _context.abrupt("return", response && Object.seal(new PreauthorizationInstance(_objectSpread2(_objectSpread2({}, response.data), {}, {
22341
- deviceFingerprint: deviceFingerprint
22341
+ deviceFingerprint: deviceFingerprint,
22342
+ accessCode: accessCode
22342
22343
  }))));
22343
22344
  case 7:
22344
22345
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.49.0-dev.2",
3
+ "version": "1.49.0-dev.3",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",