Comparing version 0.0.1 to 0.0.2
@@ -475,3 +475,3 @@ const recipientAdapter = require('../../../src/adapters/pagarme/recipient') | ||
expect(member).toHaveProperty('bankAccounts') | ||
expect(member).not.toHaveProperty('tradeName') | ||
expect(member).toHaveProperty('tradeName', 'PEDRO H C FRANCESCHI') | ||
expect(member).not.toHaveProperty('birthdate') | ||
@@ -478,0 +478,0 @@ expect(member).not.toHaveProperty('motherName') |
@@ -659,3 +659,3 @@ module.exports = | ||
var tradeName = ifElse(hasRegisterInformation, tradeNameCompany, always(null)); | ||
var tradeName = ifElse(hasRegisterInformation, tradeNameCompany, path(['BankAccount', 'legal_name'])); | ||
@@ -662,0 +662,0 @@ var documentTypeCode = ifElse(__, always(2), always(1)); |
{ | ||
"name": "cadu", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A JavaScript library to interface with CADU", | ||
@@ -5,0 +5,0 @@ "main": "src/client.js", |
@@ -27,3 +27,3 @@ <img src="https://avatars1.githubusercontent.com/u/3846050?v=4&s=200" width="127px" height="127px" align="left"/> | ||
```bash | ||
yarn add cadu-js | ||
yarn add cadu | ||
``` | ||
@@ -34,3 +34,3 @@ | ||
```bash | ||
npm install cadu-js | ||
npm install cadu | ||
``` | ||
@@ -45,3 +45,3 @@ | ||
```js | ||
import cadujs from 'cadu-js' | ||
import cadu from 'cadu' | ||
``` | ||
@@ -52,3 +52,3 @@ | ||
```js | ||
const cadujs = require('cadu-js') | ||
const cadu = require('cadu') | ||
``` | ||
@@ -61,3 +61,3 @@ | ||
```js | ||
import cadujs from 'cadu-js/browser' | ||
import cadu from 'cadu/browser' | ||
``` | ||
@@ -68,3 +68,3 @@ | ||
```js | ||
const cadujs = require('cadu-js/browser') | ||
const cadu = require('cadu/browser') | ||
``` | ||
@@ -85,5 +85,5 @@ | ||
```javascript | ||
import cadujs from 'cadu-js' | ||
import cadu from 'cadu' | ||
cadujs.client.connect({ | ||
cadu.client.connect({ | ||
secret: '1234', | ||
@@ -103,3 +103,3 @@ clientApplicationKey: '1234-1234-1234', | ||
```javascript | ||
import cadujs from 'cadu-js' | ||
import cadujs from 'cadu' | ||
@@ -106,0 +106,0 @@ let client |
@@ -48,3 +48,3 @@ const moment = require('moment') | ||
tradeNameCompany, | ||
always(null) | ||
path(['BankAccount', 'legal_name']) | ||
) | ||
@@ -51,0 +51,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3851624
74
44848
1