@paystack/checkout-js 1.29.0-dev.2 → 1.29.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
@@ -19132,16 +19132,18 @@ var Paystack = (function (exports) {
19132
19132
  };
19133
19133
  return this.listenForCharge(listenerOptions, callback);
19134
19134
  },
19135
- sendSavedCardsOTP: function sendSavedCardsOTP(_ref4) {
19136
- var _this9 = this;
19135
+ sendSavedCardsOTP: function sendSavedCardsOTP() {
19136
+ var _arguments = arguments,
19137
+ _this9 = this;
19137
19138
 
19138
19139
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
19139
- var phone, channels, email, response;
19140
+ var _ref4, phone, channels, email, response;
19141
+
19140
19142
  return regeneratorRuntime.wrap(function _callee$(_context) {
19141
19143
  while (1) {
19142
19144
  switch (_context.prev = _context.next) {
19143
19145
  case 0:
19144
- phone = _ref4.phone, channels = _ref4.channels, email = _ref4.email;
19146
+ _ref4 = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : {}, phone = _ref4.phone, channels = _ref4.channels, email = _ref4.email;
19145
19147
  _context.prev = 1;
19146
19148
 
19147
19149
  _this9.logAuth(savedCardMethods.authentication);
package/es/checkout.js CHANGED
@@ -19129,16 +19129,18 @@ var CardCharge = {
19129
19129
  };
19130
19130
  return this.listenForCharge(listenerOptions, callback);
19131
19131
  },
19132
- sendSavedCardsOTP: function sendSavedCardsOTP(_ref4) {
19133
- var _this9 = this;
19132
+ sendSavedCardsOTP: function sendSavedCardsOTP() {
19133
+ var _arguments = arguments,
19134
+ _this9 = this;
19134
19135
 
19135
19136
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
19136
- var phone, channels, email, response;
19137
+ var _ref4, phone, channels, email, response;
19138
+
19137
19139
  return regeneratorRuntime.wrap(function _callee$(_context) {
19138
19140
  while (1) {
19139
19141
  switch (_context.prev = _context.next) {
19140
19142
  case 0:
19141
- phone = _ref4.phone, channels = _ref4.channels, email = _ref4.email;
19143
+ _ref4 = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : {}, phone = _ref4.phone, channels = _ref4.channels, email = _ref4.email;
19142
19144
  _context.prev = 1;
19143
19145
 
19144
19146
  _this9.logAuth(savedCardMethods.authentication);
package/lib/checkout.js CHANGED
@@ -19133,16 +19133,18 @@ var CardCharge = {
19133
19133
  };
19134
19134
  return this.listenForCharge(listenerOptions, callback);
19135
19135
  },
19136
- sendSavedCardsOTP: function sendSavedCardsOTP(_ref4) {
19137
- var _this9 = this;
19136
+ sendSavedCardsOTP: function sendSavedCardsOTP() {
19137
+ var _arguments = arguments,
19138
+ _this9 = this;
19138
19139
 
19139
19140
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
19140
- var phone, channels, email, response;
19141
+ var _ref4, phone, channels, email, response;
19142
+
19141
19143
  return regeneratorRuntime.wrap(function _callee$(_context) {
19142
19144
  while (1) {
19143
19145
  switch (_context.prev = _context.next) {
19144
19146
  case 0:
19145
- phone = _ref4.phone, channels = _ref4.channels, email = _ref4.email;
19147
+ _ref4 = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : {}, phone = _ref4.phone, channels = _ref4.channels, email = _ref4.email;
19146
19148
  _context.prev = 1;
19147
19149
 
19148
19150
  _this9.logAuth(savedCardMethods.authentication);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.29.0-dev.2",
3
+ "version": "1.29.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",