@disconetwork/shopify 0.0.3 → 0.0.4

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
@@ -6,23 +6,13 @@ Shopify's Polaris web components (`s-*`) on Preact.
6
6
  ## Install
7
7
 
8
8
  ```sh
9
- pnpm add @disconetwork/shopify @shopify/ui-extensions preact react@npm:@preact/compat
9
+ pnpm add @disconetwork/shopify @shopify/ui-extensions preact
10
10
  ```
11
11
 
12
- ### Peer dependencies
13
-
14
- - **`@shopify/ui-extensions`** (2026-07 API or newer)
15
- - **`preact`**
16
-
17
- The package uses `@disconetwork/react`, which imports `react`. Shopify
18
- extensions run Preact, so alias `react` to `@preact/compat` (the `react@npm:`
19
- install above does this).
20
-
21
12
  ## Usage
22
13
 
23
14
  Render `<DiscoRecommendations>` from a `purchase.thank-you.block.render` or
24
- `customer-account.order-status.block.render` target. It reads the order and
25
- buyer from that target's API, so it needs no other props to build the request.
15
+ `customer-account.order-status.block.render` target.
26
16
 
27
17
  ```tsx
28
18
  import "@shopify/ui-extensions/preact";