@minmaps-dev/mm-web-sdk 1.0.0-rc.45 → 1.0.0-rc.46

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/dist/index.d.ts CHANGED
@@ -1271,6 +1271,8 @@ type SnapshotProviderConfig = {
1271
1271
  baseUrl: string;
1272
1272
  fetchImpl?: typeof fetch;
1273
1273
  };
1274
+ /** Highest manifest `schemaVersion` this SDK can read. */
1275
+ declare const SNAPSHOT_SCHEMA_VERSION = 1;
1274
1276
  /**
1275
1277
  * The venue (or its customer) can't be shown from snapshots: it was never
1276
1278
  * published, or it was withdrawn (unpublished, disabled or deleted). Thrown
@@ -2504,6 +2506,14 @@ type VenueSummary = {
2504
2506
  clustering: boolean;
2505
2507
  /** Whether JACS publishes the venue's edits automatically. */
2506
2508
  autoPublish: boolean;
2509
+ /** The venue's street address (its first building's `address`); `null` when
2510
+ * blank or unknown. Only snapshot directories carry it — `/customer/all`
2511
+ * has no buildings — so it is always `null` in `proxy`/`direct` mode. Same
2512
+ * value `MinuteMaps.getVenueAddress()` returns once the venue loads. */
2513
+ address: string | null;
2514
+ /** The venue's description, as with `address`. Matches
2515
+ * `MinuteMaps.getVenueDescription()`. */
2516
+ description: string | null;
2507
2517
  };
2508
2518
  /** One entry of `/customer/all`: a customer and the venues it owns. Hand a
2509
2519
  * venue's `customerId` and `id` to the SDK's `jacs`/`venue` config to load it. */
@@ -2642,5 +2652,5 @@ type ResolvedIconSource = {
2642
2652
  */
2643
2653
  declare function resolveAmenityIconSource(amenity: AmenityLike, preferredLocale?: string): ResolvedIconSource | null;
2644
2654
 
2645
- export { BUILDING_NAME_EXTENSOR_KEY, DAY_KEYS, IMAGE_ALT_EXTENSOR_KEY, MinuteMaps, OPEN_HOURS_EXTENSOR_KEY, OPEN_HOURS_VERSION, PHONE_EXTENSOR_KEY, POINT_OF_INTEREST_EXTENSOR_KEY, RESERVED_EXTENSOR_PREFIX, SnapshotProvider, SnapshotUnavailableError, VenueDirectory, activeSectionIndex, createMinuteMapsSDK, customerDisplayName, getOpenStatus, groupStepsIntoFloorSections, isConnectorAmenity, parseBuildingName, parseImageAlt, parseOpenHours, parsePhone, parsePointOfInterest, resolveAmenityIconSource, resolveSnapshotLocale };
2655
+ export { BUILDING_NAME_EXTENSOR_KEY, DAY_KEYS, IMAGE_ALT_EXTENSOR_KEY, MinuteMaps, OPEN_HOURS_EXTENSOR_KEY, OPEN_HOURS_VERSION, PHONE_EXTENSOR_KEY, POINT_OF_INTEREST_EXTENSOR_KEY, RESERVED_EXTENSOR_PREFIX, SNAPSHOT_SCHEMA_VERSION, SnapshotProvider, SnapshotUnavailableError, VenueDirectory, activeSectionIndex, createMinuteMapsSDK, customerDisplayName, getOpenStatus, groupStepsIntoFloorSections, isConnectorAmenity, parseBuildingName, parseImageAlt, parseOpenHours, parsePhone, parsePointOfInterest, resolveAmenityIconSource, resolveSnapshotLocale };
2646
2656
  export type { Amenity, AmenityBadgeStyle, AmenityWithFloor, Bounds, BoundsPadding, CameraState, Customer, CustomerVenues, DayKey, Destination, DestinationPhone, EventCallback, Floor, FloorMetadata, HoursRange, JMapAuth, JMapConfig, JacsAuth, JacsConfig, JacsProviderConfig, JacsReader, ListCustomerVenuesOptions, MapEvent, OpenHours, OpenHoursTransition, OpenStatus, OpenStatusOptions, POI, POISearchResult, ResolvedIconSource, RouteFloorSection, RoutePoint, RoutingOptions, SDKConfig, SDKOptions, SnapshotProviderConfig, SnapshotUpdateCheck, SnapshotVersions, ThemeName, TransitionStep, VenueDirectoryConfig, VenueSummary, ViewOptions, WayfindCenterMode, WayfindStep, Waypoint, Zone };