@canopy-iiif/app 1.8.11 → 1.8.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopy-iiif/app",
3
- "version": "1.8.11",
3
+ "version": "1.8.13",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "Mat Jordan <mat@northwestern.edu>",
package/ui/dist/index.mjs CHANGED
@@ -47238,13 +47238,21 @@ function normalizeManifestId(raw) {
47238
47238
  }
47239
47239
  var PageContextFallback = React39.createContext(null);
47240
47240
  var referencedModule = null;
47241
+ var REFERENCED_SPEC = "@canopy-iiif/app/lib/components/referenced.js";
47241
47242
  function getReferencedModule() {
47242
47243
  if (typeof window !== "undefined") return null;
47243
47244
  if (referencedModule) return referencedModule;
47244
47245
  try {
47245
47246
  const globalReq = typeof globalThis !== "undefined" && globalThis.__canopyRequire || null;
47246
47247
  if (typeof globalReq === "function") {
47247
- referencedModule = globalReq("../../../lib/components/referenced.js");
47248
+ let target = REFERENCED_SPEC;
47249
+ if (typeof globalReq.resolve === "function") {
47250
+ try {
47251
+ target = globalReq.resolve(REFERENCED_SPEC);
47252
+ } catch (_) {
47253
+ }
47254
+ }
47255
+ referencedModule = globalReq(target);
47248
47256
  return referencedModule;
47249
47257
  }
47250
47258
  } catch (_) {