Socket
Socket
Sign inDemoInstall

@ns8/ns8-shopify-switches

Package Overview
Dependencies
Maintainers
10
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.75 to 1.0.77

2

dist/getShopifyClient.js

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

const getShopifyClient = (switchContext) => {
const { name: shopName } = switchContext.merchant.shops[0];
const { name: shopName } = switchContext.merchant;
const { token: accessToken } = switchContext.merchant.serviceIntegrations

@@ -8,0 +8,0 @@ .find((item) => item.type === 'SHOPIFY');

@@ -88,3 +88,3 @@ "use strict";

const shopifyTransactionList = await client.transaction.list(order_id);
const { id: shopId } = switchContext.merchant.shops[0];
const { id: merchantId } = switchContext.merchant;
const { id, name, currency, billing_address, shipping_address, customer, total_price, line_items = [], created_at, client_details: { accept_language, browser_ip, user_agent, }, } = shopifyOrder;

@@ -105,3 +105,3 @@ const addresses = [];

currency,
shopId,
merchantId,
addresses,

@@ -108,0 +108,0 @@ platformId: id.toString(),

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

@@ -23,6 +23,6 @@ "main": "dist/index.js",

"dependencies": {
"ns8-protect-models": "^1.0.119",
"ns8-switchboard-interfaces": "^1.0.51",
"ns8-protect-models": "^1.0.122",
"ns8-switchboard-interfaces": "^1.0.52",
"shopify-api-node": "^2.17.2"
}
}

Sorry, the diff of this file is not supported yet

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