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

shopify-api-node

Package Overview
Dependencies
Maintainers
2
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shopify-api-node - npm Package Compare versions

Comparing version 2.16.0 to 2.17.0

2

package.json
{
"name": "shopify-api-node",
"version": "2.16.0",
"version": "2.17.0",
"description": "Shopify API bindings for Node.js",

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

@@ -479,2 +479,3 @@ # Shopify API Node.js (Official module)

- `list([params])`
- `customize(id, params)`
- redirect

@@ -519,2 +520,3 @@ - `count([params])`

- `order(id, params)`
- `products(id[, params])`
- `update(id, params)`

@@ -521,0 +523,0 @@ - storefrontAccessToken

@@ -41,2 +41,15 @@ 'use strict';

/**
* Customize a recurring application charge.
*
* @param {Number} id Recurring application charge ID
* @param {Object} params Customization parameters
* @return {Promise} Promise that resolves with the result
* @public
*/
RecurringApplicationCharge.prototype.customize = function customize(id, params) {
const url = this.buildUrl(`${id}/customize`, { [this.key]: params });
return this.shopify.request(url, 'PUT', this.key);
};
module.exports = RecurringApplicationCharge;

@@ -37,2 +37,15 @@ 'use strict';

/**
* Retrieves a list of products in a smart collection.
*
* @param {Number} id Smart collection ID
* @param {Object} params Query parameters
* @return {Promise} Promise that resolves with the result
* @public
*/
SmartCollection.prototype.products = function products(id, params) {
const url = this.buildUrl(`${id}/products`, params);
return this.shopify.request(url, 'GET', 'products');
};
module.exports = SmartCollection;

Sorry, the diff of this file is too big to display

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