@paystack/inline-js 2.15.0-dev.5 → 2.15.0-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
@@ -835,6 +835,7 @@ var PaystackPop = (function () {
835
835
  var formattedAmount = new Intl.NumberFormat('en', {
836
836
  style: 'currency',
837
837
  currency: currency,
838
+ currencyDisplay: 'code',
838
839
  maximumFractionDigits: 2,
839
840
  minimumFractionDigits: 0
840
841
  }).format(amount / 100);
package/es/inline.js CHANGED
@@ -832,6 +832,7 @@ function mountPreCheckoutModal(id, transaction) {
832
832
  var formattedAmount = new Intl.NumberFormat('en', {
833
833
  style: 'currency',
834
834
  currency: currency,
835
+ currencyDisplay: 'code',
835
836
  maximumFractionDigits: 2,
836
837
  minimumFractionDigits: 0
837
838
  }).format(amount / 100);
package/lib/inline.js CHANGED
@@ -834,6 +834,7 @@ function mountPreCheckoutModal(id, transaction) {
834
834
  var formattedAmount = new Intl.NumberFormat('en', {
835
835
  style: 'currency',
836
836
  currency: currency,
837
+ currencyDisplay: 'code',
837
838
  maximumFractionDigits: 2,
838
839
  minimumFractionDigits: 0
839
840
  }).format(amount / 100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.15.0-dev.5",
3
+ "version": "2.15.0-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",