@cloudflare/workers-types 4.20260305.0 → 4.20260305.1
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 +12 -0
- package/2021-11-03/index.ts +12 -0
- package/2022-01-31/index.d.ts +12 -0
- package/2022-01-31/index.ts +12 -0
- package/2022-03-21/index.d.ts +12 -0
- package/2022-03-21/index.ts +12 -0
- package/2022-08-04/index.d.ts +12 -0
- package/2022-08-04/index.ts +12 -0
- package/2022-10-31/index.d.ts +12 -0
- package/2022-10-31/index.ts +12 -0
- package/2022-11-30/index.d.ts +12 -0
- package/2022-11-30/index.ts +12 -0
- package/2023-03-01/index.d.ts +12 -0
- package/2023-03-01/index.ts +12 -0
- package/2023-07-01/index.d.ts +12 -0
- package/2023-07-01/index.ts +12 -0
- package/experimental/index.d.ts +16 -4
- package/experimental/index.ts +16 -4
- package/index.d.ts +12 -0
- package/index.ts +12 -0
- package/latest/index.d.ts +12 -0
- package/latest/index.ts +12 -0
- package/oldest/index.d.ts +12 -0
- package/oldest/index.ts +12 -0
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -3493,6 +3493,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3493
3493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3494
3494
|
*/
|
|
3495
3495
|
readonly extensions: string | null;
|
|
3496
|
+
/**
|
|
3497
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3498
|
+
*
|
|
3499
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3500
|
+
*/
|
|
3501
|
+
binaryType: "blob" | "arraybuffer";
|
|
3496
3502
|
}
|
|
3497
3503
|
declare const WebSocketPair: {
|
|
3498
3504
|
new (): {
|
|
@@ -3741,6 +3747,12 @@ declare abstract class Performance {
|
|
|
3741
3747
|
get timeOrigin(): number;
|
|
3742
3748
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3743
3749
|
now(): number;
|
|
3750
|
+
/**
|
|
3751
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3752
|
+
*
|
|
3753
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3754
|
+
*/
|
|
3755
|
+
toJSON(): object;
|
|
3744
3756
|
}
|
|
3745
3757
|
// AI Search V2 API Error Interfaces
|
|
3746
3758
|
interface AiSearchInternalError extends Error {}
|
package/2021-11-03/index.ts
CHANGED
|
@@ -3502,6 +3502,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3502
3502
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3503
3503
|
*/
|
|
3504
3504
|
readonly extensions: string | null;
|
|
3505
|
+
/**
|
|
3506
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3507
|
+
*
|
|
3508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3509
|
+
*/
|
|
3510
|
+
binaryType: "blob" | "arraybuffer";
|
|
3505
3511
|
}
|
|
3506
3512
|
export declare const WebSocketPair: {
|
|
3507
3513
|
new (): {
|
|
@@ -3750,6 +3756,12 @@ export declare abstract class Performance {
|
|
|
3750
3756
|
get timeOrigin(): number;
|
|
3751
3757
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3752
3758
|
now(): number;
|
|
3759
|
+
/**
|
|
3760
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3761
|
+
*
|
|
3762
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3763
|
+
*/
|
|
3764
|
+
toJSON(): object;
|
|
3753
3765
|
}
|
|
3754
3766
|
// AI Search V2 API Error Interfaces
|
|
3755
3767
|
export interface AiSearchInternalError extends Error {}
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -3560,6 +3560,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3560
3560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3561
3561
|
*/
|
|
3562
3562
|
extensions: string | null;
|
|
3563
|
+
/**
|
|
3564
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3565
|
+
*
|
|
3566
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3567
|
+
*/
|
|
3568
|
+
binaryType: "blob" | "arraybuffer";
|
|
3563
3569
|
}
|
|
3564
3570
|
declare const WebSocketPair: {
|
|
3565
3571
|
new (): {
|
|
@@ -3808,6 +3814,12 @@ declare abstract class Performance {
|
|
|
3808
3814
|
get timeOrigin(): number;
|
|
3809
3815
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3810
3816
|
now(): number;
|
|
3817
|
+
/**
|
|
3818
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3819
|
+
*
|
|
3820
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3821
|
+
*/
|
|
3822
|
+
toJSON(): object;
|
|
3811
3823
|
}
|
|
3812
3824
|
// AI Search V2 API Error Interfaces
|
|
3813
3825
|
interface AiSearchInternalError extends Error {}
|
package/2022-01-31/index.ts
CHANGED
|
@@ -3569,6 +3569,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3569
3569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3570
3570
|
*/
|
|
3571
3571
|
extensions: string | null;
|
|
3572
|
+
/**
|
|
3573
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3574
|
+
*
|
|
3575
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3576
|
+
*/
|
|
3577
|
+
binaryType: "blob" | "arraybuffer";
|
|
3572
3578
|
}
|
|
3573
3579
|
export declare const WebSocketPair: {
|
|
3574
3580
|
new (): {
|
|
@@ -3817,6 +3823,12 @@ export declare abstract class Performance {
|
|
|
3817
3823
|
get timeOrigin(): number;
|
|
3818
3824
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3819
3825
|
now(): number;
|
|
3826
|
+
/**
|
|
3827
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3828
|
+
*
|
|
3829
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3830
|
+
*/
|
|
3831
|
+
toJSON(): object;
|
|
3820
3832
|
}
|
|
3821
3833
|
// AI Search V2 API Error Interfaces
|
|
3822
3834
|
export interface AiSearchInternalError extends Error {}
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -3568,6 +3568,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3568
3568
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3569
3569
|
*/
|
|
3570
3570
|
extensions: string | null;
|
|
3571
|
+
/**
|
|
3572
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3573
|
+
*
|
|
3574
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3575
|
+
*/
|
|
3576
|
+
binaryType: "blob" | "arraybuffer";
|
|
3571
3577
|
}
|
|
3572
3578
|
declare const WebSocketPair: {
|
|
3573
3579
|
new (): {
|
|
@@ -3816,6 +3822,12 @@ declare abstract class Performance {
|
|
|
3816
3822
|
get timeOrigin(): number;
|
|
3817
3823
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3818
3824
|
now(): number;
|
|
3825
|
+
/**
|
|
3826
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3827
|
+
*
|
|
3828
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3829
|
+
*/
|
|
3830
|
+
toJSON(): object;
|
|
3819
3831
|
}
|
|
3820
3832
|
// AI Search V2 API Error Interfaces
|
|
3821
3833
|
interface AiSearchInternalError extends Error {}
|
package/2022-03-21/index.ts
CHANGED
|
@@ -3577,6 +3577,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3577
3577
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3578
3578
|
*/
|
|
3579
3579
|
extensions: string | null;
|
|
3580
|
+
/**
|
|
3581
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3582
|
+
*
|
|
3583
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3584
|
+
*/
|
|
3585
|
+
binaryType: "blob" | "arraybuffer";
|
|
3580
3586
|
}
|
|
3581
3587
|
export declare const WebSocketPair: {
|
|
3582
3588
|
new (): {
|
|
@@ -3825,6 +3831,12 @@ export declare abstract class Performance {
|
|
|
3825
3831
|
get timeOrigin(): number;
|
|
3826
3832
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3827
3833
|
now(): number;
|
|
3834
|
+
/**
|
|
3835
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3836
|
+
*
|
|
3837
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3838
|
+
*/
|
|
3839
|
+
toJSON(): object;
|
|
3828
3840
|
}
|
|
3829
3841
|
// AI Search V2 API Error Interfaces
|
|
3830
3842
|
export interface AiSearchInternalError extends Error {}
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -3569,6 +3569,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3569
3569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3570
3570
|
*/
|
|
3571
3571
|
extensions: string | null;
|
|
3572
|
+
/**
|
|
3573
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3574
|
+
*
|
|
3575
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3576
|
+
*/
|
|
3577
|
+
binaryType: "blob" | "arraybuffer";
|
|
3572
3578
|
}
|
|
3573
3579
|
declare const WebSocketPair: {
|
|
3574
3580
|
new (): {
|
|
@@ -3817,6 +3823,12 @@ declare abstract class Performance {
|
|
|
3817
3823
|
get timeOrigin(): number;
|
|
3818
3824
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3819
3825
|
now(): number;
|
|
3826
|
+
/**
|
|
3827
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3828
|
+
*
|
|
3829
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3830
|
+
*/
|
|
3831
|
+
toJSON(): object;
|
|
3820
3832
|
}
|
|
3821
3833
|
// AI Search V2 API Error Interfaces
|
|
3822
3834
|
interface AiSearchInternalError extends Error {}
|
package/2022-08-04/index.ts
CHANGED
|
@@ -3578,6 +3578,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3578
3578
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3579
3579
|
*/
|
|
3580
3580
|
extensions: string | null;
|
|
3581
|
+
/**
|
|
3582
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3583
|
+
*
|
|
3584
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3585
|
+
*/
|
|
3586
|
+
binaryType: "blob" | "arraybuffer";
|
|
3581
3587
|
}
|
|
3582
3588
|
export declare const WebSocketPair: {
|
|
3583
3589
|
new (): {
|
|
@@ -3826,6 +3832,12 @@ export declare abstract class Performance {
|
|
|
3826
3832
|
get timeOrigin(): number;
|
|
3827
3833
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3828
3834
|
now(): number;
|
|
3835
|
+
/**
|
|
3836
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3837
|
+
*
|
|
3838
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3839
|
+
*/
|
|
3840
|
+
toJSON(): object;
|
|
3829
3841
|
}
|
|
3830
3842
|
// AI Search V2 API Error Interfaces
|
|
3831
3843
|
export interface AiSearchInternalError extends Error {}
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -3589,6 +3589,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3589
3589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3590
3590
|
*/
|
|
3591
3591
|
extensions: string | null;
|
|
3592
|
+
/**
|
|
3593
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3594
|
+
*
|
|
3595
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3596
|
+
*/
|
|
3597
|
+
binaryType: "blob" | "arraybuffer";
|
|
3592
3598
|
}
|
|
3593
3599
|
declare const WebSocketPair: {
|
|
3594
3600
|
new (): {
|
|
@@ -3837,6 +3843,12 @@ declare abstract class Performance {
|
|
|
3837
3843
|
get timeOrigin(): number;
|
|
3838
3844
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3839
3845
|
now(): number;
|
|
3846
|
+
/**
|
|
3847
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3848
|
+
*
|
|
3849
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3850
|
+
*/
|
|
3851
|
+
toJSON(): object;
|
|
3840
3852
|
}
|
|
3841
3853
|
// AI Search V2 API Error Interfaces
|
|
3842
3854
|
interface AiSearchInternalError extends Error {}
|
package/2022-10-31/index.ts
CHANGED
|
@@ -3598,6 +3598,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3598
3598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3599
3599
|
*/
|
|
3600
3600
|
extensions: string | null;
|
|
3601
|
+
/**
|
|
3602
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3603
|
+
*
|
|
3604
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3605
|
+
*/
|
|
3606
|
+
binaryType: "blob" | "arraybuffer";
|
|
3601
3607
|
}
|
|
3602
3608
|
export declare const WebSocketPair: {
|
|
3603
3609
|
new (): {
|
|
@@ -3846,6 +3852,12 @@ export declare abstract class Performance {
|
|
|
3846
3852
|
get timeOrigin(): number;
|
|
3847
3853
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3848
3854
|
now(): number;
|
|
3855
|
+
/**
|
|
3856
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3857
|
+
*
|
|
3858
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3859
|
+
*/
|
|
3860
|
+
toJSON(): object;
|
|
3849
3861
|
}
|
|
3850
3862
|
// AI Search V2 API Error Interfaces
|
|
3851
3863
|
export interface AiSearchInternalError extends Error {}
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -3594,6 +3594,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3594
3594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3595
3595
|
*/
|
|
3596
3596
|
extensions: string | null;
|
|
3597
|
+
/**
|
|
3598
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3599
|
+
*
|
|
3600
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3601
|
+
*/
|
|
3602
|
+
binaryType: "blob" | "arraybuffer";
|
|
3597
3603
|
}
|
|
3598
3604
|
declare const WebSocketPair: {
|
|
3599
3605
|
new (): {
|
|
@@ -3842,6 +3848,12 @@ declare abstract class Performance {
|
|
|
3842
3848
|
get timeOrigin(): number;
|
|
3843
3849
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3844
3850
|
now(): number;
|
|
3851
|
+
/**
|
|
3852
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3853
|
+
*
|
|
3854
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3855
|
+
*/
|
|
3856
|
+
toJSON(): object;
|
|
3845
3857
|
}
|
|
3846
3858
|
// AI Search V2 API Error Interfaces
|
|
3847
3859
|
interface AiSearchInternalError extends Error {}
|
package/2022-11-30/index.ts
CHANGED
|
@@ -3603,6 +3603,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3603
3603
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3604
3604
|
*/
|
|
3605
3605
|
extensions: string | null;
|
|
3606
|
+
/**
|
|
3607
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3608
|
+
*
|
|
3609
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3610
|
+
*/
|
|
3611
|
+
binaryType: "blob" | "arraybuffer";
|
|
3606
3612
|
}
|
|
3607
3613
|
export declare const WebSocketPair: {
|
|
3608
3614
|
new (): {
|
|
@@ -3851,6 +3857,12 @@ export declare abstract class Performance {
|
|
|
3851
3857
|
get timeOrigin(): number;
|
|
3852
3858
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3853
3859
|
now(): number;
|
|
3860
|
+
/**
|
|
3861
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3862
|
+
*
|
|
3863
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3864
|
+
*/
|
|
3865
|
+
toJSON(): object;
|
|
3854
3866
|
}
|
|
3855
3867
|
// AI Search V2 API Error Interfaces
|
|
3856
3868
|
export interface AiSearchInternalError extends Error {}
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -3600,6 +3600,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3600
3600
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3601
3601
|
*/
|
|
3602
3602
|
extensions: string | null;
|
|
3603
|
+
/**
|
|
3604
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3605
|
+
*
|
|
3606
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3607
|
+
*/
|
|
3608
|
+
binaryType: "blob" | "arraybuffer";
|
|
3603
3609
|
}
|
|
3604
3610
|
declare const WebSocketPair: {
|
|
3605
3611
|
new (): {
|
|
@@ -3848,6 +3854,12 @@ declare abstract class Performance {
|
|
|
3848
3854
|
get timeOrigin(): number;
|
|
3849
3855
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3850
3856
|
now(): number;
|
|
3857
|
+
/**
|
|
3858
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3859
|
+
*
|
|
3860
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3861
|
+
*/
|
|
3862
|
+
toJSON(): object;
|
|
3851
3863
|
}
|
|
3852
3864
|
// AI Search V2 API Error Interfaces
|
|
3853
3865
|
interface AiSearchInternalError extends Error {}
|
package/2023-03-01/index.ts
CHANGED
|
@@ -3609,6 +3609,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3609
3609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3610
3610
|
*/
|
|
3611
3611
|
extensions: string | null;
|
|
3612
|
+
/**
|
|
3613
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3614
|
+
*
|
|
3615
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3616
|
+
*/
|
|
3617
|
+
binaryType: "blob" | "arraybuffer";
|
|
3612
3618
|
}
|
|
3613
3619
|
export declare const WebSocketPair: {
|
|
3614
3620
|
new (): {
|
|
@@ -3857,6 +3863,12 @@ export declare abstract class Performance {
|
|
|
3857
3863
|
get timeOrigin(): number;
|
|
3858
3864
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3859
3865
|
now(): number;
|
|
3866
|
+
/**
|
|
3867
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3868
|
+
*
|
|
3869
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3870
|
+
*/
|
|
3871
|
+
toJSON(): object;
|
|
3860
3872
|
}
|
|
3861
3873
|
// AI Search V2 API Error Interfaces
|
|
3862
3874
|
export interface AiSearchInternalError extends Error {}
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -3600,6 +3600,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3600
3600
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3601
3601
|
*/
|
|
3602
3602
|
extensions: string | null;
|
|
3603
|
+
/**
|
|
3604
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3605
|
+
*
|
|
3606
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3607
|
+
*/
|
|
3608
|
+
binaryType: "blob" | "arraybuffer";
|
|
3603
3609
|
}
|
|
3604
3610
|
declare const WebSocketPair: {
|
|
3605
3611
|
new (): {
|
|
@@ -3848,6 +3854,12 @@ declare abstract class Performance {
|
|
|
3848
3854
|
get timeOrigin(): number;
|
|
3849
3855
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3850
3856
|
now(): number;
|
|
3857
|
+
/**
|
|
3858
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3859
|
+
*
|
|
3860
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3861
|
+
*/
|
|
3862
|
+
toJSON(): object;
|
|
3851
3863
|
}
|
|
3852
3864
|
// AI Search V2 API Error Interfaces
|
|
3853
3865
|
interface AiSearchInternalError extends Error {}
|
package/2023-07-01/index.ts
CHANGED
|
@@ -3609,6 +3609,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3609
3609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3610
3610
|
*/
|
|
3611
3611
|
extensions: string | null;
|
|
3612
|
+
/**
|
|
3613
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3614
|
+
*
|
|
3615
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3616
|
+
*/
|
|
3617
|
+
binaryType: "blob" | "arraybuffer";
|
|
3612
3618
|
}
|
|
3613
3619
|
export declare const WebSocketPair: {
|
|
3614
3620
|
new (): {
|
|
@@ -3857,6 +3863,12 @@ export declare abstract class Performance {
|
|
|
3857
3863
|
get timeOrigin(): number;
|
|
3858
3864
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3859
3865
|
now(): number;
|
|
3866
|
+
/**
|
|
3867
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3868
|
+
*
|
|
3869
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3870
|
+
*/
|
|
3871
|
+
toJSON(): object;
|
|
3860
3872
|
}
|
|
3861
3873
|
// AI Search V2 API Error Interfaces
|
|
3862
3874
|
export interface AiSearchInternalError extends Error {}
|
package/experimental/index.d.ts
CHANGED
|
@@ -3717,6 +3717,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3717
3717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3718
3718
|
*/
|
|
3719
3719
|
extensions: string | null;
|
|
3720
|
+
/**
|
|
3721
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3722
|
+
*
|
|
3723
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3724
|
+
*/
|
|
3725
|
+
binaryType: "blob" | "arraybuffer";
|
|
3720
3726
|
}
|
|
3721
3727
|
declare const WebSocketPair: {
|
|
3722
3728
|
new (): {
|
|
@@ -4242,6 +4248,12 @@ declare abstract class Performance extends EventTarget {
|
|
|
4242
4248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/setResourceTimingBufferSize)
|
|
4243
4249
|
*/
|
|
4244
4250
|
setResourceTimingBufferSize(size: number): void;
|
|
4251
|
+
/**
|
|
4252
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
4253
|
+
*
|
|
4254
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
4255
|
+
*/
|
|
4256
|
+
toJSON(): object;
|
|
4245
4257
|
get nodeTiming(): PerformanceNodeTiming;
|
|
4246
4258
|
eventLoopUtilization(): PerformanceEventLoopUtilization;
|
|
4247
4259
|
markResourceTiming(): void;
|
|
@@ -4261,7 +4273,7 @@ interface PerformanceNodeTiming extends PerformanceEntry {
|
|
|
4261
4273
|
readonly loopExit: number;
|
|
4262
4274
|
readonly idleTime: number;
|
|
4263
4275
|
readonly uvMetricsInfo: UvMetricsInfo;
|
|
4264
|
-
toJSON():
|
|
4276
|
+
toJSON(): object;
|
|
4265
4277
|
}
|
|
4266
4278
|
interface UvMetricsInfo {
|
|
4267
4279
|
loopCount: number;
|
|
@@ -4281,7 +4293,7 @@ declare class PerformanceMark extends PerformanceEntry {
|
|
|
4281
4293
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail)
|
|
4282
4294
|
*/
|
|
4283
4295
|
get detail(): any;
|
|
4284
|
-
toJSON():
|
|
4296
|
+
toJSON(): object;
|
|
4285
4297
|
}
|
|
4286
4298
|
/**
|
|
4287
4299
|
* **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'measure'`.
|
|
@@ -4295,7 +4307,7 @@ declare abstract class PerformanceMeasure extends PerformanceEntry {
|
|
|
4295
4307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail)
|
|
4296
4308
|
*/
|
|
4297
4309
|
get detail(): any;
|
|
4298
|
-
toJSON():
|
|
4310
|
+
toJSON(): object;
|
|
4299
4311
|
}
|
|
4300
4312
|
interface PerformanceMarkOptions {
|
|
4301
4313
|
detail?: any;
|
|
@@ -4367,7 +4379,7 @@ declare abstract class PerformanceEntry {
|
|
|
4367
4379
|
*
|
|
4368
4380
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)
|
|
4369
4381
|
*/
|
|
4370
|
-
toJSON():
|
|
4382
|
+
toJSON(): object;
|
|
4371
4383
|
}
|
|
4372
4384
|
/**
|
|
4373
4385
|
* The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources.
|
package/experimental/index.ts
CHANGED
|
@@ -3726,6 +3726,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3726
3726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3727
3727
|
*/
|
|
3728
3728
|
extensions: string | null;
|
|
3729
|
+
/**
|
|
3730
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3731
|
+
*
|
|
3732
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3733
|
+
*/
|
|
3734
|
+
binaryType: "blob" | "arraybuffer";
|
|
3729
3735
|
}
|
|
3730
3736
|
export declare const WebSocketPair: {
|
|
3731
3737
|
new (): {
|
|
@@ -4251,6 +4257,12 @@ export declare abstract class Performance extends EventTarget {
|
|
|
4251
4257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/setResourceTimingBufferSize)
|
|
4252
4258
|
*/
|
|
4253
4259
|
setResourceTimingBufferSize(size: number): void;
|
|
4260
|
+
/**
|
|
4261
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
4262
|
+
*
|
|
4263
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
4264
|
+
*/
|
|
4265
|
+
toJSON(): object;
|
|
4254
4266
|
get nodeTiming(): PerformanceNodeTiming;
|
|
4255
4267
|
eventLoopUtilization(): PerformanceEventLoopUtilization;
|
|
4256
4268
|
markResourceTiming(): void;
|
|
@@ -4270,7 +4282,7 @@ export interface PerformanceNodeTiming extends PerformanceEntry {
|
|
|
4270
4282
|
readonly loopExit: number;
|
|
4271
4283
|
readonly idleTime: number;
|
|
4272
4284
|
readonly uvMetricsInfo: UvMetricsInfo;
|
|
4273
|
-
toJSON():
|
|
4285
|
+
toJSON(): object;
|
|
4274
4286
|
}
|
|
4275
4287
|
export interface UvMetricsInfo {
|
|
4276
4288
|
loopCount: number;
|
|
@@ -4290,7 +4302,7 @@ export declare class PerformanceMark extends PerformanceEntry {
|
|
|
4290
4302
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail)
|
|
4291
4303
|
*/
|
|
4292
4304
|
get detail(): any;
|
|
4293
|
-
toJSON():
|
|
4305
|
+
toJSON(): object;
|
|
4294
4306
|
}
|
|
4295
4307
|
/**
|
|
4296
4308
|
* **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'measure'`.
|
|
@@ -4304,7 +4316,7 @@ export declare abstract class PerformanceMeasure extends PerformanceEntry {
|
|
|
4304
4316
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail)
|
|
4305
4317
|
*/
|
|
4306
4318
|
get detail(): any;
|
|
4307
|
-
toJSON():
|
|
4319
|
+
toJSON(): object;
|
|
4308
4320
|
}
|
|
4309
4321
|
export interface PerformanceMarkOptions {
|
|
4310
4322
|
detail?: any;
|
|
@@ -4376,7 +4388,7 @@ export declare abstract class PerformanceEntry {
|
|
|
4376
4388
|
*
|
|
4377
4389
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)
|
|
4378
4390
|
*/
|
|
4379
|
-
toJSON():
|
|
4391
|
+
toJSON(): object;
|
|
4380
4392
|
}
|
|
4381
4393
|
/**
|
|
4382
4394
|
* The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources.
|
package/index.d.ts
CHANGED
|
@@ -3493,6 +3493,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3493
3493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3494
3494
|
*/
|
|
3495
3495
|
readonly extensions: string | null;
|
|
3496
|
+
/**
|
|
3497
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3498
|
+
*
|
|
3499
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3500
|
+
*/
|
|
3501
|
+
binaryType: "blob" | "arraybuffer";
|
|
3496
3502
|
}
|
|
3497
3503
|
declare const WebSocketPair: {
|
|
3498
3504
|
new (): {
|
|
@@ -3741,6 +3747,12 @@ declare abstract class Performance {
|
|
|
3741
3747
|
get timeOrigin(): number;
|
|
3742
3748
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3743
3749
|
now(): number;
|
|
3750
|
+
/**
|
|
3751
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3752
|
+
*
|
|
3753
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3754
|
+
*/
|
|
3755
|
+
toJSON(): object;
|
|
3744
3756
|
}
|
|
3745
3757
|
// AI Search V2 API Error Interfaces
|
|
3746
3758
|
interface AiSearchInternalError extends Error {}
|
package/index.ts
CHANGED
|
@@ -3502,6 +3502,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3502
3502
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3503
3503
|
*/
|
|
3504
3504
|
readonly extensions: string | null;
|
|
3505
|
+
/**
|
|
3506
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3507
|
+
*
|
|
3508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3509
|
+
*/
|
|
3510
|
+
binaryType: "blob" | "arraybuffer";
|
|
3505
3511
|
}
|
|
3506
3512
|
export declare const WebSocketPair: {
|
|
3507
3513
|
new (): {
|
|
@@ -3750,6 +3756,12 @@ export declare abstract class Performance {
|
|
|
3750
3756
|
get timeOrigin(): number;
|
|
3751
3757
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3752
3758
|
now(): number;
|
|
3759
|
+
/**
|
|
3760
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3761
|
+
*
|
|
3762
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3763
|
+
*/
|
|
3764
|
+
toJSON(): object;
|
|
3753
3765
|
}
|
|
3754
3766
|
// AI Search V2 API Error Interfaces
|
|
3755
3767
|
export interface AiSearchInternalError extends Error {}
|
package/latest/index.d.ts
CHANGED
|
@@ -3613,6 +3613,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3613
3613
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3614
3614
|
*/
|
|
3615
3615
|
extensions: string | null;
|
|
3616
|
+
/**
|
|
3617
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3618
|
+
*
|
|
3619
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3620
|
+
*/
|
|
3621
|
+
binaryType: "blob" | "arraybuffer";
|
|
3616
3622
|
}
|
|
3617
3623
|
declare const WebSocketPair: {
|
|
3618
3624
|
new (): {
|
|
@@ -3881,6 +3887,12 @@ declare abstract class Performance {
|
|
|
3881
3887
|
get timeOrigin(): number;
|
|
3882
3888
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3883
3889
|
now(): number;
|
|
3890
|
+
/**
|
|
3891
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3892
|
+
*
|
|
3893
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3894
|
+
*/
|
|
3895
|
+
toJSON(): object;
|
|
3884
3896
|
}
|
|
3885
3897
|
// AI Search V2 API Error Interfaces
|
|
3886
3898
|
interface AiSearchInternalError extends Error {}
|
package/latest/index.ts
CHANGED
|
@@ -3622,6 +3622,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3622
3622
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3623
3623
|
*/
|
|
3624
3624
|
extensions: string | null;
|
|
3625
|
+
/**
|
|
3626
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3627
|
+
*
|
|
3628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3629
|
+
*/
|
|
3630
|
+
binaryType: "blob" | "arraybuffer";
|
|
3625
3631
|
}
|
|
3626
3632
|
export declare const WebSocketPair: {
|
|
3627
3633
|
new (): {
|
|
@@ -3890,6 +3896,12 @@ export declare abstract class Performance {
|
|
|
3890
3896
|
get timeOrigin(): number;
|
|
3891
3897
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3892
3898
|
now(): number;
|
|
3899
|
+
/**
|
|
3900
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3901
|
+
*
|
|
3902
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3903
|
+
*/
|
|
3904
|
+
toJSON(): object;
|
|
3893
3905
|
}
|
|
3894
3906
|
// AI Search V2 API Error Interfaces
|
|
3895
3907
|
export interface AiSearchInternalError extends Error {}
|
package/oldest/index.d.ts
CHANGED
|
@@ -3493,6 +3493,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3493
3493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3494
3494
|
*/
|
|
3495
3495
|
readonly extensions: string | null;
|
|
3496
|
+
/**
|
|
3497
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3498
|
+
*
|
|
3499
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3500
|
+
*/
|
|
3501
|
+
binaryType: "blob" | "arraybuffer";
|
|
3496
3502
|
}
|
|
3497
3503
|
declare const WebSocketPair: {
|
|
3498
3504
|
new (): {
|
|
@@ -3741,6 +3747,12 @@ declare abstract class Performance {
|
|
|
3741
3747
|
get timeOrigin(): number;
|
|
3742
3748
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3743
3749
|
now(): number;
|
|
3750
|
+
/**
|
|
3751
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3752
|
+
*
|
|
3753
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3754
|
+
*/
|
|
3755
|
+
toJSON(): object;
|
|
3744
3756
|
}
|
|
3745
3757
|
// AI Search V2 API Error Interfaces
|
|
3746
3758
|
interface AiSearchInternalError extends Error {}
|
package/oldest/index.ts
CHANGED
|
@@ -3502,6 +3502,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3502
3502
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)
|
|
3503
3503
|
*/
|
|
3504
3504
|
readonly extensions: string | null;
|
|
3505
|
+
/**
|
|
3506
|
+
* The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.
|
|
3507
|
+
*
|
|
3508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)
|
|
3509
|
+
*/
|
|
3510
|
+
binaryType: "blob" | "arraybuffer";
|
|
3505
3511
|
}
|
|
3506
3512
|
export declare const WebSocketPair: {
|
|
3507
3513
|
new (): {
|
|
@@ -3750,6 +3756,12 @@ export declare abstract class Performance {
|
|
|
3750
3756
|
get timeOrigin(): number;
|
|
3751
3757
|
/* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
|
|
3752
3758
|
now(): number;
|
|
3759
|
+
/**
|
|
3760
|
+
* The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.
|
|
3761
|
+
*
|
|
3762
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)
|
|
3763
|
+
*/
|
|
3764
|
+
toJSON(): object;
|
|
3753
3765
|
}
|
|
3754
3766
|
// AI Search V2 API Error Interfaces
|
|
3755
3767
|
export interface AiSearchInternalError extends Error {}
|
package/package.json
CHANGED