diff --git a/dist/esnext/Lib.d.ts b/dist/esnext/Lib.d.ts index ef38866..039cfa4 100644 --- a/dist/esnext/Lib.d.ts +++ b/dist/esnext/Lib.d.ts @@ -82,7 +82,7 @@ export interface PageViewsOptions { * @param payload - The pageview payload. * @returns The edited payload or `false` to prevent sending the pageview. If `true` is returned, the payload will be sent as-is. */ - callback?: (payload: IPageViewPayload) => IPageViewPayload | boolean; + callback?: (payload: IPageViewPayload) => Partial | boolean; } export declare const defaultPageActions: { stop(): void; diff --git a/package.json b/package.json index 61a5177..b918de3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swetrix", - "version": "3.0.2", + "version": "3.0.3", "description": "The JavaScript analytics client for Swetrix Analytics", "main": "dist/swetrix.cjs.js", "module": "dist/swetrix.es5.js",