@vercel/og
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,14 +0,1 @@ | ||
import * as satori from 'satori'; | ||
import * as react from 'react'; | ||
declare module 'satori/wasm' { | ||
export function init(yoga: any): Promise<any> | ||
export default function satori_( | ||
element: react.ReactElement, | ||
options: satori.SatoriOptions | ||
): Promise<string> | ||
} | ||
declare module 'yoga-wasm-web' { | ||
export default function initYoga(wasm: any): Promise<any> | ||
} | ||
export * from './og'; |
{ | ||
"name": "@vercel/og", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -12,3 +13,4 @@ "dist/**/*", | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm --dts" | ||
"build": "tsup src/index.ts --format esm && pnpm types", | ||
"types": "tsc --project tsconfig.json" | ||
}, | ||
@@ -24,5 +26,7 @@ "keywords": [], | ||
"devDependencies": { | ||
"@types/node": "^18.0.5", | ||
"@types/react": "^18.0.15", | ||
"tsup": "^6.1.3" | ||
"tsup": "^6.1.3", | ||
"typescript": "^4.7.4" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1270017
9
419
4