@paystack/inline-js 2.22.4-dev.5 → 2.22.4-dev.6

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/inline.js CHANGED
@@ -2394,7 +2394,8 @@ var PaystackPop = (function () {
2394
2394
  // : urlParameters;
2395
2395
 
2396
2396
  var params = response ? {
2397
- accessCode: response.access_code
2397
+ accessCode: response.access_code,
2398
+ language: urlParameters === null || urlParameters === void 0 ? void 0 : urlParameters.language
2398
2399
  } : urlParameters;
2399
2400
  notifyIframeToUpdateURL({
2400
2401
  checkoutIframe: checkoutIframe,
package/es/inline.js CHANGED
@@ -2391,7 +2391,8 @@ var Inline = /*#__PURE__*/function () {
2391
2391
  // : urlParameters;
2392
2392
 
2393
2393
  var params = response ? {
2394
- accessCode: response.access_code
2394
+ accessCode: response.access_code,
2395
+ language: urlParameters === null || urlParameters === void 0 ? void 0 : urlParameters.language
2395
2396
  } : urlParameters;
2396
2397
  notifyIframeToUpdateURL({
2397
2398
  checkoutIframe: checkoutIframe,
package/lib/inline.js CHANGED
@@ -2393,7 +2393,8 @@ var Inline = /*#__PURE__*/function () {
2393
2393
  // : urlParameters;
2394
2394
 
2395
2395
  var params = response ? {
2396
- accessCode: response.access_code
2396
+ accessCode: response.access_code,
2397
+ language: urlParameters === null || urlParameters === void 0 ? void 0 : urlParameters.language
2397
2398
  } : urlParameters;
2398
2399
  notifyIframeToUpdateURL({
2399
2400
  checkoutIframe: checkoutIframe,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.22.4-dev.5",
3
+ "version": "2.22.4-dev.6",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "main": "lib/inline.js",
6
6
  "module": "es/inline.js",