wrangler 4.30.0 → 4.31.0
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 +12 -11
- package/templates/remoteBindings/ProxyServerWorker.ts +133 -0
- package/templates/remoteBindings/{proxyServerWorker/wrangler.jsonc → wrangler.jsonc} +1 -1
- package/wrangler-dist/ProxyServerWorker.js +1139 -0
- package/wrangler-dist/cli.d.ts +4 -4
- package/wrangler-dist/cli.js +2696 -2195
- package/wrangler-dist/metafile-cjs.json +1 -1
- package/templates/remoteBindings/proxyServerWorker/index.ts +0 -40
package/wrangler-dist/cli.d.ts
CHANGED
@@ -1417,6 +1417,7 @@ interface CfKvNamespace {
|
|
1417
1417
|
*/
|
1418
1418
|
type CfSendEmailBindings = {
|
1419
1419
|
name: string;
|
1420
|
+
experimental_remote?: boolean;
|
1420
1421
|
} & ({
|
1421
1422
|
destination_address?: string;
|
1422
1423
|
} | {
|
@@ -1527,6 +1528,7 @@ interface CfLogfwdrBinding {
|
|
1527
1528
|
interface CfPipeline {
|
1528
1529
|
binding: string;
|
1529
1530
|
pipeline: string;
|
1531
|
+
experimental_remote?: boolean;
|
1530
1532
|
}
|
1531
1533
|
interface CfUnsafeBinding {
|
1532
1534
|
name: string;
|
@@ -1775,7 +1777,6 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
|
|
1775
1777
|
modified_on: string;
|
1776
1778
|
short_id: string;
|
1777
1779
|
build_image_major_version: number;
|
1778
|
-
kv_namespaces?: any;
|
1779
1780
|
source?: {
|
1780
1781
|
type: "github" | "gitlab";
|
1781
1782
|
config: {
|
@@ -1790,6 +1791,7 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
|
|
1790
1791
|
preview_branch_excludes?: string[] | undefined;
|
1791
1792
|
};
|
1792
1793
|
} | undefined;
|
1794
|
+
kv_namespaces?: any;
|
1793
1795
|
env_vars?: any;
|
1794
1796
|
durable_object_namespaces?: any;
|
1795
1797
|
is_skipped?: boolean | undefined;
|
@@ -2653,9 +2655,6 @@ type WorkerConfigObject = {
|
|
2653
2655
|
/**
|
2654
2656
|
* Utility for potentially starting or updating a remote proxy session.
|
2655
2657
|
*
|
2656
|
-
* It uses an internal map for storing existing remote proxy session indexed by worker names. If no worker name is provided
|
2657
|
-
* the remote proxy session won't be retrieved nor saved to/from the internal map.
|
2658
|
-
*
|
2659
2658
|
* @param wranglerOrWorkerConfigObject either a file path to a wrangler configuration file or an object containing the name of
|
2660
2659
|
* the target worker alongside its bindings.
|
2661
2660
|
* @param preExistingRemoteProxySessionData the optional data of a pre-existing remote proxy session if there was one, this
|
@@ -2740,6 +2739,7 @@ type ExperimentalFlags = {
|
|
2740
2739
|
MULTIWORKER: boolean;
|
2741
2740
|
RESOURCES_PROVISION: boolean;
|
2742
2741
|
REMOTE_BINDINGS: boolean;
|
2742
|
+
DEPLOY_REMOTE_DIFF_CHECK: boolean;
|
2743
2743
|
};
|
2744
2744
|
|
2745
2745
|
// Team names from https://wiki.cfdata.org/display/EW/Developer+Platform+Components+and+Pillar+Ownership
|