venue-js 1.4.0-next.1 → 1.4.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
@@ -372,6 +372,7 @@ var createPopulator = ({
372
372
  };
373
373
  const populateAnchor = async (anchor) => {
374
374
  const unit = await internalFindById(anchor.properties.unit_id);
375
+ const venue = await internalFindById(unit.properties.venue_id);
375
376
  const level = await internalFindById(unit.properties.level_id);
376
377
  const sections = await internalFilterByType("section");
377
378
  const section = sections.find((section2) => booleanWithin(anchor, section2));
@@ -381,7 +382,9 @@ var createPopulator = ({
381
382
  ...anchor.properties,
382
383
  level: await populateLevel(level),
383
384
  unit: await populateUnit(unit),
384
- section: section ? await populateSection(section) : null
385
+ section: section ? await populateSection(section) : null,
386
+ venue: await populateVenue(venue),
387
+ ordinal: level.properties.ordinal
385
388
  }
386
389
  };
387
390
  };