aura-glass 2.0.21 → 2.0.22
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.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -119946,11 +119946,11 @@ class ConsciousnessResourcePool {
|
|
|
119946
119946
|
if (typeof Worker !== "undefined") {
|
|
119947
119947
|
try {
|
|
119948
119948
|
// Create workers with error handling to prevent build failures
|
|
119949
|
-
const eyeWorker = new Worker(new URL("../workers/eyeTrackingWorker.
|
|
119949
|
+
const eyeWorker = new Worker(new URL("../workers/eyeTrackingWorker.js", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.js', document.baseURI).href))));
|
|
119950
119950
|
this.eyeTrackingWorkers.push(eyeWorker);
|
|
119951
|
-
const bioWorker = new Worker(new URL("../workers/biometricWorker.
|
|
119951
|
+
const bioWorker = new Worker(new URL("../workers/biometricWorker.js", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.js', document.baseURI).href))));
|
|
119952
119952
|
this.biometricProcessors.push(bioWorker);
|
|
119953
|
-
const predWorker = new Worker(new URL("../workers/predictiveWorker.
|
|
119953
|
+
const predWorker = new Worker(new URL("../workers/predictiveWorker.js", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.js', document.baseURI).href))));
|
|
119954
119954
|
this.predictiveAnalyzers.push(predWorker);
|
|
119955
119955
|
} catch (error) {
|
|
119956
119956
|
// Workers not available in this environment (e.g., SSR, old browsers)
|
package/dist/index.mjs
CHANGED
|
@@ -119922,11 +119922,11 @@ class ConsciousnessResourcePool {
|
|
|
119922
119922
|
if (typeof Worker !== "undefined") {
|
|
119923
119923
|
try {
|
|
119924
119924
|
// Create workers with error handling to prevent build failures
|
|
119925
|
-
const eyeWorker = new Worker(new URL("../workers/eyeTrackingWorker.
|
|
119925
|
+
const eyeWorker = new Worker(new URL("../workers/eyeTrackingWorker.js", import.meta.url));
|
|
119926
119926
|
this.eyeTrackingWorkers.push(eyeWorker);
|
|
119927
|
-
const bioWorker = new Worker(new URL("../workers/biometricWorker.
|
|
119927
|
+
const bioWorker = new Worker(new URL("../workers/biometricWorker.js", import.meta.url));
|
|
119928
119928
|
this.biometricProcessors.push(bioWorker);
|
|
119929
|
-
const predWorker = new Worker(new URL("../workers/predictiveWorker.
|
|
119929
|
+
const predWorker = new Worker(new URL("../workers/predictiveWorker.js", import.meta.url));
|
|
119930
119930
|
this.predictiveAnalyzers.push(predWorker);
|
|
119931
119931
|
} catch (error) {
|
|
119932
119932
|
// Workers not available in this environment (e.g., SSR, old browsers)
|
package/package.json
CHANGED