Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@ninetailed/experience.js-shared

Package Overview
Dependencies
Maintainers
3
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ninetailed/experience.js-shared - npm Package Compare versions

Comparing version
7.20.5
to
7.20.6
+4
-11
index.cjs.js

@@ -169,5 +169,3 @@ 'use strict';

const SerializableValue = zod.z.lazy(() => zod.z.union([zod.z.string(), zod.z.number(), zod.z.boolean(), zod.z.null(),
// eslint-disable-next-line @typescript-eslint/no-use-before-define
SerializableObject, zod.z.array(SerializableValue)]));
const SerializableValue = zod.z.lazy(() => zod.z.union([zod.z.string(), zod.z.number(), zod.z.boolean(), zod.z.null(), SerializableObject, zod.z.array(SerializableValue)]));
const SerializableObject = zod.z.lazy(() => zod.z.record(zod.z.string(), zod.z.union([SerializableValue, zod.z.array(SerializableValue)])));

@@ -200,3 +198,3 @@

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
/* global Reflect, Promise */

@@ -210,11 +208,6 @@

function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
step((generator = generator.apply(thisArg, [])).next());
});
}
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
class Logger {

@@ -667,3 +660,3 @@ constructor() {

name: 'Ninetailed React Analytics SDK',
version: "7.20.5"
version: "7.20.6"
},

@@ -670,0 +663,0 @@ userAgent: ctx.userAgent,

@@ -167,5 +167,3 @@ import { z } from 'zod';

const SerializableValue = z.lazy(() => z.union([z.string(), z.number(), z.boolean(), z.null(),
// eslint-disable-next-line @typescript-eslint/no-use-before-define
SerializableObject, z.array(SerializableValue)]));
const SerializableValue = z.lazy(() => z.union([z.string(), z.number(), z.boolean(), z.null(), SerializableObject, z.array(SerializableValue)]));
const SerializableObject = z.lazy(() => z.record(z.string(), z.union([SerializableValue, z.array(SerializableValue)])));

@@ -198,3 +196,3 @@

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
/* global Reflect, Promise */

@@ -208,11 +206,6 @@

function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
step((generator = generator.apply(thisArg, [])).next());
});
}
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
class Logger {

@@ -665,3 +658,3 @@ constructor() {

name: 'Ninetailed React Analytics SDK',
version: "7.20.5"
version: "7.20.6"
},

@@ -668,0 +661,0 @@ userAgent: ctx.userAgent,

{
"name": "@ninetailed/experience.js-shared",
"version": "7.20.5",
"version": "7.20.6",
"description": "Shared code for Experience.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -0,0 +0,0 @@ export * from './lib/types/Endpoints/CreateProfile';

@@ -0,0 +0,0 @@ import type { FetchImpl } from './FetchImpl';

export type FetchImpl = (url: string, init: RequestInit) => Promise<Response>;

@@ -119,2 +119,7 @@ import { ProfileWithSelectedVariants } from '../types/SelectedVariantInfo/ProfileWithSelectedVariants';

upsertManyProfiles({ events }: UpsertManyProfileParams, options?: UpsertManyProfilesRequestOptions): Promise<{
id: string;
stableId: string;
random: number;
audiences: string[];
traits: import("../..").Properties;
location: {

@@ -134,7 +139,2 @@ coordinates?: {

};
traits: import("../..").Properties;
id: string;
stableId: string;
random: number;
audiences: string[];
session: {

@@ -144,4 +144,4 @@ id: string;

landingPage: {
path: string;
url: string;
path: string;
query: Record<string, string>;

@@ -148,0 +148,0 @@ referrer: string;

@@ -0,0 +0,0 @@ export declare const LEGACY_ANONYMOUS_ID = "__anon_id";

@@ -0,0 +0,0 @@ import type { NinetailedRequestContext } from '../types/Event/NinetailedRequestContext';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import type { SharedEventProperties } from '../types/Event/SharedEventProperties';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

import type { NinetailedRequestContext } from '../types/Event/NinetailedRequestContext';
import type { Page } from '../types/Event/Page';
export declare const buildPage: (ctx: NinetailedRequestContext) => Page;
import type { Query } from '../types/Event/Query';
export declare const buildQuery: (url: string) => Query;

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import { LogEvent } from 'diary';

@@ -0,0 +0,0 @@ import { LogSink } from './LogSink';

@@ -0,0 +0,0 @@ import { LogEvent } from 'diary';

@@ -0,0 +0,0 @@ import { LogEvent } from 'diary';

@@ -0,0 +0,0 @@ import { LogEvent, LogFn } from 'diary';

@@ -22,5 +22,5 @@ import { z } from 'zod';

}>, "strip", z.ZodTypeAny, {
key: string;
type: ChangeTypes;
value: string | number | boolean | import("../generic/Json").JsonObject;
key: string;
meta: {

@@ -31,4 +31,4 @@ experienceId: string;

}, {
type: ChangeTypes;
key: string;
type: ChangeTypes;
meta: {

@@ -57,5 +57,5 @@ experienceId: string;

}>, "strip", z.ZodTypeAny, {
key: string;
type: ChangeTypes;
value: string | number | boolean | import("../generic/Json").JsonObject;
key: string;
meta: {

@@ -66,4 +66,4 @@ experienceId: string;

}, {
type: ChangeTypes;
key: string;
type: ChangeTypes;
meta: {

@@ -70,0 +70,0 @@ experienceId: string;

export * from './Changes';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -6,18 +6,18 @@ import { z } from 'zod';

error: z.ZodNullable<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
}, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
data: T;
message: z.ZodString;
error: z.ZodNullable<z.ZodBoolean>;
}>> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
}>>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
data: T;
message: z.ZodString;
error: z.ZodNullable<z.ZodBoolean>;
}>>[k]; } : never, z.baseObjectInputType<{
}>>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
data: T;
message: z.ZodString;
error: z.ZodNullable<z.ZodBoolean>;
}> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
}>]: z.baseObjectInputType<{
data: T;
message: z.ZodString;
error: z.ZodNullable<z.ZodBoolean>;
}>[k_1]; } : never>;
}>[k_1]; }>;

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import type { Alias } from './EventType';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import type { PageviewEvent } from './PageviewEvent';

@@ -0,0 +0,0 @@ export declare const Pageview = "page";

@@ -0,0 +0,0 @@ import type { Group } from './EventType';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ export type NinetailedRequestContext = {

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

@@ -0,0 +0,0 @@ import { z } from 'zod';

export { JsonObject as Properties } from '../generic/Json';
import { z } from 'zod';
export declare const Query: z.ZodRecord<z.ZodString, z.ZodString>;
export type Query = z.infer<typeof Query>;

@@ -0,0 +0,0 @@ import type { Screen } from './EventType';

@@ -0,0 +0,0 @@ import type { GeoLocation } from '../Profile/GeoLocation';

@@ -0,0 +0,0 @@ import { Object } from 'ts-toolbelt';

import { Reference } from './Reference';
export type Baseline<P = unknown> = P & Reference;

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ export type Distribution = {

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ export type { Reference } from './Reference';

export type Reference = {
id: string;
};

@@ -0,0 +0,0 @@ export type VariantRef = {

@@ -0,0 +0,0 @@ import { z } from 'zod';

export type Locale = 'af' | 'af-NA' | 'af-ZA' | 'agq' | 'agq-CM' | 'ak' | 'ak-GH' | 'am' | 'am-ET' | 'ar' | 'ar-001' | 'ar-AE' | 'ar-BH' | 'ar-DZ' | 'ar-EG' | 'ar-IQ' | 'ar-JO' | 'ar-KW' | 'ar-LB' | 'ar-LY' | 'ar-MA' | 'ar-OM' | 'ar-QA' | 'ar-SA' | 'ar-SD' | 'ar-SY' | 'ar-TN' | 'ar-YE' | 'as' | 'as-IN' | 'asa' | 'asa-TZ' | 'az' | 'az-Cyrl' | 'az-Cyrl-AZ' | 'az-Latn' | 'az-Latn-AZ' | 'bas' | 'bas-CM' | 'be' | 'be-BY' | 'bem' | 'bem-ZM' | 'bez' | 'bez-TZ' | 'bg' | 'bg-BG' | 'bm' | 'bm-ML' | 'bn' | 'bn-BD' | 'bn-IN' | 'bo' | 'bo-CN' | 'bo-IN' | 'br' | 'br-FR' | 'brx' | 'brx-IN' | 'bs' | 'bs-BA' | 'ca' | 'ca-ES' | 'cgg' | 'cgg-UG' | 'chr' | 'chr-US' | 'cs' | 'cs-CZ' | 'cy' | 'cy-GB' | 'da' | 'da-DK' | 'dav' | 'dav-KE' | 'de' | 'de-AT' | 'de-BE' | 'de-CH' | 'de-DE' | 'de-LI' | 'de-LU' | 'dje' | 'dje-NE' | 'dua' | 'dua-CM' | 'dyo' | 'dyo-SN' | 'ebu' | 'ebu-KE' | 'ee' | 'ee-GH' | 'ee-TG' | 'el' | 'el-CY' | 'el-GR' | 'en' | 'en-AE' | 'en-AR' | 'en-AS' | 'en-AT' | 'en-AU' | 'en-BB' | 'en-BE' | 'en-BG' | 'en-BH' | 'en-BM' | 'en-BR' | 'en-BW' | 'en-BZ' | 'en-CA' | 'en-CH' | 'en-CL' | 'en-CN' | 'en-CO' | 'en-CR' | 'en-CY' | 'en-CZ' | 'en-DE' | 'en-DK' | 'en-DO' | 'en-EE' | 'en-EG' | 'en-ES' | 'en-FI' | 'en-GB' | 'en-GE' | 'en-GF' | 'en-GH' | 'en-GI' | 'en-GR' | 'en-GU' | 'en-GY' | 'en-HK' | 'en-HR' | 'en-HU' | 'en-ID' | 'en-IE' | 'en-IL' | 'en-IN' | 'en-IS' | 'en-IT' | 'en-JM' | 'en-JO' | 'en-JP' | 'en-KR' | 'en-KW' | 'en-KY' | 'en-LB' | 'en-LI' | 'en-LT' | 'en-LU' | 'en-LV' | 'en-MA' | 'en-MC' | 'en-MG' | 'en-MH' | 'en-MK' | 'en-MO' | 'en-MP' | 'en-MT' | 'en-MU' | 'en-MX' | 'en-MY' | 'en-NA' | 'en-NL' | 'en-NO' | 'en-NZ' | 'en-OM' | 'en-PE' | 'en-PH' | 'en-PK' | 'en-PL' | 'en-PR' | 'en-PT' | 'en-PY' | 'en-QA' | 'en-RO' | 'en-RU' | 'en-SA' | 'en-SE' | 'en-SG' | 'en-SK' | 'en-SI' | 'en-TH' | 'en-TR' | 'en-TT' | 'en-TW' | 'en-UA' | 'en-UM' | 'en-US' | 'en-US-POSIX' | 'en-UY' | 'en-VE' | 'en-VI' | 'en-VN' | 'en-ZA' | 'en-ZW' | 'eo' | 'es' | 'es-419' | 'es-AR' | 'es-BO' | 'es-CL' | 'es-CO' | 'es-CR' | 'es-DO' | 'es-EC' | 'es-ES' | 'es-GQ' | 'es-GT' | 'es-HN' | 'es-MX' | 'es-NI' | 'es-PA' | 'es-PE' | 'es-PR' | 'es-PY' | 'es-SV' | 'es-US' | 'es-UY' | 'es-VE' | 'et' | 'et-EE' | 'eu' | 'eu-ES' | 'ewo' | 'ewo-CM' | 'fa' | 'fa-AF' | 'fa-IR' | 'ff' | 'ff-SN' | 'fi' | 'fi-FI' | 'fil' | 'fil-PH' | 'fo' | 'fo-FO' | 'fr' | 'fr-BE' | 'fr-BF' | 'fr-BI' | 'fr-BJ' | 'fr-BL' | 'fr-CA' | 'fr-CD' | 'fr-CF' | 'fr-CG' | 'fr-CH' | 'fr-CI' | 'fr-CM' | 'fr-DJ' | 'fr-FR' | 'fr-GA' | 'fr-GF' | 'fr-GN' | 'fr-GP' | 'fr-GQ' | 'fr-KM' | 'fr-LU' | 'fr-MC' | 'fr-MF' | 'fr-MG' | 'fr-ML' | 'fr-MQ' | 'fr-NE' | 'fr-RE' | 'fr-RW' | 'fr-SN' | 'fr-TD' | 'fr-TG' | 'fr-YT' | 'ga' | 'ga-IE' | 'gl' | 'gl-ES' | 'gsw' | 'gsw-CH' | 'gu' | 'gu-IN' | 'guz' | 'guz-KE' | 'gv' | 'gv-GB' | 'ha' | 'ha-Latn' | 'ha-Latn-GH' | 'ha-Latn-NE' | 'ha-Latn-NG' | 'haw' | 'haw-US' | 'he' | 'he-IL' | 'hi' | 'hi-IN' | 'hr' | 'hr-HR' | 'hu' | 'hu-HU' | 'hy' | 'hy-AM' | 'id' | 'id-ID' | 'ig' | 'ig-NG' | 'ii' | 'ii-CN' | 'is' | 'is-IS' | 'it' | 'it-CH' | 'it-IT' | 'ja' | 'ja-JP' | 'jmc' | 'jmc-TZ' | 'ka' | 'ka-GE' | 'kab' | 'kab-DZ' | 'kam' | 'kam-KE' | 'kde' | 'kde-TZ' | 'kea' | 'kea-CV' | 'khq' | 'khq-ML' | 'ki' | 'ki-KE' | 'kk' | 'kk-Cyrl' | 'kk-Cyrl-KZ' | 'kl' | 'kl-GL' | 'kln' | 'kln-KE' | 'km' | 'km-KH' | 'kn' | 'kn-IN' | 'ko' | 'ko-KR' | 'kok' | 'kok-IN' | 'ksb' | 'ksb-TZ' | 'ksf' | 'ksf-CM' | 'kw' | 'kw-GB' | 'lag' | 'lag-TZ' | 'lg' | 'lg-UG' | 'ln' | 'ln-CD' | 'ln-CG' | 'lt' | 'lt-LT' | 'lu' | 'lu-CD' | 'luo' | 'luo-KE' | 'luy' | 'luy-KE' | 'lv' | 'lv-LV' | 'mas' | 'mas-KE' | 'mas-TZ' | 'mer' | 'mer-KE' | 'mfe' | 'mfe-MU' | 'mg' | 'mg-MG' | 'mgh' | 'mgh-MZ' | 'mk' | 'mk-MK' | 'ml' | 'ml-IN' | 'mr' | 'mr-IN' | 'ms' | 'ms-BN' | 'ms-MY' | 'mt' | 'mt-MT' | 'mua' | 'mua-CM' | 'my' | 'my-MM' | 'naq' | 'naq-NA' | 'nb' | 'nb-NO' | 'nd' | 'nd-ZW' | 'ne' | 'ne-IN' | 'ne-NP' | 'nl' | 'nl-AW' | 'nl-BE' | 'nl-CW' | 'nl-NL' | 'nl-SX' | 'nmg' | 'nmg-CM' | 'nn' | 'nn-NO' | 'nus' | 'nus-SD' | 'nyn' | 'nyn-UG' | 'om' | 'om-ET' | 'om-KE' | 'or' | 'or-IN' | 'pa' | 'pa-Arab' | 'pa-Arab-PK' | 'pa-Guru' | 'pa-Guru-IN' | 'pl' | 'pl-PL' | 'ps' | 'ps-AF' | 'pt' | 'pt-AO' | 'pt-BR' | 'pt-GW' | 'pt-MZ' | 'pt-PT' | 'pt-ST' | 'rm' | 'rm-CH' | 'rn' | 'rn-BI' | 'ro' | 'ro-MD' | 'ro-RO' | 'rof' | 'rof-TZ' | 'ru' | 'ru-MD' | 'ru-RU' | 'ru-UA' | 'rw' | 'rw-RW' | 'rwk' | 'rwk-TZ' | 'saq' | 'saq-KE' | 'sbp' | 'sbp-TZ' | 'seh' | 'seh-MZ' | 'ses' | 'ses-ML' | 'sg' | 'sg-CF' | 'shi' | 'shi-Latn' | 'shi-Latn-MA' | 'shi-Tfng' | 'shi-Tfng-MA' | 'si' | 'si-LK' | 'sk' | 'sk-SK' | 'sl' | 'sl-SI' | 'sn' | 'sn-ZW' | 'so' | 'so-DJ' | 'so-ET' | 'so-KE' | 'so-SO' | 'sq' | 'sq-AL' | 'sr' | 'sr-Cyrl' | 'sr-Cyrl-BA' | 'sr-Cyrl-ME' | 'sr-Cyrl-RS' | 'sr-Latn' | 'sr-Latn-BA' | 'sr-Latn-ME' | 'sr-Latn-RS' | 'sv' | 'sv-FI' | 'sv-SE' | 'sw' | 'sw-KE' | 'sw-TZ' | 'swc' | 'swc-CD' | 'ta' | 'ta-IN' | 'ta-LK' | 'te' | 'te-IN' | 'teo' | 'teo-KE' | 'teo-UG' | 'th' | 'th-TH' | 'ti' | 'ti-ER' | 'ti-ET' | 'to' | 'to-TO' | 'tr' | 'tr-TR' | 'twq' | 'twq-NE' | 'tzm' | 'tzm-Latn' | 'tzm-Latn-MA' | 'uk' | 'uk-UA' | 'ur' | 'ur-IN' | 'ur-PK' | 'uz' | 'uz-Arab' | 'uz-Arab-AF' | 'uz-Cyrl' | 'uz-Cyrl-UZ' | 'uz-Latn' | 'uz-Latn-UZ' | 'vai' | 'vai-Latn' | 'vai-Latn-LR' | 'vai-Vaii' | 'vai-Vaii-LR' | 'vi' | 'vi-VN' | 'vun' | 'vun-TZ' | 'xog' | 'xog-UG' | 'yav' | 'yav-CM' | 'yo' | 'yo-NG' | 'zh' | 'zh-Hans' | 'zh-Hans-AE' | 'zh-Hans-AR' | 'zh-Hans-AT' | 'zh-Hans-AU' | 'zh-Hans-BE' | 'zh-Hans-BG' | 'zh-Hans-BH' | 'zh-Hans-BR' | 'zh-Hans-BW' | 'zh-Hans-CA' | 'zh-Hans-CH' | 'zh-Hans-CL' | 'zh-Hans-CN' | 'zh-Hans-CO' | 'zh-Hans-CR' | 'zh-Hans-CY' | 'zh-Hans-CZ' | 'zh-Hans-DE' | 'zh-Hans-DK' | 'zh-Hans-DO' | 'zh-Hans-EE' | 'zh-Hans-EG' | 'zh-Hans-ES' | 'zh-Hans-FI' | 'zh-Hans-GB' | 'zh-Hans-GE' | 'zh-Hans-GF' | 'zh-Hans-GH' | 'zh-Hans-GI' | 'zh-Hans-GR' | 'zh-Hans-HK' | 'zh-Hans-HR' | 'zh-Hans-HU' | 'zh-Hans-ID' | 'zh-Hans-IE' | 'zh-Hans-IL' | 'zh-Hans-IN' | 'zh-Hans-IS' | 'zh-Hans-IT' | 'zh-Hans-JO' | 'zh-Hans-JP' | 'zh-Hans-KR' | 'zh-Hans-KW' | 'zh-Hans-KY' | 'zh-Hans-LB' | 'zh-Hans-LI' | 'zh-Hans-LT' | 'zh-Hans-LU' | 'zh-Hans-LV' | 'zh-Hans-MA' | 'zh-Hans-MC' | 'zh-Hans-MG' | 'zh-Hans-MK' | 'zh-Hans-MO' | 'zh-Hans-MT' | 'zh-Hans-MU' | 'zh-Hans-MX' | 'zh-Hans-MY' | 'zh-Hans-NA' | 'zh-Hans-NL' | 'zh-Hans-NO' | 'zh-Hans-NZ' | 'zh-Hans-OM' | 'zh-Hans-PE' | 'zh-Hans-PH' | 'zh-Hans-PK' | 'zh-Hans-PL' | 'zh-Hans-PR' | 'zh-Hans-PT' | 'zh-Hans-PY' | 'zh-Hans-QA' | 'zh-Hans-RO' | 'zh-Hans-RU' | 'zh-Hans-SA' | 'zh-Hans-SE' | 'zh-Hans-SG' | 'zh-Hans-SK' | 'zh-Hans-SI' | 'zh-Hans-TH' | 'zh-Hans-TR' | 'zh-Hans-TW' | 'zh-Hans-UA' | 'zh-Hans-US' | 'zh-Hans-UY' | 'zh-Hans-VE' | 'zh-Hans-VN' | 'zh-Hans-ZA' | 'zh-Hant' | 'zh-Hant-AE' | 'zh-Hant-AR' | 'zh-Hant-AT' | 'zh-Hant-AU' | 'zh-Hant-BE' | 'zh-Hant-BG' | 'zh-Hant-BH' | 'zh-Hant-BR' | 'zh-Hant-BW' | 'zh-Hant-CA' | 'zh-Hant-CH' | 'zh-Hant-CL' | 'zh-Hant-CN' | 'zh-Hant-CO' | 'zh-Hant-CR' | 'zh-Hant-CY' | 'zh-Hant-CZ' | 'zh-Hant-DE' | 'zh-Hant-DK' | 'zh-Hant-DO' | 'zh-Hant-EE' | 'zh-Hant-EG' | 'zh-Hant-ES' | 'zh-Hant-FI' | 'zh-Hant-GB' | 'zh-Hant-GE' | 'zh-Hant-GF' | 'zh-Hant-GH' | 'zh-Hant-GI' | 'zh-Hant-GR' | 'zh-Hant-HK' | 'zh-Hant-HR' | 'zh-Hant-HU' | 'zh-Hant-ID' | 'zh-Hant-IE' | 'zh-Hant-IL' | 'zh-Hant-IN' | 'zh-Hant-IS' | 'zh-Hant-IT' | 'zh-Hant-JO' | 'zh-Hant-JP' | 'zh-Hant-KR' | 'zh-Hant-KW' | 'zh-Hant-KY' | 'zh-Hant-LB' | 'zh-Hant-LI' | 'zh-Hant-LT' | 'zh-Hant-LU' | 'zh-Hant-LV' | 'zh-Hant-MA' | 'zh-Hant-MC' | 'zh-Hant-MG' | 'zh-Hant-MK' | 'zh-Hant-MO' | 'zh-Hant-MT' | 'zh-Hant-MU' | 'zh-Hant-MX' | 'zh-Hant-MY' | 'zh-Hant-NA' | 'zh-Hant-NL' | 'zh-Hant-NO' | 'zh-Hant-NZ' | 'zh-Hant-OM' | 'zh-Hant-PE' | 'zh-Hant-PH' | 'zh-Hant-PK' | 'zh-Hant-PL' | 'zh-Hant-PR' | 'zh-Hant-PT' | 'zh-Hant-PY' | 'zh-Hant-QA' | 'zh-Hant-RO' | 'zh-Hant-RU' | 'zh-Hant-SA' | 'zh-Hant-SE' | 'zh-Hant-SG' | 'zh-Hant-SK' | 'zh-Hant-SI' | 'zh-Hant-TH' | 'zh-Hant-TR' | 'zh-Hant-TW' | 'zh-Hant-UA' | 'zh-Hant-US' | 'zh-Hant-UY' | 'zh-Hant-VE' | 'zh-Hant-VN' | 'zh-Hant-ZA' | 'zu' | 'zu-ZA';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { z } from 'zod';

export { JsonObject as Traits } from '../generic/Json';

@@ -0,0 +0,0 @@ import { Change } from '../Change';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { z } from 'zod';

@@ -0,0 +0,0 @@ import { z } from 'zod';

export declare const circularJsonStringify: (value: unknown) => string;
export declare const decycle: (object: unknown, replacer?: ((v: unknown) => unknown) | undefined) => unknown;

@@ -0,0 +0,0 @@ import { Event } from '../types/Event/Event';

export declare const EXPERIENCE_TRAIT_PREFIX = "nt_experiment_";

@@ -0,0 +0,0 @@ import type { Profile } from '../../types/Profile/Profile';

@@ -0,0 +0,0 @@ import { Profile } from '../../types/Profile/Profile';

@@ -0,0 +0,0 @@ import { Profile } from '../../types/Profile/Profile';

import { Baseline, EntryReplacement, ExperienceConfiguration, Reference } from '../../types/ExperienceDefinition';
export declare const selectBaselineWithVariants: <TVariant extends Reference>(experience: ExperienceConfiguration<TVariant>, baseline: Baseline) => EntryReplacement<TVariant> | null;

@@ -0,0 +0,0 @@ import { Distribution, ExperienceConfiguration, Reference } from '../../types/ExperienceDefinition';

@@ -0,0 +0,0 @@ import { ExperienceConfiguration, Reference } from '../../types/ExperienceDefinition';

import { Baseline, ExperienceConfiguration, Reference } from '../../types/ExperienceDefinition';
export declare const selectHasVariants: <Variant extends Reference>(experience: ExperienceConfiguration<Variant>, baseline: Baseline) => boolean;

@@ -9,5 +9,5 @@ import { Profile } from '../../types/Profile/Profile';

export declare const selectVariant: <Variant extends Reference>({ baseline, experience, profile, }: SelectVariantArgs<Variant>) => {
variant: Variant | VariantRef;
variant: VariantRef | Variant;
index: number;
};
export {};
import { Baseline, ExperienceConfiguration, Reference, VariantRef } from '../../types/ExperienceDefinition';
export declare const selectVariants: <TVariant extends Reference>(experience: ExperienceConfiguration<TVariant>, baseline: Baseline) => (TVariant | VariantRef)[];
export declare const selectVariants: <TVariant extends Reference>(experience: ExperienceConfiguration<TVariant>, baseline: Baseline) => (VariantRef | TVariant)[];
export declare const isBrowser: () => boolean;
export declare const pickBy: <T extends Record<string, any>>(object: T, predicate: (value: T[keyof T], key: keyof T) => boolean) => Partial<T>;
export declare const pipe: <T>(...fns: ((arg: T) => T)[]) => (value: T) => T;

@@ -0,0 +0,0 @@ /**

export declare const unionBy: <T extends {
[key: string]: any;
}>(array1: T[], array2: T[], prop: string) => T[];