New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

irpayments

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

irpayments - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"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 @@ }

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