lightrail-client
Advanced tools
Comparing version 3.1.0 to 3.1.1
# Changelog | ||
## 3.1.0 | ||
## 3.1.1 | ||
[Fixed Debit/Credit params](https://github.com/Giftbit/lightrail-client-javascript/pull/27) | ||
@@ -5,0 +5,0 @@ - Fixed Uses param, updated amount to optional |
@@ -38,3 +38,3 @@ "use strict"; | ||
else { | ||
requestUtils_1.validateRequiredParams(["id", "currency", "source", "amount"], params); | ||
requestUtils_1.validateRequiredParams(["id", "currency", "source"], params); | ||
} | ||
@@ -55,3 +55,3 @@ const resp = yield lightrail.request("POST", "transactions/debit").send(params); | ||
else { | ||
requestUtils_1.validateRequiredParams(["id", "currency", "destination", "amount"], params); | ||
requestUtils_1.validateRequiredParams(["id", "currency", "destination"], params); | ||
} | ||
@@ -58,0 +58,0 @@ const resp = yield lightrail.request("POST", "transactions/credit").send(params); |
{ | ||
"name": "lightrail-client", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "A Javascript and Typescript client for Lightrail", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
77031