@cloudflare/workers-types 4.20250310.0 → 4.20250311.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.
@@ -5798,8 +5798,6 @@ interface RateLimit {
5798
5798
  */
5799
5799
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5800
5800
  }
5801
- // Extend this in your apps to properly type Env
5802
- interface Env {}
5803
5801
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5804
5802
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5805
5803
  // strips all `module` blocks.
@@ -6058,7 +6056,6 @@ declare module "cloudflare:workers" {
6058
6056
  step: WorkflowStep,
6059
6057
  ): Promise<unknown>;
6060
6058
  }
6061
- export const env: Env;
6062
6059
  }
6063
6060
  declare module "cloudflare:sockets" {
6064
6061
  function _connect(
@@ -5814,8 +5814,6 @@ export interface RateLimit {
5814
5814
  */
5815
5815
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5816
5816
  }
5817
- // Extend this in your apps to properly type Env
5818
- export interface Env {}
5819
5817
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5820
5818
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5821
5819
  // strips all `module` blocks.
@@ -5824,8 +5824,6 @@ interface RateLimit {
5824
5824
  */
5825
5825
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5826
5826
  }
5827
- // Extend this in your apps to properly type Env
5828
- interface Env {}
5829
5827
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5830
5828
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5831
5829
  // strips all `module` blocks.
@@ -6084,7 +6082,6 @@ declare module "cloudflare:workers" {
6084
6082
  step: WorkflowStep,
6085
6083
  ): Promise<unknown>;
6086
6084
  }
6087
- export const env: Env;
6088
6085
  }
6089
6086
  declare module "cloudflare:sockets" {
6090
6087
  function _connect(
@@ -5840,8 +5840,6 @@ export interface RateLimit {
5840
5840
  */
5841
5841
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5842
5842
  }
5843
- // Extend this in your apps to properly type Env
5844
- export interface Env {}
5845
5843
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5846
5844
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5847
5845
  // strips all `module` blocks.
@@ -5849,8 +5849,6 @@ interface RateLimit {
5849
5849
  */
5850
5850
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5851
5851
  }
5852
- // Extend this in your apps to properly type Env
5853
- interface Env {}
5854
5852
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5855
5853
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5856
5854
  // strips all `module` blocks.
@@ -6109,7 +6107,6 @@ declare module "cloudflare:workers" {
6109
6107
  step: WorkflowStep,
6110
6108
  ): Promise<unknown>;
6111
6109
  }
6112
- export const env: Env;
6113
6110
  }
6114
6111
  declare module "cloudflare:sockets" {
6115
6112
  function _connect(
@@ -5865,8 +5865,6 @@ export interface RateLimit {
5865
5865
  */
5866
5866
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5867
5867
  }
5868
- // Extend this in your apps to properly type Env
5869
- export interface Env {}
5870
5868
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5871
5869
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5872
5870
  // strips all `module` blocks.
@@ -5850,8 +5850,6 @@ interface RateLimit {
5850
5850
  */
5851
5851
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5852
5852
  }
5853
- // Extend this in your apps to properly type Env
5854
- interface Env {}
5855
5853
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5856
5854
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5857
5855
  // strips all `module` blocks.
@@ -6110,7 +6108,6 @@ declare module "cloudflare:workers" {
6110
6108
  step: WorkflowStep,
6111
6109
  ): Promise<unknown>;
6112
6110
  }
6113
- export const env: Env;
6114
6111
  }
6115
6112
  declare module "cloudflare:sockets" {
6116
6113
  function _connect(
@@ -5866,8 +5866,6 @@ export interface RateLimit {
5866
5866
  */
5867
5867
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5868
5868
  }
5869
- // Extend this in your apps to properly type Env
5870
- export interface Env {}
5871
5869
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5872
5870
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5873
5871
  // strips all `module` blocks.
@@ -5854,8 +5854,6 @@ interface RateLimit {
5854
5854
  */
5855
5855
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5856
5856
  }
5857
- // Extend this in your apps to properly type Env
5858
- interface Env {}
5859
5857
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5860
5858
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5861
5859
  // strips all `module` blocks.
@@ -6114,7 +6112,6 @@ declare module "cloudflare:workers" {
6114
6112
  step: WorkflowStep,
6115
6113
  ): Promise<unknown>;
6116
6114
  }
6117
- export const env: Env;
6118
6115
  }
6119
6116
  declare module "cloudflare:sockets" {
6120
6117
  function _connect(
@@ -5870,8 +5870,6 @@ export interface RateLimit {
5870
5870
  */
5871
5871
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5872
5872
  }
5873
- // Extend this in your apps to properly type Env
5874
- export interface Env {}
5875
5873
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5876
5874
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5877
5875
  // strips all `module` blocks.
@@ -5859,8 +5859,6 @@ interface RateLimit {
5859
5859
  */
5860
5860
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5861
5861
  }
5862
- // Extend this in your apps to properly type Env
5863
- interface Env {}
5864
5862
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5865
5863
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5866
5864
  // strips all `module` blocks.
@@ -6119,7 +6117,6 @@ declare module "cloudflare:workers" {
6119
6117
  step: WorkflowStep,
6120
6118
  ): Promise<unknown>;
6121
6119
  }
6122
- export const env: Env;
6123
6120
  }
6124
6121
  declare module "cloudflare:sockets" {
6125
6122
  function _connect(
@@ -5875,8 +5875,6 @@ export interface RateLimit {
5875
5875
  */
5876
5876
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5877
5877
  }
5878
- // Extend this in your apps to properly type Env
5879
- export interface Env {}
5880
5878
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5881
5879
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5882
5880
  // strips all `module` blocks.
@@ -5861,8 +5861,6 @@ interface RateLimit {
5861
5861
  */
5862
5862
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5863
5863
  }
5864
- // Extend this in your apps to properly type Env
5865
- interface Env {}
5866
5864
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5867
5865
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5868
5866
  // strips all `module` blocks.
@@ -6121,7 +6119,6 @@ declare module "cloudflare:workers" {
6121
6119
  step: WorkflowStep,
6122
6120
  ): Promise<unknown>;
6123
6121
  }
6124
- export const env: Env;
6125
6122
  }
6126
6123
  declare module "cloudflare:sockets" {
6127
6124
  function _connect(
@@ -5877,8 +5877,6 @@ export interface RateLimit {
5877
5877
  */
5878
5878
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5879
5879
  }
5880
- // Extend this in your apps to properly type Env
5881
- export interface Env {}
5882
5880
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5883
5881
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5884
5882
  // strips all `module` blocks.
@@ -5861,8 +5861,6 @@ interface RateLimit {
5861
5861
  */
5862
5862
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5863
5863
  }
5864
- // Extend this in your apps to properly type Env
5865
- interface Env {}
5866
5864
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5867
5865
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5868
5866
  // strips all `module` blocks.
@@ -6121,7 +6119,6 @@ declare module "cloudflare:workers" {
6121
6119
  step: WorkflowStep,
6122
6120
  ): Promise<unknown>;
6123
6121
  }
6124
- export const env: Env;
6125
6122
  }
6126
6123
  declare module "cloudflare:sockets" {
6127
6124
  function _connect(
@@ -5877,8 +5877,6 @@ export interface RateLimit {
5877
5877
  */
5878
5878
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5879
5879
  }
5880
- // Extend this in your apps to properly type Env
5881
- export interface Env {}
5882
5880
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5883
5881
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5884
5882
  // strips all `module` blocks.
@@ -5942,8 +5942,6 @@ interface RateLimit {
5942
5942
  */
5943
5943
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5944
5944
  }
5945
- // Extend this in your apps to properly type Env
5946
- interface Env {}
5947
5945
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5948
5946
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5949
5947
  // strips all `module` blocks.
@@ -6202,7 +6200,6 @@ declare module "cloudflare:workers" {
6202
6200
  step: WorkflowStep,
6203
6201
  ): Promise<unknown>;
6204
6202
  }
6205
- export const env: Env;
6206
6203
  }
6207
6204
  declare module "cloudflare:sockets" {
6208
6205
  function _connect(
@@ -5958,8 +5958,6 @@ export interface RateLimit {
5958
5958
  */
5959
5959
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5960
5960
  }
5961
- // Extend this in your apps to properly type Env
5962
- export interface Env {}
5963
5961
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5964
5962
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5965
5963
  // strips all `module` blocks.
package/index.d.ts CHANGED
@@ -5798,8 +5798,6 @@ interface RateLimit {
5798
5798
  */
5799
5799
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5800
5800
  }
5801
- // Extend this in your apps to properly type Env
5802
- interface Env {}
5803
5801
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5804
5802
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5805
5803
  // strips all `module` blocks.
@@ -6058,7 +6056,6 @@ declare module "cloudflare:workers" {
6058
6056
  step: WorkflowStep,
6059
6057
  ): Promise<unknown>;
6060
6058
  }
6061
- export const env: Env;
6062
6059
  }
6063
6060
  declare module "cloudflare:sockets" {
6064
6061
  function _connect(
package/index.ts CHANGED
@@ -5814,8 +5814,6 @@ export interface RateLimit {
5814
5814
  */
5815
5815
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5816
5816
  }
5817
- // Extend this in your apps to properly type Env
5818
- export interface Env {}
5819
5817
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5820
5818
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5821
5819
  // strips all `module` blocks.
package/oldest/index.d.ts CHANGED
@@ -5798,8 +5798,6 @@ interface RateLimit {
5798
5798
  */
5799
5799
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5800
5800
  }
5801
- // Extend this in your apps to properly type Env
5802
- interface Env {}
5803
5801
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5804
5802
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5805
5803
  // strips all `module` blocks.
@@ -6058,7 +6056,6 @@ declare module "cloudflare:workers" {
6058
6056
  step: WorkflowStep,
6059
6057
  ): Promise<unknown>;
6060
6058
  }
6061
- export const env: Env;
6062
6059
  }
6063
6060
  declare module "cloudflare:sockets" {
6064
6061
  function _connect(
package/oldest/index.ts CHANGED
@@ -5814,8 +5814,6 @@ export interface RateLimit {
5814
5814
  */
5815
5815
  limit(options: RateLimitOptions): Promise<RateLimitOutcome>;
5816
5816
  }
5817
- // Extend this in your apps to properly type Env
5818
- export interface Env {}
5819
5817
  // Namespace for RPC utility types. Unfortunately, we can't use a `module` here as these types need
5820
5818
  // to referenced by `Fetcher`. This is included in the "importable" version of the types which
5821
5819
  // strips all `module` blocks.
package/package.json CHANGED
@@ -7,5 +7,5 @@
7
7
  },
8
8
  "author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20250310.0"
10
+ "version": "4.20250311.0"
11
11
  }