shopify-buy
Advanced tools
Comparing version 2.14.0 to 2.15.1
# Changelog | ||
### v2.15.1 (April 4, 2022) | ||
* Bumps the SDK to use Storefront API version `2022-04`. For more information, see the [Release Notes](https://shopify.dev/api/release-notes/2022-04). | ||
* Add `product.fetchRecommendations` function that allows for fetching recommended products for a product. | ||
### v2.14.0 (January 6, 2022) | ||
* Bumps the SDK to use Storefront API version `2022-01`. For more information, see the [Release Notes](https://shopify.dev/api/release-notes/2022-01). | ||
* Replace deprecated `description` with `title` in `ScriptDiscountApplication` typed `value` object in discount application fragment | ||
* Remove deprecated `currencyCode` from shop fragment | ||
* Remove deprecated `presentmentPrices` from product variant fragment | ||
### v2.13.0 (October 28, 2021) | ||
@@ -4,0 +14,0 @@ * Bumps the SDK to use Storefront API version `2021-10`. For more information, see the [Release Notes](https://shopify.dev/api/release-notes/2021-10). |
{ | ||
"name": "shopify-buy", | ||
"version": "2.14.0", | ||
"version": "2.15.1", | ||
"description": "The JS Buy SDK is a lightweight library that allows you to build ecommerce into any website. It is based on Shopify's API and provides the ability to retrieve products and collections from your shop, add products to a cart, and checkout.", | ||
@@ -31,3 +31,3 @@ "main": "index.js", | ||
"print-start-message": "wait-on file:.tmp/test/index.html file:.tmp/test/tests.js tcp:35729 tcp:4200 && echo \"\n\n⚡️⚡️⚡️ Good to go at http://localhost:4200 ⚡️⚡️⚡️\"", | ||
"schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2022-01/graphql' --header 'Authorization: Basic MzUxYzEyMjAxN2QwZjJhOTU3ZDMyYWU3MjhhZDc0OWM=' | jq '.' > schema.json", | ||
"schema:fetch": "graphql-js-schema-fetch --url 'https://graphql.myshopify.com/api/2022-04/graphql' --header 'Authorization: Basic MzUxYzEyMjAxN2QwZjJhOTU3ZDMyYWU3MjhhZDc0OWM=' | jq '.' > schema.json", | ||
"minify-umd:optimized": "babel-minify index.umd.js > index.umd.min.js", | ||
@@ -34,0 +34,0 @@ "minify-umd:unoptimized": "babel-minify index.unoptimized.umd.js > index.unoptimized.umd.min.js" |
@@ -56,3 +56,3 @@ # [Shopify](https://www.shopify.com) JavaScript Buy SDK | ||
There is a minified UMD build available via CDN (see the [Changelog](https://github.com/Shopify/js-buy-sdk/blob/master/CHANGELOG.md) for details about the latest release): | ||
There is a minified UMD build of the latest release available via CDN (see the [Changelog](https://github.com/Shopify/js-buy-sdk/blob/master/CHANGELOG.md) for details about the latest release): | ||
@@ -63,3 +63,3 @@ ```html | ||
You can also use a specific release version: | ||
If you **don't** want to use the latest version, you can use a specific older release version: | ||
@@ -66,0 +66,0 @@ ```html |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2921807
47281