diff --git a/package-lock.json b/package-lock.json index bf151381..ed2affe3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { "name": "@builder.io/partytown", - "version": "0.8.0", + "version": "0.8.1", "lockfileVersion": 2, "requires": true, "dev": true, "packages": { "": { "name": "@builder.io/partytown", - "version": "0.8.0", + "version": "0.8.1", "license": "MIT", "bin": { "partytown": "bin/partytown.cjs" @@ -30,6 +30,9 @@ "tsm": "^2.2.1", "typescript": "^4.6.2", "uvu": "^0.5.3" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 7a1e4dd9..d1e13642 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@builder.io/partytown", - "version": "0.8.0", + "version": "0.8.1", "description": "Relocate resource intensive third-party scripts off of the main thread and into a web worker.", "license": "MIT", "main": "index.cjs", diff --git a/src/integration/api.md b/src/integration/api.md index 00c3d9cc..e52099cd 100644 --- a/src/integration/api.md +++ b/src/integration/api.md @@ -35,7 +35,9 @@ export interface PartytownConfig { logStackTraces?: boolean; // (undocumented) mainWindowAccessors?: string[]; + nonce?: string; resolveUrl?(url: URL, location: Location, type: ResolveUrlType): URL | undefined | null; + sandboxParent?: string; // (undocumented) set?: SetHook; swPath?: string; diff --git a/src/react/api.md b/src/react/api.md index f7ded2b8..470102fa 100644 --- a/src/react/api.md +++ b/src/react/api.md @@ -5,7 +5,7 @@ ```ts // @public -export const Partytown: (props?: PartytownProps) => any; +export const Partytown: ({ nonce, ...props }?: PartytownProps) => any; // Warning: (ae-forgotten-export) The symbol "PartytownConfig" needs to be exported by the entry point index.d.ts //