Socket
Socket
Sign inDemoInstall

node-radial

Package Overview
Dependencies
50
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

4

lib/risk/assess.js

@@ -11,2 +11,3 @@ /* LIB */

const xmlConvert = require('xml-js');
const moment = require('moment');

@@ -200,4 +201,5 @@ /* CONSTRUCTOR */

if (customer.loyalty.signupDate) {
var signupDate = moment(customer.loyalty.signupDate);
customerData.CustLoyalty.SignupDate = {
_text: customer.loyalty.signupDate.toISOString()
_text: signupDate.format('YYYY-MM-DD')
};

@@ -204,0 +206,0 @@ }

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

@@ -22,6 +22,7 @@ "main": "radial.js",

"dependencies": {
"request": "2.x.x",
"xml-js": "1.x.x"
"moment": "^2.20.1",
"request": "^2.83.0",
"xml-js": "^1.6.1"
},
"devDependencies": {}
}

@@ -657,2 +657,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.6.1:** Modify date formatting for loyalty signup date.
- **0.6.0:** Adds `risk.status` endpoint to retrieve a fraud assessment status.

@@ -659,0 +660,0 @@ - **0.5.0:** Adds `payments.auth.cancel` endpoint to cancel a payment authorization.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc