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

xendit-node

Package Overview
Dependencies
Maintainers
5
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 1.19.0 to 1.19.1

4

CHANGELOG.md
# CHANGELOG
## 2021-12-07
- Added metadata to credit card charge request
## 2021-11-01

@@ -4,0 +8,0 @@

@@ -20,2 +20,5 @@ const x = require('../xendit');

capture: false,
metadata: {
test: "data",
},
});

@@ -22,0 +25,0 @@ console.log('charge created:', charge); // eslint-disable-line no-console

2

integration_test/va.test.js

@@ -11,3 +11,3 @@ const x = require('./xendit.test');

return va.createFixedVA({
externalID: '123',
externalID: new Date().toLocaleString(),
bankCode: banks[0].code,

@@ -14,0 +14,0 @@ name: 'Stanley Nguyen',

{
"name": "xendit-node",
"version": "1.19.0",
"version": "1.19.1",
"description": "NodeJS client for Xendit API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -163,2 +163,3 @@ # Xendit API Node.js Client

forUserID?: string;
metadata?: object;
})

@@ -165,0 +166,0 @@ ```

@@ -15,2 +15,3 @@ export function createCharge(data: {

forUserID?: string;
metadata?: object;
}): Promise<object>;

@@ -17,0 +18,0 @@

@@ -33,2 +33,3 @@ const { Validate, Auth, fetchWithHTTPErr, promWithJsErr } = require('../utils');

installment: data.installment,
metadata: data.metadata,
}),

@@ -35,0 +36,0 @@ })

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