🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@expofp/schema

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expofp/schema - npm Package Compare versions

Comparing version
3.17.0
to
3.18.0
+6
-1
dist/lib/kiosk.d.ts

@@ -15,3 +15,3 @@ import * as z from 'zod';

y: z.ZodOptional<z.ZodNumber>;
z: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
z: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
heading: z.ZodOptional<z.ZodNumber>;

@@ -28,2 +28,7 @@ lat: z.ZodOptional<z.ZodNumber>;

mapPitch: z.ZodOptional<z.ZodNumber>;
mapCenterLng: z.ZodOptional<z.ZodNumber>;
mapCenterLat: z.ZodOptional<z.ZodNumber>;
mapZoom: z.ZodOptional<z.ZodNumber>;
mapBearingDegrees: z.ZodOptional<z.ZodNumber>;
mapPitchDegrees: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;

@@ -30,0 +35,0 @@ export interface Kiosk extends z.infer<typeof KioskSchema> {

@@ -17,4 +17,8 @@ import * as z from 'zod';

y: z.number().optional(),
/** Floor: the level name (a numeric index is accepted and stringified). */
z: z.union([z.string(), z.number()]).optional(),
/**
* Floor: the level name (a numeric index is accepted and stringified).
* Nullable — the on-device SetKiosk flow writes `null` for a plan with no
* layers, and that record round-trips through localStorage.
*/
z: z.union([z.string(), z.number()]).nullish(),
/** Device heading in degrees — rotates the you-are-here marker. */

@@ -30,3 +34,4 @@ heading: z.number().optional(),

uiScale: z.number().optional(),
// the saved camera framing — SetKiosk captures the renderer's camera state
// the saved camera framing on the plan renderer — SetKiosk captures the
// renderer's camera state
/** Map roll at the kiosk's home framing, degrees. */

@@ -44,2 +49,16 @@ mapRollDegrees: z.number().optional(),

mapPitch: z.number().optional(),
// the map-mode framing — with the MapLibre basemap the plan renderer's camera
// is inert, so the home view is captured as the map's own camera instead. The
// two sets are fully independent, pitch included: a kiosk carries whichever
// set its mode captured, and capturing in one mode never writes the other's.
/** Home framing center longitude (map mode). */
mapCenterLng: z.number().optional(),
/** Home framing center latitude (map mode). */
mapCenterLat: z.number().optional(),
/** Map zoom level at the home framing (map mode). */
mapZoom: z.number().optional(),
/** Map bearing at the home framing, degrees (map mode). */
mapBearingDegrees: z.number().optional(),
/** Map pitch at the home framing, degrees (map mode). */
mapPitchDegrees: z.number().optional(),
});
+2
-2
{
"name": "@expofp/schema",
"version": "3.17.0",
"version": "3.18.0",
"type": "module",

@@ -28,3 +28,3 @@ "description": "ExpoFP SDK internal: expo data schemas and types",

"devDependencies": {
"@expofp/utils": "3.17.0"
"@expofp/utils": "3.18.0"
},

@@ -31,0 +31,0 @@ "files": [

Sorry, the diff of this file is too big to display