@depup/cloudflare__workers-types 5.20261007.1-depup.0 → 5.20261009.1-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 +6 -0
- package/experimental/index.ts +6 -0
- package/index.d.ts +9 -3
- package/index.ts +9 -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-10-
|
|
16
|
+
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.20261009.1 |
|
|
17
|
+
| Processed | 2026-10-09 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/experimental/index.d.ts
CHANGED
|
@@ -4936,6 +4936,7 @@ interface Tracing {
|
|
|
4936
4936
|
}
|
|
4937
4937
|
declare abstract class Span {
|
|
4938
4938
|
get isTraced(): boolean;
|
|
4939
|
+
spanContext(): TracingSpanContext;
|
|
4939
4940
|
setAttribute(key: string, value: boolean | number | string): this;
|
|
4940
4941
|
setAttributes(
|
|
4941
4942
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
@@ -4971,6 +4972,11 @@ interface TracingSpanStatus {
|
|
|
4971
4972
|
code: TracingSpanStatusCode;
|
|
4972
4973
|
message?: string;
|
|
4973
4974
|
}
|
|
4975
|
+
interface TracingSpanContext {
|
|
4976
|
+
traceId: string;
|
|
4977
|
+
spanId: string;
|
|
4978
|
+
traceFlags: number;
|
|
4979
|
+
}
|
|
4974
4980
|
/**
|
|
4975
4981
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4976
4982
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
package/experimental/index.ts
CHANGED
|
@@ -4945,6 +4945,7 @@ export interface Tracing {
|
|
|
4945
4945
|
}
|
|
4946
4946
|
export declare abstract class Span {
|
|
4947
4947
|
get isTraced(): boolean;
|
|
4948
|
+
spanContext(): TracingSpanContext;
|
|
4948
4949
|
setAttribute(key: string, value: boolean | number | string): this;
|
|
4949
4950
|
setAttributes(
|
|
4950
4951
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
@@ -4980,6 +4981,11 @@ export interface TracingSpanStatus {
|
|
|
4980
4981
|
code: TracingSpanStatusCode;
|
|
4981
4982
|
message?: string;
|
|
4982
4983
|
}
|
|
4984
|
+
export interface TracingSpanContext {
|
|
4985
|
+
traceId: string;
|
|
4986
|
+
spanId: string;
|
|
4987
|
+
traceFlags: number;
|
|
4988
|
+
}
|
|
4983
4989
|
/**
|
|
4984
4990
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4985
4991
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
package/index.d.ts
CHANGED
|
@@ -483,9 +483,9 @@ declare const scheduler: Scheduler;
|
|
|
483
483
|
declare const performance: Performance;
|
|
484
484
|
declare const Cloudflare: Cloudflare;
|
|
485
485
|
declare const origin: string;
|
|
486
|
-
declare
|
|
487
|
-
declare
|
|
488
|
-
declare
|
|
486
|
+
declare var Buffer: any;
|
|
487
|
+
declare var process: any;
|
|
488
|
+
declare var global: ServiceWorkerGlobalScope;
|
|
489
489
|
declare function setImmediate(
|
|
490
490
|
$function: (...param0: any[]) => void,
|
|
491
491
|
...args: any[]
|
|
@@ -4588,6 +4588,7 @@ interface Tracing {
|
|
|
4588
4588
|
}
|
|
4589
4589
|
declare abstract class Span {
|
|
4590
4590
|
get isTraced(): boolean;
|
|
4591
|
+
spanContext(): TracingSpanContext;
|
|
4591
4592
|
setAttribute(key: string, value: boolean | number | string): this;
|
|
4592
4593
|
setAttributes(
|
|
4593
4594
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
@@ -4623,6 +4624,11 @@ interface TracingSpanStatus {
|
|
|
4623
4624
|
code: TracingSpanStatusCode;
|
|
4624
4625
|
message?: string;
|
|
4625
4626
|
}
|
|
4627
|
+
interface TracingSpanContext {
|
|
4628
|
+
traceId: string;
|
|
4629
|
+
spanId: string;
|
|
4630
|
+
traceFlags: number;
|
|
4631
|
+
}
|
|
4626
4632
|
/**
|
|
4627
4633
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4628
4634
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
package/index.ts
CHANGED
|
@@ -485,9 +485,9 @@ export declare const scheduler: Scheduler;
|
|
|
485
485
|
export declare const performance: Performance;
|
|
486
486
|
export declare const Cloudflare: Cloudflare;
|
|
487
487
|
export declare const origin: string;
|
|
488
|
-
export declare
|
|
489
|
-
export declare
|
|
490
|
-
export declare
|
|
488
|
+
export declare var Buffer: any;
|
|
489
|
+
export declare var process: any;
|
|
490
|
+
export declare var global: ServiceWorkerGlobalScope;
|
|
491
491
|
export declare function setImmediate(
|
|
492
492
|
$function: (...param0: any[]) => void,
|
|
493
493
|
...args: any[]
|
|
@@ -4597,6 +4597,7 @@ export interface Tracing {
|
|
|
4597
4597
|
}
|
|
4598
4598
|
export declare abstract class Span {
|
|
4599
4599
|
get isTraced(): boolean;
|
|
4600
|
+
spanContext(): TracingSpanContext;
|
|
4600
4601
|
setAttribute(key: string, value: boolean | number | string): this;
|
|
4601
4602
|
setAttributes(
|
|
4602
4603
|
attributes: Record<string, boolean | number | string | undefined>,
|
|
@@ -4632,6 +4633,11 @@ export interface TracingSpanStatus {
|
|
|
4632
4633
|
code: TracingSpanStatusCode;
|
|
4633
4634
|
message?: string;
|
|
4634
4635
|
}
|
|
4636
|
+
export interface TracingSpanContext {
|
|
4637
|
+
traceId: string;
|
|
4638
|
+
spanId: string;
|
|
4639
|
+
traceFlags: number;
|
|
4640
|
+
}
|
|
4635
4641
|
/**
|
|
4636
4642
|
* Represents the identity of a user authenticated via Cloudflare Access.
|
|
4637
4643
|
* This matches the result of calling /cdn-cgi/access/get-identity.
|
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.20261009.1-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-10-
|
|
23
|
+
"originalVersion": "5.20261009.1",
|
|
24
|
+
"processedAt": "2026-10-09T08:13:46.331Z",
|
|
25
25
|
"smokeTest": "failed"
|
|
26
26
|
}
|
|
27
27
|
}
|