@ninetailed/experience.js-shared
Advanced tools
Comparing version 7.8.0-beta.4 to 7.8.0
@@ -73,3 +73,4 @@ 'use strict'; | ||
variantIndex: zod.z.number(), | ||
variants: zod.z.record(zod.z.string()) | ||
variants: zod.z.record(zod.z.string()), | ||
sticky: zod.z.boolean().optional().default(false) | ||
}); | ||
@@ -613,3 +614,3 @@ | ||
name: 'Ninetailed React Analytics SDK', | ||
version: "7.8.0-beta.4" | ||
version: "7.8.0" | ||
}, | ||
@@ -616,0 +617,0 @@ userAgent: ctx.userAgent, |
@@ -65,3 +65,4 @@ import { z } from 'zod'; | ||
variantIndex: z.number(), | ||
variants: z.record(z.string()) | ||
variants: z.record(z.string()), | ||
sticky: z.boolean().optional().default(false) | ||
}); | ||
@@ -578,3 +579,3 @@ | ||
name: 'Ninetailed React Analytics SDK', | ||
version: "7.8.0-beta.4" | ||
version: "7.8.0" | ||
}, | ||
@@ -581,0 +582,0 @@ userAgent: ctx.userAgent, |
{ | ||
"name": "@ninetailed/experience.js-shared", | ||
"version": "7.8.0-beta.4", | ||
"version": "7.8.0", | ||
"description": "Shared code for Experience.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -202,2 +202,3 @@ import { z } from 'zod'; | ||
variants: z.ZodRecord<z.ZodString, z.ZodString>; | ||
sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -207,2 +208,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}, { | ||
@@ -212,2 +214,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}>, "many">; | ||
@@ -254,2 +257,3 @@ }, "strip", z.ZodTypeAny, { | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}[]; | ||
@@ -296,2 +300,3 @@ }, { | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}[]; | ||
@@ -343,2 +348,3 @@ }>; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}[]; | ||
@@ -389,2 +395,3 @@ }; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}[]; | ||
@@ -391,0 +398,0 @@ }; |
@@ -181,2 +181,3 @@ import { z } from 'zod'; | ||
variants: z.ZodRecord<z.ZodString, z.ZodString>; | ||
sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -186,2 +187,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}, { | ||
@@ -191,2 +193,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}>, "many">; | ||
@@ -233,2 +236,3 @@ }, "strip", z.ZodTypeAny, { | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}[]; | ||
@@ -275,2 +279,3 @@ }, { | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}[]; | ||
@@ -322,2 +327,3 @@ }>; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}[]; | ||
@@ -368,2 +374,3 @@ }; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}[]; | ||
@@ -370,0 +377,0 @@ }; |
@@ -202,2 +202,3 @@ import { z } from 'zod'; | ||
variants: z.ZodRecord<z.ZodString, z.ZodString>; | ||
sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -207,2 +208,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}, { | ||
@@ -212,2 +214,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}>, "many">; | ||
@@ -254,2 +257,3 @@ }, "strip", z.ZodTypeAny, { | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}[]; | ||
@@ -296,2 +300,3 @@ }, { | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}[]; | ||
@@ -343,2 +348,3 @@ }>; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}[]; | ||
@@ -389,2 +395,3 @@ }; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}[]; | ||
@@ -391,0 +398,0 @@ }; |
@@ -6,2 +6,3 @@ import { z } from 'zod'; | ||
variants: z.ZodRecord<z.ZodString, z.ZodString>; | ||
sticky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -11,2 +12,3 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky: boolean; | ||
}, { | ||
@@ -16,3 +18,4 @@ experienceId: string; | ||
variants: Record<string, string>; | ||
sticky?: boolean | undefined; | ||
}>; | ||
export type SelectedVariantInfo = z.infer<typeof SelectedVariantInfo>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
165016
4415
1