@wp-playground/client 3.1.28 → 3.1.29
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.cjs +65 -65
- package/index.d.ts +5 -1
- package/index.js +1659 -1660
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -5156,13 +5156,17 @@ export declare class BlueprintFetchError extends Error {
|
|
|
5156
5156
|
readonly url: string;
|
|
5157
5157
|
constructor(message: string, url: string, options?: ErrorOptions);
|
|
5158
5158
|
}
|
|
5159
|
+
export interface ResolveRemoteBlueprintOptions {
|
|
5160
|
+
fetch?: typeof fetch;
|
|
5161
|
+
corsProxy?: string;
|
|
5162
|
+
}
|
|
5159
5163
|
/**
|
|
5160
5164
|
* Resolves a remote blueprint from a URL.
|
|
5161
5165
|
*
|
|
5162
5166
|
* @param url - The URL of the blueprint to resolve.
|
|
5163
5167
|
* @returns A promise that resolves to the resolved blueprint.
|
|
5164
5168
|
*/
|
|
5165
|
-
export declare function resolveRemoteBlueprint(url: string): Promise<BlueprintBundle>;
|
|
5169
|
+
export declare function resolveRemoteBlueprint(url: string, options?: ResolveRemoteBlueprintOptions): Promise<BlueprintBundle>;
|
|
5166
5170
|
export declare function resolveRuntimeConfiguration(blueprint: Blueprint): Promise<RuntimeConfiguration>;
|
|
5167
5171
|
/**
|
|
5168
5172
|
* @deprecated This function is a no-op. Playground no longer uses a proxy to download plugins and themes.
|