xendit-node
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -12,5 +12,2 @@ const x = require('./xendit'); | ||
.then(banks => { | ||
const expDate = new Date(); | ||
expDate.setDate(expDate.getDate() + 7); | ||
return va.createFixedVA({ | ||
@@ -20,3 +17,2 @@ externalID: '123', | ||
name: 'Stanley Nguyen', | ||
expirationDate: expDate, | ||
}); | ||
@@ -34,5 +30,2 @@ }) | ||
.then(({ id }) => { | ||
const expDate = new Date(); | ||
expDate.setMonth(expDate.getMonth() + 1); | ||
return va.updateFixedVA({ | ||
@@ -42,3 +35,2 @@ id, | ||
expectedAmt: 30, | ||
expirationDate: expDate, | ||
}); | ||
@@ -45,0 +37,0 @@ }) |
{ | ||
"name": "xendit-node", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "NodeJS client for Xendit API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -67,3 +67,3 @@ const { promWithJsErr, Validate, fetchWithHTTPErr, Auth } = require('../utils'); | ||
? data.expirationDate.toISOString() | ||
: null, | ||
: undefined, | ||
is_single_use: data.isSingleUse, | ||
@@ -70,0 +70,0 @@ description: data.description, |
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
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
43465
1175