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

node-radial

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-radial - npm Package Compare versions

Comparing version 0.4.9 to 0.4.10

15

lib/risk/assess.js

@@ -123,6 +123,7 @@ /* LIB */

// TELEPHONE
if (customer.telephone) {
customerData.Telephone = {};
if (customer.telephone.number) customerData.Telephone.Number = {
_text: customer.telephone.number
if (customer.telephone && customer.telephone.number) {
customerData.Telephone = {
Number: {
_text: customer.telephone.number
}
};

@@ -135,3 +136,3 @@ if (customer.telephone.location) customerData.Telephone.TelephoneLocation = {

// ADDRESS
if (customer.address) {
if (customer.address && customer.address.id) {
customerData.Address = {

@@ -518,3 +519,3 @@ _attributes: {

// PAYMENT ADDRESS
if (orderOptions.payment.address) {
if (orderOptions.payment.address && orderOptions.payment.address.id) {
var addressData = {

@@ -564,3 +565,3 @@ _attributes: {

// PAYMENT TELEPHONE
if (orderOptions.payment.telephone) {
if (orderOptions.payment.telephone && orderOptions.payment.telephone.number) {
var telephoneData = {

@@ -567,0 +568,0 @@ Number: {

{
"name": "node-radial",
"version": "0.4.9",
"version": "0.4.10",
"description": "NodeJS SDK for the Radial APIs",

@@ -5,0 +5,0 @@ "main": "radial.js",

@@ -619,2 +619,3 @@ [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url]

- **0.4.10:** Improve checks for optional fields like Address and Telephone on fraud assessment.
- **0.4.9:** Add functionality to use `SolutionType` field in PayPal SetExpress.

@@ -621,0 +622,0 @@ - **0.4.8:** Debug logs for settlement submission.

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