@paystack/checkout-js 1.57.0-beta.4 → 1.57.0-beta.5

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
@@ -21256,9 +21256,9 @@ var Paystack = (function (exports) {
21256
21256
  case 'auth':
21257
21257
  return this.logAuth(response.data.auth);
21258
21258
  case 'awaiting_ussd_confirmation':
21259
- // The customer has been shown the USSD prompt but has not dialled yet. Logging
21260
- // it gives the funnel denominator for the `pending` entry the confirmation
21261
- // event writes when they do.
21259
+ // The customer has been shown the USSD prompt but has not paid yet. Recording
21260
+ // it keeps the step in the transaction log instead of dropping through to
21261
+ // `default`, which is what tells us how many customers reach the prompt.
21262
21262
  return this.logAPIResponseMessage(response.message);
21263
21263
  default:
21264
21264
  return false;
package/es/checkout.js CHANGED
@@ -21253,9 +21253,9 @@ var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2({}, CapitecPayAnalytics
21253
21253
  case 'auth':
21254
21254
  return this.logAuth(response.data.auth);
21255
21255
  case 'awaiting_ussd_confirmation':
21256
- // The customer has been shown the USSD prompt but has not dialled yet. Logging
21257
- // it gives the funnel denominator for the `pending` entry the confirmation
21258
- // event writes when they do.
21256
+ // The customer has been shown the USSD prompt but has not paid yet. Recording
21257
+ // it keeps the step in the transaction log instead of dropping through to
21258
+ // `default`, which is what tells us how many customers reach the prompt.
21259
21259
  return this.logAPIResponseMessage(response.message);
21260
21260
  default:
21261
21261
  return false;
package/lib/checkout.js CHANGED
@@ -21257,9 +21257,9 @@ var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2({}, CapitecPayAnalytics
21257
21257
  case 'auth':
21258
21258
  return this.logAuth(response.data.auth);
21259
21259
  case 'awaiting_ussd_confirmation':
21260
- // The customer has been shown the USSD prompt but has not dialled yet. Logging
21261
- // it gives the funnel denominator for the `pending` entry the confirmation
21262
- // event writes when they do.
21260
+ // The customer has been shown the USSD prompt but has not paid yet. Recording
21261
+ // it keeps the step in the transaction log instead of dropping through to
21262
+ // `default`, which is what tells us how many customers reach the prompt.
21263
21263
  return this.logAPIResponseMessage(response.message);
21264
21264
  default:
21265
21265
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/checkout-js",
3
- "version": "1.57.0-beta.4",
3
+ "version": "1.57.0-beta.5",
4
4
  "description": "Client-side JS library for billing on Paystack",
5
5
  "main": "lib/checkout.js",
6
6
  "module": "es/checkout.js",