Socket
Socket
Sign inDemoInstall

@ninetailed/experience.js-shared

Package Overview
Dependencies
Maintainers
2
Versions
373
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.6.0 to 7.6.1-beta.0

2

index.cjs.js

@@ -613,3 +613,3 @@ 'use strict';

name: 'Ninetailed React Analytics SDK',
version: "7.6.0"
version: "7.6.1-beta.0"
},

@@ -616,0 +616,0 @@ userAgent: ctx.userAgent,

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

name: 'Ninetailed React Analytics SDK',
version: "7.6.0"
version: "7.6.1-beta.0"
},

@@ -581,0 +581,0 @@ userAgent: ctx.userAgent,

{
"name": "@ninetailed/experience.js-shared",
"version": "7.6.0",
"version": "7.6.1-beta.0",
"description": "Shared code for Experience.js",

@@ -17,3 +17,3 @@ "license": "MIT",

"ts-toolbelt": "9.6.0",
"zod": "3.21.4",
"zod": "3.23.0",
"i18n-iso-countries": "7.5.0",

@@ -20,0 +20,0 @@ "murmurhash-js": "1.0.0",

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

audiences: z.ZodArray<z.ZodString, "many">;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, import("../generic/Json").JsonObject>;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, unknown>;
location: z.ZodObject<{

@@ -169,3 +169,2 @@ coordinates: z.ZodOptional<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -199,2 +198,3 @@ coordinates?: {

};
traits?: unknown;
}>;

@@ -261,3 +261,2 @@ experiences: z.ZodArray<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -291,2 +290,3 @@ coordinates?: {

};
traits?: unknown;
};

@@ -303,3 +303,2 @@ experiences: {

message: string;
error: boolean | null;
data: {

@@ -347,5 +346,5 @@ profile: {

};
error: boolean | null;
}, {
message: string;
error: boolean | null;
data: {

@@ -357,3 +356,2 @@ profile: {

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -387,2 +385,3 @@ coordinates?: {

};
traits?: unknown;
};

@@ -395,3 +394,4 @@ experiences: {

};
error: boolean | null;
}>;
export type CreateProfileResponse = z.infer<typeof CreateProfileResponse>;

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

audiences: z.ZodArray<z.ZodString, "many">;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, import("../generic/Json").JsonObject>;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, unknown>;
location: z.ZodObject<{

@@ -148,3 +148,2 @@ coordinates: z.ZodOptional<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -178,2 +177,3 @@ coordinates?: {

};
traits?: unknown;
}>;

@@ -240,3 +240,2 @@ experiences: z.ZodArray<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -270,2 +269,3 @@ coordinates?: {

};
traits?: unknown;
};

@@ -282,3 +282,2 @@ experiences: {

message: string;
error: boolean | null;
data: {

@@ -326,5 +325,5 @@ profile: {

};
error: boolean | null;
}, {
message: string;
error: boolean | null;
data: {

@@ -336,3 +335,2 @@ profile: {

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -366,2 +364,3 @@ coordinates?: {

};
traits?: unknown;
};

@@ -374,3 +373,4 @@ experiences: {

};
error: boolean | null;
}>;
export type GetProfileResponse = z.infer<typeof GetProfileResponse>;

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

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

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

audiences: z.ZodArray<z.ZodString, "many">;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, import("../generic/Json").JsonObject>;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, unknown>;
location: z.ZodObject<{

@@ -169,3 +169,2 @@ coordinates: z.ZodOptional<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -199,2 +198,3 @@ coordinates?: {

};
traits?: unknown;
}>;

@@ -261,3 +261,2 @@ experiences: z.ZodArray<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -291,2 +290,3 @@ coordinates?: {

};
traits?: unknown;
};

@@ -303,3 +303,2 @@ experiences: {

message: string;
error: boolean | null;
data: {

@@ -347,5 +346,5 @@ profile: {

};
error: boolean | null;
}, {
message: string;
error: boolean | null;
data: {

@@ -357,3 +356,2 @@ profile: {

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -387,2 +385,3 @@ coordinates?: {

};
traits?: unknown;
};

@@ -395,3 +394,4 @@ experiences: {

};
error: boolean | null;
}>;
export type UpdateProfileResponse = z.infer<typeof UpdateProfileResponse>;

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

audiences: z.ZodArray<z.ZodString, "many">;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, import("../generic/Json").JsonObject>;
traits: z.ZodType<import("../generic/Json").JsonObject, z.ZodTypeDef, unknown>;
location: z.ZodObject<{

@@ -169,3 +169,2 @@ coordinates: z.ZodOptional<z.ZodObject<{

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -199,2 +198,3 @@ coordinates?: {

};
traits?: unknown;
}>, "many">>;

@@ -243,3 +243,2 @@ }, "strip", z.ZodTypeAny, {

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -273,2 +272,3 @@ coordinates?: {

};
traits?: unknown;
}[] | undefined;

@@ -280,3 +280,2 @@ }>;

message: string;
error: boolean | null;
data: {

@@ -319,5 +318,5 @@ profiles?: {

};
error: boolean | null;
}, {
message: string;
error: boolean | null;
data: {

@@ -329,3 +328,2 @@ profiles?: {

audiences: string[];
traits: import("../generic/Json").JsonObject;
location: {

@@ -359,5 +357,7 @@ coordinates?: {

};
traits?: unknown;
}[] | undefined;
};
error: boolean | null;
}>;
export type UpsertManyProfilesResponse = z.infer<typeof UpsertManyProfilesResponse>;

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

category: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodType<Json, z.ZodTypeDef, Json>, {
path: string;
url: string;
query: Record<string, string>;
referrer: string;
search: string;
title: string;
category?: string | undefined;
}, {
path: string;
url: string;
query: Record<string, string>;
referrer: string;
search: string;
title: string;
category?: string | undefined;
}>;
}, "strip", z.ZodType<Json, z.ZodTypeDef, unknown>, z.objectOutputType<{
path: z.ZodString;
query: z.ZodRecord<z.ZodString, z.ZodString>;
referrer: z.ZodString;
search: z.ZodString;
title: z.ZodString;
url: z.ZodString;
category: z.ZodOptional<z.ZodString>;
}, z.ZodType<Json, z.ZodTypeDef, unknown>, "strip">, z.objectInputType<{
path: z.ZodString;
query: z.ZodRecord<z.ZodString, z.ZodString>;
referrer: z.ZodString;
search: z.ZodString;
title: z.ZodString;
url: z.ZodString;
category: z.ZodOptional<z.ZodString>;
}, z.ZodType<Json, z.ZodTypeDef, unknown>, "strip">>;
export type PageviewProperties = z.infer<typeof PageviewProperties> & Record<string, Json>;

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

audiences: z.ZodArray<z.ZodString, "many">;
traits: z.ZodType<Traits, z.ZodTypeDef, Traits>;
traits: z.ZodType<Traits, z.ZodTypeDef, unknown>;
location: z.ZodObject<{

@@ -147,3 +147,2 @@ coordinates: z.ZodOptional<z.ZodObject<{

audiences: string[];
traits: Traits;
location: {

@@ -177,2 +176,3 @@ coordinates?: {

};
traits?: unknown;
}>;

@@ -179,0 +179,0 @@ export type Profile = z.infer<typeof Profile>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc