@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 +1 -0
- package/es/inline.js +1 -0
- package/lib/inline.js +1 -0
- package/package.json +1 -1
package/dist/inline.js
CHANGED
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);
|