Skip to content

Commit

Permalink
Updates lib version, dist and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Fábio Henriques committed May 29, 2018
1 parent 8fee1ed commit 66d918d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ var money = MaskService.toMask('money', '123', {

# Changelog

## 1.6.6

* Adding `toRawValue` method to MaskService. (thanks to [fabioh8010](https://github.com/fabioh8010))

## 1.6.5

* Fixing validation for CPF and CNPJ when empty string is inputed. (thanks to [gabuael](https://github.com/gabuael))
Expand Down
4 changes: 4 additions & 0 deletions dist/lib/mask-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Object.defineProperty(exports,"__esModule",{value:true});var _createClass=functi
MaskService=function(){function MaskService(){_classCallCheck(this,MaskService);}_createClass(MaskService,null,[{key:'toMask',value:function toMask(
type,value,settings){
return _maskResolver2.default.resolve(type).getValue(value,settings);
}},{key:'toRawValue',value:function toRawValue(

type,maskedValue,settings){
return _maskResolver2.default.resolve(type).getRawValue(maskedValue,settings);
}},{key:'isValid',value:function isValid(

type,value,settings){
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-masked-text",
"version": "1.6.5",
"version": "1.6.6",
"description": "Text and TextInput with mask for React Native applications",
"licenses": [
{
Expand All @@ -19,7 +19,12 @@
"type": "git",
"url": "git+https://github.com/benhurott/react-native-masked-text.git"
},
"keywords": ["mask", "text", "textinput", "react-native"],
"keywords": [
"mask",
"text",
"textinput",
"react-native"
],
"author": "Ben-hur Santos Ott",
"license": "ISC",
"bugs": {
Expand Down

0 comments on commit 66d918d

Please sign in to comment.