@vibemancer/core 1.0.0 → 1.0.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.
- package/dist/{chunk-OTLG74DO.js → chunk-XYEK7THS.js} +4 -3
- package/dist/{chunk-OTLG74DO.js.map → chunk-XYEK7THS.js.map} +1 -1
- package/dist/index-browser.d.ts +1 -4
- package/dist/index-browser.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/engine/sandbox-browser.ts +13 -1
- package/src/engine-version.ts +1 -1
|
@@ -208,7 +208,7 @@ function currentRuleset() {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
// src/engine-version.ts
|
|
211
|
-
var ENGINE_VERSION =
|
|
211
|
+
var ENGINE_VERSION = 1203306608058186;
|
|
212
212
|
|
|
213
213
|
// src/engine/hooks-runtime.ts
|
|
214
214
|
var _g = globalThis;
|
|
@@ -9553,6 +9553,7 @@ function isBannedBotName(name) {
|
|
|
9553
9553
|
}
|
|
9554
9554
|
|
|
9555
9555
|
// src/engine/sandbox-browser.ts
|
|
9556
|
+
var WORKER_INIT_MIN_MS = 3e4;
|
|
9556
9557
|
var WORKER_BOOTSTRAP = `
|
|
9557
9558
|
;(function() {
|
|
9558
9559
|
var _port = null;
|
|
@@ -9631,7 +9632,7 @@ var BrowserMatchSandbox = class _BrowserMatchSandbox {
|
|
|
9631
9632
|
}
|
|
9632
9633
|
const sandbox = new _BrowserMatchSandbox(worker, cleanup, timeout);
|
|
9633
9634
|
try {
|
|
9634
|
-
await sandbox.waitForReady(timeout);
|
|
9635
|
+
await sandbox.waitForReady(Math.max(timeout, WORKER_INIT_MIN_MS));
|
|
9635
9636
|
} catch (error) {
|
|
9636
9637
|
sandbox.dispose();
|
|
9637
9638
|
throw error;
|
|
@@ -10616,4 +10617,4 @@ export {
|
|
|
10616
10617
|
diagnoseTrace,
|
|
10617
10618
|
formatDiagnosis
|
|
10618
10619
|
};
|
|
10619
|
-
//# sourceMappingURL=chunk-
|
|
10620
|
+
//# sourceMappingURL=chunk-XYEK7THS.js.map
|