venue-js 1.3.0-next.1 → 1.3.0-next.2

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.mjs CHANGED
@@ -322,6 +322,7 @@ import {
322
322
  } from "@tanstack/query-core";
323
323
 
324
324
  // src/data/populator/index.ts
325
+ import { compact as compact2 } from "lodash-es";
325
326
  import { booleanWithin } from "@turf/boolean-within";
326
327
  var createPopulator = ({
327
328
  internalFindById,
@@ -468,7 +469,7 @@ var createPopulator = ({
468
469
  ...occupant.properties,
469
470
  anchor: anchor ? await populateAnchor(anchor) : null,
470
471
  local_categories: await Promise.all(
471
- localCategories.map(populateTaxonomy)
472
+ compact2(localCategories).map(populateTaxonomy)
472
473
  ),
473
474
  venue,
474
475
  promotions,
@@ -2673,7 +2674,7 @@ var CameraManager = class {
2673
2674
  };
2674
2675
 
2675
2676
  // src/IndoorMap/renderer/RendererManager.ts
2676
- import { min, compact as compact2, isFunction } from "lodash-es";
2677
+ import { min, compact as compact3, isFunction } from "lodash-es";
2677
2678
  import { center as turfCenter2 } from "@turf/center";
2678
2679
  import * as THREE3 from "three";
2679
2680
 
@@ -4421,7 +4422,7 @@ var RendererManager = class extends EventTarget {
4421
4422
  });
4422
4423
  units.filter((u4) => u4.properties.category === "room").forEach((unit) => {
4423
4424
  const openingRelationships = relationships.filter((r) => r.properties.origin?.id === unit.id || r.properties.destination?.id === unit.id);
4424
- const roomOpenings = compact2(openingRelationships.map((rel) => {
4425
+ const roomOpenings = compact3(openingRelationships.map((rel) => {
4425
4426
  const openingId = rel?.properties.intermediary[0].id;
4426
4427
  return openings.find((o) => o.id === openingId);
4427
4428
  }));