@php-wasm/universal 0.1.32 → 0.1.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@php-wasm/universal",
3
- "version": "0.1.32",
3
+ "version": "0.1.37",
4
4
  "description": "PHP.wasm – emscripten bindings for PHP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,5 +35,5 @@
35
35
  "main": "./index.cjs",
36
36
  "module": "./index.js",
37
37
  "license": "(GPL-2.0-or-later OR MPL-2.0)",
38
- "gitHead": "868bafca7e77ad31e30c1500a0d4da8b1c2314cc"
38
+ "gitHead": "278ae7717090b6ee837b43c7d60df94dcdcaec3f"
39
39
  }
@@ -61,7 +61,7 @@ export abstract class BasePHP implements IsomorphicLocalPHP {
61
61
 
62
62
  /** @inheritDoc */
63
63
  get documentRoot() {
64
- return this.requestHandler!.requestHandler.absoluteUrl;
64
+ return this.requestHandler!.requestHandler.documentRoot;
65
65
  }
66
66
 
67
67
  /** @inheritDoc */
@@ -104,7 +104,8 @@ export interface RequestHandler {
104
104
  absoluteUrl: string;
105
105
 
106
106
  /**
107
- * The absolute URL of this PHPRequestHandler instance.
107
+ * The directory in the PHP filesystem where the server will look
108
+ * for the files to serve. Default: `/var/www`.
108
109
  */
109
110
  documentRoot: string;
110
111
  }