Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

razorpay

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

razorpay - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

11

dist/resources/orders.js
'use strict';
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _require = require('../utils/razorpay-utils'),

@@ -61,3 +63,6 @@ normalizeDate = _require.normalizeDate,

payment_capture = params.payment_capture,
notes = params.notes;
notes = params.notes,
bank = params.bank,
method = params.method,
account_number = params.account_number;

@@ -74,3 +79,3 @@ currency = currency || 'INR';

var data = Object.assign({
var data = Object.assign(_extends({
amount: amount,

@@ -80,3 +85,3 @@ currency: currency,

payment_capture: normalizeBoolean(payment_capture)
}, normalizeNotes(notes));
}, !!bank && { bank: bank }, !!method && { method: method }, !!account_number && { account_number: account_number }), normalizeNotes(notes));

@@ -83,0 +88,0 @@ return api.post({

{
"name": "razorpay",
"version": "1.6.0",
"version": "1.6.1",
"description": "Official Node SDK for Razorpay API",

@@ -5,0 +5,0 @@ "main": "dist/razorpay.js",

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