@lvce-editor/extension-management-worker 4.83.1 → 4.83.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.
@@ -2160,6 +2160,12 @@ const parseDirective = directive => {
2160
2160
  const getWorkerUrls = absolutePath => {
2161
2161
  const applicationUrl = new URL(getOrigin());
2162
2162
  const workerUrl = new URL(absolutePath, applicationUrl);
2163
+ if (workerUrl.protocol === 'lvce:') {
2164
+ return {
2165
+ assetSource: new URL('./', workerUrl).href,
2166
+ origin: applicationUrl.origin
2167
+ };
2168
+ }
2163
2169
  if (workerUrl.protocol !== 'http:' && workerUrl.protocol !== 'https:') {
2164
2170
  return {
2165
2171
  origin: applicationUrl.origin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-management-worker",
3
- "version": "4.83.1",
3
+ "version": "4.83.2",
4
4
  "description": "Webworker for the Extension Management functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"