@paystack/checkout-js 1.19.0-dev.13 → 1.19.0-dev.15

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/es/checkout.js CHANGED
@@ -6404,7 +6404,7 @@ var devConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6404
6404
  paystackApiUrl: 'https://studio-api.paystack.co/',
6405
6405
  pusherKey: '1c7b262ee18455815893',
6406
6406
  pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js',
6407
- savedCardsApiUrl: 'https://saved-cards-api.paystack.studio/'
6407
+ savedCardsApiUrl: 'https://saved-cards-api.public.paystack.studio/'
6408
6408
  });
6409
6409
  var stagingConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6410
6410
  checkoutUrl: 'https://checkout-studio.paystack.com/',
@@ -6412,7 +6412,7 @@ var stagingConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6412
6412
  paystackApiUrl: 'https://studio-api.paystack.co/',
6413
6413
  pusherKey: '1c7b262ee18455815893',
6414
6414
  pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js',
6415
- savedCardsApiUrl: 'https://saved-cards-api.paystack.studio/'
6415
+ savedCardsApiUrl: 'https://saved-cards-api.public.paystack.studio/'
6416
6416
  });
6417
6417
  var productionConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6418
6418
  checkoutUrl: 'https://checkout.paystack.com/',
@@ -18567,7 +18567,7 @@ var CardAPI = {
18567
18567
  return ChargeResponses.parse(response.data);
18568
18568
  });
18569
18569
  },
18570
- requestOtpForSavedCards: function requestOtpForSavedCards(phoneNumber) {
18570
+ requestSavedCardsOTP: function requestSavedCardsOTP(phoneNumber) {
18571
18571
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
18572
18572
  var url, language, headers, _yield$axiosInstance$, data;
18573
18573
 
@@ -18914,8 +18914,8 @@ var CardCharge = {
18914
18914
  };
18915
18915
  return this.listenForCharge(listenerOptions, callback);
18916
18916
  },
18917
- requestOtpForSavedCards: function requestOtpForSavedCards(phoneNumber) {
18918
- return CardAPI.requestOtpForSavedCards(phoneNumber);
18917
+ requestSavedCardsOTP: function requestSavedCardsOTP(phoneNumber) {
18918
+ return CardAPI.requestSavedCardsOTP(phoneNumber);
18919
18919
  },
18920
18920
  verifySavedCardsOtp: function verifySavedCardsOtp(_ref4) {
18921
18921
  var _this9 = this;
package/lib/checkout.js CHANGED
@@ -6408,7 +6408,7 @@ var devConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6408
6408
  paystackApiUrl: 'https://studio-api.paystack.co/',
6409
6409
  pusherKey: '1c7b262ee18455815893',
6410
6410
  pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js',
6411
- savedCardsApiUrl: 'https://saved-cards-api.paystack.studio/'
6411
+ savedCardsApiUrl: 'https://saved-cards-api.public.paystack.studio/'
6412
6412
  });
6413
6413
  var stagingConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6414
6414
  checkoutUrl: 'https://checkout-studio.paystack.com/',
@@ -6416,7 +6416,7 @@ var stagingConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6416
6416
  paystackApiUrl: 'https://studio-api.paystack.co/',
6417
6417
  pusherKey: '1c7b262ee18455815893',
6418
6418
  pusherUrl: 'https://s3-eu-west-1.amazonaws.com/pstk-public-files/js/pusher.min.js',
6419
- savedCardsApiUrl: 'https://saved-cards-api.paystack.studio/'
6419
+ savedCardsApiUrl: 'https://saved-cards-api.public.paystack.studio/'
6420
6420
  });
6421
6421
  var productionConfig = _objectSpread2(_objectSpread2({}, config), {}, {
6422
6422
  checkoutUrl: 'https://checkout.paystack.com/',
@@ -18571,7 +18571,7 @@ var CardAPI = {
18571
18571
  return ChargeResponses.parse(response.data);
18572
18572
  });
18573
18573
  },
18574
- requestOtpForSavedCards: function requestOtpForSavedCards(phoneNumber) {
18574
+ requestSavedCardsOTP: function requestSavedCardsOTP(phoneNumber) {
18575
18575
  return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
18576
18576
  var url, language, headers, _yield$axiosInstance$, data;
18577
18577
 
@@ -18918,8 +18918,8 @@ var CardCharge = {
18918
18918
  };
18919
18919
  return this.listenForCharge(listenerOptions, callback);
18920
18920
  },
18921
- requestOtpForSavedCards: function requestOtpForSavedCards(phoneNumber) {
18922
- return CardAPI.requestOtpForSavedCards(phoneNumber);
18921
+ requestSavedCardsOTP: function requestSavedCardsOTP(phoneNumber) {
18922
+ return CardAPI.requestSavedCardsOTP(phoneNumber);
18923
18923
  },
18924
18924
  verifySavedCardsOtp: function verifySavedCardsOtp(_ref4) {
18925
18925
  var _this9 = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.19.0-dev.13",
3
+ "version": "1.19.0-dev.15",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",