Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaumaus committed Oct 26, 2024
1 parent 3c94272 commit 21fe40a
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 139 deletions.
2 changes: 0 additions & 2 deletions dist/esnext/Lib.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export interface IPageViewPayload {
te: string | undefined;
co: string | undefined;
pg: string | null | undefined;
prev: string | null | undefined;
/** Pageview-related metadata object with string values. */
meta?: {
[key: string]: string;
Expand Down Expand Up @@ -147,7 +146,6 @@ export declare class Lib {
getPerformanceStats(): IPerfPayload | {};
private heartbeat;
private trackPathChange;
private getPreviousPage;
private trackPage;
submitPageView(payload: Partial<IPageViewPayload>, unique: boolean, perf: IPerfPayload | {}, evokeCallback?: boolean): void;
private canTrack;
Expand Down
30 changes: 0 additions & 30 deletions dist/esnext/Lib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esnext/Lib.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/esnext/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export declare function trackError(payload: IErrorEventPayload): void;
*
* @deprecated This function is deprecated and will be removed soon, please use the `pageview` instead.
* @param pg Path of the page to track (this will be sent to the Swetrix API and displayed in the dashboard).
* @param prev Path of the previous page.
* @param _prev Path of the previous page (deprecated and ignored).
* @param unique If set to `true`, only 1 event with the same ID will be saved per user session.
* @returns void
*/
export declare function trackPageview(pg: string, prev?: string, unique?: boolean): void;
export declare function trackPageview(pg: string, _prev?: string, unique?: boolean): void;
export interface IPageviewOptions {
payload: Partial<IPageViewPayload>;
unique?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions dist/esnext/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 21fe40a

Please sign in to comment.