@rebuy/rebuy-hydrogen 2.2.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Rebuy + Hydrogen package is a web development framework used for building Shopify custom storefronts. It includes providers, components, and tooling you need to get started so you can spend your time creating intelligent shopping experiences.
4
4
 
5
+ ## Rebuy + Hydrogen 2
6
+
7
+ Rebuy makes it incredibly easy to bring powerful personalized product recommendations and smart search to your Shopify Hydrogen 2.0 Storefront. For more details on this, please check out our [Rebuy + Shopify Hydrogen 2.0 documentation](https://developers.rebuyengine.com/reference/rebuy-shopify-hydrogen-2).
8
+
9
+ Components and more coming soon.
10
+
5
11
  ## How Rebuy + Hydrogen Works
6
12
 
7
13
  Rebuy + Hydrogen is a lightweight framework for creating personalized shopping experiences that are lightening fast. The framework is composed of:
@@ -48,7 +48,7 @@ export const RebuyContextProvider = ({ children }) => {
48
48
 
49
49
  const { data: rebuy, ...response } = await new RebuyClient(
50
50
  REBUY_API_KEY
51
- ).getDataFromCDN(request.url, request.parameters);
51
+ ).getShieldedAsset(request.url, request.parameters);
52
52
 
53
53
  // Missing Rebuy shop data?
54
54
  if (!rebuy?.shop) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy-hydrogen",
3
3
  "description": "This is the default library for Rebuy + Shopify Hydrogen",
4
- "version": "2.2.0",
4
+ "version": "2.3.1",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",
7
7
  "type": "module",
@@ -60,7 +60,7 @@
60
60
  "semantic-release": "^19.0.5"
61
61
  },
62
62
  "dependencies": {
63
- "@rebuy/rebuy": "^1.3.9"
63
+ "@rebuy/rebuy": "^1.4.0"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@shopify/hydrogen": "^1.6.1"