@uxf/analytics 11.87.0 → 11.88.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/analytics",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.88.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc -P tsconfig.json",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@uxf/core": "11.
|
|
18
|
+
"@uxf/core": "11.88.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": ">=18.0.2"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AnyObject } from "@uxf/core/types";
|
|
1
2
|
import type { ExperimentConfig, ExperimentVariant, GetExpVariantString } from "./types";
|
|
2
3
|
type ResponseCookie = {
|
|
3
4
|
name: string;
|
|
@@ -43,6 +44,6 @@ export declare function getExperimentsFromContext(cookies: Partial<{
|
|
|
43
44
|
[p: string]: string;
|
|
44
45
|
}>): [string, string][];
|
|
45
46
|
export declare function getExperimentsFromClient(): [string, string][];
|
|
46
|
-
export declare function addExperimentsSSR<P>(ctx: GetServerSidePropsContext, pageProps: GetServerSidePropsResult<P>): GetServerSidePropsResult<P>;
|
|
47
|
+
export declare function addExperimentsSSR<P extends AnyObject | undefined>(ctx: GetServerSidePropsContext, pageProps: GetServerSidePropsResult<P>): GetServerSidePropsResult<P>;
|
|
47
48
|
export declare function sendABTestingEvent(getExpVariantString?: GetExpVariantString): void;
|
|
48
49
|
export {};
|
package/src/consent/index.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export type CookieConsentTypeWithVersion = CookiesConsentType & {
|
|
|
8
8
|
version: number;
|
|
9
9
|
};
|
|
10
10
|
export declare function storeConsentToCookie(consent: CookiesConsentType, version: number, cookieTtl?: number): void;
|
|
11
|
-
export declare function readConsentFromCookie(ctx?:
|
|
12
|
-
export declare function isConsentCookieSet(ctx:
|
|
11
|
+
export declare function readConsentFromCookie(ctx?: unknown): CookieConsentTypeWithVersion;
|
|
12
|
+
export declare function isConsentCookieSet(ctx: unknown | null, version: number): boolean;
|
package/src/gtm/gtm-event.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function gtmEvent(gtmEventData:
|
|
1
|
+
export declare function gtmEvent(gtmEventData: unknown): void;
|