@adland/embed 0.2.2 → 0.3.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @adland/embed
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 7899811: `<adland-slot slot-key="adland-1">` — name the space instead of addressing it.
8
+
9
+ The custom element could only take a `slot` address, which is the one thing in an
10
+ embed nobody can ever change: redeploy the slot and every page carrying it shows
11
+ a dead space forever. `slot-key` is resolved through the metadata module when the
12
+ ad renders, in a single `eth_call`, so the slot behind the name stays ours to
13
+ move.
14
+
15
+ - `slot` still wins when both are set — pinning an address remains a way to opt
16
+ out of trusting the registry.
17
+ - `ad-module` overrides the module the name resolves through, for chains the
18
+ default map has never heard of.
19
+ - The resolved address is threaded to the impression beacon and the empty-slot
20
+ CTA. Both read the `slot` attribute, so a name-only embed would have recorded
21
+ nothing and linked nowhere — silently, since neither path errors.
22
+
23
+ The same fix lands in `@adland/react`: `<Ad slotKey>` built no read client and
24
+ skipped tracking entirely, because both were gated on `slot` being present.
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [7899811]
29
+ - Updated dependencies [7899811]
30
+ - @adland/data@0.20.0
31
+ - @adland/react@0.23.1
32
+
33
+ ## 0.2.3
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [3d6057c]
38
+ - @adland/react@0.23.0
39
+
3
40
  ## 0.2.2
4
41
 
5
42
  ### Patch Changes