@cloudflare/workers-types 4.20240512.0 → 4.20240529.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 +5 -1
- package/2021-11-03/index.ts +5 -1
- package/2022-01-31/index.d.ts +5 -1
- package/2022-01-31/index.ts +5 -1
- package/2022-03-21/index.d.ts +5 -1
- package/2022-03-21/index.ts +5 -1
- package/2022-08-04/index.d.ts +5 -1
- package/2022-08-04/index.ts +5 -1
- package/2022-10-31/index.d.ts +5 -1
- package/2022-10-31/index.ts +5 -1
- package/2022-11-30/index.d.ts +7 -3
- package/2022-11-30/index.ts +7 -3
- package/2023-03-01/index.d.ts +7 -3
- package/2023-03-01/index.ts +7 -3
- package/2023-07-01/index.d.ts +7 -3
- package/2023-07-01/index.ts +7 -3
- package/experimental/index.d.ts +13 -3
- package/experimental/index.ts +13 -3
- package/index.d.ts +5 -1
- package/index.ts +5 -1
- package/oldest/index.d.ts +5 -1
- package/oldest/index.ts +5 -1
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1121,6 +1122,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1121
1122
|
> {
|
|
1122
1123
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1123
1124
|
readonly digest: Promise<ArrayBuffer>;
|
|
1125
|
+
get bytesWritten(): number | bigint;
|
|
1124
1126
|
}
|
|
1125
1127
|
declare class TextDecoder {
|
|
1126
1128
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2460,6 +2462,7 @@ declare interface Socket {
|
|
|
2460
2462
|
declare interface SocketOptions {
|
|
2461
2463
|
secureTransport?: string;
|
|
2462
2464
|
allowHalfOpen: boolean;
|
|
2465
|
+
highWaterMark?: number | bigint;
|
|
2463
2466
|
}
|
|
2464
2467
|
declare interface SocketAddress {
|
|
2465
2468
|
hostname: string;
|
|
@@ -3122,6 +3125,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3122
3125
|
postProcessedOutputs: AiTranslationOutput;
|
|
3123
3126
|
}
|
|
3124
3127
|
declare type AiOptions = {
|
|
3128
|
+
gatewayId?: string;
|
|
3125
3129
|
prefix?: string;
|
|
3126
3130
|
extraHeaders?: object;
|
|
3127
3131
|
};
|
package/2021-11-03/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1123,6 +1124,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1123
1124
|
> {
|
|
1124
1125
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1125
1126
|
readonly digest: Promise<ArrayBuffer>;
|
|
1127
|
+
get bytesWritten(): number | bigint;
|
|
1126
1128
|
}
|
|
1127
1129
|
export declare class TextDecoder {
|
|
1128
1130
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2465,6 +2467,7 @@ export interface Socket {
|
|
|
2465
2467
|
export interface SocketOptions {
|
|
2466
2468
|
secureTransport?: string;
|
|
2467
2469
|
allowHalfOpen: boolean;
|
|
2470
|
+
highWaterMark?: number | bigint;
|
|
2468
2471
|
}
|
|
2469
2472
|
export interface SocketAddress {
|
|
2470
2473
|
hostname: string;
|
|
@@ -3127,6 +3130,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3127
3130
|
postProcessedOutputs: AiTranslationOutput;
|
|
3128
3131
|
}
|
|
3129
3132
|
export type AiOptions = {
|
|
3133
|
+
gatewayId?: string;
|
|
3130
3134
|
prefix?: string;
|
|
3131
3135
|
extraHeaders?: object;
|
|
3132
3136
|
};
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1127,6 +1128,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1127
1128
|
> {
|
|
1128
1129
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1129
1130
|
get digest(): Promise<ArrayBuffer>;
|
|
1131
|
+
get bytesWritten(): number | bigint;
|
|
1130
1132
|
}
|
|
1131
1133
|
declare class TextDecoder {
|
|
1132
1134
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2486,6 +2488,7 @@ declare interface Socket {
|
|
|
2486
2488
|
declare interface SocketOptions {
|
|
2487
2489
|
secureTransport?: string;
|
|
2488
2490
|
allowHalfOpen: boolean;
|
|
2491
|
+
highWaterMark?: number | bigint;
|
|
2489
2492
|
}
|
|
2490
2493
|
declare interface SocketAddress {
|
|
2491
2494
|
hostname: string;
|
|
@@ -3148,6 +3151,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3148
3151
|
postProcessedOutputs: AiTranslationOutput;
|
|
3149
3152
|
}
|
|
3150
3153
|
declare type AiOptions = {
|
|
3154
|
+
gatewayId?: string;
|
|
3151
3155
|
prefix?: string;
|
|
3152
3156
|
extraHeaders?: object;
|
|
3153
3157
|
};
|
package/2022-01-31/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1129,6 +1130,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1129
1130
|
> {
|
|
1130
1131
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1131
1132
|
get digest(): Promise<ArrayBuffer>;
|
|
1133
|
+
get bytesWritten(): number | bigint;
|
|
1132
1134
|
}
|
|
1133
1135
|
export declare class TextDecoder {
|
|
1134
1136
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2491,6 +2493,7 @@ export interface Socket {
|
|
|
2491
2493
|
export interface SocketOptions {
|
|
2492
2494
|
secureTransport?: string;
|
|
2493
2495
|
allowHalfOpen: boolean;
|
|
2496
|
+
highWaterMark?: number | bigint;
|
|
2494
2497
|
}
|
|
2495
2498
|
export interface SocketAddress {
|
|
2496
2499
|
hostname: string;
|
|
@@ -3153,6 +3156,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3153
3156
|
postProcessedOutputs: AiTranslationOutput;
|
|
3154
3157
|
}
|
|
3155
3158
|
export type AiOptions = {
|
|
3159
|
+
gatewayId?: string;
|
|
3156
3160
|
prefix?: string;
|
|
3157
3161
|
extraHeaders?: object;
|
|
3158
3162
|
};
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1144,6 +1145,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1144
1145
|
> {
|
|
1145
1146
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1146
1147
|
get digest(): Promise<ArrayBuffer>;
|
|
1148
|
+
get bytesWritten(): number | bigint;
|
|
1147
1149
|
}
|
|
1148
1150
|
declare class TextDecoder {
|
|
1149
1151
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2503,6 +2505,7 @@ declare interface Socket {
|
|
|
2503
2505
|
declare interface SocketOptions {
|
|
2504
2506
|
secureTransport?: string;
|
|
2505
2507
|
allowHalfOpen: boolean;
|
|
2508
|
+
highWaterMark?: number | bigint;
|
|
2506
2509
|
}
|
|
2507
2510
|
declare interface SocketAddress {
|
|
2508
2511
|
hostname: string;
|
|
@@ -3174,6 +3177,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3174
3177
|
postProcessedOutputs: AiTranslationOutput;
|
|
3175
3178
|
}
|
|
3176
3179
|
declare type AiOptions = {
|
|
3180
|
+
gatewayId?: string;
|
|
3177
3181
|
prefix?: string;
|
|
3178
3182
|
extraHeaders?: object;
|
|
3179
3183
|
};
|
package/2022-03-21/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1146,6 +1147,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1146
1147
|
> {
|
|
1147
1148
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1148
1149
|
get digest(): Promise<ArrayBuffer>;
|
|
1150
|
+
get bytesWritten(): number | bigint;
|
|
1149
1151
|
}
|
|
1150
1152
|
export declare class TextDecoder {
|
|
1151
1153
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2508,6 +2510,7 @@ export interface Socket {
|
|
|
2508
2510
|
export interface SocketOptions {
|
|
2509
2511
|
secureTransport?: string;
|
|
2510
2512
|
allowHalfOpen: boolean;
|
|
2513
|
+
highWaterMark?: number | bigint;
|
|
2511
2514
|
}
|
|
2512
2515
|
export interface SocketAddress {
|
|
2513
2516
|
hostname: string;
|
|
@@ -3179,6 +3182,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3179
3182
|
postProcessedOutputs: AiTranslationOutput;
|
|
3180
3183
|
}
|
|
3181
3184
|
export type AiOptions = {
|
|
3185
|
+
gatewayId?: string;
|
|
3182
3186
|
prefix?: string;
|
|
3183
3187
|
extraHeaders?: object;
|
|
3184
3188
|
};
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1144,6 +1145,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1144
1145
|
> {
|
|
1145
1146
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1146
1147
|
get digest(): Promise<ArrayBuffer>;
|
|
1148
|
+
get bytesWritten(): number | bigint;
|
|
1147
1149
|
}
|
|
1148
1150
|
declare class TextDecoder {
|
|
1149
1151
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2504,6 +2506,7 @@ declare interface Socket {
|
|
|
2504
2506
|
declare interface SocketOptions {
|
|
2505
2507
|
secureTransport?: string;
|
|
2506
2508
|
allowHalfOpen: boolean;
|
|
2509
|
+
highWaterMark?: number | bigint;
|
|
2507
2510
|
}
|
|
2508
2511
|
declare interface SocketAddress {
|
|
2509
2512
|
hostname: string;
|
|
@@ -3175,6 +3178,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3175
3178
|
postProcessedOutputs: AiTranslationOutput;
|
|
3176
3179
|
}
|
|
3177
3180
|
declare type AiOptions = {
|
|
3181
|
+
gatewayId?: string;
|
|
3178
3182
|
prefix?: string;
|
|
3179
3183
|
extraHeaders?: object;
|
|
3180
3184
|
};
|
package/2022-08-04/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1146,6 +1147,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1146
1147
|
> {
|
|
1147
1148
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1148
1149
|
get digest(): Promise<ArrayBuffer>;
|
|
1150
|
+
get bytesWritten(): number | bigint;
|
|
1149
1151
|
}
|
|
1150
1152
|
export declare class TextDecoder {
|
|
1151
1153
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2509,6 +2511,7 @@ export interface Socket {
|
|
|
2509
2511
|
export interface SocketOptions {
|
|
2510
2512
|
secureTransport?: string;
|
|
2511
2513
|
allowHalfOpen: boolean;
|
|
2514
|
+
highWaterMark?: number | bigint;
|
|
2512
2515
|
}
|
|
2513
2516
|
export interface SocketAddress {
|
|
2514
2517
|
hostname: string;
|
|
@@ -3180,6 +3183,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3180
3183
|
postProcessedOutputs: AiTranslationOutput;
|
|
3181
3184
|
}
|
|
3182
3185
|
export type AiOptions = {
|
|
3186
|
+
gatewayId?: string;
|
|
3183
3187
|
prefix?: string;
|
|
3184
3188
|
extraHeaders?: object;
|
|
3185
3189
|
};
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1144,6 +1145,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1144
1145
|
> {
|
|
1145
1146
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1146
1147
|
get digest(): Promise<ArrayBuffer>;
|
|
1148
|
+
get bytesWritten(): number | bigint;
|
|
1147
1149
|
}
|
|
1148
1150
|
declare class TextDecoder {
|
|
1149
1151
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2503,6 +2505,7 @@ declare interface Socket {
|
|
|
2503
2505
|
declare interface SocketOptions {
|
|
2504
2506
|
secureTransport?: string;
|
|
2505
2507
|
allowHalfOpen: boolean;
|
|
2508
|
+
highWaterMark?: number | bigint;
|
|
2506
2509
|
}
|
|
2507
2510
|
declare interface SocketAddress {
|
|
2508
2511
|
hostname: string;
|
|
@@ -3174,6 +3177,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3174
3177
|
postProcessedOutputs: AiTranslationOutput;
|
|
3175
3178
|
}
|
|
3176
3179
|
declare type AiOptions = {
|
|
3180
|
+
gatewayId?: string;
|
|
3177
3181
|
prefix?: string;
|
|
3178
3182
|
extraHeaders?: object;
|
|
3179
3183
|
};
|
package/2022-10-31/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1146,6 +1147,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1146
1147
|
> {
|
|
1147
1148
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1148
1149
|
get digest(): Promise<ArrayBuffer>;
|
|
1150
|
+
get bytesWritten(): number | bigint;
|
|
1149
1151
|
}
|
|
1150
1152
|
export declare class TextDecoder {
|
|
1151
1153
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2508,6 +2510,7 @@ export interface Socket {
|
|
|
2508
2510
|
export interface SocketOptions {
|
|
2509
2511
|
secureTransport?: string;
|
|
2510
2512
|
allowHalfOpen: boolean;
|
|
2513
|
+
highWaterMark?: number | bigint;
|
|
2511
2514
|
}
|
|
2512
2515
|
export interface SocketAddress {
|
|
2513
2516
|
hostname: string;
|
|
@@ -3179,6 +3182,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3179
3182
|
postProcessedOutputs: AiTranslationOutput;
|
|
3180
3183
|
}
|
|
3181
3184
|
export type AiOptions = {
|
|
3185
|
+
gatewayId?: string;
|
|
3182
3186
|
prefix?: string;
|
|
3183
3187
|
extraHeaders?: object;
|
|
3184
3188
|
};
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
255
257
|
CompressionStream: typeof CompressionStream;
|
|
256
258
|
DecompressionStream: typeof DecompressionStream;
|
|
257
259
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -1148,6 +1150,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1148
1150
|
> {
|
|
1149
1151
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1150
1152
|
get digest(): Promise<ArrayBuffer>;
|
|
1153
|
+
get bytesWritten(): number | bigint;
|
|
1151
1154
|
}
|
|
1152
1155
|
declare class TextDecoder {
|
|
1153
1156
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2014,8 +2017,7 @@ declare abstract class WritableStreamDefaultController {
|
|
|
2014
2017
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2015
2018
|
error(reason?: any): void;
|
|
2016
2019
|
}
|
|
2017
|
-
|
|
2018
|
-
declare interface TransformStreamDefaultController<O = any> {
|
|
2020
|
+
declare abstract class TransformStreamDefaultController<O = any> {
|
|
2019
2021
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2020
2022
|
get desiredSize(): number | null;
|
|
2021
2023
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2499,6 +2501,7 @@ declare interface Socket {
|
|
|
2499
2501
|
declare interface SocketOptions {
|
|
2500
2502
|
secureTransport?: string;
|
|
2501
2503
|
allowHalfOpen: boolean;
|
|
2504
|
+
highWaterMark?: number | bigint;
|
|
2502
2505
|
}
|
|
2503
2506
|
declare interface SocketAddress {
|
|
2504
2507
|
hostname: string;
|
|
@@ -3170,6 +3173,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3170
3173
|
postProcessedOutputs: AiTranslationOutput;
|
|
3171
3174
|
}
|
|
3172
3175
|
declare type AiOptions = {
|
|
3176
|
+
gatewayId?: string;
|
|
3173
3177
|
prefix?: string;
|
|
3174
3178
|
extraHeaders?: object;
|
|
3175
3179
|
};
|
package/2022-11-30/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
255
257
|
CompressionStream: typeof CompressionStream;
|
|
256
258
|
DecompressionStream: typeof DecompressionStream;
|
|
257
259
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -1150,6 +1152,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1150
1152
|
> {
|
|
1151
1153
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1152
1154
|
get digest(): Promise<ArrayBuffer>;
|
|
1155
|
+
get bytesWritten(): number | bigint;
|
|
1153
1156
|
}
|
|
1154
1157
|
export declare class TextDecoder {
|
|
1155
1158
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2016,8 +2019,7 @@ export declare abstract class WritableStreamDefaultController {
|
|
|
2016
2019
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2017
2020
|
error(reason?: any): void;
|
|
2018
2021
|
}
|
|
2019
|
-
|
|
2020
|
-
export interface TransformStreamDefaultController<O = any> {
|
|
2022
|
+
export declare abstract class TransformStreamDefaultController<O = any> {
|
|
2021
2023
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2022
2024
|
get desiredSize(): number | null;
|
|
2023
2025
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2504,6 +2506,7 @@ export interface Socket {
|
|
|
2504
2506
|
export interface SocketOptions {
|
|
2505
2507
|
secureTransport?: string;
|
|
2506
2508
|
allowHalfOpen: boolean;
|
|
2509
|
+
highWaterMark?: number | bigint;
|
|
2507
2510
|
}
|
|
2508
2511
|
export interface SocketAddress {
|
|
2509
2512
|
hostname: string;
|
|
@@ -3175,6 +3178,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3175
3178
|
postProcessedOutputs: AiTranslationOutput;
|
|
3176
3179
|
}
|
|
3177
3180
|
export type AiOptions = {
|
|
3181
|
+
gatewayId?: string;
|
|
3178
3182
|
prefix?: string;
|
|
3179
3183
|
extraHeaders?: object;
|
|
3180
3184
|
};
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
255
257
|
CompressionStream: typeof CompressionStream;
|
|
256
258
|
DecompressionStream: typeof DecompressionStream;
|
|
257
259
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -1148,6 +1150,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1148
1150
|
> {
|
|
1149
1151
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1150
1152
|
get digest(): Promise<ArrayBuffer>;
|
|
1153
|
+
get bytesWritten(): number | bigint;
|
|
1151
1154
|
}
|
|
1152
1155
|
declare class TextDecoder {
|
|
1153
1156
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2015,8 +2018,7 @@ declare abstract class WritableStreamDefaultController {
|
|
|
2015
2018
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2016
2019
|
error(reason?: any): void;
|
|
2017
2020
|
}
|
|
2018
|
-
|
|
2019
|
-
declare interface TransformStreamDefaultController<O = any> {
|
|
2021
|
+
declare abstract class TransformStreamDefaultController<O = any> {
|
|
2020
2022
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2021
2023
|
get desiredSize(): number | null;
|
|
2022
2024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2500,6 +2502,7 @@ declare interface Socket {
|
|
|
2500
2502
|
declare interface SocketOptions {
|
|
2501
2503
|
secureTransport?: string;
|
|
2502
2504
|
allowHalfOpen: boolean;
|
|
2505
|
+
highWaterMark?: number | bigint;
|
|
2503
2506
|
}
|
|
2504
2507
|
declare interface SocketAddress {
|
|
2505
2508
|
hostname: string;
|
|
@@ -3171,6 +3174,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3171
3174
|
postProcessedOutputs: AiTranslationOutput;
|
|
3172
3175
|
}
|
|
3173
3176
|
declare type AiOptions = {
|
|
3177
|
+
gatewayId?: string;
|
|
3174
3178
|
prefix?: string;
|
|
3175
3179
|
extraHeaders?: object;
|
|
3176
3180
|
};
|
package/2023-03-01/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
255
257
|
CompressionStream: typeof CompressionStream;
|
|
256
258
|
DecompressionStream: typeof DecompressionStream;
|
|
257
259
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -1150,6 +1152,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1150
1152
|
> {
|
|
1151
1153
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1152
1154
|
get digest(): Promise<ArrayBuffer>;
|
|
1155
|
+
get bytesWritten(): number | bigint;
|
|
1153
1156
|
}
|
|
1154
1157
|
export declare class TextDecoder {
|
|
1155
1158
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2017,8 +2020,7 @@ export declare abstract class WritableStreamDefaultController {
|
|
|
2017
2020
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2018
2021
|
error(reason?: any): void;
|
|
2019
2022
|
}
|
|
2020
|
-
|
|
2021
|
-
export interface TransformStreamDefaultController<O = any> {
|
|
2023
|
+
export declare abstract class TransformStreamDefaultController<O = any> {
|
|
2022
2024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2023
2025
|
get desiredSize(): number | null;
|
|
2024
2026
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2505,6 +2507,7 @@ export interface Socket {
|
|
|
2505
2507
|
export interface SocketOptions {
|
|
2506
2508
|
secureTransport?: string;
|
|
2507
2509
|
allowHalfOpen: boolean;
|
|
2510
|
+
highWaterMark?: number | bigint;
|
|
2508
2511
|
}
|
|
2509
2512
|
export interface SocketAddress {
|
|
2510
2513
|
hostname: string;
|
|
@@ -3176,6 +3179,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3176
3179
|
postProcessedOutputs: AiTranslationOutput;
|
|
3177
3180
|
}
|
|
3178
3181
|
export type AiOptions = {
|
|
3182
|
+
gatewayId?: string;
|
|
3179
3183
|
prefix?: string;
|
|
3180
3184
|
extraHeaders?: object;
|
|
3181
3185
|
};
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,7 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
255
257
|
CompressionStream: typeof CompressionStream;
|
|
256
258
|
DecompressionStream: typeof DecompressionStream;
|
|
257
259
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -1148,6 +1150,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1148
1150
|
> {
|
|
1149
1151
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1150
1152
|
get digest(): Promise<ArrayBuffer>;
|
|
1153
|
+
get bytesWritten(): number | bigint;
|
|
1151
1154
|
}
|
|
1152
1155
|
declare class TextDecoder {
|
|
1153
1156
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2015,8 +2018,7 @@ declare abstract class WritableStreamDefaultController {
|
|
|
2015
2018
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2016
2019
|
error(reason?: any): void;
|
|
2017
2020
|
}
|
|
2018
|
-
|
|
2019
|
-
declare interface TransformStreamDefaultController<O = any> {
|
|
2021
|
+
declare abstract class TransformStreamDefaultController<O = any> {
|
|
2020
2022
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2021
2023
|
get desiredSize(): number | null;
|
|
2022
2024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2500,6 +2502,7 @@ declare interface Socket {
|
|
|
2500
2502
|
declare interface SocketOptions {
|
|
2501
2503
|
secureTransport?: string;
|
|
2502
2504
|
allowHalfOpen: boolean;
|
|
2505
|
+
highWaterMark?: number | bigint;
|
|
2503
2506
|
}
|
|
2504
2507
|
declare interface SocketAddress {
|
|
2505
2508
|
hostname: string;
|
|
@@ -3171,6 +3174,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3171
3174
|
postProcessedOutputs: AiTranslationOutput;
|
|
3172
3175
|
}
|
|
3173
3176
|
declare type AiOptions = {
|
|
3177
|
+
gatewayId?: string;
|
|
3174
3178
|
prefix?: string;
|
|
3175
3179
|
extraHeaders?: object;
|
|
3176
3180
|
};
|
package/2023-07-01/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,7 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
255
257
|
CompressionStream: typeof CompressionStream;
|
|
256
258
|
DecompressionStream: typeof DecompressionStream;
|
|
257
259
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -1150,6 +1152,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1150
1152
|
> {
|
|
1151
1153
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1152
1154
|
get digest(): Promise<ArrayBuffer>;
|
|
1155
|
+
get bytesWritten(): number | bigint;
|
|
1153
1156
|
}
|
|
1154
1157
|
export declare class TextDecoder {
|
|
1155
1158
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2017,8 +2020,7 @@ export declare abstract class WritableStreamDefaultController {
|
|
|
2017
2020
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2018
2021
|
error(reason?: any): void;
|
|
2019
2022
|
}
|
|
2020
|
-
|
|
2021
|
-
export interface TransformStreamDefaultController<O = any> {
|
|
2023
|
+
export declare abstract class TransformStreamDefaultController<O = any> {
|
|
2022
2024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2023
2025
|
get desiredSize(): number | null;
|
|
2024
2026
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2505,6 +2507,7 @@ export interface Socket {
|
|
|
2505
2507
|
export interface SocketOptions {
|
|
2506
2508
|
secureTransport?: string;
|
|
2507
2509
|
allowHalfOpen: boolean;
|
|
2510
|
+
highWaterMark?: number | bigint;
|
|
2508
2511
|
}
|
|
2509
2512
|
export interface SocketAddress {
|
|
2510
2513
|
hostname: string;
|
|
@@ -3176,6 +3179,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3176
3179
|
postProcessedOutputs: AiTranslationOutput;
|
|
3177
3180
|
}
|
|
3178
3181
|
export type AiOptions = {
|
|
3182
|
+
gatewayId?: string;
|
|
3179
3183
|
prefix?: string;
|
|
3180
3184
|
extraHeaders?: object;
|
|
3181
3185
|
};
|
package/experimental/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,10 @@ declare interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
257
|
+
Buffer: any;
|
|
258
|
+
process: any;
|
|
259
|
+
global: ServiceWorkerGlobalScope;
|
|
255
260
|
CompressionStream: typeof CompressionStream;
|
|
256
261
|
DecompressionStream: typeof DecompressionStream;
|
|
257
262
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -364,6 +369,9 @@ declare const caches: CacheStorage;
|
|
|
364
369
|
declare const scheduler: Scheduler;
|
|
365
370
|
declare const performance: Performance;
|
|
366
371
|
declare const origin: string;
|
|
372
|
+
declare const Buffer: any;
|
|
373
|
+
declare const process: any;
|
|
374
|
+
declare const global: ServiceWorkerGlobalScope;
|
|
367
375
|
declare const navigator: Navigator;
|
|
368
376
|
declare interface TestController {}
|
|
369
377
|
declare interface ExecutionContext {
|
|
@@ -1158,6 +1166,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1158
1166
|
> {
|
|
1159
1167
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1160
1168
|
get digest(): Promise<ArrayBuffer>;
|
|
1169
|
+
get bytesWritten(): number | bigint;
|
|
1161
1170
|
}
|
|
1162
1171
|
declare class TextDecoder {
|
|
1163
1172
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2066,8 +2075,7 @@ declare abstract class WritableStreamDefaultController {
|
|
|
2066
2075
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2067
2076
|
error(reason?: any): void;
|
|
2068
2077
|
}
|
|
2069
|
-
|
|
2070
|
-
declare interface TransformStreamDefaultController<O = any> {
|
|
2078
|
+
declare abstract class TransformStreamDefaultController<O = any> {
|
|
2071
2079
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2072
2080
|
get desiredSize(): number | null;
|
|
2073
2081
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2575,6 +2583,7 @@ declare interface Socket {
|
|
|
2575
2583
|
declare interface SocketOptions {
|
|
2576
2584
|
secureTransport?: string;
|
|
2577
2585
|
allowHalfOpen: boolean;
|
|
2586
|
+
highWaterMark?: number | bigint;
|
|
2578
2587
|
}
|
|
2579
2588
|
declare interface SocketAddress {
|
|
2580
2589
|
hostname: string;
|
|
@@ -3246,6 +3255,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3246
3255
|
postProcessedOutputs: AiTranslationOutput;
|
|
3247
3256
|
}
|
|
3248
3257
|
declare type AiOptions = {
|
|
3258
|
+
gatewayId?: string;
|
|
3249
3259
|
prefix?: string;
|
|
3250
3260
|
extraHeaders?: object;
|
|
3251
3261
|
};
|
package/experimental/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -252,6 +253,10 @@ export interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
252
253
|
ReadableStreamDefaultController: typeof ReadableStreamDefaultController;
|
|
253
254
|
ReadableByteStreamController: typeof ReadableByteStreamController;
|
|
254
255
|
WritableStreamDefaultController: typeof WritableStreamDefaultController;
|
|
256
|
+
TransformStreamDefaultController: typeof TransformStreamDefaultController;
|
|
257
|
+
Buffer: any;
|
|
258
|
+
process: any;
|
|
259
|
+
global: ServiceWorkerGlobalScope;
|
|
255
260
|
CompressionStream: typeof CompressionStream;
|
|
256
261
|
DecompressionStream: typeof DecompressionStream;
|
|
257
262
|
TextEncoderStream: typeof TextEncoderStream;
|
|
@@ -366,6 +371,9 @@ export declare const caches: CacheStorage;
|
|
|
366
371
|
export declare const scheduler: Scheduler;
|
|
367
372
|
export declare const performance: Performance;
|
|
368
373
|
export declare const origin: string;
|
|
374
|
+
export declare const Buffer: any;
|
|
375
|
+
export declare const process: any;
|
|
376
|
+
export declare const global: ServiceWorkerGlobalScope;
|
|
369
377
|
export declare const navigator: Navigator;
|
|
370
378
|
export interface TestController {}
|
|
371
379
|
export interface ExecutionContext {
|
|
@@ -1160,6 +1168,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1160
1168
|
> {
|
|
1161
1169
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1162
1170
|
get digest(): Promise<ArrayBuffer>;
|
|
1171
|
+
get bytesWritten(): number | bigint;
|
|
1163
1172
|
}
|
|
1164
1173
|
export declare class TextDecoder {
|
|
1165
1174
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2068,8 +2077,7 @@ export declare abstract class WritableStreamDefaultController {
|
|
|
2068
2077
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error) */
|
|
2069
2078
|
error(reason?: any): void;
|
|
2070
2079
|
}
|
|
2071
|
-
|
|
2072
|
-
export interface TransformStreamDefaultController<O = any> {
|
|
2080
|
+
export declare abstract class TransformStreamDefaultController<O = any> {
|
|
2073
2081
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
2074
2082
|
get desiredSize(): number | null;
|
|
2075
2083
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue) */
|
|
@@ -2580,6 +2588,7 @@ export interface Socket {
|
|
|
2580
2588
|
export interface SocketOptions {
|
|
2581
2589
|
secureTransport?: string;
|
|
2582
2590
|
allowHalfOpen: boolean;
|
|
2591
|
+
highWaterMark?: number | bigint;
|
|
2583
2592
|
}
|
|
2584
2593
|
export interface SocketAddress {
|
|
2585
2594
|
hostname: string;
|
|
@@ -3251,6 +3260,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3251
3260
|
postProcessedOutputs: AiTranslationOutput;
|
|
3252
3261
|
}
|
|
3253
3262
|
export type AiOptions = {
|
|
3263
|
+
gatewayId?: string;
|
|
3254
3264
|
prefix?: string;
|
|
3255
3265
|
extraHeaders?: object;
|
|
3256
3266
|
};
|
package/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1121,6 +1122,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1121
1122
|
> {
|
|
1122
1123
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1123
1124
|
readonly digest: Promise<ArrayBuffer>;
|
|
1125
|
+
get bytesWritten(): number | bigint;
|
|
1124
1126
|
}
|
|
1125
1127
|
declare class TextDecoder {
|
|
1126
1128
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2460,6 +2462,7 @@ declare interface Socket {
|
|
|
2460
2462
|
declare interface SocketOptions {
|
|
2461
2463
|
secureTransport?: string;
|
|
2462
2464
|
allowHalfOpen: boolean;
|
|
2465
|
+
highWaterMark?: number | bigint;
|
|
2463
2466
|
}
|
|
2464
2467
|
declare interface SocketAddress {
|
|
2465
2468
|
hostname: string;
|
|
@@ -3122,6 +3125,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3122
3125
|
postProcessedOutputs: AiTranslationOutput;
|
|
3123
3126
|
}
|
|
3124
3127
|
declare type AiOptions = {
|
|
3128
|
+
gatewayId?: string;
|
|
3125
3129
|
prefix?: string;
|
|
3126
3130
|
extraHeaders?: object;
|
|
3127
3131
|
};
|
package/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1123,6 +1124,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1123
1124
|
> {
|
|
1124
1125
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1125
1126
|
readonly digest: Promise<ArrayBuffer>;
|
|
1127
|
+
get bytesWritten(): number | bigint;
|
|
1126
1128
|
}
|
|
1127
1129
|
export declare class TextDecoder {
|
|
1128
1130
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2465,6 +2467,7 @@ export interface Socket {
|
|
|
2465
2467
|
export interface SocketOptions {
|
|
2466
2468
|
secureTransport?: string;
|
|
2467
2469
|
allowHalfOpen: boolean;
|
|
2470
|
+
highWaterMark?: number | bigint;
|
|
2468
2471
|
}
|
|
2469
2472
|
export interface SocketAddress {
|
|
2470
2473
|
hostname: string;
|
|
@@ -3127,6 +3130,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3127
3130
|
postProcessedOutputs: AiTranslationOutput;
|
|
3128
3131
|
}
|
|
3129
3132
|
export type AiOptions = {
|
|
3133
|
+
gatewayId?: string;
|
|
3130
3134
|
prefix?: string;
|
|
3131
3135
|
extraHeaders?: object;
|
|
3132
3136
|
};
|
package/oldest/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
declare type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1121,6 +1122,7 @@ declare class DigestStream extends WritableStream<
|
|
|
1121
1122
|
> {
|
|
1122
1123
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1123
1124
|
readonly digest: Promise<ArrayBuffer>;
|
|
1125
|
+
get bytesWritten(): number | bigint;
|
|
1124
1126
|
}
|
|
1125
1127
|
declare class TextDecoder {
|
|
1126
1128
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2460,6 +2462,7 @@ declare interface Socket {
|
|
|
2460
2462
|
declare interface SocketOptions {
|
|
2461
2463
|
secureTransport?: string;
|
|
2462
2464
|
allowHalfOpen: boolean;
|
|
2465
|
+
highWaterMark?: number | bigint;
|
|
2463
2466
|
}
|
|
2464
2467
|
declare interface SocketAddress {
|
|
2465
2468
|
hostname: string;
|
|
@@ -3122,6 +3125,7 @@ declare abstract class BaseAiTranslation {
|
|
|
3122
3125
|
postProcessedOutputs: AiTranslationOutput;
|
|
3123
3126
|
}
|
|
3124
3127
|
declare type AiOptions = {
|
|
3128
|
+
gatewayId?: string;
|
|
3125
3129
|
prefix?: string;
|
|
3126
3130
|
extraHeaders?: object;
|
|
3127
3131
|
};
|
package/oldest/index.ts
CHANGED
|
@@ -26,7 +26,6 @@ export declare class DOMException extends Error {
|
|
|
26
26
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
27
27
|
*/
|
|
28
28
|
readonly code: number;
|
|
29
|
-
readonly stack: any;
|
|
30
29
|
static readonly INDEX_SIZE_ERR: number;
|
|
31
30
|
static readonly DOMSTRING_SIZE_ERR: number;
|
|
32
31
|
static readonly HIERARCHY_REQUEST_ERR: number;
|
|
@@ -52,6 +51,8 @@ export declare class DOMException extends Error {
|
|
|
52
51
|
static readonly TIMEOUT_ERR: number;
|
|
53
52
|
static readonly INVALID_NODE_TYPE_ERR: number;
|
|
54
53
|
static readonly DATA_CLONE_ERR: number;
|
|
54
|
+
get stack(): any;
|
|
55
|
+
set stack(value: any);
|
|
55
56
|
}
|
|
56
57
|
export type WorkerGlobalScopeEventMap = {
|
|
57
58
|
fetch: FetchEvent;
|
|
@@ -1123,6 +1124,7 @@ export declare class DigestStream extends WritableStream<
|
|
|
1123
1124
|
> {
|
|
1124
1125
|
constructor(algorithm: string | SubtleCryptoHashAlgorithm);
|
|
1125
1126
|
readonly digest: Promise<ArrayBuffer>;
|
|
1127
|
+
get bytesWritten(): number | bigint;
|
|
1126
1128
|
}
|
|
1127
1129
|
export declare class TextDecoder {
|
|
1128
1130
|
constructor(decoder?: string, options?: TextDecoderConstructorOptions);
|
|
@@ -2465,6 +2467,7 @@ export interface Socket {
|
|
|
2465
2467
|
export interface SocketOptions {
|
|
2466
2468
|
secureTransport?: string;
|
|
2467
2469
|
allowHalfOpen: boolean;
|
|
2470
|
+
highWaterMark?: number | bigint;
|
|
2468
2471
|
}
|
|
2469
2472
|
export interface SocketAddress {
|
|
2470
2473
|
hostname: string;
|
|
@@ -3127,6 +3130,7 @@ export declare abstract class BaseAiTranslation {
|
|
|
3127
3130
|
postProcessedOutputs: AiTranslationOutput;
|
|
3128
3131
|
}
|
|
3129
3132
|
export type AiOptions = {
|
|
3133
|
+
gatewayId?: string;
|
|
3130
3134
|
prefix?: string;
|
|
3131
3135
|
extraHeaders?: object;
|
|
3132
3136
|
};
|
package/package.json
CHANGED