irpayments
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "irpayments", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "IR Payments, a package for all payment gateways of IRAN", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -100,3 +100,3 @@ const RequestHandler = require("../../Structers/Request"); | ||
if(!amount || typeof amount == 'number' || amount == 0 || amount > 500000000 || amount < 1000) | ||
if(!amount || typeof amount !== 'number' || amount == 0 || amount > 500000000 || amount < 1000) | ||
throw new Error(`Amount number is Invalid.`); | ||
@@ -131,3 +131,3 @@ | ||
data: paymentObject, | ||
Headers: this.GetHeader(sandBox) | ||
Headers: this.#GetHeader(sandBox) | ||
}) | ||
@@ -156,3 +156,3 @@ } | ||
}, | ||
Headers: this.GetHeader(sandBox) | ||
Headers: this.#GetHeader(sandBox) | ||
}) | ||
@@ -181,3 +181,3 @@ } | ||
}, | ||
Headers: this.GetHeader(sandBox) | ||
Headers: this.#GetHeader(sandBox) | ||
}) ; | ||
@@ -206,3 +206,3 @@ } | ||
}, | ||
Headers: this.GetHeader(sandBox) | ||
Headers: this.#GetHeader(sandBox) | ||
}); | ||
@@ -209,0 +209,0 @@ } |
24966