Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cadu

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cadu - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

38

coverage/coverage-final.json

@@ -1,20 +0,20 @@

{"/Users/marquinhoalm/Pagarme/cadu-js/src/client.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/client.js","statementMap":{"0":{"start":{"line":1,"column":42},"end":{"line":1,"column":64}},"1":{"start":{"line":2,"column":32},"end":{"line":2,"column":78}},"2":{"start":{"line":3,"column":19},"end":{"line":3,"column":55}},"3":{"start":{"line":10,"column":4},"end":{"line":10,"column":20}},"4":{"start":{"line":23,"column":4},"end":{"line":23,"column":23}},"5":{"start":{"line":24,"column":17},"end":{"line":24,"column":38}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":35}},"7":{"start":{"line":30,"column":0},"end":{"line":30,"column":37}},"8":{"start":{"line":32,"column":19},"end":{"line":36,"column":1}},"9":{"start":{"line":38,"column":16},"end":{"line":73,"column":1}},"10":{"start":{"line":39,"column":2},"end":{"line":39,"column":24}},"11":{"start":{"line":46,"column":6},"end":{"line":46,"column":12}},"12":{"start":{"line":48,"column":18},"end":{"line":70,"column":4}},"13":{"start":{"line":72,"column":2},"end":{"line":72,"column":45}},"14":{"start":{"line":75,"column":0},"end":{"line":78,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":38,"column":16},"end":{"line":38,"column":17}},"loc":{"start":{"line":38,"column":33},"end":{"line":73,"column":1}},"line":38}},"branchMap":{"0":{"loc":{"start":{"line":38,"column":17},"end":{"line":38,"column":28}},"type":"default-arg","locations":[{"start":{"line":38,"column":26},"end":{"line":38,"column":28}}],"line":38}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":6,"11":1,"12":1,"13":1,"14":1},"f":{"0":6},"b":{"0":[1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"23f87ebac03bcd51c0e3346c786bc960fcaf2be2"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/index.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/index.js","statementMap":{"0":{"start":{"line":1,"column":32},"end":{"line":1,"column":62}},"1":{"start":{"line":2,"column":34},"end":{"line":2,"column":67}},"2":{"start":{"line":3,"column":30},"end":{"line":3,"column":58}},"3":{"start":{"line":4,"column":35},"end":{"line":4,"column":69}},"4":{"start":{"line":6,"column":0},"end":{"line":13,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d8ab911087f2fee89e6282511e8655d96ccdae2b"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/address.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/address.js","statementMap":{"0":{"start":{"line":1,"column":36},"end":{"line":1,"column":52}},"1":{"start":{"line":3,"column":16},"end":{"line":13,"column":2}},"2":{"start":{"line":15,"column":0},"end":{"line":15,"column":24}}},"fnMap":{},"branchMap":{},"s":{"0":4,"1":4,"2":4},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"927ac6e0a62a0c7b00e4886266711f17eae522ab"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/bank-account.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/bank-account.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":20}},"1":{"start":{"line":9,"column":25},"end":{"line":13,"column":1}},"2":{"start":{"line":15,"column":16},"end":{"line":24,"column":2}},"3":{"start":{"line":26,"column":0},"end":{"line":26,"column":24}}},"fnMap":{},"branchMap":{},"s":{"0":4,"1":4,"2":4,"3":4},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"bb8d7d80f884e962699248c8f8df6ca95987a37b"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/recipient.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/recipient.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":27},"end":{"line":2,"column":52}},"2":{"start":{"line":3,"column":23},"end":{"line":3,"column":43}},"3":{"start":{"line":21,"column":4},"end":{"line":21,"column":20}},"4":{"start":{"line":23,"column":31},"end":{"line":23,"column":58}},"5":{"start":{"line":25,"column":21},"end":{"line":25,"column":75}},"6":{"start":{"line":27,"column":25},"end":{"line":31,"column":1}},"7":{"start":{"line":33,"column":25},"end":{"line":37,"column":1}},"8":{"start":{"line":39,"column":18},"end":{"line":43,"column":1}},"9":{"start":{"line":45,"column":18},"end":{"line":49,"column":1}},"10":{"start":{"line":51,"column":25},"end":{"line":51,"column":57}},"11":{"start":{"line":53,"column":19},"end":{"line":57,"column":1}},"12":{"start":{"line":59,"column":14},"end":{"line":63,"column":1}},"13":{"start":{"line":65,"column":26},"end":{"line":67,"column":25}},"14":{"start":{"line":66,"column":2},"end":{"line":67,"column":25}},"15":{"start":{"line":69,"column":18},"end":{"line":73,"column":1}},"16":{"start":{"line":75,"column":21},"end":{"line":79,"column":1}},"17":{"start":{"line":81,"column":19},"end":{"line":85,"column":2}},"18":{"start":{"line":87,"column":20},"end":{"line":102,"column":1}},"19":{"start":{"line":88,"column":23},"end":{"line":88,"column":25}},"20":{"start":{"line":90,"column":2},"end":{"line":99,"column":3}},"21":{"start":{"line":91,"column":49},"end":{"line":91,"column":79}},"22":{"start":{"line":93,"column":4},"end":{"line":98,"column":5}},"23":{"start":{"line":94,"column":6},"end":{"line":94,"column":50}},"24":{"start":{"line":96,"column":6},"end":{"line":96,"column":52}},"25":{"start":{"line":97,"column":6},"end":{"line":97,"column":55}},"26":{"start":{"line":101,"column":2},"end":{"line":101,"column":29}},"27":{"start":{"line":104,"column":15},"end":{"line":104,"column":32}},"28":{"start":{"line":105,"column":17},"end":{"line":105,"column":36}},"29":{"start":{"line":106,"column":21},"end":{"line":106,"column":35}},"30":{"start":{"line":107,"column":23},"end":{"line":107,"column":39}},"31":{"start":{"line":109,"column":18},"end":{"line":119,"column":2}},"32":{"start":{"line":121,"column":0},"end":{"line":125,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":65,"column":26},"end":{"line":65,"column":27}},"loc":{"start":{"line":66,"column":2},"end":{"line":67,"column":25}},"line":66},"1":{"name":"(anonymous_1)","decl":{"start":{"line":87,"column":20},"end":{"line":87,"column":21}},"loc":{"start":{"line":87,"column":35},"end":{"line":102,"column":1}},"line":87}},"branchMap":{"0":{"loc":{"start":{"line":90,"column":2},"end":{"line":99,"column":3}},"type":"if","locations":[{"start":{"line":90,"column":2},"end":{"line":99,"column":3}},{"start":{"line":90,"column":2},"end":{"line":99,"column":3}}],"line":90},"1":{"loc":{"start":{"line":93,"column":4},"end":{"line":98,"column":5}},"type":"if","locations":[{"start":{"line":93,"column":4},"end":{"line":98,"column":5}},{"start":{"line":93,"column":4},"end":{"line":98,"column":5}}],"line":93}},"s":{"0":3,"1":3,"2":3,"3":3,"4":3,"5":3,"6":3,"7":3,"8":3,"9":3,"10":3,"11":3,"12":3,"13":3,"14":6,"15":3,"16":3,"17":3,"18":3,"19":11,"20":11,"21":8,"22":8,"23":4,"24":4,"25":4,"26":11,"27":3,"28":3,"29":3,"30":3,"31":3,"32":3},"f":{"0":6,"1":11},"b":{"0":[8,3],"1":[4,4]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"5215915823a15aaefafdf8cfee71d4399d05321a"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/risk-analysis.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/adapters/pagarme/risk-analysis.js","statementMap":{"0":{"start":{"line":1,"column":25},"end":{"line":1,"column":47}},"1":{"start":{"line":10,"column":4},"end":{"line":10,"column":20}},"2":{"start":{"line":12,"column":21},"end":{"line":12,"column":75}},"3":{"start":{"line":14,"column":17},"end":{"line":14,"column":59}},"4":{"start":{"line":16,"column":21},"end":{"line":19,"column":2}},"5":{"start":{"line":21,"column":26},"end":{"line":26,"column":2}},"6":{"start":{"line":28,"column":29},"end":{"line":28,"column":74}},"7":{"start":{"line":30,"column":17},"end":{"line":30,"column":39}},"8":{"start":{"line":32,"column":16},"end":{"line":38,"column":2}},"9":{"start":{"line":40,"column":0},"end":{"line":40,"column":24}}},"fnMap":{},"branchMap":{},"s":{"0":2,"1":2,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"5c3d6e80f2ae099a83bef72f72a50a871fad0109"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/middlewares/header-auth.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/middlewares/header-auth.js","statementMap":{"0":{"start":{"line":1,"column":19},"end":{"line":1,"column":51}},"1":{"start":{"line":2,"column":21},"end":{"line":2,"column":52}},"2":{"start":{"line":3,"column":18},"end":{"line":3,"column":46}},"3":{"start":{"line":4,"column":19},"end":{"line":4,"column":48}},"4":{"start":{"line":5,"column":15},"end":{"line":5,"column":32}},"5":{"start":{"line":13,"column":4},"end":{"line":13,"column":20}},"6":{"start":{"line":15,"column":28},"end":{"line":59,"column":1}},"7":{"start":{"line":20,"column":6},"end":{"line":20,"column":12}},"8":{"start":{"line":22,"column":17},"end":{"line":22,"column":23}},"9":{"start":{"line":23,"column":20},"end":{"line":23,"column":41}},"10":{"start":{"line":24,"column":17},"end":{"line":24,"column":33}},"11":{"start":{"line":25,"column":19},"end":{"line":25,"column":54}},"12":{"start":{"line":27,"column":20},"end":{"line":33,"column":3}},"13":{"start":{"line":35,"column":20},"end":{"line":35,"column":40}},"14":{"start":{"line":37,"column":20},"end":{"line":37,"column":49}},"15":{"start":{"line":38,"column":17},"end":{"line":38,"column":55}},"16":{"start":{"line":39,"column":18},"end":{"line":39,"column":42}},"17":{"start":{"line":40,"column":20},"end":{"line":40,"column":51}},"18":{"start":{"line":42,"column":13},"end":{"line":42,"column":44}},"19":{"start":{"line":43,"column":13},"end":{"line":43,"column":33}},"20":{"start":{"line":44,"column":14},"end":{"line":44,"column":34}},"21":{"start":{"line":46,"column":30},"end":{"line":46,"column":51}},"22":{"start":{"line":48,"column":24},"end":{"line":48,"column":54}},"23":{"start":{"line":50,"column":17},"end":{"line":50,"column":34}},"24":{"start":{"line":52,"column":2},"end":{"line":54,"column":3}},"25":{"start":{"line":53,"column":4},"end":{"line":53,"column":46}},"26":{"start":{"line":56,"column":2},"end":{"line":56,"column":25}},"27":{"start":{"line":58,"column":2},"end":{"line":58,"column":15}},"28":{"start":{"line":61,"column":19},"end":{"line":67,"column":2}},"29":{"start":{"line":61,"column":33},"end":{"line":67,"column":2}},"30":{"start":{"line":61,"column":40},"end":{"line":67,"column":1}},"31":{"start":{"line":63,"column":4},"end":{"line":65,"column":6}},"32":{"start":{"line":69,"column":0},"end":{"line":69,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":15,"column":28},"end":{"line":15,"column":29}},"loc":{"start":{"line":15,"column":49},"end":{"line":59,"column":1}},"line":15},"1":{"name":"(anonymous_1)","decl":{"start":{"line":61,"column":19},"end":{"line":61,"column":20}},"loc":{"start":{"line":61,"column":33},"end":{"line":67,"column":2}},"line":61},"2":{"name":"(anonymous_2)","decl":{"start":{"line":61,"column":33},"end":{"line":61,"column":34}},"loc":{"start":{"line":61,"column":40},"end":{"line":67,"column":1}},"line":61},"3":{"name":"(anonymous_3)","decl":{"start":{"line":62,"column":11},"end":{"line":62,"column":12}},"loc":{"start":{"line":63,"column":4},"end":{"line":65,"column":6}},"line":63}},"branchMap":{"0":{"loc":{"start":{"line":52,"column":2},"end":{"line":54,"column":3}},"type":"if","locations":[{"start":{"line":52,"column":2},"end":{"line":54,"column":3}},{"start":{"line":52,"column":2},"end":{"line":54,"column":3}}],"line":52}},"s":{"0":2,"1":2,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2,"10":2,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":2,"22":2,"23":2,"24":2,"25":1,"26":2,"27":2,"28":2,"29":3,"30":2,"31":2,"32":2},"f":{"0":2,"1":3,"2":2,"3":2},"b":{"0":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"da77414b04d8893d710fb02402094da2abf6320c"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/index.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/index.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":1,"column":40}},"1":{"start":{"line":2,"column":22},"end":{"line":2,"column":49}},"2":{"start":{"line":3,"column":26},"end":{"line":3,"column":58}},"3":{"start":{"line":4,"column":20},"end":{"line":4,"column":45}},"4":{"start":{"line":5,"column":22},"end":{"line":5,"column":49}},"5":{"start":{"line":6,"column":22},"end":{"line":6,"column":49}},"6":{"start":{"line":7,"column":20},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":22},"end":{"line":8,"column":49}},"8":{"start":{"line":9,"column":33},"end":{"line":9,"column":72}},"9":{"start":{"line":10,"column":23},"end":{"line":10,"column":49}},"10":{"start":{"line":12,"column":0},"end":{"line":23,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e6489bf022c8931ccbc4cc17591ccaa0a1abd10e"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/address.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/address.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"df497aed0a3588040c31619cf955b866ce3c0482"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/bank-account.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/bank-account.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c1098b847d8fd9bb99949c887fa34eb58f766bc8"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/contact.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/contact.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"7596d1dcbfe31a259f5e9ab3cf712aa5769ec873"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/email.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/email.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":27,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"4a9f088eae268c43bd47e6b7a08828688344b29b"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/index.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/index.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":23,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"795b560a40a7565679c6b8b69ac8666dc6ec102b"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/partner.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/partner.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"93eee0fc435ef9766ea09843c7f9bd7ab68a5d7f"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/phone.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/member/phone.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d24ca61f467f1ca16a8a470241ae3e12b908b3e3"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/others/country.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/others/country.js","statementMap":{"0":{"start":{"line":1,"column":19},"end":{"line":1,"column":45}},"1":{"start":{"line":3,"column":0},"end":{"line":33,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"4bbbde36c65b52726973eb8048ef9235f34af1ce"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/others/economic-activities.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/others/economic-activities.js","statementMap":{"0":{"start":{"line":1,"column":31},"end":{"line":1,"column":66}},"1":{"start":{"line":3,"column":0},"end":{"line":13,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d9ce75eeec998109884286b7eb8ee46c43b7a2db"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/risk/analysis.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/routes/risk/analysis.js","statementMap":{"0":{"start":{"line":1,"column":16},"end":{"line":1,"column":34}},"1":{"start":{"line":3,"column":0},"end":{"line":18,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"fcdd030cbf9aa51a25896db9fef2d7387668d235"}
,"/Users/marquinhoalm/Pagarme/cadu-js/src/validations/client.js": {"path":"/Users/marquinhoalm/Pagarme/cadu-js/src/validations/client.js","statementMap":{"0":{"start":{"line":1,"column":25},"end":{"line":1,"column":41}},"1":{"start":{"line":2,"column":12},"end":{"line":2,"column":26}},"2":{"start":{"line":4,"column":21},"end":{"line":9,"column":13}},"3":{"start":{"line":11,"column":23},"end":{"line":17,"column":1}},"4":{"start":{"line":12,"column":17},"end":{"line":12,"column":51}},"5":{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},"6":{"start":{"line":15,"column":4},"end":{"line":15,"column":59}},"7":{"start":{"line":19,"column":0},"end":{"line":21,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":23},"end":{"line":11,"column":24}},"loc":{"start":{"line":11,"column":35},"end":{"line":17,"column":1}},"line":11}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},{"start":{"line":14,"column":2},"end":{"line":16,"column":3}}],"line":14}},"s":{"0":1,"1":1,"2":1,"3":1,"4":6,"5":6,"6":5,"7":1},"f":{"0":6},"b":{"0":[5,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d4e33b52b54b855511582c70b1434974f88ae6e9"}
{"/Users/marquinho/Documents/Pagarme/cadu-js/src/client.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/client.js","statementMap":{"0":{"start":{"line":1,"column":42},"end":{"line":1,"column":64}},"1":{"start":{"line":2,"column":32},"end":{"line":2,"column":78}},"2":{"start":{"line":3,"column":19},"end":{"line":3,"column":55}},"3":{"start":{"line":10,"column":4},"end":{"line":10,"column":20}},"4":{"start":{"line":23,"column":4},"end":{"line":23,"column":23}},"5":{"start":{"line":24,"column":17},"end":{"line":24,"column":38}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":35}},"7":{"start":{"line":30,"column":0},"end":{"line":30,"column":37}},"8":{"start":{"line":32,"column":19},"end":{"line":36,"column":1}},"9":{"start":{"line":38,"column":16},"end":{"line":73,"column":1}},"10":{"start":{"line":39,"column":2},"end":{"line":39,"column":24}},"11":{"start":{"line":46,"column":6},"end":{"line":46,"column":12}},"12":{"start":{"line":48,"column":18},"end":{"line":70,"column":4}},"13":{"start":{"line":72,"column":2},"end":{"line":72,"column":45}},"14":{"start":{"line":75,"column":0},"end":{"line":78,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":38,"column":16},"end":{"line":38,"column":17}},"loc":{"start":{"line":38,"column":33},"end":{"line":73,"column":1}},"line":38}},"branchMap":{"0":{"loc":{"start":{"line":38,"column":17},"end":{"line":38,"column":28}},"type":"default-arg","locations":[{"start":{"line":38,"column":26},"end":{"line":38,"column":28}}],"line":38}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":6,"11":1,"12":1,"13":1,"14":1},"f":{"0":6},"b":{"0":[1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"7c7123084c5243940939b9bb32f3ab301fc672f9"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/index.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/index.js","statementMap":{"0":{"start":{"line":1,"column":32},"end":{"line":1,"column":62}},"1":{"start":{"line":2,"column":34},"end":{"line":2,"column":67}},"2":{"start":{"line":3,"column":30},"end":{"line":3,"column":58}},"3":{"start":{"line":4,"column":35},"end":{"line":4,"column":69}},"4":{"start":{"line":6,"column":0},"end":{"line":13,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"fdb2d2e00381b3c976dfe67e2668f676fcf1baaa"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/address.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/address.js","statementMap":{"0":{"start":{"line":1,"column":36},"end":{"line":1,"column":52}},"1":{"start":{"line":3,"column":16},"end":{"line":13,"column":2}},"2":{"start":{"line":15,"column":0},"end":{"line":15,"column":24}}},"fnMap":{},"branchMap":{},"s":{"0":4,"1":4,"2":4},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9bb793b7762c8b6db94d3ba953a807eab63fff21"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/bank-account.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/bank-account.js","statementMap":{"0":{"start":{"line":7,"column":4},"end":{"line":7,"column":20}},"1":{"start":{"line":9,"column":25},"end":{"line":13,"column":1}},"2":{"start":{"line":15,"column":16},"end":{"line":24,"column":2}},"3":{"start":{"line":26,"column":0},"end":{"line":26,"column":24}}},"fnMap":{},"branchMap":{},"s":{"0":4,"1":4,"2":4,"3":4},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"82f25c845e9bc6cb7a1ea0f0430e707a0918d319"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/recipient.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/recipient.js","statementMap":{"0":{"start":{"line":1,"column":15},"end":{"line":1,"column":32}},"1":{"start":{"line":2,"column":27},"end":{"line":2,"column":52}},"2":{"start":{"line":3,"column":23},"end":{"line":3,"column":43}},"3":{"start":{"line":22,"column":4},"end":{"line":22,"column":20}},"4":{"start":{"line":24,"column":18},"end":{"line":27,"column":1}},"5":{"start":{"line":29,"column":37},"end":{"line":32,"column":1}},"6":{"start":{"line":34,"column":21},"end":{"line":34,"column":75}},"7":{"start":{"line":36,"column":25},"end":{"line":40,"column":1}},"8":{"start":{"line":42,"column":25},"end":{"line":46,"column":1}},"9":{"start":{"line":48,"column":18},"end":{"line":52,"column":1}},"10":{"start":{"line":54,"column":18},"end":{"line":58,"column":1}},"11":{"start":{"line":60,"column":25},"end":{"line":60,"column":57}},"12":{"start":{"line":62,"column":19},"end":{"line":66,"column":1}},"13":{"start":{"line":68,"column":14},"end":{"line":72,"column":1}},"14":{"start":{"line":74,"column":26},"end":{"line":76,"column":25}},"15":{"start":{"line":75,"column":2},"end":{"line":76,"column":25}},"16":{"start":{"line":78,"column":18},"end":{"line":82,"column":1}},"17":{"start":{"line":84,"column":21},"end":{"line":88,"column":1}},"18":{"start":{"line":90,"column":19},"end":{"line":94,"column":2}},"19":{"start":{"line":96,"column":20},"end":{"line":111,"column":1}},"20":{"start":{"line":97,"column":23},"end":{"line":97,"column":25}},"21":{"start":{"line":99,"column":2},"end":{"line":108,"column":3}},"22":{"start":{"line":100,"column":49},"end":{"line":100,"column":79}},"23":{"start":{"line":102,"column":4},"end":{"line":107,"column":5}},"24":{"start":{"line":103,"column":6},"end":{"line":103,"column":50}},"25":{"start":{"line":105,"column":6},"end":{"line":105,"column":52}},"26":{"start":{"line":106,"column":6},"end":{"line":106,"column":55}},"27":{"start":{"line":110,"column":2},"end":{"line":110,"column":29}},"28":{"start":{"line":113,"column":15},"end":{"line":113,"column":32}},"29":{"start":{"line":114,"column":17},"end":{"line":114,"column":36}},"30":{"start":{"line":115,"column":21},"end":{"line":115,"column":35}},"31":{"start":{"line":116,"column":23},"end":{"line":116,"column":39}},"32":{"start":{"line":118,"column":18},"end":{"line":128,"column":2}},"33":{"start":{"line":130,"column":0},"end":{"line":134,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":74,"column":26},"end":{"line":74,"column":27}},"loc":{"start":{"line":75,"column":2},"end":{"line":76,"column":25}},"line":75},"1":{"name":"(anonymous_1)","decl":{"start":{"line":96,"column":20},"end":{"line":96,"column":21}},"loc":{"start":{"line":96,"column":35},"end":{"line":111,"column":1}},"line":96}},"branchMap":{"0":{"loc":{"start":{"line":99,"column":2},"end":{"line":108,"column":3}},"type":"if","locations":[{"start":{"line":99,"column":2},"end":{"line":108,"column":3}},{"start":{"line":99,"column":2},"end":{"line":108,"column":3}}],"line":99},"1":{"loc":{"start":{"line":102,"column":4},"end":{"line":107,"column":5}},"type":"if","locations":[{"start":{"line":102,"column":4},"end":{"line":107,"column":5}},{"start":{"line":102,"column":4},"end":{"line":107,"column":5}}],"line":102}},"s":{"0":3,"1":3,"2":3,"3":3,"4":3,"5":3,"6":3,"7":3,"8":3,"9":3,"10":3,"11":3,"12":3,"13":3,"14":3,"15":6,"16":3,"17":3,"18":3,"19":3,"20":11,"21":11,"22":8,"23":8,"24":4,"25":4,"26":4,"27":11,"28":3,"29":3,"30":3,"31":3,"32":3,"33":3},"f":{"0":6,"1":11},"b":{"0":[8,3],"1":[4,4]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"657a9e05a16b803eee13eef4cab826703f3096df"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/risk-analysis.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/adapters/pagarme/risk-analysis.js","statementMap":{"0":{"start":{"line":1,"column":25},"end":{"line":1,"column":47}},"1":{"start":{"line":10,"column":4},"end":{"line":10,"column":20}},"2":{"start":{"line":12,"column":21},"end":{"line":12,"column":75}},"3":{"start":{"line":14,"column":17},"end":{"line":14,"column":59}},"4":{"start":{"line":16,"column":21},"end":{"line":19,"column":2}},"5":{"start":{"line":21,"column":26},"end":{"line":26,"column":2}},"6":{"start":{"line":28,"column":29},"end":{"line":28,"column":74}},"7":{"start":{"line":30,"column":17},"end":{"line":30,"column":39}},"8":{"start":{"line":32,"column":16},"end":{"line":38,"column":2}},"9":{"start":{"line":40,"column":0},"end":{"line":40,"column":24}}},"fnMap":{},"branchMap":{},"s":{"0":2,"1":2,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e2438df5c5c8ac0f983f38a6759f79989a57c075"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/middlewares/header-auth.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/middlewares/header-auth.js","statementMap":{"0":{"start":{"line":1,"column":19},"end":{"line":1,"column":51}},"1":{"start":{"line":2,"column":21},"end":{"line":2,"column":52}},"2":{"start":{"line":3,"column":18},"end":{"line":3,"column":46}},"3":{"start":{"line":4,"column":19},"end":{"line":4,"column":48}},"4":{"start":{"line":5,"column":15},"end":{"line":5,"column":32}},"5":{"start":{"line":13,"column":4},"end":{"line":13,"column":20}},"6":{"start":{"line":15,"column":28},"end":{"line":59,"column":1}},"7":{"start":{"line":20,"column":6},"end":{"line":20,"column":12}},"8":{"start":{"line":22,"column":17},"end":{"line":22,"column":23}},"9":{"start":{"line":23,"column":20},"end":{"line":23,"column":41}},"10":{"start":{"line":24,"column":17},"end":{"line":24,"column":33}},"11":{"start":{"line":25,"column":19},"end":{"line":25,"column":54}},"12":{"start":{"line":27,"column":20},"end":{"line":33,"column":3}},"13":{"start":{"line":35,"column":20},"end":{"line":35,"column":40}},"14":{"start":{"line":37,"column":20},"end":{"line":37,"column":49}},"15":{"start":{"line":38,"column":17},"end":{"line":38,"column":55}},"16":{"start":{"line":39,"column":18},"end":{"line":39,"column":42}},"17":{"start":{"line":40,"column":20},"end":{"line":40,"column":51}},"18":{"start":{"line":42,"column":13},"end":{"line":42,"column":44}},"19":{"start":{"line":43,"column":13},"end":{"line":43,"column":33}},"20":{"start":{"line":44,"column":14},"end":{"line":44,"column":34}},"21":{"start":{"line":46,"column":30},"end":{"line":46,"column":51}},"22":{"start":{"line":48,"column":24},"end":{"line":48,"column":54}},"23":{"start":{"line":50,"column":17},"end":{"line":50,"column":34}},"24":{"start":{"line":52,"column":2},"end":{"line":54,"column":3}},"25":{"start":{"line":53,"column":4},"end":{"line":53,"column":46}},"26":{"start":{"line":56,"column":2},"end":{"line":56,"column":25}},"27":{"start":{"line":58,"column":2},"end":{"line":58,"column":15}},"28":{"start":{"line":61,"column":19},"end":{"line":67,"column":2}},"29":{"start":{"line":61,"column":33},"end":{"line":67,"column":2}},"30":{"start":{"line":61,"column":40},"end":{"line":67,"column":1}},"31":{"start":{"line":63,"column":4},"end":{"line":65,"column":6}},"32":{"start":{"line":69,"column":0},"end":{"line":69,"column":27}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":15,"column":28},"end":{"line":15,"column":29}},"loc":{"start":{"line":15,"column":49},"end":{"line":59,"column":1}},"line":15},"1":{"name":"(anonymous_1)","decl":{"start":{"line":61,"column":19},"end":{"line":61,"column":20}},"loc":{"start":{"line":61,"column":33},"end":{"line":67,"column":2}},"line":61},"2":{"name":"(anonymous_2)","decl":{"start":{"line":61,"column":33},"end":{"line":61,"column":34}},"loc":{"start":{"line":61,"column":40},"end":{"line":67,"column":1}},"line":61},"3":{"name":"(anonymous_3)","decl":{"start":{"line":62,"column":11},"end":{"line":62,"column":12}},"loc":{"start":{"line":63,"column":4},"end":{"line":65,"column":6}},"line":63}},"branchMap":{"0":{"loc":{"start":{"line":52,"column":2},"end":{"line":54,"column":3}},"type":"if","locations":[{"start":{"line":52,"column":2},"end":{"line":54,"column":3}},{"start":{"line":52,"column":2},"end":{"line":54,"column":3}}],"line":52}},"s":{"0":2,"1":2,"2":2,"3":2,"4":2,"5":2,"6":2,"7":2,"8":2,"9":2,"10":2,"11":2,"12":2,"13":2,"14":2,"15":2,"16":2,"17":2,"18":2,"19":2,"20":2,"21":2,"22":2,"23":2,"24":2,"25":1,"26":2,"27":2,"28":2,"29":3,"30":2,"31":2,"32":2},"f":{"0":2,"1":3,"2":2,"3":2},"b":{"0":[1,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"09d4b20a9866834e4609c114238c9932767909f3"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/index.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/index.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":1,"column":40}},"1":{"start":{"line":2,"column":22},"end":{"line":2,"column":49}},"2":{"start":{"line":3,"column":26},"end":{"line":3,"column":58}},"3":{"start":{"line":4,"column":20},"end":{"line":4,"column":45}},"4":{"start":{"line":5,"column":22},"end":{"line":5,"column":49}},"5":{"start":{"line":6,"column":22},"end":{"line":6,"column":49}},"6":{"start":{"line":7,"column":20},"end":{"line":7,"column":45}},"7":{"start":{"line":8,"column":22},"end":{"line":8,"column":49}},"8":{"start":{"line":9,"column":33},"end":{"line":9,"column":72}},"9":{"start":{"line":10,"column":23},"end":{"line":10,"column":49}},"10":{"start":{"line":12,"column":0},"end":{"line":23,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"05bf93c8155c77f41da3b94e1364677c60599b8e"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/address.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/address.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b0b76c90389c485c8810a9990f166c4383605a8a"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/bank-account.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/bank-account.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c7a61814939af35e5eb27f416f8f3703235a4232"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/contact.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/contact.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"3f44f2387c033ffb315d8e506a6d7a58c9bb5a05"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/email.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/email.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":27,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"6a1cecf0bbca3f800af201fad862ed4f1b472643"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/index.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/index.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":23,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"37dfc14fa118cd79ecfcb36f535d159afe4c9404"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/partner.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/partner.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ed4d12dcff54757dc9ca7608f608b906c21055dc"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/phone.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/member/phone.js","statementMap":{"0":{"start":{"line":1,"column":18},"end":{"line":1,"column":42}},"1":{"start":{"line":3,"column":0},"end":{"line":28,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"46e3cfbb0be7bd7bdc772c8985ae60b204cd8d72"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/others/country.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/others/country.js","statementMap":{"0":{"start":{"line":1,"column":19},"end":{"line":1,"column":45}},"1":{"start":{"line":3,"column":0},"end":{"line":33,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9b869c905cf310dd0e6debd04faea9cdb967a437"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/others/economic-activities.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/others/economic-activities.js","statementMap":{"0":{"start":{"line":1,"column":31},"end":{"line":1,"column":66}},"1":{"start":{"line":3,"column":0},"end":{"line":13,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"ca36a5cc4c3274c1dba028f97f25fce4cf646909"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/risk/analysis.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/routes/risk/analysis.js","statementMap":{"0":{"start":{"line":1,"column":16},"end":{"line":1,"column":34}},"1":{"start":{"line":3,"column":0},"end":{"line":18,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"7685ebebd085fe2bbe9630c083a064a17c0d7296"}
,"/Users/marquinho/Documents/Pagarme/cadu-js/src/validations/client.js": {"path":"/Users/marquinho/Documents/Pagarme/cadu-js/src/validations/client.js","statementMap":{"0":{"start":{"line":1,"column":25},"end":{"line":1,"column":41}},"1":{"start":{"line":2,"column":12},"end":{"line":2,"column":26}},"2":{"start":{"line":4,"column":21},"end":{"line":9,"column":13}},"3":{"start":{"line":11,"column":23},"end":{"line":17,"column":1}},"4":{"start":{"line":12,"column":17},"end":{"line":12,"column":51}},"5":{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},"6":{"start":{"line":15,"column":4},"end":{"line":15,"column":59}},"7":{"start":{"line":19,"column":0},"end":{"line":21,"column":1}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":23},"end":{"line":11,"column":24}},"loc":{"start":{"line":11,"column":35},"end":{"line":17,"column":1}},"line":11}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":16,"column":3}},{"start":{"line":14,"column":2},"end":{"line":16,"column":3}}],"line":14}},"s":{"0":1,"1":1,"2":1,"3":1,"4":6,"5":6,"6":5,"7":1},"f":{"0":6},"b":{"0":[5,1]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"c3e44a917220875401f7b67645d5dfb03c29c574"}
}

@@ -151,5 +151,3 @@ module.exports =

var _require = __webpack_require__(9),
equals = _require.equals,
join = _require.join,
not = _require.not,
replace = _require.replace,

@@ -189,8 +187,6 @@ toLower = _require.toLower,

if (not(equals('get', method))) {
if (method !== 'get') {
header['User-Identifier'] = userIdentifier;
}
header['Tenant-Id'] = 1;
return header;

@@ -197,0 +193,0 @@ };

{
"name": "cadu",
"version": "0.0.3",
"version": "0.0.4",
"description": "A JavaScript library to interface with CADU",

@@ -13,6 +13,3 @@ "main": "src/client.js",

"build:commonjs": "webpack --optimize-dedupe",
"build:browser": "webpack --optimize-dedupe --config webpack.config.browser.js",
"build:all": "npm run build:commonjs && npm run build:browser",
"build:dev:node": "webpack",
"build:dev:browser": "webpack --config webpack.config.browser.js",
"lint": "eslint src/ test/",

@@ -25,3 +22,3 @@ "test:all": "jest",

"engines": {
"node": ">=8.0.0"
"node": ">=6.2.2"
},

@@ -33,3 +30,3 @@ "dependencies": {

"mappersmith": "2.9.1",
"moment": "2.19.1",
"moment": "2.19.3",
"ramda": "0.25.0"

@@ -36,0 +33,0 @@ },

@@ -5,3 +5,3 @@ <img src="https://avatars1.githubusercontent.com/u/3846050?v=4&s=200" width="127px" height="127px" align="left"/>

A JavaScript library to interface with CadU API, it works in Node.js and Browser (in development).
A JavaScript library to interface with CadU API, it works in Node.js.

@@ -53,16 +53,2 @@ <br>

### Browser (CommonJS) [In Development]
Import the browser build:
```js
import cadu from 'cadu/browser'
```
also works using `require`:
```js
const cadu = require('cadu/browser')
```
### Client API

@@ -81,8 +67,8 @@

```javascript
import cadu from 'cadu'
import cadujs from 'cadu'
cadu.client.connect({
secret: '1234',
clientApplicationKey: '1234-1234-1234',
environment: 'sandbox',
cadujs.connect({
secret: '1234',
clientApplicationKey: '1234-1234-1234',
environment: 'sandbox',
userIdentifier: 'pagarme@pagar.me',

@@ -95,31 +81,2 @@ })

As the entire library is based on promises, you can also use ES6 generators
with every call to make code more procedural:
```javascript
import cadujs from 'cadu'
let client
try {
client = yield cadujs.client.connect({
secret: '1234',
clientApplicationKey: '1234-1234-1234',
environment: 'sandbox',
userIdentifier: 'pagarme@pagar.me',
})
} catch (err) {
console.log(err)
}
try {
const members = yield client.Members.all()
console.log(members)
} catch (err) {
console.log(err)
}
```
The downside of this approach is that you need to handle errors using try/catch.
### <a name="parameters"></a> Parameters

@@ -173,7 +130,4 @@

To build the library, use `yarn build:all`.
To build for Node.js the library, use `yarn build:commonjs`.
* Node.js build is produced inside the `dist` directory.
* Browser build is produced inside the `browser` directory.
## Testing

@@ -180,0 +134,0 @@

@@ -7,5 +7,3 @@ const hmacSha256 = require('crypto-js/hmac-sha256')

const {
equals,
join,
not,
replace,

@@ -53,8 +51,6 @@ toLower,

if (not(equals('get', method))) {
if (method !== 'get') {
header['User-Identifier'] = userIdentifier
}
header['Tenant-Id'] = 1
return header

@@ -61,0 +57,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc