@adland/embed 0.3.0 → 0.4.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 +29 -0
- package/dist/adland-farcaster.js +55 -55
- package/dist/adland-farcaster.js.map +1 -1
- package/dist/adland.js +44 -44
- package/dist/adland.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @adland/embed
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e572ef2: `<adland-slot>` no longer reads off a public RPC by default.
|
|
8
|
+
|
|
9
|
+
The element calls `@adland/react`'s `createReadClient`, so it inherits that
|
|
10
|
+
package's new transport: adland's cached read endpoint first, the chain's public
|
|
11
|
+
RPC behind it. Previously it went straight to `https://mainnet.base.org`, which
|
|
12
|
+
Base documents as "rate-limited and not suitable for production traffic".
|
|
13
|
+
|
|
14
|
+
Written as its own entry rather than left to the automatic dependency bump. The
|
|
15
|
+
CDN bundle inlines `@adland/react`, so a patch that said only "updated
|
|
16
|
+
dependencies" would ship a real change in where every embed's reads go, to the
|
|
17
|
+
consumers least able to notice — script-tag users who never see a lockfile.
|
|
18
|
+
|
|
19
|
+
`rpc-url` on the element still overrides both, unchanged:
|
|
20
|
+
|
|
21
|
+
<adland-slot slot-key="adland-1" rpc-url="https://my-node.example"></adland-slot>
|
|
22
|
+
|
|
23
|
+
Script-tag users are pinned to a published version through jsdelivr
|
|
24
|
+
(`@adland/embed@<version>/dist/adland.js`), so they get this when the package is
|
|
25
|
+
published AND the `EMBED_VERSION` the docs hand out is bumped — not before.
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [e572ef2]
|
|
30
|
+
- @adland/react@0.24.0
|
|
31
|
+
|
|
3
32
|
## 0.3.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|