@fieldnotes/core 0.8.1 → 0.8.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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.d.cts +0 -875
- package/dist/index.d.ts +0 -875
package/dist/index.js
CHANGED
|
@@ -1935,7 +1935,8 @@ function loadImages(elements) {
|
|
|
1935
1935
|
done();
|
|
1936
1936
|
};
|
|
1937
1937
|
img.onerror = done;
|
|
1938
|
-
|
|
1938
|
+
const sep = el.src.includes("?") ? "&" : "?";
|
|
1939
|
+
img.src = `${el.src}${sep}_cors=1`;
|
|
1939
1940
|
}
|
|
1940
1941
|
});
|
|
1941
1942
|
}
|
|
@@ -3844,7 +3845,7 @@ var UpdateLayerCommand = class {
|
|
|
3844
3845
|
};
|
|
3845
3846
|
|
|
3846
3847
|
// src/index.ts
|
|
3847
|
-
var VERSION = "0.8.
|
|
3848
|
+
var VERSION = "0.8.2";
|
|
3848
3849
|
export {
|
|
3849
3850
|
AddElementCommand,
|
|
3850
3851
|
ArrowTool,
|