Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed broken release

Blue Mousee65920123a2d
diff --git a/dist/esnext/Lib.d.ts b/dist/esnext/Lib.d.ts
index ef38866d0..039cfa42a 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<IPageViewPayload> | boolean;
}
export declare const defaultPageActions: {
stop(): void;
diff --git a/package.json b/package.json
index 61a5177f6..b918de3d2 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",