@wp-playground/client 3.1.22 → 3.1.26
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/README.md +24 -4
- package/index.cjs +1 -1
- package/index.d.ts +5494 -84
- package/index.js +1 -1
- package/package.json +3 -2
- package/blueprints-v1-handler.d.ts +0 -7
- package/blueprints-v2-handler.d.ts +0 -7
package/index.js
CHANGED
|
@@ -28578,7 +28578,7 @@ class Bv {
|
|
|
28578
28578
|
await Sv(P, T);
|
|
28579
28579
|
}
|
|
28580
28580
|
const C = parseFloat(E.wpVersion), _ = Number.isFinite(C) && C < 5.1;
|
|
28581
|
-
return E.networking && !_ && await T.prefetchUpdateChecks(), T;
|
|
28581
|
+
return E.networking && !_ && $ && await T.prefetchUpdateChecks(), T;
|
|
28582
28582
|
}
|
|
28583
28583
|
}
|
|
28584
28584
|
class qv {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wp-playground/client",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.26",
|
|
4
4
|
"description": "WordPress Playground client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
+
"types": "./index.d.ts",
|
|
20
21
|
"import": "./index.js",
|
|
21
22
|
"require": "./index.cjs"
|
|
22
23
|
},
|
|
@@ -37,7 +38,7 @@
|
|
|
37
38
|
"main": "./index.cjs",
|
|
38
39
|
"module": "./index.js",
|
|
39
40
|
"types": "index.d.ts",
|
|
40
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "6acfccb8e79f4e664429e3f729f04dbf2ff55303",
|
|
41
42
|
"engines": {
|
|
42
43
|
"node": ">=20.10.0",
|
|
43
44
|
"npm": ">=10.2.3"
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ProgressTracker } from '@php-wasm/progress';
|
|
2
|
-
import { type PlaygroundClient, type StartPlaygroundOptions } from '.';
|
|
3
|
-
export declare class BlueprintsV1Handler {
|
|
4
|
-
private readonly options;
|
|
5
|
-
constructor(options: StartPlaygroundOptions);
|
|
6
|
-
bootPlayground(iframe: HTMLIFrameElement, progressTracker: ProgressTracker): Promise<PlaygroundClient>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ProgressTracker } from '@php-wasm/progress';
|
|
2
|
-
import type { PlaygroundClient, StartPlaygroundOptions } from '.';
|
|
3
|
-
export declare class BlueprintsV2Handler {
|
|
4
|
-
private readonly options;
|
|
5
|
-
constructor(options: StartPlaygroundOptions);
|
|
6
|
-
bootPlayground(iframe: HTMLIFrameElement, progressTracker: ProgressTracker): Promise<PlaygroundClient>;
|
|
7
|
-
}
|