@paystack/checkout-js 1.28.0-dev.6 → 1.28.0-dev.7

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
@@ -21190,7 +21190,7 @@ var Paystack = (function (exports) {
21190
21190
  }
21191
21191
  };
21192
21192
 
21193
- var PreauthorisationAPI = {
21193
+ var PreauthorizationAPI = {
21194
21194
  getByAccessCode: function getByAccessCode(accessCode) {
21195
21195
  var language = getLanguage();
21196
21196
 
@@ -21357,7 +21357,7 @@ var Paystack = (function (exports) {
21357
21357
  return this.saveLog();
21358
21358
  },
21359
21359
  logAuthorized: function logAuthorized(channel) {
21360
- var message = 'Successfully preauthorised funds';
21360
+ var message = 'Successfully preauthorized funds';
21361
21361
 
21362
21362
  if (channel) {
21363
21363
  message += " with ".concat(channel);
@@ -21450,7 +21450,7 @@ var Paystack = (function (exports) {
21450
21450
  while (1) {
21451
21451
  switch (_context.prev = _context.next) {
21452
21452
  case 0:
21453
- return _context.abrupt("return", PreauthorisationAPI.requery({
21453
+ return _context.abrupt("return", PreauthorizationAPI.requery({
21454
21454
  reference: this.reference,
21455
21455
  publicKey: this.merchant.key
21456
21456
  }).then(function (response) {
@@ -21500,7 +21500,7 @@ var Paystack = (function (exports) {
21500
21500
  case 2:
21501
21501
  deviceFingerprint = _context.sent;
21502
21502
  _context.next = 5;
21503
- return PreauthorisationAPI.getByAccessCode(accessCode);
21503
+ return PreauthorizationAPI.getByAccessCode(accessCode);
21504
21504
 
21505
21505
  case 5:
21506
21506
  response = _context.sent;
package/es/checkout.js CHANGED
@@ -21187,7 +21187,7 @@ var CardPreauthorization = {
21187
21187
  }
21188
21188
  };
21189
21189
 
21190
- var PreauthorisationAPI = {
21190
+ var PreauthorizationAPI = {
21191
21191
  getByAccessCode: function getByAccessCode(accessCode) {
21192
21192
  var language = getLanguage();
21193
21193
 
@@ -21354,7 +21354,7 @@ var AnalyticsFunctions = {
21354
21354
  return this.saveLog();
21355
21355
  },
21356
21356
  logAuthorized: function logAuthorized(channel) {
21357
- var message = 'Successfully preauthorised funds';
21357
+ var message = 'Successfully preauthorized funds';
21358
21358
 
21359
21359
  if (channel) {
21360
21360
  message += " with ".concat(channel);
@@ -21447,7 +21447,7 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
21447
21447
  while (1) {
21448
21448
  switch (_context.prev = _context.next) {
21449
21449
  case 0:
21450
- return _context.abrupt("return", PreauthorisationAPI.requery({
21450
+ return _context.abrupt("return", PreauthorizationAPI.requery({
21451
21451
  reference: this.reference,
21452
21452
  publicKey: this.merchant.key
21453
21453
  }).then(function (response) {
@@ -21497,7 +21497,7 @@ var Preauthorization = {
21497
21497
  case 2:
21498
21498
  deviceFingerprint = _context.sent;
21499
21499
  _context.next = 5;
21500
- return PreauthorisationAPI.getByAccessCode(accessCode);
21500
+ return PreauthorizationAPI.getByAccessCode(accessCode);
21501
21501
 
21502
21502
  case 5:
21503
21503
  response = _context.sent;
package/lib/checkout.js CHANGED
@@ -21191,7 +21191,7 @@ var CardPreauthorization = {
21191
21191
  }
21192
21192
  };
21193
21193
 
21194
- var PreauthorisationAPI = {
21194
+ var PreauthorizationAPI = {
21195
21195
  getByAccessCode: function getByAccessCode(accessCode) {
21196
21196
  var language = getLanguage();
21197
21197
 
@@ -21358,7 +21358,7 @@ var AnalyticsFunctions = {
21358
21358
  return this.saveLog();
21359
21359
  },
21360
21360
  logAuthorized: function logAuthorized(channel) {
21361
- var message = 'Successfully preauthorised funds';
21361
+ var message = 'Successfully preauthorized funds';
21362
21362
 
21363
21363
  if (channel) {
21364
21364
  message += " with ".concat(channel);
@@ -21451,7 +21451,7 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
21451
21451
  while (1) {
21452
21452
  switch (_context.prev = _context.next) {
21453
21453
  case 0:
21454
- return _context.abrupt("return", PreauthorisationAPI.requery({
21454
+ return _context.abrupt("return", PreauthorizationAPI.requery({
21455
21455
  reference: this.reference,
21456
21456
  publicKey: this.merchant.key
21457
21457
  }).then(function (response) {
@@ -21501,7 +21501,7 @@ var Preauthorization = {
21501
21501
  case 2:
21502
21502
  deviceFingerprint = _context.sent;
21503
21503
  _context.next = 5;
21504
- return PreauthorisationAPI.getByAccessCode(accessCode);
21504
+ return PreauthorizationAPI.getByAccessCode(accessCode);
21505
21505
 
21506
21506
  case 5:
21507
21507
  response = _context.sent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.28.0-dev.6",
3
+ "version": "1.28.0-dev.7",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",