@cloudflare/workers-types 4.20250725.0 → 4.20250730.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.
@@ -6479,13 +6479,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6479
6479
  *
6480
6480
  * @example 395747
6481
6481
  */
6482
- asn: number;
6482
+ asn?: number;
6483
6483
  /**
6484
6484
  * The organization which owns the ASN of the incoming request.
6485
6485
  *
6486
6486
  * @example "Google Cloud"
6487
6487
  */
6488
- asOrganization: string;
6488
+ asOrganization?: string;
6489
6489
  /**
6490
6490
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6491
6491
  *
@@ -6610,7 +6610,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6610
6610
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6611
6611
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6612
6612
  */
6613
- hostMetadata: HostMetadata;
6613
+ hostMetadata?: HostMetadata;
6614
6614
  }
6615
6615
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6616
6616
  /**
@@ -7925,6 +7925,7 @@ declare module "cloudflare:workers" {
7925
7925
  step: WorkflowStep,
7926
7926
  ): Promise<unknown>;
7927
7927
  }
7928
+ export function waitUntil(promise: Promise<unknown>): void;
7928
7929
  export const env: Cloudflare.Env;
7929
7930
  }
7930
7931
  interface SecretsStoreSecret {
@@ -6497,13 +6497,13 @@ export interface IncomingRequestCfPropertiesBase
6497
6497
  *
6498
6498
  * @example 395747
6499
6499
  */
6500
- asn: number;
6500
+ asn?: number;
6501
6501
  /**
6502
6502
  * The organization which owns the ASN of the incoming request.
6503
6503
  *
6504
6504
  * @example "Google Cloud"
6505
6505
  */
6506
- asOrganization: string;
6506
+ asOrganization?: string;
6507
6507
  /**
6508
6508
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6509
6509
  *
@@ -6630,7 +6630,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6630
6630
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6631
6631
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6632
6632
  */
6633
- hostMetadata: HostMetadata;
6633
+ hostMetadata?: HostMetadata;
6634
6634
  }
6635
6635
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6636
6636
  /**
@@ -6505,13 +6505,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6505
6505
  *
6506
6506
  * @example 395747
6507
6507
  */
6508
- asn: number;
6508
+ asn?: number;
6509
6509
  /**
6510
6510
  * The organization which owns the ASN of the incoming request.
6511
6511
  *
6512
6512
  * @example "Google Cloud"
6513
6513
  */
6514
- asOrganization: string;
6514
+ asOrganization?: string;
6515
6515
  /**
6516
6516
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6517
6517
  *
@@ -6636,7 +6636,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6636
6636
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6637
6637
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6638
6638
  */
6639
- hostMetadata: HostMetadata;
6639
+ hostMetadata?: HostMetadata;
6640
6640
  }
6641
6641
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6642
6642
  /**
@@ -7951,6 +7951,7 @@ declare module "cloudflare:workers" {
7951
7951
  step: WorkflowStep,
7952
7952
  ): Promise<unknown>;
7953
7953
  }
7954
+ export function waitUntil(promise: Promise<unknown>): void;
7954
7955
  export const env: Cloudflare.Env;
7955
7956
  }
7956
7957
  interface SecretsStoreSecret {
@@ -6523,13 +6523,13 @@ export interface IncomingRequestCfPropertiesBase
6523
6523
  *
6524
6524
  * @example 395747
6525
6525
  */
6526
- asn: number;
6526
+ asn?: number;
6527
6527
  /**
6528
6528
  * The organization which owns the ASN of the incoming request.
6529
6529
  *
6530
6530
  * @example "Google Cloud"
6531
6531
  */
6532
- asOrganization: string;
6532
+ asOrganization?: string;
6533
6533
  /**
6534
6534
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6535
6535
  *
@@ -6656,7 +6656,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6656
6656
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6657
6657
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6658
6658
  */
6659
- hostMetadata: HostMetadata;
6659
+ hostMetadata?: HostMetadata;
6660
6660
  }
6661
6661
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6662
6662
  /**
@@ -6523,13 +6523,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6523
6523
  *
6524
6524
  * @example 395747
6525
6525
  */
6526
- asn: number;
6526
+ asn?: number;
6527
6527
  /**
6528
6528
  * The organization which owns the ASN of the incoming request.
6529
6529
  *
6530
6530
  * @example "Google Cloud"
6531
6531
  */
6532
- asOrganization: string;
6532
+ asOrganization?: string;
6533
6533
  /**
6534
6534
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6535
6535
  *
@@ -6654,7 +6654,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6654
6654
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6655
6655
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6656
6656
  */
6657
- hostMetadata: HostMetadata;
6657
+ hostMetadata?: HostMetadata;
6658
6658
  }
6659
6659
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6660
6660
  /**
@@ -7969,6 +7969,7 @@ declare module "cloudflare:workers" {
7969
7969
  step: WorkflowStep,
7970
7970
  ): Promise<unknown>;
7971
7971
  }
7972
+ export function waitUntil(promise: Promise<unknown>): void;
7972
7973
  export const env: Cloudflare.Env;
7973
7974
  }
7974
7975
  interface SecretsStoreSecret {
@@ -6541,13 +6541,13 @@ export interface IncomingRequestCfPropertiesBase
6541
6541
  *
6542
6542
  * @example 395747
6543
6543
  */
6544
- asn: number;
6544
+ asn?: number;
6545
6545
  /**
6546
6546
  * The organization which owns the ASN of the incoming request.
6547
6547
  *
6548
6548
  * @example "Google Cloud"
6549
6549
  */
6550
- asOrganization: string;
6550
+ asOrganization?: string;
6551
6551
  /**
6552
6552
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6553
6553
  *
@@ -6674,7 +6674,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6674
6674
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6675
6675
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6676
6676
  */
6677
- hostMetadata: HostMetadata;
6677
+ hostMetadata?: HostMetadata;
6678
6678
  }
6679
6679
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6680
6680
  /**
@@ -6524,13 +6524,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6524
6524
  *
6525
6525
  * @example 395747
6526
6526
  */
6527
- asn: number;
6527
+ asn?: number;
6528
6528
  /**
6529
6529
  * The organization which owns the ASN of the incoming request.
6530
6530
  *
6531
6531
  * @example "Google Cloud"
6532
6532
  */
6533
- asOrganization: string;
6533
+ asOrganization?: string;
6534
6534
  /**
6535
6535
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6536
6536
  *
@@ -6655,7 +6655,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6655
6655
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6656
6656
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6657
6657
  */
6658
- hostMetadata: HostMetadata;
6658
+ hostMetadata?: HostMetadata;
6659
6659
  }
6660
6660
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6661
6661
  /**
@@ -7970,6 +7970,7 @@ declare module "cloudflare:workers" {
7970
7970
  step: WorkflowStep,
7971
7971
  ): Promise<unknown>;
7972
7972
  }
7973
+ export function waitUntil(promise: Promise<unknown>): void;
7973
7974
  export const env: Cloudflare.Env;
7974
7975
  }
7975
7976
  interface SecretsStoreSecret {
@@ -6542,13 +6542,13 @@ export interface IncomingRequestCfPropertiesBase
6542
6542
  *
6543
6543
  * @example 395747
6544
6544
  */
6545
- asn: number;
6545
+ asn?: number;
6546
6546
  /**
6547
6547
  * The organization which owns the ASN of the incoming request.
6548
6548
  *
6549
6549
  * @example "Google Cloud"
6550
6550
  */
6551
- asOrganization: string;
6551
+ asOrganization?: string;
6552
6552
  /**
6553
6553
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6554
6554
  *
@@ -6675,7 +6675,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6675
6675
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6676
6676
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6677
6677
  */
6678
- hostMetadata: HostMetadata;
6678
+ hostMetadata?: HostMetadata;
6679
6679
  }
6680
6680
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6681
6681
  /**
@@ -6528,13 +6528,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6528
6528
  *
6529
6529
  * @example 395747
6530
6530
  */
6531
- asn: number;
6531
+ asn?: number;
6532
6532
  /**
6533
6533
  * The organization which owns the ASN of the incoming request.
6534
6534
  *
6535
6535
  * @example "Google Cloud"
6536
6536
  */
6537
- asOrganization: string;
6537
+ asOrganization?: string;
6538
6538
  /**
6539
6539
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6540
6540
  *
@@ -6659,7 +6659,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6659
6659
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6660
6660
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6661
6661
  */
6662
- hostMetadata: HostMetadata;
6662
+ hostMetadata?: HostMetadata;
6663
6663
  }
6664
6664
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6665
6665
  /**
@@ -7974,6 +7974,7 @@ declare module "cloudflare:workers" {
7974
7974
  step: WorkflowStep,
7975
7975
  ): Promise<unknown>;
7976
7976
  }
7977
+ export function waitUntil(promise: Promise<unknown>): void;
7977
7978
  export const env: Cloudflare.Env;
7978
7979
  }
7979
7980
  interface SecretsStoreSecret {
@@ -6546,13 +6546,13 @@ export interface IncomingRequestCfPropertiesBase
6546
6546
  *
6547
6547
  * @example 395747
6548
6548
  */
6549
- asn: number;
6549
+ asn?: number;
6550
6550
  /**
6551
6551
  * The organization which owns the ASN of the incoming request.
6552
6552
  *
6553
6553
  * @example "Google Cloud"
6554
6554
  */
6555
- asOrganization: string;
6555
+ asOrganization?: string;
6556
6556
  /**
6557
6557
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6558
6558
  *
@@ -6679,7 +6679,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6679
6679
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6680
6680
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6681
6681
  */
6682
- hostMetadata: HostMetadata;
6682
+ hostMetadata?: HostMetadata;
6683
6683
  }
6684
6684
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6685
6685
  /**
@@ -6533,13 +6533,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6533
6533
  *
6534
6534
  * @example 395747
6535
6535
  */
6536
- asn: number;
6536
+ asn?: number;
6537
6537
  /**
6538
6538
  * The organization which owns the ASN of the incoming request.
6539
6539
  *
6540
6540
  * @example "Google Cloud"
6541
6541
  */
6542
- asOrganization: string;
6542
+ asOrganization?: string;
6543
6543
  /**
6544
6544
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6545
6545
  *
@@ -6664,7 +6664,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6664
6664
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6665
6665
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6666
6666
  */
6667
- hostMetadata: HostMetadata;
6667
+ hostMetadata?: HostMetadata;
6668
6668
  }
6669
6669
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6670
6670
  /**
@@ -7979,6 +7979,7 @@ declare module "cloudflare:workers" {
7979
7979
  step: WorkflowStep,
7980
7980
  ): Promise<unknown>;
7981
7981
  }
7982
+ export function waitUntil(promise: Promise<unknown>): void;
7982
7983
  export const env: Cloudflare.Env;
7983
7984
  }
7984
7985
  interface SecretsStoreSecret {
@@ -6551,13 +6551,13 @@ export interface IncomingRequestCfPropertiesBase
6551
6551
  *
6552
6552
  * @example 395747
6553
6553
  */
6554
- asn: number;
6554
+ asn?: number;
6555
6555
  /**
6556
6556
  * The organization which owns the ASN of the incoming request.
6557
6557
  *
6558
6558
  * @example "Google Cloud"
6559
6559
  */
6560
- asOrganization: string;
6560
+ asOrganization?: string;
6561
6561
  /**
6562
6562
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6563
6563
  *
@@ -6684,7 +6684,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6684
6684
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6685
6685
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6686
6686
  */
6687
- hostMetadata: HostMetadata;
6687
+ hostMetadata?: HostMetadata;
6688
6688
  }
6689
6689
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6690
6690
  /**
@@ -6535,13 +6535,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6535
6535
  *
6536
6536
  * @example 395747
6537
6537
  */
6538
- asn: number;
6538
+ asn?: number;
6539
6539
  /**
6540
6540
  * The organization which owns the ASN of the incoming request.
6541
6541
  *
6542
6542
  * @example "Google Cloud"
6543
6543
  */
6544
- asOrganization: string;
6544
+ asOrganization?: string;
6545
6545
  /**
6546
6546
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6547
6547
  *
@@ -6666,7 +6666,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6666
6666
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6667
6667
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6668
6668
  */
6669
- hostMetadata: HostMetadata;
6669
+ hostMetadata?: HostMetadata;
6670
6670
  }
6671
6671
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6672
6672
  /**
@@ -7981,6 +7981,7 @@ declare module "cloudflare:workers" {
7981
7981
  step: WorkflowStep,
7982
7982
  ): Promise<unknown>;
7983
7983
  }
7984
+ export function waitUntil(promise: Promise<unknown>): void;
7984
7985
  export const env: Cloudflare.Env;
7985
7986
  }
7986
7987
  interface SecretsStoreSecret {
@@ -6553,13 +6553,13 @@ export interface IncomingRequestCfPropertiesBase
6553
6553
  *
6554
6554
  * @example 395747
6555
6555
  */
6556
- asn: number;
6556
+ asn?: number;
6557
6557
  /**
6558
6558
  * The organization which owns the ASN of the incoming request.
6559
6559
  *
6560
6560
  * @example "Google Cloud"
6561
6561
  */
6562
- asOrganization: string;
6562
+ asOrganization?: string;
6563
6563
  /**
6564
6564
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6565
6565
  *
@@ -6686,7 +6686,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6686
6686
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6687
6687
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6688
6688
  */
6689
- hostMetadata: HostMetadata;
6689
+ hostMetadata?: HostMetadata;
6690
6690
  }
6691
6691
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6692
6692
  /**
@@ -6535,13 +6535,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6535
6535
  *
6536
6536
  * @example 395747
6537
6537
  */
6538
- asn: number;
6538
+ asn?: number;
6539
6539
  /**
6540
6540
  * The organization which owns the ASN of the incoming request.
6541
6541
  *
6542
6542
  * @example "Google Cloud"
6543
6543
  */
6544
- asOrganization: string;
6544
+ asOrganization?: string;
6545
6545
  /**
6546
6546
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6547
6547
  *
@@ -6666,7 +6666,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6666
6666
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6667
6667
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6668
6668
  */
6669
- hostMetadata: HostMetadata;
6669
+ hostMetadata?: HostMetadata;
6670
6670
  }
6671
6671
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6672
6672
  /**
@@ -7981,6 +7981,7 @@ declare module "cloudflare:workers" {
7981
7981
  step: WorkflowStep,
7982
7982
  ): Promise<unknown>;
7983
7983
  }
7984
+ export function waitUntil(promise: Promise<unknown>): void;
7984
7985
  export const env: Cloudflare.Env;
7985
7986
  }
7986
7987
  interface SecretsStoreSecret {
@@ -6553,13 +6553,13 @@ export interface IncomingRequestCfPropertiesBase
6553
6553
  *
6554
6554
  * @example 395747
6555
6555
  */
6556
- asn: number;
6556
+ asn?: number;
6557
6557
  /**
6558
6558
  * The organization which owns the ASN of the incoming request.
6559
6559
  *
6560
6560
  * @example "Google Cloud"
6561
6561
  */
6562
- asOrganization: string;
6562
+ asOrganization?: string;
6563
6563
  /**
6564
6564
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6565
6565
  *
@@ -6686,7 +6686,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6686
6686
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6687
6687
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6688
6688
  */
6689
- hostMetadata: HostMetadata;
6689
+ hostMetadata?: HostMetadata;
6690
6690
  }
6691
6691
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6692
6692
  /**
@@ -6784,13 +6784,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6784
6784
  *
6785
6785
  * @example 395747
6786
6786
  */
6787
- asn: number;
6787
+ asn?: number;
6788
6788
  /**
6789
6789
  * The organization which owns the ASN of the incoming request.
6790
6790
  *
6791
6791
  * @example "Google Cloud"
6792
6792
  */
6793
- asOrganization: string;
6793
+ asOrganization?: string;
6794
6794
  /**
6795
6795
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6796
6796
  *
@@ -6915,7 +6915,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6915
6915
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6916
6916
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6917
6917
  */
6918
- hostMetadata: HostMetadata;
6918
+ hostMetadata?: HostMetadata;
6919
6919
  }
6920
6920
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6921
6921
  /**
@@ -8230,6 +8230,7 @@ declare module "cloudflare:workers" {
8230
8230
  step: WorkflowStep,
8231
8231
  ): Promise<unknown>;
8232
8232
  }
8233
+ export function waitUntil(promise: Promise<unknown>): void;
8233
8234
  export const env: Cloudflare.Env;
8234
8235
  }
8235
8236
  interface SecretsStoreSecret {
@@ -6802,13 +6802,13 @@ export interface IncomingRequestCfPropertiesBase
6802
6802
  *
6803
6803
  * @example 395747
6804
6804
  */
6805
- asn: number;
6805
+ asn?: number;
6806
6806
  /**
6807
6807
  * The organization which owns the ASN of the incoming request.
6808
6808
  *
6809
6809
  * @example "Google Cloud"
6810
6810
  */
6811
- asOrganization: string;
6811
+ asOrganization?: string;
6812
6812
  /**
6813
6813
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6814
6814
  *
@@ -6935,7 +6935,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6935
6935
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6936
6936
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6937
6937
  */
6938
- hostMetadata: HostMetadata;
6938
+ hostMetadata?: HostMetadata;
6939
6939
  }
6940
6940
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6941
6941
  /**
package/index.d.ts CHANGED
@@ -6479,13 +6479,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6479
6479
  *
6480
6480
  * @example 395747
6481
6481
  */
6482
- asn: number;
6482
+ asn?: number;
6483
6483
  /**
6484
6484
  * The organization which owns the ASN of the incoming request.
6485
6485
  *
6486
6486
  * @example "Google Cloud"
6487
6487
  */
6488
- asOrganization: string;
6488
+ asOrganization?: string;
6489
6489
  /**
6490
6490
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6491
6491
  *
@@ -6610,7 +6610,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6610
6610
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6611
6611
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6612
6612
  */
6613
- hostMetadata: HostMetadata;
6613
+ hostMetadata?: HostMetadata;
6614
6614
  }
6615
6615
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6616
6616
  /**
@@ -7925,6 +7925,7 @@ declare module "cloudflare:workers" {
7925
7925
  step: WorkflowStep,
7926
7926
  ): Promise<unknown>;
7927
7927
  }
7928
+ export function waitUntil(promise: Promise<unknown>): void;
7928
7929
  export const env: Cloudflare.Env;
7929
7930
  }
7930
7931
  interface SecretsStoreSecret {
package/index.ts CHANGED
@@ -6497,13 +6497,13 @@ export interface IncomingRequestCfPropertiesBase
6497
6497
  *
6498
6498
  * @example 395747
6499
6499
  */
6500
- asn: number;
6500
+ asn?: number;
6501
6501
  /**
6502
6502
  * The organization which owns the ASN of the incoming request.
6503
6503
  *
6504
6504
  * @example "Google Cloud"
6505
6505
  */
6506
- asOrganization: string;
6506
+ asOrganization?: string;
6507
6507
  /**
6508
6508
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6509
6509
  *
@@ -6630,7 +6630,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6630
6630
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6631
6631
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6632
6632
  */
6633
- hostMetadata: HostMetadata;
6633
+ hostMetadata?: HostMetadata;
6634
6634
  }
6635
6635
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6636
6636
  /**
package/latest/index.d.ts CHANGED
@@ -1749,7 +1749,7 @@ interface Request<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>>
1749
1749
  *
1750
1750
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/cache)
1751
1751
  */
1752
- cache?: "no-store";
1752
+ cache?: "no-store" | "no-cache";
1753
1753
  }
1754
1754
  interface RequestInit<Cf = CfProperties> {
1755
1755
  /* A string to set request's method. */
@@ -1763,7 +1763,7 @@ interface RequestInit<Cf = CfProperties> {
1763
1763
  fetcher?: Fetcher | null;
1764
1764
  cf?: Cf;
1765
1765
  /* A string indicating how the request will interact with the browser's cache to set request's cache. */
1766
- cache?: "no-store";
1766
+ cache?: "no-store" | "no-cache";
1767
1767
  /* A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */
1768
1768
  integrity?: string;
1769
1769
  /* An AbortSignal to set request's signal. */
@@ -6564,13 +6564,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6564
6564
  *
6565
6565
  * @example 395747
6566
6566
  */
6567
- asn: number;
6567
+ asn?: number;
6568
6568
  /**
6569
6569
  * The organization which owns the ASN of the incoming request.
6570
6570
  *
6571
6571
  * @example "Google Cloud"
6572
6572
  */
6573
- asOrganization: string;
6573
+ asOrganization?: string;
6574
6574
  /**
6575
6575
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6576
6576
  *
@@ -6695,7 +6695,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6695
6695
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6696
6696
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6697
6697
  */
6698
- hostMetadata: HostMetadata;
6698
+ hostMetadata?: HostMetadata;
6699
6699
  }
6700
6700
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6701
6701
  /**
@@ -8010,6 +8010,7 @@ declare module "cloudflare:workers" {
8010
8010
  step: WorkflowStep,
8011
8011
  ): Promise<unknown>;
8012
8012
  }
8013
+ export function waitUntil(promise: Promise<unknown>): void;
8013
8014
  export const env: Cloudflare.Env;
8014
8015
  }
8015
8016
  interface SecretsStoreSecret {
package/latest/index.ts CHANGED
@@ -1757,7 +1757,7 @@ export interface Request<
1757
1757
  *
1758
1758
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/cache)
1759
1759
  */
1760
- cache?: "no-store";
1760
+ cache?: "no-store" | "no-cache";
1761
1761
  }
1762
1762
  export interface RequestInit<Cf = CfProperties> {
1763
1763
  /* A string to set request's method. */
@@ -1771,7 +1771,7 @@ export interface RequestInit<Cf = CfProperties> {
1771
1771
  fetcher?: Fetcher | null;
1772
1772
  cf?: Cf;
1773
1773
  /* A string indicating how the request will interact with the browser's cache to set request's cache. */
1774
- cache?: "no-store";
1774
+ cache?: "no-store" | "no-cache";
1775
1775
  /* A cryptographic hash of the resource to be fetched by request. Sets request's integrity. */
1776
1776
  integrity?: string;
1777
1777
  /* An AbortSignal to set request's signal. */
@@ -6582,13 +6582,13 @@ export interface IncomingRequestCfPropertiesBase
6582
6582
  *
6583
6583
  * @example 395747
6584
6584
  */
6585
- asn: number;
6585
+ asn?: number;
6586
6586
  /**
6587
6587
  * The organization which owns the ASN of the incoming request.
6588
6588
  *
6589
6589
  * @example "Google Cloud"
6590
6590
  */
6591
- asOrganization: string;
6591
+ asOrganization?: string;
6592
6592
  /**
6593
6593
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6594
6594
  *
@@ -6715,7 +6715,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6715
6715
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6716
6716
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6717
6717
  */
6718
- hostMetadata: HostMetadata;
6718
+ hostMetadata?: HostMetadata;
6719
6719
  }
6720
6720
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6721
6721
  /**
package/oldest/index.d.ts CHANGED
@@ -6479,13 +6479,13 @@ interface IncomingRequestCfPropertiesBase extends Record<string, unknown> {
6479
6479
  *
6480
6480
  * @example 395747
6481
6481
  */
6482
- asn: number;
6482
+ asn?: number;
6483
6483
  /**
6484
6484
  * The organization which owns the ASN of the incoming request.
6485
6485
  *
6486
6486
  * @example "Google Cloud"
6487
6487
  */
6488
- asOrganization: string;
6488
+ asOrganization?: string;
6489
6489
  /**
6490
6490
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6491
6491
  *
@@ -6610,7 +6610,7 @@ interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<HostMetadata> {
6610
6610
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6611
6611
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6612
6612
  */
6613
- hostMetadata: HostMetadata;
6613
+ hostMetadata?: HostMetadata;
6614
6614
  }
6615
6615
  interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6616
6616
  /**
@@ -7925,6 +7925,7 @@ declare module "cloudflare:workers" {
7925
7925
  step: WorkflowStep,
7926
7926
  ): Promise<unknown>;
7927
7927
  }
7928
+ export function waitUntil(promise: Promise<unknown>): void;
7928
7929
  export const env: Cloudflare.Env;
7929
7930
  }
7930
7931
  interface SecretsStoreSecret {
package/oldest/index.ts CHANGED
@@ -6497,13 +6497,13 @@ export interface IncomingRequestCfPropertiesBase
6497
6497
  *
6498
6498
  * @example 395747
6499
6499
  */
6500
- asn: number;
6500
+ asn?: number;
6501
6501
  /**
6502
6502
  * The organization which owns the ASN of the incoming request.
6503
6503
  *
6504
6504
  * @example "Google Cloud"
6505
6505
  */
6506
- asOrganization: string;
6506
+ asOrganization?: string;
6507
6507
  /**
6508
6508
  * The original value of the `Accept-Encoding` header if Cloudflare modified it.
6509
6509
  *
@@ -6630,7 +6630,7 @@ export interface IncomingRequestCfPropertiesCloudflareForSaaSEnterprise<
6630
6630
  * This field is only present if you have Cloudflare for SaaS enabled on your account
6631
6631
  * and you have followed the [required steps to enable it]((https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/custom-metadata/)).
6632
6632
  */
6633
- hostMetadata: HostMetadata;
6633
+ hostMetadata?: HostMetadata;
6634
6634
  }
6635
6635
  export interface IncomingRequestCfPropertiesCloudflareAccessOrApiShield {
6636
6636
  /**
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.20250725.0"
10
+ "version": "4.20250730.0"
11
11
  }