Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
Maintainers
13
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ns8/ns8-shopify-switches - npm Package Compare versions

Comparing version 1.0.159 to 1.0.160

4

dist/setPlatformOrderRisk.js

@@ -29,3 +29,5 @@ "use strict";

const existingOrderRisks = await client.orderRisk.list(orderId);
await Promise.all(existingOrderRisks.map((orderRisk) => client.orderRisk.delete(orderId, orderRisk.id)));
await Promise.all(existingOrderRisks
.filter((orderRisk) => orderRisk.source === 'External')
.map((orderRisk) => client.orderRisk.delete(orderId, orderRisk.id)));
await client.orderRisk.create(orderId, primaryOrderRisk);

@@ -32,0 +34,0 @@ return await Promise.all(fraudAssessments

{
"name": "@ns8/ns8-shopify-switches",
"version": "1.0.159",
"version": "1.0.160",
"description": "Custom switches for the shopify integration",

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

Sorry, the diff of this file is not supported yet

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