Comparing version 1.1.1 to 1.1.2
@@ -140,3 +140,3 @@ "use strict"; | ||
else { | ||
var mask = exports.MASKS.currency.textMask(currencyValue); | ||
var mask = exports.MASKS.currency.textMask(currencyValue + ''); | ||
return conformToMask(currencyValue, mask, { guide: false }).conformedValue; | ||
@@ -143,0 +143,0 @@ } |
{ | ||
"name": "js-brasil", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Javascript Utils para Brasil (cpf, cnpj...)", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -153,3 +153,3 @@ import { isArray, processCaretTraps } from './utils'; | ||
} else { | ||
const mask = MASKS.currency.textMask(currencyValue); | ||
const mask = MASKS.currency.textMask(currencyValue + ''); | ||
@@ -156,0 +156,0 @@ return conformToMask( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
666508