@vercel/og 0.0.14 → 0.0.15

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -82,10 +82,12 @@ When running in production, these headers will be included by `@vercel/og`:
82
82
 
83
83
  During development, the `cache-control: no-cache, no-store` header is used instead.
84
84
 
85
- ## Supported HTML and CSS Features
85
+ ### Supported HTML and CSS Features
86
86
 
87
87
  Please refer to [Satori’s documentation](https://github.com/vercel/satori#documentation) for a list of supported HTML and CSS features.
88
88
 
89
+ By default, `@vercel/og` only has the Noto Sans font included. If you need to use other fonts, you can pass them in the `fonts` option. Check the **Custom Font** example below for more details.
90
+
89
91
  ## Examples
90
92
 
91
93
  - Basic · [_source_](/examples/next/pages/api/vercel.tsx) · [_demo_](https://og-examples.vercel.sh/api/vercel)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/og",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Generate Open Graph Images dynamically from HTML/CSS without a browser",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "license": "MPL-2.0",
22
22
  "dependencies": {
23
23
  "@resvg/resvg-wasm": "2.0.0-alpha.4",
24
- "satori": "0.0.37",
24
+ "satori": "0.0.38",
25
25
  "yoga-wasm-web": "0.1.2"
26
26
  },
27
27
  "devDependencies": {