Commit 59ee7ad
chore: mark .observe extension targets as @deprecated
Add @deprecated and @Private JSDoc annotations to all 4 POS observe
extension targets:
- pos.transaction-complete.event.observe
- pos.cash-tracking-session-start.event.observe
- pos.cash-tracking-session-complete.event.observe
- pos.cart-update.event.observe
Each annotation includes the deprecation version (2026-04), migration
path to pos.app.ready.data + shopify.addEventListener(), and a link
to the new target's documentation. pos.cart-update.event.observe also
references shopify.cart.current.subscribe() as an alternative for
render targets.
Resolves: shop/issues-retail#26066
Epic: shop/issues-retail#26019
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 93d17ac commit 59ee7ad
1 file changed
Lines changed: 33 additions & 0 deletions
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
35 | 51 | | |
36 | 52 | | |
37 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
38 | 62 | | |
39 | 63 | | |
40 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
41 | 74 | | |
42 | 75 | | |
43 | 76 | | |
| |||
0 commit comments