@canopy-iiif/app 1.9.20 → 1.9.21
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 +1 -1
- package/ui/dist/index.mjs +4 -0
- package/ui/dist/index.mjs.map +2 -2
- package/ui/dist/server.mjs +4 -0
- package/ui/dist/server.mjs.map +2 -2
package/package.json
CHANGED
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";
|