@magento/recommendations-js-sdk
Advanced tools
Comparing version 0.0.28 to 0.0.29
{ | ||
"name": "@magento/recommendations-js-sdk", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "📚 JavaScript library for retrieving and displaying Magento product recommendations.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -15,10 +15,30 @@ # Product Recommendations SDK | ||
### DataServices Module | ||
### Dependencies | ||
Before installing the Product Recommendations JavaScript SDK, make sure you have installed the [DataServices Module](https://github.com/magento/data-services-eap/tree/master/DataServices/docs/README.md#how-to-enroll) | ||
Before installing the Product Recommendations JavaScript SDK, make sure you have installed the [DataServices Module](https://github.com/magento/data-services-eap/tree/master/DataServices/docs/README.md#how-to-enroll) and the [Catalog SaaS Export module](https://gist.github.com/erikmarr/36a9f293dc78fefa2ec567c4b48bddee). | ||
### Product Recommendations JavaScript SDK | ||
After you have installed the DataServices Module, refer to the [readme](https://git.corp.adobe.com/magento-datalake/recommendations-js-sdk) for information about how to install the Product Recommendations JavaScript SDK. | ||
This SDK can be pulled down from a CDN or installed as a module from NPM. | ||
#### CDN | ||
The latest version of the SDK is placed in the `latest` directory. | ||
```html | ||
<script src="https://sdk.magento-datasolutions.com/latest/index.js"></script> | ||
``` | ||
Specific versions are also published on the CDN under their respective directories. | ||
```html | ||
<script src="https://sdk.magento-datasolutions.com/v0.0.24/index.js"></script> | ||
``` | ||
#### NPM | ||
```shell | ||
npm install @magento/recommendations-js-sdk | ||
``` | ||
## Initializing the client | ||
@@ -25,0 +45,0 @@ |
143273
199