@nectary/components 5.14.5 → 5.14.6
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/bundle.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nectary/components",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.6",
|
|
4
4
|
"files": [
|
|
5
5
|
"**/*/*.css",
|
|
6
6
|
"**/*/*.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.22.15",
|
|
27
|
-
"@nectary/assets": "3.4.
|
|
27
|
+
"@nectary/assets": "3.4.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@babel/cli": "^7.22.15",
|
|
@@ -134,12 +134,13 @@ class GlobalElementsManager {
|
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
136
|
setDefinitions();
|
|
137
|
-
|
|
137
|
+
const host = new URL(store.cdnUrl).host;
|
|
138
|
+
if (host === "esm.sh" && store.targetlibVersion.length === 0 && store.preload === false) {
|
|
138
139
|
const registry = await fetch(`${this.config.registryUrl}/latest`);
|
|
139
140
|
const registryData = await registry.json();
|
|
140
141
|
store.targetlibVersion = registryData.version;
|
|
142
|
+
setDefinitions();
|
|
141
143
|
}
|
|
142
|
-
setDefinitions();
|
|
143
144
|
}
|
|
144
145
|
} finally {
|
|
145
146
|
store.loadPromise.resolve();
|