@mailoo/images 1.34.2 → 1.34.3
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 +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -46,14 +46,14 @@ rewriteMailooBlogMediaUrls(post, {
|
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
`ogImageUrl` from the blog API is the canonical Mailoo embed URL. It is not
|
|
49
|
-
anonymous. Rewrite copies the
|
|
50
|
-
`proxyPrefixWithIdEquals` makes rewritten `ogImageUrl` (and
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
`image.external-read`.
|
|
49
|
+
anonymous. Rewrite copies the prefix shape: a site-relative
|
|
50
|
+
`proxyPrefixWithIdEquals` makes rewritten `ogImageUrl` (and `htmlContent`
|
|
51
|
+
images) site-relative — that is the right `<img src>`. `og:image` /
|
|
52
|
+
JSON-LD must be absolute against the current request origin, with Facebook
|
|
53
|
+
`type` / `width` / `height`. `Allow` the proxy in `*` for Twitter/LinkedIn;
|
|
54
|
+
Facebook needs `User-agent: facebookexternalhit` / `Allow: /` and must not
|
|
55
|
+
see `Disallow: /api/` over the proxy (synthetic 403 even on HTTP 200).
|
|
56
|
+
The API key needs `image.external-read`.
|
|
57
57
|
|
|
58
58
|
## Library BFF (Bearer)
|
|
59
59
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailoo/images",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.3",
|
|
4
4
|
"description": "Mailoo image BFF helpers and public URL rewrite for Next.js",
|
|
5
5
|
"license": "LicenseRef-Mailoo-NoModification",
|
|
6
6
|
"homepage": "https://mailoo.app/en/support/docs/integrations/nextjs-packages",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"next": ">=16.4.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@mailoo/next-core": "1.34.
|
|
41
|
+
"@mailoo/next-core": "1.34.3",
|
|
42
42
|
"@types/node": "^25.9.5",
|
|
43
43
|
"next": "^16.4.2",
|
|
44
44
|
"tsup": "^8.5.1",
|