explorbot 0.1.2 → 0.1.4
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.
|
@@ -17,7 +17,7 @@ function getStatesDir() {
|
|
|
17
17
|
function getFingerprintWorker() {
|
|
18
18
|
if (!fingerprintWorker) {
|
|
19
19
|
const ext = import.meta.url.endsWith('.ts') ? '.ts' : '.js';
|
|
20
|
-
fingerprintWorker = new Worker(new URL(`./fingerprint-worker${ext}`, import.meta.url)
|
|
20
|
+
fingerprintWorker = new Worker(new URL(`./fingerprint-worker${ext}`, import.meta.url));
|
|
21
21
|
}
|
|
22
22
|
return fingerprintWorker;
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ function getStatesDir(): string {
|
|
|
22
22
|
function getFingerprintWorker(): Worker {
|
|
23
23
|
if (!fingerprintWorker) {
|
|
24
24
|
const ext = import.meta.url.endsWith('.ts') ? '.ts' : '.js';
|
|
25
|
-
fingerprintWorker = new Worker(new URL(`./fingerprint-worker${ext}`, import.meta.url)
|
|
25
|
+
fingerprintWorker = new Worker(new URL(`./fingerprint-worker${ext}`, import.meta.url));
|
|
26
26
|
}
|
|
27
27
|
return fingerprintWorker;
|
|
28
28
|
}
|