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.1 to 0.0.2

.npmignore

2

__tests__/adapters/pagarme/recipient.unit.js

@@ -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

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