@lvce-editor/text-search-worker 3.36.0 → 3.37.0

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.
@@ -4263,6 +4263,10 @@ const submit = state => {
4263
4263
  });
4264
4264
  };
4265
4265
 
4266
+ const terminate = () => {
4267
+ globalThis.close();
4268
+ };
4269
+
4266
4270
  const Keyboard = -1;
4267
4271
 
4268
4272
  const show = async (x, y, id, ...args) => {
@@ -4376,6 +4380,7 @@ const commandMap = {
4376
4380
  'TextSearch.render': doRender,
4377
4381
  'TextSearch.renderIncremental': renderIncremental,
4378
4382
  'TextSearch.saveState': saveState,
4383
+ 'TextSearch.terminate': terminate,
4379
4384
  // TODO needed?
4380
4385
  'TextSearch.textSearch': textSearch
4381
4386
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/text-search-worker",
3
- "version": "3.36.0",
3
+ "version": "3.37.0",
4
4
  "description": "Text Search Worker",
5
5
  "main": "dist/textSearchWorkerMain.js",
6
6
  "type": "module",