@canopy-iiif/app 1.9.20 → 1.10.0

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.9.20",
3
+ "version": "1.10.0",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "Mat Jordan <mat@northwestern.edu>",
package/ui/dist/index.mjs CHANGED
@@ -45036,6 +45036,10 @@ var Viewer = (props) => {
45036
45036
  DEFAULT_VIEWER_OPTIONS,
45037
45037
  props && props.options
45038
45038
  );
45039
+ const crossOriginExplicitlyUndefined = props && props.options && Object.prototype.hasOwnProperty.call(props.options, "crossOrigin") && props.options.crossOrigin === void 0;
45040
+ if (crossOriginExplicitlyUndefined) {
45041
+ mergedOptions.crossOrigin = null;
45042
+ }
45039
45043
  useEffect2(() => {
45040
45044
  let mounted = true;
45041
45045
  const canUseDom = typeof window !== "undefined" && typeof document !== "undefined";