posthog-js 1.131.0 → 1.131.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.full.js +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/es.js +1 -1
- package/dist/es.js.map +1 -1
- package/dist/lib/src/request.d.ts +1 -1
- package/dist/lib/src/utils/index.d.ts +1 -0
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/recorder-v2.js.map +1 -1
- package/dist/recorder.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/src/extensions/toolbar.js +2 -1
- package/lib/src/extensions/toolbar.js.map +1 -1
- package/lib/src/posthog-core.js +0 -1
- package/lib/src/posthog-core.js.map +1 -1
- package/lib/src/request.d.ts +1 -1
- package/lib/src/request.js +38 -37
- package/lib/src/request.js.map +1 -1
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/index.js +8 -0
- package/lib/src/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { RequestOptions } from './types';
|
|
2
2
|
export declare const SUPPORTS_REQUEST: boolean;
|
|
3
|
-
export declare const request: (_options: RequestOptions) => void;
|
|
4
3
|
export declare const extendURLParams: (url: string, params: Record<string, any>) => string;
|
|
4
|
+
export declare const request: (_options: RequestOptions) => void;
|
|
@@ -31,3 +31,4 @@ export declare const registerEvent: (element: Element | Window | Document | Node
|
|
|
31
31
|
export declare function loadScript(scriptUrlToLoad: string, callback: (error?: string | Event, event?: Event) => void): void;
|
|
32
32
|
export declare function isCrossDomainCookie(documentLocation: Location | undefined): boolean;
|
|
33
33
|
export declare function isDistinctIdStringLike(value: string): boolean;
|
|
34
|
+
export declare function find<T>(value: T[], predicate: (value: T) => boolean): T | undefined;
|