@module-federation/sdk 0.1.15 → 0.1.17

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.js CHANGED
@@ -836,6 +836,7 @@ function createLink(url, cb) {
836
836
  if (!link) {
837
837
  link = document.createElement('link');
838
838
  link.setAttribute('href', url);
839
+ link.setAttribute('crossorigin', 'anonymous');
839
840
  if (createLinkHook) {
840
841
  var createLinkRes = createLinkHook(url);
841
842
  if (_instanceof(createLinkRes, HTMLLinkElement)) {
package/dist/index.esm.js CHANGED
@@ -832,6 +832,7 @@ function createLink(url, cb) {
832
832
  if (!link) {
833
833
  link = document.createElement('link');
834
834
  link.setAttribute('href', url);
835
+ link.setAttribute('crossorigin', 'anonymous');
835
836
  if (createLinkHook) {
836
837
  var createLinkRes = createLinkHook(url);
837
838
  if (_instanceof(createLinkRes, HTMLLinkElement)) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "license": "MIT",
5
5
  "description": "A sdk for support module federation",
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@module-federation/sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "license": "MIT",
5
5
  "description": "A sdk for support module federation",
6
6
  "keywords": [