@lvce-editor/test-worker 13.6.0 → 13.7.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.
package/dist/api.d.ts CHANGED
@@ -500,6 +500,7 @@ interface Preview {
500
500
  readonly open: (uri: string) => Promise<void>;
501
501
  readonly setUri: (uri: string) => Promise<void>;
502
502
  readonly waitForClick: () => Promise<void>;
503
+ readonly waitForMutation: () => Promise<void>;
503
504
  }
504
505
 
505
506
  interface Problems {
@@ -3336,9 +3336,16 @@ const handleKeyDown = async (hdId, key, code) => {
3336
3336
  const setUri = async uri => {
3337
3337
  await invoke('Preview.setUri', uri);
3338
3338
  };
3339
+
3340
+ /**
3341
+ * @deprecated use waitForMutation instead
3342
+ */
3339
3343
  const waitForClick = async () => {
3340
3344
  await invoke('Preview.waitForClick');
3341
3345
  };
3346
+ const waitForMutation = async () => {
3347
+ await invoke('Preview.waitForMutation');
3348
+ };
3342
3349
 
3343
3350
  const Preview = {
3344
3351
  handleClick,
@@ -3349,7 +3356,8 @@ const Preview = {
3349
3356
  handleMouseUp,
3350
3357
  open: open$2,
3351
3358
  setUri,
3352
- waitForClick
3359
+ waitForClick,
3360
+ waitForMutation
3353
3361
  };
3354
3362
 
3355
3363
  const show$3 = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "13.6.0",
3
+ "version": "13.7.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",