Comparing version 1.1.5 to 1.1.6
@@ -234,3 +234,4 @@ 'use.strict'; | ||
"authenticate": function(cpf, url, cb, download) { | ||
if(!cpf) cpf = cfg.last_subject.Code.replace(/[^0-9]/g, ''); | ||
if(!cpf) cpf = cfg.last_subject.Code; | ||
cpf = cpf.replace(/[^0-9]/g, ''); | ||
if(typeof download == 'undefined') download = true; | ||
@@ -237,0 +238,0 @@ imageConvert(url, download, function(error, b64) { |
{ | ||
"name": "acesso-io", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "NodeJS module for implementing Acesso (acesso.io) CredService v2", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
10866
333