@wp-playground/remote 3.0.2 → 3.0.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.
@@ -2,7 +2,7 @@ import type { FilesystemOperation } from '@php-wasm/fs-journal';
2
2
  import type { EmscriptenDownloadMonitor } from '@php-wasm/progress';
3
3
  import type { MountDevice, SyncProgressCallback } from '@php-wasm/web';
4
4
  import { createMemoizedFetch } from '@wp-playground/common';
5
- import type { MessageListener, SupportedPHPVersion } from '@php-wasm/universal';
5
+ import type { SupportedPHPVersion } from '@php-wasm/universal';
6
6
  import { PHPWorker } from '@php-wasm/universal';
7
7
  import type { BlueprintDeclaration } from '@wp-playground/blueprints';
8
8
  export interface MountDescriptor {
@@ -41,7 +41,6 @@ export declare abstract class PlaygroundWorkerEndpoint extends PHPWorker {
41
41
  * A string representing the version of WordPress that was loaded.
42
42
  */
43
43
  loadedWordPressVersion: string | undefined;
44
- onMessageListeners: MessageListener[];
45
44
  blueprintMessageListeners: Array<(message: any) => void | Promise<void>>;
46
45
  unmounts: Record<string, () => any>;
47
46
  private networkTransport;
@@ -84,7 +83,6 @@ export declare abstract class PlaygroundWorkerEndpoint extends PHPWorker {
84
83
  unmountOpfs(mountpoint: string): Promise<void>;
85
84
  backfillStaticFilesRemovedFromMinifiedBuild(): Promise<void>;
86
85
  hasCachedStaticFilesRemovedFromMinifiedBuild(): Promise<boolean>;
87
- onMessage(listener: MessageListener): () => Promise<void>;
88
86
  onBlueprintMessage(listener: (message: any) => void | Promise<void>): Promise<() => Promise<void>>;
89
87
  abstract boot(_: any): Promise<void>;
90
88
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/remote",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "WordPress Playground remote host",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "access": "public",
26
26
  "directory": "../../../dist/packages/playground/remote"
27
27
  },
28
- "gitHead": "35cc84863d9e92c1e6a5d354bb0727673b461216"
28
+ "gitHead": "878b2c84eea28790c7e8fc8651cc53d5d829072a"
29
29
  }