@wp-playground/client 0.9.28 → 0.9.30
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/index.d.ts +2 -1
- package/index.js +5 -5
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -50,7 +50,8 @@ export declare function startPlaygroundWeb({ iframe, blueprint, remoteUrl, progr
|
|
|
50
50
|
*
|
|
51
51
|
* @param iframe Any iframe with Playground's remote.html loaded.
|
|
52
52
|
* @param options Optional. If `loadRemote` is set, the iframe's `src` will be set to that URL.
|
|
53
|
-
* In other words, use this option if your iframe doesn't have
|
|
53
|
+
* In other words, use this option if your iframe doesn't have
|
|
54
|
+
* remote.html already
|
|
54
55
|
* loaded.
|
|
55
56
|
*/
|
|
56
57
|
export declare function connectPlayground(iframe: HTMLIFrameElement, options?: {
|
package/index.js
CHANGED
|
@@ -12483,13 +12483,13 @@ function Fs(r, {
|
|
|
12483
12483
|
resource: "url",
|
|
12484
12484
|
/**
|
|
12485
12485
|
* Use compression for downloading the wp-cli.phar file.
|
|
12486
|
-
* The official release, hosted at raw.githubusercontent.com, is ~7MB
|
|
12487
|
-
* transfer is uncompressed. playground.wordpress.net supports
|
|
12488
|
-
* and only transmits ~1.4MB.
|
|
12486
|
+
* The official release, hosted at raw.githubusercontent.com, is ~7MB
|
|
12487
|
+
* and the transfer is uncompressed. playground.wordpress.net supports
|
|
12488
|
+
* transfer compression and only transmits ~1.4MB.
|
|
12489
12489
|
*
|
|
12490
12490
|
* @TODO: minify the wp-cli.phar file. It can be as small as 1MB when all the
|
|
12491
|
-
* whitespaces and are removed, and even 500KB when libraries
|
|
12492
|
-
* JavaScript parser or Composer are removed.
|
|
12491
|
+
* whitespaces and are removed, and even 500KB when libraries
|
|
12492
|
+
* like the JavaScript parser or Composer are removed.
|
|
12493
12493
|
*/
|
|
12494
12494
|
url: "https://playground.wordpress.net/wp-cli.phar"
|
|
12495
12495
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/client",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.30",
|
|
4
4
|
"description": "WordPress Playground client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"main": "./index.cjs",
|
|
38
38
|
"module": "./index.js",
|
|
39
39
|
"types": "index.d.ts",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "8c1286b89eb1793445681bf801f64cbf12e15cf2",
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=18.18.0",
|
|
43
43
|
"npm": ">=8.11.0"
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"ajv": "8.12.0",
|
|
47
47
|
"comlink": "^4.4.1",
|
|
48
48
|
"ini": "4.1.2",
|
|
49
|
-
"@wp-playground/blueprints": "0.9.
|
|
50
|
-
"@php-wasm/universal": "0.9.
|
|
51
|
-
"@php-wasm/util": "0.9.
|
|
52
|
-
"@php-wasm/web": "0.9.
|
|
53
|
-
"@php-wasm/progress": "0.9.
|
|
54
|
-
"@php-wasm/logger": "0.9.
|
|
49
|
+
"@wp-playground/blueprints": "0.9.30",
|
|
50
|
+
"@php-wasm/universal": "0.9.30",
|
|
51
|
+
"@php-wasm/util": "0.9.30",
|
|
52
|
+
"@php-wasm/web": "0.9.30",
|
|
53
|
+
"@php-wasm/progress": "0.9.30",
|
|
54
|
+
"@php-wasm/logger": "0.9.30"
|
|
55
55
|
}
|
|
56
56
|
}
|