satori 0.13.2 → 0.14.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/README.md +14 -0
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.wasm.cjs +4 -4
- package/dist/index.wasm.cjs.map +1 -1
- package/dist/index.wasm.js +4 -4
- package/dist/index.wasm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -166,6 +166,7 @@ type SatoriOptions = ({
|
|
|
166
166
|
loadAdditionalAsset?: (languageCode: string, segment: string) => Promise<string | Array<FontOptions>>;
|
|
167
167
|
tailwindConfig?: TwConfig;
|
|
168
168
|
onNodeDetected?: (node: SatoriNode) => void;
|
|
169
|
+
pointScaleFactor?: number;
|
|
169
170
|
};
|
|
170
171
|
|
|
171
172
|
declare function satori(element: ReactNode, options: SatoriOptions): Promise<string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -166,6 +166,7 @@ type SatoriOptions = ({
|
|
|
166
166
|
loadAdditionalAsset?: (languageCode: string, segment: string) => Promise<string | Array<FontOptions>>;
|
|
167
167
|
tailwindConfig?: TwConfig;
|
|
168
168
|
onNodeDetected?: (node: SatoriNode) => void;
|
|
169
|
+
pointScaleFactor?: number;
|
|
169
170
|
};
|
|
170
171
|
|
|
171
172
|
declare function satori(element: ReactNode, options: SatoriOptions): Promise<string>;
|