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

xendit-node

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xendit-node - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

8

examples/va.js

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

2

package.json
{
"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,

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