@wp-playground/client 0.1.10 → 0.1.17

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +2 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Playground Client
2
2
 
3
- Provides a WordPress Playground client you can bind to a Playground iframe
3
+ Provides a WordPress Playground client you can bind to a Playground iframe
4
4
  to control the embedded WordPress site. Here's how to use it:
5
5
 
6
6
  ```ts
package/index.d.ts CHANGED
@@ -180,7 +180,7 @@ export interface WithRun {
180
180
  }
181
181
  export type MountSettings = {
182
182
  root: string;
183
- mountpoint: string;
183
+ mountpoint?: string;
184
184
  };
185
185
  declare class PHP implements WithPHPIniBindings, WithFilesystem, WithNodeFilesystem, WithCLI, WithRun {
186
186
  #private;
@@ -196,6 +196,7 @@ declare class PHP implements WithPHPIniBindings, WithFilesystem, WithNodeFilesys
196
196
  setPhpIniPath(path: string): void;
197
197
  /** @inheritDoc */
198
198
  setPhpIniEntry(key: string, value: string): void;
199
+ chdir(path: string): void;
199
200
  /** @inheritDoc */
200
201
  run(request?: PHPRequest): PHPResponse;
201
202
  cli(argv: string[]): Promise<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/client",
3
- "version": "0.1.10",
3
+ "version": "0.1.17",
4
4
  "description": "WordPress Playground client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "type": "module",
30
30
  "main": "index.js",
31
31
  "types": "index.d.ts",
32
- "gitHead": "14306190cd56668b951d2d4732f85963b729ef68"
32
+ "gitHead": "252cef47cf1e98e446488691c8c83b5dec86ff46"
33
33
  }