@cloudflare/workers-types 4.20230221.0 → 4.20230228.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/2021-11-03/index.d.ts +7 -2
- package/2021-11-03/index.ts +7 -2
- package/2022-01-31/index.d.ts +7 -2
- package/2022-01-31/index.ts +7 -2
- package/2022-03-21/index.d.ts +7 -2
- package/2022-03-21/index.ts +7 -2
- package/2022-08-04/index.d.ts +7 -2
- package/2022-08-04/index.ts +7 -2
- package/2022-10-31/index.d.ts +7 -2
- package/2022-10-31/index.ts +7 -2
- package/2022-11-30/index.d.ts +7 -2
- package/2022-11-30/index.ts +7 -2
- package/experimental/index.d.ts +7 -2
- package/experimental/index.ts +7 -2
- package/index.d.ts +7 -2
- package/index.ts +7 -2
- package/oldest/index.d.ts +7 -2
- package/oldest/index.ts +7 -2
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -1532,13 +1532,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1532
1532
|
ArrayBuffer | ArrayBufferView,
|
|
1533
1533
|
Uint8Array
|
|
1534
1534
|
> {
|
|
1535
|
-
constructor(format: "gzip" | "deflate");
|
|
1535
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1536
1536
|
}
|
|
1537
1537
|
declare class DecompressionStream extends TransformStream<
|
|
1538
1538
|
ArrayBuffer | ArrayBufferView,
|
|
1539
1539
|
Uint8Array
|
|
1540
1540
|
> {
|
|
1541
|
-
constructor(format: "gzip" | "deflate");
|
|
1541
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1542
1542
|
}
|
|
1543
1543
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1544
1544
|
constructor();
|
|
@@ -1667,6 +1667,7 @@ declare class URLSearchParams {
|
|
|
1667
1667
|
| Record<string, string>
|
|
1668
1668
|
| [key: string, value: string][]
|
|
1669
1669
|
);
|
|
1670
|
+
get size(): number;
|
|
1670
1671
|
append(name: string, value: string): void;
|
|
1671
1672
|
delete(name: string): void;
|
|
1672
1673
|
get(name: string): string | null;
|
|
@@ -2155,6 +2156,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2155
2156
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2156
2157
|
*/
|
|
2157
2158
|
staticResource: boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2161
|
+
*/
|
|
2162
|
+
detectionIds: number[];
|
|
2158
2163
|
}
|
|
2159
2164
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2160
2165
|
/**
|
package/2021-11-03/index.ts
CHANGED
|
@@ -1534,13 +1534,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1534
1534
|
ArrayBuffer | ArrayBufferView,
|
|
1535
1535
|
Uint8Array
|
|
1536
1536
|
> {
|
|
1537
|
-
constructor(format: "gzip" | "deflate");
|
|
1537
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1538
1538
|
}
|
|
1539
1539
|
export declare class DecompressionStream extends TransformStream<
|
|
1540
1540
|
ArrayBuffer | ArrayBufferView,
|
|
1541
1541
|
Uint8Array
|
|
1542
1542
|
> {
|
|
1543
|
-
constructor(format: "gzip" | "deflate");
|
|
1543
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1544
1544
|
}
|
|
1545
1545
|
export declare class TextEncoderStream extends TransformStream<
|
|
1546
1546
|
string,
|
|
@@ -1672,6 +1672,7 @@ export declare class URLSearchParams {
|
|
|
1672
1672
|
| Record<string, string>
|
|
1673
1673
|
| [key: string, value: string][]
|
|
1674
1674
|
);
|
|
1675
|
+
get size(): number;
|
|
1675
1676
|
append(name: string, value: string): void;
|
|
1676
1677
|
delete(name: string): void;
|
|
1677
1678
|
get(name: string): string | null;
|
|
@@ -2160,6 +2161,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2160
2161
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2161
2162
|
*/
|
|
2162
2163
|
staticResource: boolean;
|
|
2164
|
+
/**
|
|
2165
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2166
|
+
*/
|
|
2167
|
+
detectionIds: number[];
|
|
2163
2168
|
}
|
|
2164
2169
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2165
2170
|
/**
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -1512,13 +1512,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1512
1512
|
ArrayBuffer | ArrayBufferView,
|
|
1513
1513
|
Uint8Array
|
|
1514
1514
|
> {
|
|
1515
|
-
constructor(format: "gzip" | "deflate");
|
|
1515
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1516
1516
|
}
|
|
1517
1517
|
declare class DecompressionStream extends TransformStream<
|
|
1518
1518
|
ArrayBuffer | ArrayBufferView,
|
|
1519
1519
|
Uint8Array
|
|
1520
1520
|
> {
|
|
1521
|
-
constructor(format: "gzip" | "deflate");
|
|
1521
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1522
1522
|
}
|
|
1523
1523
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1524
1524
|
constructor();
|
|
@@ -1657,6 +1657,7 @@ declare class URLSearchParams {
|
|
|
1657
1657
|
| Record<string, string>
|
|
1658
1658
|
| [key: string, value: string][]
|
|
1659
1659
|
);
|
|
1660
|
+
get size(): number;
|
|
1660
1661
|
append(name: string, value: string): void;
|
|
1661
1662
|
delete(name: string): void;
|
|
1662
1663
|
get(name: string): string | null;
|
|
@@ -2141,6 +2142,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2141
2142
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2142
2143
|
*/
|
|
2143
2144
|
staticResource: boolean;
|
|
2145
|
+
/**
|
|
2146
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2147
|
+
*/
|
|
2148
|
+
detectionIds: number[];
|
|
2144
2149
|
}
|
|
2145
2150
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2146
2151
|
/**
|
package/2022-01-31/index.ts
CHANGED
|
@@ -1514,13 +1514,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1514
1514
|
ArrayBuffer | ArrayBufferView,
|
|
1515
1515
|
Uint8Array
|
|
1516
1516
|
> {
|
|
1517
|
-
constructor(format: "gzip" | "deflate");
|
|
1517
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1518
1518
|
}
|
|
1519
1519
|
export declare class DecompressionStream extends TransformStream<
|
|
1520
1520
|
ArrayBuffer | ArrayBufferView,
|
|
1521
1521
|
Uint8Array
|
|
1522
1522
|
> {
|
|
1523
|
-
constructor(format: "gzip" | "deflate");
|
|
1523
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1524
1524
|
}
|
|
1525
1525
|
export declare class TextEncoderStream extends TransformStream<
|
|
1526
1526
|
string,
|
|
@@ -1662,6 +1662,7 @@ export declare class URLSearchParams {
|
|
|
1662
1662
|
| Record<string, string>
|
|
1663
1663
|
| [key: string, value: string][]
|
|
1664
1664
|
);
|
|
1665
|
+
get size(): number;
|
|
1665
1666
|
append(name: string, value: string): void;
|
|
1666
1667
|
delete(name: string): void;
|
|
1667
1668
|
get(name: string): string | null;
|
|
@@ -2146,6 +2147,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2146
2147
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2147
2148
|
*/
|
|
2148
2149
|
staticResource: boolean;
|
|
2150
|
+
/**
|
|
2151
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2152
|
+
*/
|
|
2153
|
+
detectionIds: number[];
|
|
2149
2154
|
}
|
|
2150
2155
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2151
2156
|
/**
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -1518,13 +1518,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1518
1518
|
ArrayBuffer | ArrayBufferView,
|
|
1519
1519
|
Uint8Array
|
|
1520
1520
|
> {
|
|
1521
|
-
constructor(format: "gzip" | "deflate");
|
|
1521
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1522
1522
|
}
|
|
1523
1523
|
declare class DecompressionStream extends TransformStream<
|
|
1524
1524
|
ArrayBuffer | ArrayBufferView,
|
|
1525
1525
|
Uint8Array
|
|
1526
1526
|
> {
|
|
1527
|
-
constructor(format: "gzip" | "deflate");
|
|
1527
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1528
1528
|
}
|
|
1529
1529
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1530
1530
|
constructor();
|
|
@@ -1663,6 +1663,7 @@ declare class URLSearchParams {
|
|
|
1663
1663
|
| Record<string, string>
|
|
1664
1664
|
| [key: string, value: string][]
|
|
1665
1665
|
);
|
|
1666
|
+
get size(): number;
|
|
1666
1667
|
append(name: string, value: string): void;
|
|
1667
1668
|
delete(name: string): void;
|
|
1668
1669
|
get(name: string): string | null;
|
|
@@ -2147,6 +2148,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2147
2148
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2148
2149
|
*/
|
|
2149
2150
|
staticResource: boolean;
|
|
2151
|
+
/**
|
|
2152
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2153
|
+
*/
|
|
2154
|
+
detectionIds: number[];
|
|
2150
2155
|
}
|
|
2151
2156
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2152
2157
|
/**
|
package/2022-03-21/index.ts
CHANGED
|
@@ -1520,13 +1520,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1520
1520
|
ArrayBuffer | ArrayBufferView,
|
|
1521
1521
|
Uint8Array
|
|
1522
1522
|
> {
|
|
1523
|
-
constructor(format: "gzip" | "deflate");
|
|
1523
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1524
1524
|
}
|
|
1525
1525
|
export declare class DecompressionStream extends TransformStream<
|
|
1526
1526
|
ArrayBuffer | ArrayBufferView,
|
|
1527
1527
|
Uint8Array
|
|
1528
1528
|
> {
|
|
1529
|
-
constructor(format: "gzip" | "deflate");
|
|
1529
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1530
1530
|
}
|
|
1531
1531
|
export declare class TextEncoderStream extends TransformStream<
|
|
1532
1532
|
string,
|
|
@@ -1668,6 +1668,7 @@ export declare class URLSearchParams {
|
|
|
1668
1668
|
| Record<string, string>
|
|
1669
1669
|
| [key: string, value: string][]
|
|
1670
1670
|
);
|
|
1671
|
+
get size(): number;
|
|
1671
1672
|
append(name: string, value: string): void;
|
|
1672
1673
|
delete(name: string): void;
|
|
1673
1674
|
get(name: string): string | null;
|
|
@@ -2152,6 +2153,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2152
2153
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2153
2154
|
*/
|
|
2154
2155
|
staticResource: boolean;
|
|
2156
|
+
/**
|
|
2157
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2158
|
+
*/
|
|
2159
|
+
detectionIds: number[];
|
|
2155
2160
|
}
|
|
2156
2161
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2157
2162
|
/**
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -1519,13 +1519,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1519
1519
|
ArrayBuffer | ArrayBufferView,
|
|
1520
1520
|
Uint8Array
|
|
1521
1521
|
> {
|
|
1522
|
-
constructor(format: "gzip" | "deflate");
|
|
1522
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1523
1523
|
}
|
|
1524
1524
|
declare class DecompressionStream extends TransformStream<
|
|
1525
1525
|
ArrayBuffer | ArrayBufferView,
|
|
1526
1526
|
Uint8Array
|
|
1527
1527
|
> {
|
|
1528
|
-
constructor(format: "gzip" | "deflate");
|
|
1528
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1529
1529
|
}
|
|
1530
1530
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1531
1531
|
constructor();
|
|
@@ -1664,6 +1664,7 @@ declare class URLSearchParams {
|
|
|
1664
1664
|
| Record<string, string>
|
|
1665
1665
|
| [key: string, value: string][]
|
|
1666
1666
|
);
|
|
1667
|
+
get size(): number;
|
|
1667
1668
|
append(name: string, value: string): void;
|
|
1668
1669
|
delete(name: string): void;
|
|
1669
1670
|
get(name: string): string | null;
|
|
@@ -2148,6 +2149,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2148
2149
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2149
2150
|
*/
|
|
2150
2151
|
staticResource: boolean;
|
|
2152
|
+
/**
|
|
2153
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2154
|
+
*/
|
|
2155
|
+
detectionIds: number[];
|
|
2151
2156
|
}
|
|
2152
2157
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2153
2158
|
/**
|
package/2022-08-04/index.ts
CHANGED
|
@@ -1521,13 +1521,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1521
1521
|
ArrayBuffer | ArrayBufferView,
|
|
1522
1522
|
Uint8Array
|
|
1523
1523
|
> {
|
|
1524
|
-
constructor(format: "gzip" | "deflate");
|
|
1524
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1525
1525
|
}
|
|
1526
1526
|
export declare class DecompressionStream extends TransformStream<
|
|
1527
1527
|
ArrayBuffer | ArrayBufferView,
|
|
1528
1528
|
Uint8Array
|
|
1529
1529
|
> {
|
|
1530
|
-
constructor(format: "gzip" | "deflate");
|
|
1530
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1531
1531
|
}
|
|
1532
1532
|
export declare class TextEncoderStream extends TransformStream<
|
|
1533
1533
|
string,
|
|
@@ -1669,6 +1669,7 @@ export declare class URLSearchParams {
|
|
|
1669
1669
|
| Record<string, string>
|
|
1670
1670
|
| [key: string, value: string][]
|
|
1671
1671
|
);
|
|
1672
|
+
get size(): number;
|
|
1672
1673
|
append(name: string, value: string): void;
|
|
1673
1674
|
delete(name: string): void;
|
|
1674
1675
|
get(name: string): string | null;
|
|
@@ -2153,6 +2154,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2153
2154
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2154
2155
|
*/
|
|
2155
2156
|
staticResource: boolean;
|
|
2157
|
+
/**
|
|
2158
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2159
|
+
*/
|
|
2160
|
+
detectionIds: number[];
|
|
2156
2161
|
}
|
|
2157
2162
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2158
2163
|
/**
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -1519,13 +1519,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1519
1519
|
ArrayBuffer | ArrayBufferView,
|
|
1520
1520
|
Uint8Array
|
|
1521
1521
|
> {
|
|
1522
|
-
constructor(format: "gzip" | "deflate");
|
|
1522
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1523
1523
|
}
|
|
1524
1524
|
declare class DecompressionStream extends TransformStream<
|
|
1525
1525
|
ArrayBuffer | ArrayBufferView,
|
|
1526
1526
|
Uint8Array
|
|
1527
1527
|
> {
|
|
1528
|
-
constructor(format: "gzip" | "deflate");
|
|
1528
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1529
1529
|
}
|
|
1530
1530
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1531
1531
|
constructor();
|
|
@@ -1660,6 +1660,7 @@ declare class URLSearchParams {
|
|
|
1660
1660
|
constructor(
|
|
1661
1661
|
init?: Iterable<Iterable<string>> | Record<string, string> | string
|
|
1662
1662
|
);
|
|
1663
|
+
get size(): number;
|
|
1663
1664
|
append(name: string, value: string): void;
|
|
1664
1665
|
delete(name: string): void;
|
|
1665
1666
|
get(name: string): string | null;
|
|
@@ -2144,6 +2145,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2144
2145
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2145
2146
|
*/
|
|
2146
2147
|
staticResource: boolean;
|
|
2148
|
+
/**
|
|
2149
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2150
|
+
*/
|
|
2151
|
+
detectionIds: number[];
|
|
2147
2152
|
}
|
|
2148
2153
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2149
2154
|
/**
|
package/2022-10-31/index.ts
CHANGED
|
@@ -1521,13 +1521,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1521
1521
|
ArrayBuffer | ArrayBufferView,
|
|
1522
1522
|
Uint8Array
|
|
1523
1523
|
> {
|
|
1524
|
-
constructor(format: "gzip" | "deflate");
|
|
1524
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1525
1525
|
}
|
|
1526
1526
|
export declare class DecompressionStream extends TransformStream<
|
|
1527
1527
|
ArrayBuffer | ArrayBufferView,
|
|
1528
1528
|
Uint8Array
|
|
1529
1529
|
> {
|
|
1530
|
-
constructor(format: "gzip" | "deflate");
|
|
1530
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1531
1531
|
}
|
|
1532
1532
|
export declare class TextEncoderStream extends TransformStream<
|
|
1533
1533
|
string,
|
|
@@ -1665,6 +1665,7 @@ export declare class URLSearchParams {
|
|
|
1665
1665
|
constructor(
|
|
1666
1666
|
init?: Iterable<Iterable<string>> | Record<string, string> | string
|
|
1667
1667
|
);
|
|
1668
|
+
get size(): number;
|
|
1668
1669
|
append(name: string, value: string): void;
|
|
1669
1670
|
delete(name: string): void;
|
|
1670
1671
|
get(name: string): string | null;
|
|
@@ -2149,6 +2150,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2149
2150
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2150
2151
|
*/
|
|
2151
2152
|
staticResource: boolean;
|
|
2153
|
+
/**
|
|
2154
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2155
|
+
*/
|
|
2156
|
+
detectionIds: number[];
|
|
2152
2157
|
}
|
|
2153
2158
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2154
2159
|
/**
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -1522,13 +1522,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1522
1522
|
ArrayBuffer | ArrayBufferView,
|
|
1523
1523
|
Uint8Array
|
|
1524
1524
|
> {
|
|
1525
|
-
constructor(format: "gzip" | "deflate");
|
|
1525
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1526
1526
|
}
|
|
1527
1527
|
declare class DecompressionStream extends TransformStream<
|
|
1528
1528
|
ArrayBuffer | ArrayBufferView,
|
|
1529
1529
|
Uint8Array
|
|
1530
1530
|
> {
|
|
1531
|
-
constructor(format: "gzip" | "deflate");
|
|
1531
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1532
1532
|
}
|
|
1533
1533
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1534
1534
|
constructor();
|
|
@@ -1663,6 +1663,7 @@ declare class URLSearchParams {
|
|
|
1663
1663
|
constructor(
|
|
1664
1664
|
init?: Iterable<Iterable<string>> | Record<string, string> | string
|
|
1665
1665
|
);
|
|
1666
|
+
get size(): number;
|
|
1666
1667
|
append(name: string, value: string): void;
|
|
1667
1668
|
delete(name: string): void;
|
|
1668
1669
|
get(name: string): string | null;
|
|
@@ -2147,6 +2148,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2147
2148
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2148
2149
|
*/
|
|
2149
2150
|
staticResource: boolean;
|
|
2151
|
+
/**
|
|
2152
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2153
|
+
*/
|
|
2154
|
+
detectionIds: number[];
|
|
2150
2155
|
}
|
|
2151
2156
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2152
2157
|
/**
|
package/2022-11-30/index.ts
CHANGED
|
@@ -1524,13 +1524,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1524
1524
|
ArrayBuffer | ArrayBufferView,
|
|
1525
1525
|
Uint8Array
|
|
1526
1526
|
> {
|
|
1527
|
-
constructor(format: "gzip" | "deflate");
|
|
1527
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1528
1528
|
}
|
|
1529
1529
|
export declare class DecompressionStream extends TransformStream<
|
|
1530
1530
|
ArrayBuffer | ArrayBufferView,
|
|
1531
1531
|
Uint8Array
|
|
1532
1532
|
> {
|
|
1533
|
-
constructor(format: "gzip" | "deflate");
|
|
1533
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1534
1534
|
}
|
|
1535
1535
|
export declare class TextEncoderStream extends TransformStream<
|
|
1536
1536
|
string,
|
|
@@ -1668,6 +1668,7 @@ export declare class URLSearchParams {
|
|
|
1668
1668
|
constructor(
|
|
1669
1669
|
init?: Iterable<Iterable<string>> | Record<string, string> | string
|
|
1670
1670
|
);
|
|
1671
|
+
get size(): number;
|
|
1671
1672
|
append(name: string, value: string): void;
|
|
1672
1673
|
delete(name: string): void;
|
|
1673
1674
|
get(name: string): string | null;
|
|
@@ -2152,6 +2153,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2152
2153
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2153
2154
|
*/
|
|
2154
2155
|
staticResource: boolean;
|
|
2156
|
+
/**
|
|
2157
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2158
|
+
*/
|
|
2159
|
+
detectionIds: number[];
|
|
2155
2160
|
}
|
|
2156
2161
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2157
2162
|
/**
|
package/experimental/index.d.ts
CHANGED
|
@@ -1523,13 +1523,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1523
1523
|
ArrayBuffer | ArrayBufferView,
|
|
1524
1524
|
Uint8Array
|
|
1525
1525
|
> {
|
|
1526
|
-
constructor(format: "gzip" | "deflate");
|
|
1526
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1527
1527
|
}
|
|
1528
1528
|
declare class DecompressionStream extends TransformStream<
|
|
1529
1529
|
ArrayBuffer | ArrayBufferView,
|
|
1530
1530
|
Uint8Array
|
|
1531
1531
|
> {
|
|
1532
|
-
constructor(format: "gzip" | "deflate");
|
|
1532
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1533
1533
|
}
|
|
1534
1534
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1535
1535
|
constructor();
|
|
@@ -1664,6 +1664,7 @@ declare class URLSearchParams {
|
|
|
1664
1664
|
constructor(
|
|
1665
1665
|
init?: Iterable<Iterable<string>> | Record<string, string> | string
|
|
1666
1666
|
);
|
|
1667
|
+
get size(): number;
|
|
1667
1668
|
append(name: string, value: string): void;
|
|
1668
1669
|
delete(name: string): void;
|
|
1669
1670
|
get(name: string): string | null;
|
|
@@ -2148,6 +2149,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2148
2149
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2149
2150
|
*/
|
|
2150
2151
|
staticResource: boolean;
|
|
2152
|
+
/**
|
|
2153
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2154
|
+
*/
|
|
2155
|
+
detectionIds: number[];
|
|
2151
2156
|
}
|
|
2152
2157
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2153
2158
|
/**
|
package/experimental/index.ts
CHANGED
|
@@ -1525,13 +1525,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1525
1525
|
ArrayBuffer | ArrayBufferView,
|
|
1526
1526
|
Uint8Array
|
|
1527
1527
|
> {
|
|
1528
|
-
constructor(format: "gzip" | "deflate");
|
|
1528
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1529
1529
|
}
|
|
1530
1530
|
export declare class DecompressionStream extends TransformStream<
|
|
1531
1531
|
ArrayBuffer | ArrayBufferView,
|
|
1532
1532
|
Uint8Array
|
|
1533
1533
|
> {
|
|
1534
|
-
constructor(format: "gzip" | "deflate");
|
|
1534
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1535
1535
|
}
|
|
1536
1536
|
export declare class TextEncoderStream extends TransformStream<
|
|
1537
1537
|
string,
|
|
@@ -1669,6 +1669,7 @@ export declare class URLSearchParams {
|
|
|
1669
1669
|
constructor(
|
|
1670
1670
|
init?: Iterable<Iterable<string>> | Record<string, string> | string
|
|
1671
1671
|
);
|
|
1672
|
+
get size(): number;
|
|
1672
1673
|
append(name: string, value: string): void;
|
|
1673
1674
|
delete(name: string): void;
|
|
1674
1675
|
get(name: string): string | null;
|
|
@@ -2153,6 +2154,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2153
2154
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2154
2155
|
*/
|
|
2155
2156
|
staticResource: boolean;
|
|
2157
|
+
/**
|
|
2158
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2159
|
+
*/
|
|
2160
|
+
detectionIds: number[];
|
|
2156
2161
|
}
|
|
2157
2162
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2158
2163
|
/**
|
package/index.d.ts
CHANGED
|
@@ -1532,13 +1532,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1532
1532
|
ArrayBuffer | ArrayBufferView,
|
|
1533
1533
|
Uint8Array
|
|
1534
1534
|
> {
|
|
1535
|
-
constructor(format: "gzip" | "deflate");
|
|
1535
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1536
1536
|
}
|
|
1537
1537
|
declare class DecompressionStream extends TransformStream<
|
|
1538
1538
|
ArrayBuffer | ArrayBufferView,
|
|
1539
1539
|
Uint8Array
|
|
1540
1540
|
> {
|
|
1541
|
-
constructor(format: "gzip" | "deflate");
|
|
1541
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1542
1542
|
}
|
|
1543
1543
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1544
1544
|
constructor();
|
|
@@ -1667,6 +1667,7 @@ declare class URLSearchParams {
|
|
|
1667
1667
|
| Record<string, string>
|
|
1668
1668
|
| [key: string, value: string][]
|
|
1669
1669
|
);
|
|
1670
|
+
get size(): number;
|
|
1670
1671
|
append(name: string, value: string): void;
|
|
1671
1672
|
delete(name: string): void;
|
|
1672
1673
|
get(name: string): string | null;
|
|
@@ -2155,6 +2156,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2155
2156
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2156
2157
|
*/
|
|
2157
2158
|
staticResource: boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2161
|
+
*/
|
|
2162
|
+
detectionIds: number[];
|
|
2158
2163
|
}
|
|
2159
2164
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2160
2165
|
/**
|
package/index.ts
CHANGED
|
@@ -1534,13 +1534,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1534
1534
|
ArrayBuffer | ArrayBufferView,
|
|
1535
1535
|
Uint8Array
|
|
1536
1536
|
> {
|
|
1537
|
-
constructor(format: "gzip" | "deflate");
|
|
1537
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1538
1538
|
}
|
|
1539
1539
|
export declare class DecompressionStream extends TransformStream<
|
|
1540
1540
|
ArrayBuffer | ArrayBufferView,
|
|
1541
1541
|
Uint8Array
|
|
1542
1542
|
> {
|
|
1543
|
-
constructor(format: "gzip" | "deflate");
|
|
1543
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1544
1544
|
}
|
|
1545
1545
|
export declare class TextEncoderStream extends TransformStream<
|
|
1546
1546
|
string,
|
|
@@ -1672,6 +1672,7 @@ export declare class URLSearchParams {
|
|
|
1672
1672
|
| Record<string, string>
|
|
1673
1673
|
| [key: string, value: string][]
|
|
1674
1674
|
);
|
|
1675
|
+
get size(): number;
|
|
1675
1676
|
append(name: string, value: string): void;
|
|
1676
1677
|
delete(name: string): void;
|
|
1677
1678
|
get(name: string): string | null;
|
|
@@ -2160,6 +2161,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2160
2161
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2161
2162
|
*/
|
|
2162
2163
|
staticResource: boolean;
|
|
2164
|
+
/**
|
|
2165
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2166
|
+
*/
|
|
2167
|
+
detectionIds: number[];
|
|
2163
2168
|
}
|
|
2164
2169
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2165
2170
|
/**
|
package/oldest/index.d.ts
CHANGED
|
@@ -1532,13 +1532,13 @@ declare class CompressionStream extends TransformStream<
|
|
|
1532
1532
|
ArrayBuffer | ArrayBufferView,
|
|
1533
1533
|
Uint8Array
|
|
1534
1534
|
> {
|
|
1535
|
-
constructor(format: "gzip" | "deflate");
|
|
1535
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1536
1536
|
}
|
|
1537
1537
|
declare class DecompressionStream extends TransformStream<
|
|
1538
1538
|
ArrayBuffer | ArrayBufferView,
|
|
1539
1539
|
Uint8Array
|
|
1540
1540
|
> {
|
|
1541
|
-
constructor(format: "gzip" | "deflate");
|
|
1541
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1542
1542
|
}
|
|
1543
1543
|
declare class TextEncoderStream extends TransformStream<string, Uint8Array> {
|
|
1544
1544
|
constructor();
|
|
@@ -1667,6 +1667,7 @@ declare class URLSearchParams {
|
|
|
1667
1667
|
| Record<string, string>
|
|
1668
1668
|
| [key: string, value: string][]
|
|
1669
1669
|
);
|
|
1670
|
+
get size(): number;
|
|
1670
1671
|
append(name: string, value: string): void;
|
|
1671
1672
|
delete(name: string): void;
|
|
1672
1673
|
get(name: string): string | null;
|
|
@@ -2155,6 +2156,10 @@ declare interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2155
2156
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2156
2157
|
*/
|
|
2157
2158
|
staticResource: boolean;
|
|
2159
|
+
/**
|
|
2160
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2161
|
+
*/
|
|
2162
|
+
detectionIds: number[];
|
|
2158
2163
|
}
|
|
2159
2164
|
declare interface IncomingRequestCfPropertiesBotManagement {
|
|
2160
2165
|
/**
|
package/oldest/index.ts
CHANGED
|
@@ -1534,13 +1534,13 @@ export declare class CompressionStream extends TransformStream<
|
|
|
1534
1534
|
ArrayBuffer | ArrayBufferView,
|
|
1535
1535
|
Uint8Array
|
|
1536
1536
|
> {
|
|
1537
|
-
constructor(format: "gzip" | "deflate");
|
|
1537
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1538
1538
|
}
|
|
1539
1539
|
export declare class DecompressionStream extends TransformStream<
|
|
1540
1540
|
ArrayBuffer | ArrayBufferView,
|
|
1541
1541
|
Uint8Array
|
|
1542
1542
|
> {
|
|
1543
|
-
constructor(format: "gzip" | "deflate");
|
|
1543
|
+
constructor(format: "gzip" | "deflate" | "deflate-raw");
|
|
1544
1544
|
}
|
|
1545
1545
|
export declare class TextEncoderStream extends TransformStream<
|
|
1546
1546
|
string,
|
|
@@ -1672,6 +1672,7 @@ export declare class URLSearchParams {
|
|
|
1672
1672
|
| Record<string, string>
|
|
1673
1673
|
| [key: string, value: string][]
|
|
1674
1674
|
);
|
|
1675
|
+
get size(): number;
|
|
1675
1676
|
append(name: string, value: string): void;
|
|
1676
1677
|
delete(name: string): void;
|
|
1677
1678
|
get(name: string): string | null;
|
|
@@ -2160,6 +2161,10 @@ export interface IncomingRequestCfPropertiesBotManagementBase {
|
|
|
2160
2161
|
* A boolean value that's true if the request matches [file extensions](https://developers.cloudflare.com/bots/reference/static-resources/) for many types of static resources.
|
|
2161
2162
|
*/
|
|
2162
2163
|
staticResource: boolean;
|
|
2164
|
+
/**
|
|
2165
|
+
* List of IDs that correlate to the Bot Management heuristic detections made on a request (you can have multiple heuristic detections on the same request).
|
|
2166
|
+
*/
|
|
2167
|
+
detectionIds: number[];
|
|
2163
2168
|
}
|
|
2164
2169
|
export interface IncomingRequestCfPropertiesBotManagement {
|
|
2165
2170
|
/**
|
package/package.json
CHANGED