xendit-node
Advanced tools
Comparing version 1.19.0 to 1.19.1
# 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 |
@@ -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 @@ }) |
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
168658
4570
1146