Comparing version 0.0.1 to 0.0.2
@@ -21,3 +21,3 @@ 'use strict'; | ||
// get the url | ||
return function getUrl(transactionCode, quantity) { | ||
return function getUrl(transactionCode, quantity, macCode) { | ||
@@ -28,3 +28,3 @@ // calculate the mac | ||
shasum.update(hashpayload); | ||
let macCode = shasum.digest('hex'); | ||
macCode = shasum.digest('hex'); | ||
@@ -42,2 +42,3 @@ // create the link | ||
); | ||
// done | ||
@@ -44,0 +45,0 @@ return xpayLink; |
{ | ||
"name": "xpay-js", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Soft integration with X-pay payment system\"", | ||
@@ -5,0 +5,0 @@ "main": "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
6436