@depup/cloudflare__workers-types 5.20260924.1-depup.0 → 5.20260925.2-depup.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/README.md +2 -2
- package/changes.json +1 -1
- package/experimental/index.d.ts +35 -3
- package/experimental/index.ts +35 -3
- package/index.d.ts +35 -3
- package/index.ts +35 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/cloudflare__workers-types
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.
|
|
17
|
-
| Processed | 2026-09-
|
|
16
|
+
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.20260925.2 |
|
|
17
|
+
| Processed | 2026-09-25 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/experimental/index.d.ts
CHANGED
|
@@ -4395,9 +4395,13 @@ type LoopbackForExport<
|
|
|
4395
4395
|
? LoopbackServiceStub<InstanceType<T>>
|
|
4396
4396
|
: T extends new (...args: any[]) => Rpc.DurableObjectBranded
|
|
4397
4397
|
? LoopbackDurableObjectClass<InstanceType<T>>
|
|
4398
|
-
: T extends
|
|
4399
|
-
|
|
4400
|
-
|
|
4398
|
+
: T extends new (
|
|
4399
|
+
...args: any[]
|
|
4400
|
+
) => CloudflareWorkersModule.WorkflowEntrypoint<any, infer Params>
|
|
4401
|
+
? Workflow<Params>
|
|
4402
|
+
: T extends ExportedHandler<any, any, any>
|
|
4403
|
+
? LoopbackServiceStub<undefined>
|
|
4404
|
+
: undefined;
|
|
4401
4405
|
type LoopbackServiceStub<
|
|
4402
4406
|
T extends Rpc.WorkerEntrypointBranded | undefined = undefined,
|
|
4403
4407
|
> = Fetcher<T> &
|
|
@@ -4889,8 +4893,15 @@ declare abstract class Span {
|
|
|
4889
4893
|
stack?: string;
|
|
4890
4894
|
},
|
|
4891
4895
|
): void;
|
|
4896
|
+
updateName(name: string): this;
|
|
4897
|
+
setStatus(status: TracingSpanStatus): this;
|
|
4892
4898
|
end(): void;
|
|
4893
4899
|
}
|
|
4900
|
+
type TracingSpanStatusCode = "unset" | "ok" | "error";
|
|
4901
|
+
interface TracingSpanStatus {
|
|
4902
|
+
code: TracingSpanStatusCode;
|
|
4903
|
+
message?: string;
|
|
4904
|
+
}
|
|
4894
4905
|
/**
|
|
4895
4906
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4896
4907
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
|
@@ -17394,6 +17405,12 @@ declare namespace TailStream {
|
|
|
17394
17405
|
readonly cpuTime: number;
|
|
17395
17406
|
readonly wallTime: number;
|
|
17396
17407
|
}
|
|
17408
|
+
type SpanStatusCode = "unset" | "ok" | "error";
|
|
17409
|
+
interface SpanStatus {
|
|
17410
|
+
readonly code: SpanStatusCode;
|
|
17411
|
+
/** A developer-facing error message, present only when code is "error". */
|
|
17412
|
+
readonly message?: string;
|
|
17413
|
+
}
|
|
17397
17414
|
interface SpanOpen {
|
|
17398
17415
|
readonly type: "spanOpen";
|
|
17399
17416
|
readonly name: string;
|
|
@@ -17405,6 +17422,19 @@ declare namespace TailStream {
|
|
|
17405
17422
|
readonly type: "spanClose";
|
|
17406
17423
|
readonly outcome: EventOutcome;
|
|
17407
17424
|
}
|
|
17425
|
+
type SpanUpdateInfo =
|
|
17426
|
+
| {
|
|
17427
|
+
readonly type: "name";
|
|
17428
|
+
readonly name: string;
|
|
17429
|
+
}
|
|
17430
|
+
| {
|
|
17431
|
+
readonly type: "status";
|
|
17432
|
+
readonly status: SpanStatus;
|
|
17433
|
+
};
|
|
17434
|
+
interface SpanUpdate {
|
|
17435
|
+
readonly type: "spanUpdate";
|
|
17436
|
+
readonly info: SpanUpdateInfo;
|
|
17437
|
+
}
|
|
17408
17438
|
interface DiagnosticChannelEvent {
|
|
17409
17439
|
readonly type: "diagnosticChannel";
|
|
17410
17440
|
readonly channel: string;
|
|
@@ -17474,6 +17504,7 @@ declare namespace TailStream {
|
|
|
17474
17504
|
| Outcome
|
|
17475
17505
|
| SpanOpen
|
|
17476
17506
|
| SpanClose
|
|
17507
|
+
| SpanUpdate
|
|
17477
17508
|
| DiagnosticChannelEvent
|
|
17478
17509
|
| Exception
|
|
17479
17510
|
| Log
|
|
@@ -17516,6 +17547,7 @@ declare namespace TailStream {
|
|
|
17516
17547
|
outcome?: TailEventHandler<Outcome>;
|
|
17517
17548
|
spanOpen?: TailEventHandler<SpanOpen>;
|
|
17518
17549
|
spanClose?: TailEventHandler<SpanClose>;
|
|
17550
|
+
spanUpdate?: TailEventHandler<SpanUpdate>;
|
|
17519
17551
|
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
|
|
17520
17552
|
exception?: TailEventHandler<Exception>;
|
|
17521
17553
|
log?: TailEventHandler<Log>;
|
package/experimental/index.ts
CHANGED
|
@@ -4404,9 +4404,13 @@ export type LoopbackForExport<
|
|
|
4404
4404
|
? LoopbackServiceStub<InstanceType<T>>
|
|
4405
4405
|
: T extends new (...args: any[]) => Rpc.DurableObjectBranded
|
|
4406
4406
|
? LoopbackDurableObjectClass<InstanceType<T>>
|
|
4407
|
-
: T extends
|
|
4408
|
-
|
|
4409
|
-
|
|
4407
|
+
: T extends new (
|
|
4408
|
+
...args: any[]
|
|
4409
|
+
) => CloudflareWorkersModule.WorkflowEntrypoint<any, infer Params>
|
|
4410
|
+
? Workflow<Params>
|
|
4411
|
+
: T extends ExportedHandler<any, any, any>
|
|
4412
|
+
? LoopbackServiceStub<undefined>
|
|
4413
|
+
: undefined;
|
|
4410
4414
|
export type LoopbackServiceStub<
|
|
4411
4415
|
T extends Rpc.WorkerEntrypointBranded | undefined = undefined,
|
|
4412
4416
|
> = Fetcher<T> &
|
|
@@ -4898,8 +4902,15 @@ export declare abstract class Span {
|
|
|
4898
4902
|
stack?: string;
|
|
4899
4903
|
},
|
|
4900
4904
|
): void;
|
|
4905
|
+
updateName(name: string): this;
|
|
4906
|
+
setStatus(status: TracingSpanStatus): this;
|
|
4901
4907
|
end(): void;
|
|
4902
4908
|
}
|
|
4909
|
+
export type TracingSpanStatusCode = "unset" | "ok" | "error";
|
|
4910
|
+
export interface TracingSpanStatus {
|
|
4911
|
+
code: TracingSpanStatusCode;
|
|
4912
|
+
message?: string;
|
|
4913
|
+
}
|
|
4903
4914
|
/**
|
|
4904
4915
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4905
4916
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
|
@@ -17325,6 +17336,12 @@ export declare namespace TailStream {
|
|
|
17325
17336
|
readonly cpuTime: number;
|
|
17326
17337
|
readonly wallTime: number;
|
|
17327
17338
|
}
|
|
17339
|
+
type SpanStatusCode = "unset" | "ok" | "error";
|
|
17340
|
+
interface SpanStatus {
|
|
17341
|
+
readonly code: SpanStatusCode;
|
|
17342
|
+
/** A developer-facing error message, present only when code is "error". */
|
|
17343
|
+
readonly message?: string;
|
|
17344
|
+
}
|
|
17328
17345
|
interface SpanOpen {
|
|
17329
17346
|
readonly type: "spanOpen";
|
|
17330
17347
|
readonly name: string;
|
|
@@ -17336,6 +17353,19 @@ export declare namespace TailStream {
|
|
|
17336
17353
|
readonly type: "spanClose";
|
|
17337
17354
|
readonly outcome: EventOutcome;
|
|
17338
17355
|
}
|
|
17356
|
+
type SpanUpdateInfo =
|
|
17357
|
+
| {
|
|
17358
|
+
readonly type: "name";
|
|
17359
|
+
readonly name: string;
|
|
17360
|
+
}
|
|
17361
|
+
| {
|
|
17362
|
+
readonly type: "status";
|
|
17363
|
+
readonly status: SpanStatus;
|
|
17364
|
+
};
|
|
17365
|
+
interface SpanUpdate {
|
|
17366
|
+
readonly type: "spanUpdate";
|
|
17367
|
+
readonly info: SpanUpdateInfo;
|
|
17368
|
+
}
|
|
17339
17369
|
interface DiagnosticChannelEvent {
|
|
17340
17370
|
readonly type: "diagnosticChannel";
|
|
17341
17371
|
readonly channel: string;
|
|
@@ -17405,6 +17435,7 @@ export declare namespace TailStream {
|
|
|
17405
17435
|
| Outcome
|
|
17406
17436
|
| SpanOpen
|
|
17407
17437
|
| SpanClose
|
|
17438
|
+
| SpanUpdate
|
|
17408
17439
|
| DiagnosticChannelEvent
|
|
17409
17440
|
| Exception
|
|
17410
17441
|
| Log
|
|
@@ -17447,6 +17478,7 @@ export declare namespace TailStream {
|
|
|
17447
17478
|
outcome?: TailEventHandler<Outcome>;
|
|
17448
17479
|
spanOpen?: TailEventHandler<SpanOpen>;
|
|
17449
17480
|
spanClose?: TailEventHandler<SpanClose>;
|
|
17481
|
+
spanUpdate?: TailEventHandler<SpanUpdate>;
|
|
17450
17482
|
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
|
|
17451
17483
|
exception?: TailEventHandler<Exception>;
|
|
17452
17484
|
log?: TailEventHandler<Log>;
|
package/index.d.ts
CHANGED
|
@@ -4122,9 +4122,13 @@ type LoopbackForExport<
|
|
|
4122
4122
|
? LoopbackServiceStub<InstanceType<T>>
|
|
4123
4123
|
: T extends new (...args: any[]) => Rpc.DurableObjectBranded
|
|
4124
4124
|
? LoopbackDurableObjectClass<InstanceType<T>>
|
|
4125
|
-
: T extends
|
|
4126
|
-
|
|
4127
|
-
|
|
4125
|
+
: T extends new (
|
|
4126
|
+
...args: any[]
|
|
4127
|
+
) => CloudflareWorkersModule.WorkflowEntrypoint<any, infer Params>
|
|
4128
|
+
? Workflow<Params>
|
|
4129
|
+
: T extends ExportedHandler<any, any, any>
|
|
4130
|
+
? LoopbackServiceStub<undefined>
|
|
4131
|
+
: undefined;
|
|
4128
4132
|
type LoopbackServiceStub<
|
|
4129
4133
|
T extends Rpc.WorkerEntrypointBranded | undefined = undefined,
|
|
4130
4134
|
> = Fetcher<T> &
|
|
@@ -4606,8 +4610,15 @@ declare abstract class Span {
|
|
|
4606
4610
|
stack?: string;
|
|
4607
4611
|
},
|
|
4608
4612
|
): void;
|
|
4613
|
+
updateName(name: string): this;
|
|
4614
|
+
setStatus(status: TracingSpanStatus): this;
|
|
4609
4615
|
end(): void;
|
|
4610
4616
|
}
|
|
4617
|
+
type TracingSpanStatusCode = "unset" | "ok" | "error";
|
|
4618
|
+
interface TracingSpanStatus {
|
|
4619
|
+
code: TracingSpanStatusCode;
|
|
4620
|
+
message?: string;
|
|
4621
|
+
}
|
|
4611
4622
|
/**
|
|
4612
4623
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4613
4624
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
|
@@ -17111,6 +17122,12 @@ declare namespace TailStream {
|
|
|
17111
17122
|
readonly cpuTime: number;
|
|
17112
17123
|
readonly wallTime: number;
|
|
17113
17124
|
}
|
|
17125
|
+
type SpanStatusCode = "unset" | "ok" | "error";
|
|
17126
|
+
interface SpanStatus {
|
|
17127
|
+
readonly code: SpanStatusCode;
|
|
17128
|
+
/** A developer-facing error message, present only when code is "error". */
|
|
17129
|
+
readonly message?: string;
|
|
17130
|
+
}
|
|
17114
17131
|
interface SpanOpen {
|
|
17115
17132
|
readonly type: "spanOpen";
|
|
17116
17133
|
readonly name: string;
|
|
@@ -17122,6 +17139,19 @@ declare namespace TailStream {
|
|
|
17122
17139
|
readonly type: "spanClose";
|
|
17123
17140
|
readonly outcome: EventOutcome;
|
|
17124
17141
|
}
|
|
17142
|
+
type SpanUpdateInfo =
|
|
17143
|
+
| {
|
|
17144
|
+
readonly type: "name";
|
|
17145
|
+
readonly name: string;
|
|
17146
|
+
}
|
|
17147
|
+
| {
|
|
17148
|
+
readonly type: "status";
|
|
17149
|
+
readonly status: SpanStatus;
|
|
17150
|
+
};
|
|
17151
|
+
interface SpanUpdate {
|
|
17152
|
+
readonly type: "spanUpdate";
|
|
17153
|
+
readonly info: SpanUpdateInfo;
|
|
17154
|
+
}
|
|
17125
17155
|
interface DiagnosticChannelEvent {
|
|
17126
17156
|
readonly type: "diagnosticChannel";
|
|
17127
17157
|
readonly channel: string;
|
|
@@ -17191,6 +17221,7 @@ declare namespace TailStream {
|
|
|
17191
17221
|
| Outcome
|
|
17192
17222
|
| SpanOpen
|
|
17193
17223
|
| SpanClose
|
|
17224
|
+
| SpanUpdate
|
|
17194
17225
|
| DiagnosticChannelEvent
|
|
17195
17226
|
| Exception
|
|
17196
17227
|
| Log
|
|
@@ -17233,6 +17264,7 @@ declare namespace TailStream {
|
|
|
17233
17264
|
outcome?: TailEventHandler<Outcome>;
|
|
17234
17265
|
spanOpen?: TailEventHandler<SpanOpen>;
|
|
17235
17266
|
spanClose?: TailEventHandler<SpanClose>;
|
|
17267
|
+
spanUpdate?: TailEventHandler<SpanUpdate>;
|
|
17236
17268
|
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
|
|
17237
17269
|
exception?: TailEventHandler<Exception>;
|
|
17238
17270
|
log?: TailEventHandler<Log>;
|
package/index.ts
CHANGED
|
@@ -4131,9 +4131,13 @@ export type LoopbackForExport<
|
|
|
4131
4131
|
? LoopbackServiceStub<InstanceType<T>>
|
|
4132
4132
|
: T extends new (...args: any[]) => Rpc.DurableObjectBranded
|
|
4133
4133
|
? LoopbackDurableObjectClass<InstanceType<T>>
|
|
4134
|
-
: T extends
|
|
4135
|
-
|
|
4136
|
-
|
|
4134
|
+
: T extends new (
|
|
4135
|
+
...args: any[]
|
|
4136
|
+
) => CloudflareWorkersModule.WorkflowEntrypoint<any, infer Params>
|
|
4137
|
+
? Workflow<Params>
|
|
4138
|
+
: T extends ExportedHandler<any, any, any>
|
|
4139
|
+
? LoopbackServiceStub<undefined>
|
|
4140
|
+
: undefined;
|
|
4137
4141
|
export type LoopbackServiceStub<
|
|
4138
4142
|
T extends Rpc.WorkerEntrypointBranded | undefined = undefined,
|
|
4139
4143
|
> = Fetcher<T> &
|
|
@@ -4615,8 +4619,15 @@ export declare abstract class Span {
|
|
|
4615
4619
|
stack?: string;
|
|
4616
4620
|
},
|
|
4617
4621
|
): void;
|
|
4622
|
+
updateName(name: string): this;
|
|
4623
|
+
setStatus(status: TracingSpanStatus): this;
|
|
4618
4624
|
end(): void;
|
|
4619
4625
|
}
|
|
4626
|
+
export type TracingSpanStatusCode = "unset" | "ok" | "error";
|
|
4627
|
+
export interface TracingSpanStatus {
|
|
4628
|
+
code: TracingSpanStatusCode;
|
|
4629
|
+
message?: string;
|
|
4630
|
+
}
|
|
4620
4631
|
/**
|
|
4621
4632
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4622
4633
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
|
@@ -17042,6 +17053,12 @@ export declare namespace TailStream {
|
|
|
17042
17053
|
readonly cpuTime: number;
|
|
17043
17054
|
readonly wallTime: number;
|
|
17044
17055
|
}
|
|
17056
|
+
type SpanStatusCode = "unset" | "ok" | "error";
|
|
17057
|
+
interface SpanStatus {
|
|
17058
|
+
readonly code: SpanStatusCode;
|
|
17059
|
+
/** A developer-facing error message, present only when code is "error". */
|
|
17060
|
+
readonly message?: string;
|
|
17061
|
+
}
|
|
17045
17062
|
interface SpanOpen {
|
|
17046
17063
|
readonly type: "spanOpen";
|
|
17047
17064
|
readonly name: string;
|
|
@@ -17053,6 +17070,19 @@ export declare namespace TailStream {
|
|
|
17053
17070
|
readonly type: "spanClose";
|
|
17054
17071
|
readonly outcome: EventOutcome;
|
|
17055
17072
|
}
|
|
17073
|
+
type SpanUpdateInfo =
|
|
17074
|
+
| {
|
|
17075
|
+
readonly type: "name";
|
|
17076
|
+
readonly name: string;
|
|
17077
|
+
}
|
|
17078
|
+
| {
|
|
17079
|
+
readonly type: "status";
|
|
17080
|
+
readonly status: SpanStatus;
|
|
17081
|
+
};
|
|
17082
|
+
interface SpanUpdate {
|
|
17083
|
+
readonly type: "spanUpdate";
|
|
17084
|
+
readonly info: SpanUpdateInfo;
|
|
17085
|
+
}
|
|
17056
17086
|
interface DiagnosticChannelEvent {
|
|
17057
17087
|
readonly type: "diagnosticChannel";
|
|
17058
17088
|
readonly channel: string;
|
|
@@ -17122,6 +17152,7 @@ export declare namespace TailStream {
|
|
|
17122
17152
|
| Outcome
|
|
17123
17153
|
| SpanOpen
|
|
17124
17154
|
| SpanClose
|
|
17155
|
+
| SpanUpdate
|
|
17125
17156
|
| DiagnosticChannelEvent
|
|
17126
17157
|
| Exception
|
|
17127
17158
|
| Log
|
|
@@ -17164,6 +17195,7 @@ export declare namespace TailStream {
|
|
|
17164
17195
|
outcome?: TailEventHandler<Outcome>;
|
|
17165
17196
|
spanOpen?: TailEventHandler<SpanOpen>;
|
|
17166
17197
|
spanClose?: TailEventHandler<SpanClose>;
|
|
17198
|
+
spanUpdate?: TailEventHandler<SpanUpdate>;
|
|
17167
17199
|
diagnosticChannel?: TailEventHandler<DiagnosticChannelEvent>;
|
|
17168
17200
|
exception?: TailEventHandler<Exception>;
|
|
17169
17201
|
log?: TailEventHandler<Log>;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
|
|
9
9
|
"license": "MIT OR Apache-2.0",
|
|
10
|
-
"version": "5.
|
|
10
|
+
"version": "5.20260925.2-depup.0",
|
|
11
11
|
"keywords": [
|
|
12
12
|
"@cloudflare/workers-types",
|
|
13
13
|
"depup",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"changes": {},
|
|
21
21
|
"depsUpdated": 0,
|
|
22
22
|
"originalPackage": "@cloudflare/workers-types",
|
|
23
|
-
"originalVersion": "5.
|
|
24
|
-
"processedAt": "2026-09-
|
|
23
|
+
"originalVersion": "5.20260925.2",
|
|
24
|
+
"processedAt": "2026-09-25T16:10:07.301Z",
|
|
25
25
|
"smokeTest": "failed"
|
|
26
26
|
}
|
|
27
27
|
}
|