@cloudflare/workers-types 4.20250918.0 → 4.20250920.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/latest/index.ts CHANGED
@@ -475,18 +475,6 @@ export declare abstract class Navigator {
475
475
  readonly language: string;
476
476
  readonly languages: string[];
477
477
  }
478
- /**
479
- * The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
480
- * as well as timing of subrequests and other operations.
481
- *
482
- * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
483
- */
484
- export interface Performance {
485
- /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
486
- readonly timeOrigin: number;
487
- /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
488
- now(): number;
489
- }
490
478
  export interface AlarmInvocationInfo {
491
479
  readonly isRetry: boolean;
492
480
  readonly retryCount: number;
@@ -3206,6 +3194,18 @@ export interface WorkerLoaderWorkerCode {
3206
3194
  tails?: Fetcher[];
3207
3195
  streamingTails?: Fetcher[];
3208
3196
  }
3197
+ /**
3198
+ * The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
3199
+ * as well as timing of subrequests and other operations.
3200
+ *
3201
+ * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
3202
+ */
3203
+ export declare abstract class Performance {
3204
+ /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
3205
+ get timeOrigin(): number;
3206
+ /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
3207
+ now(): number;
3208
+ }
3209
3209
  export type AiImageClassificationInput = {
3210
3210
  image: number[];
3211
3211
  };
@@ -8993,7 +8993,6 @@ export declare namespace TailStream {
8993
8993
  }
8994
8994
  interface JsRpcEventInfo {
8995
8995
  readonly type: "jsrpc";
8996
- readonly methodName: string;
8997
8996
  }
8998
8997
  interface ScheduledEventInfo {
8999
8998
  readonly type: "scheduled";
package/oldest/index.d.ts CHANGED
@@ -443,18 +443,6 @@ declare abstract class PromiseRejectionEvent extends Event {
443
443
  /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
444
444
  readonly reason: any;
445
445
  }
446
- /**
447
- * The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
448
- * as well as timing of subrequests and other operations.
449
- *
450
- * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
451
- */
452
- interface Performance {
453
- /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
454
- readonly timeOrigin: number;
455
- /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
456
- now(): number;
457
- }
458
446
  interface AlarmInvocationInfo {
459
447
  readonly isRetry: boolean;
460
448
  readonly retryCount: number;
@@ -3110,6 +3098,18 @@ interface WorkerLoaderWorkerCode {
3110
3098
  tails?: Fetcher[];
3111
3099
  streamingTails?: Fetcher[];
3112
3100
  }
3101
+ /**
3102
+ * The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
3103
+ * as well as timing of subrequests and other operations.
3104
+ *
3105
+ * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
3106
+ */
3107
+ declare abstract class Performance {
3108
+ /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
3109
+ get timeOrigin(): number;
3110
+ /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
3111
+ now(): number;
3112
+ }
3113
3113
  type AiImageClassificationInput = {
3114
3114
  image: number[];
3115
3115
  };
@@ -8948,7 +8948,6 @@ declare namespace TailStream {
8948
8948
  }
8949
8949
  interface JsRpcEventInfo {
8950
8950
  readonly type: "jsrpc";
8951
- readonly methodName: string;
8952
8951
  }
8953
8952
  interface ScheduledEventInfo {
8954
8953
  readonly type: "scheduled";
package/oldest/index.ts CHANGED
@@ -448,18 +448,6 @@ export declare abstract class PromiseRejectionEvent extends Event {
448
448
  /* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
449
449
  readonly reason: any;
450
450
  }
451
- /**
452
- * The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
453
- * as well as timing of subrequests and other operations.
454
- *
455
- * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
456
- */
457
- export interface Performance {
458
- /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
459
- readonly timeOrigin: number;
460
- /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
461
- now(): number;
462
- }
463
451
  export interface AlarmInvocationInfo {
464
452
  readonly isRetry: boolean;
465
453
  readonly retryCount: number;
@@ -3121,6 +3109,18 @@ export interface WorkerLoaderWorkerCode {
3121
3109
  tails?: Fetcher[];
3122
3110
  streamingTails?: Fetcher[];
3123
3111
  }
3112
+ /**
3113
+ * The Workers runtime supports a subset of the Performance API, used to measure timing and performance,
3114
+ * as well as timing of subrequests and other operations.
3115
+ *
3116
+ * [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/)
3117
+ */
3118
+ export declare abstract class Performance {
3119
+ /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancetimeorigin) */
3120
+ get timeOrigin(): number;
3121
+ /* [Cloudflare Docs Reference](https://developers.cloudflare.com/workers/runtime-apis/performance/#performancenow) */
3122
+ now(): number;
3123
+ }
3124
3124
  export type AiImageClassificationInput = {
3125
3125
  image: number[];
3126
3126
  };
@@ -8908,7 +8908,6 @@ export declare namespace TailStream {
8908
8908
  }
8909
8909
  interface JsRpcEventInfo {
8910
8910
  readonly type: "jsrpc";
8911
- readonly methodName: string;
8912
8911
  }
8913
8912
  interface ScheduledEventInfo {
8914
8913
  readonly type: "scheduled";
package/package.json CHANGED
@@ -7,5 +7,5 @@
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": "4.20250918.0"
10
+ "version": "4.20250920.0"
11
11
  }