@okendo/shopify-hydrogen 0.0.7 → 0.0.10

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -336,7 +336,7 @@ mutation {
336
336
  <Suspense fallback={<LoadingFallback />}>
337
337
  <ShopifyProvider>
338
338
  <!-- *** Include OkendoProvider HERE *** -->
339
- <OkendoProvider
339
+ <OkendoProvider
340
340
  request={request}
341
341
  subscriberId={import.meta.env.VITE_OKENDO_SUBSCRIBER_ID}
342
342
  />
@@ -353,7 +353,7 @@ mutation {
353
353
  </Suspense>
354
354
  );
355
355
  ```
356
-
356
+
357
357
  If your app doesn't use Vite environment variables from a `.env` file, you could also provide your Okendo Subscriber ID through other means, i.e. directly:
358
358
 
359
359
  ``` tsx
@@ -405,6 +405,7 @@ It will provide:
405
405
 
406
406
  | Name | Type | Description | Required |
407
407
  | ------------------------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
408
+ | <code>request</code> | <code>ServerComponentRequest</code> | The request passed into <code>App.server.jsx</code> | yes |
408
409
  | <code>subscriberId</code> | <code>string</code> | The Okendo subscriber ID. | yes |
409
410
  | <code>apiDomain</code> | <code>string</code> | To override the default Okendo API Domain. (Default: <code>api.okendo.io/v1</code>) | no |
410
411
  | <code>cdnDomain</code> | <code>string</code> | To override the default Okendo CDN domain. (Default: <code>cdn-static.okendo.io</code>) | no |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okendo/shopify-hydrogen",
3
- "version": "0.0.7",
3
+ "version": "0.0.10",
4
4
  "description": "A component library containing Okendo Reviews React components.",
5
5
  "main": "dist/esnext/index.js",
6
6
  "files": [