@cloudflare/workers-types 4.20250506.0 → 4.20250508.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.
@@ -6343,8 +6343,8 @@ declare namespace TailStream {
6343
6343
  }
6344
6344
  interface SpanOpen {
6345
6345
  readonly type: "spanOpen";
6346
- readonly op?: string;
6347
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6346
+ readonly name: string;
6347
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6348
6348
  }
6349
6349
  interface SpanClose {
6350
6350
  readonly type: "spanClose";
@@ -6368,7 +6368,7 @@ declare namespace TailStream {
6368
6368
  }
6369
6369
  interface Return {
6370
6370
  readonly type: "return";
6371
- readonly info?: FetchResponseInfo | Attribute[];
6371
+ readonly info?: FetchResponseInfo | Attributes;
6372
6372
  }
6373
6373
  interface Link {
6374
6374
  readonly type: "link";
@@ -6378,28 +6378,42 @@ declare namespace TailStream {
6378
6378
  readonly spanId: string;
6379
6379
  }
6380
6380
  interface Attribute {
6381
- readonly type: "attribute";
6382
6381
  readonly name: string;
6383
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6382
+ readonly value:
6383
+ | string
6384
+ | string[]
6385
+ | boolean
6386
+ | boolean[]
6387
+ | number
6388
+ | number[]
6389
+ | bigint
6390
+ | bigint[];
6391
+ }
6392
+ interface Attributes {
6393
+ readonly type: "attributes";
6394
+ readonly info: Attribute[];
6384
6395
  }
6385
- type Mark =
6386
- | DiagnosticChannelEvent
6387
- | Exception
6388
- | Log
6389
- | Return
6390
- | Link
6391
- | Attribute[];
6392
6396
  interface TailEvent {
6393
6397
  readonly traceId: string;
6394
6398
  readonly invocationId: string;
6395
6399
  readonly spanId: string;
6396
6400
  readonly timestamp: Date;
6397
6401
  readonly sequence: number;
6398
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6402
+ readonly event:
6403
+ | Onset
6404
+ | Outcome
6405
+ | Hibernate
6406
+ | SpanOpen
6407
+ | SpanClose
6408
+ | DiagnosticChannelEvent
6409
+ | Exception
6410
+ | Log
6411
+ | Return
6412
+ | Link
6413
+ | Attributes;
6399
6414
  }
6400
6415
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6401
6416
  type TailEventHandlerName =
6402
- | "onset"
6403
6417
  | "outcome"
6404
6418
  | "hibernate"
6405
6419
  | "spanOpen"
@@ -6409,7 +6423,7 @@ declare namespace TailStream {
6409
6423
  | "log"
6410
6424
  | "return"
6411
6425
  | "link"
6412
- | "attribute";
6426
+ | "attributes";
6413
6427
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6414
6428
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6415
6429
  }
@@ -6207,8 +6207,8 @@ export declare namespace TailStream {
6207
6207
  }
6208
6208
  interface SpanOpen {
6209
6209
  readonly type: "spanOpen";
6210
- readonly op?: string;
6211
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6210
+ readonly name: string;
6211
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6212
6212
  }
6213
6213
  interface SpanClose {
6214
6214
  readonly type: "spanClose";
@@ -6232,7 +6232,7 @@ export declare namespace TailStream {
6232
6232
  }
6233
6233
  interface Return {
6234
6234
  readonly type: "return";
6235
- readonly info?: FetchResponseInfo | Attribute[];
6235
+ readonly info?: FetchResponseInfo | Attributes;
6236
6236
  }
6237
6237
  interface Link {
6238
6238
  readonly type: "link";
@@ -6242,28 +6242,42 @@ export declare namespace TailStream {
6242
6242
  readonly spanId: string;
6243
6243
  }
6244
6244
  interface Attribute {
6245
- readonly type: "attribute";
6246
6245
  readonly name: string;
6247
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6246
+ readonly value:
6247
+ | string
6248
+ | string[]
6249
+ | boolean
6250
+ | boolean[]
6251
+ | number
6252
+ | number[]
6253
+ | bigint
6254
+ | bigint[];
6255
+ }
6256
+ interface Attributes {
6257
+ readonly type: "attributes";
6258
+ readonly info: Attribute[];
6248
6259
  }
6249
- type Mark =
6250
- | DiagnosticChannelEvent
6251
- | Exception
6252
- | Log
6253
- | Return
6254
- | Link
6255
- | Attribute[];
6256
6260
  interface TailEvent {
6257
6261
  readonly traceId: string;
6258
6262
  readonly invocationId: string;
6259
6263
  readonly spanId: string;
6260
6264
  readonly timestamp: Date;
6261
6265
  readonly sequence: number;
6262
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6266
+ readonly event:
6267
+ | Onset
6268
+ | Outcome
6269
+ | Hibernate
6270
+ | SpanOpen
6271
+ | SpanClose
6272
+ | DiagnosticChannelEvent
6273
+ | Exception
6274
+ | Log
6275
+ | Return
6276
+ | Link
6277
+ | Attributes;
6263
6278
  }
6264
6279
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6265
6280
  type TailEventHandlerName =
6266
- | "onset"
6267
6281
  | "outcome"
6268
6282
  | "hibernate"
6269
6283
  | "spanOpen"
@@ -6273,7 +6287,7 @@ export declare namespace TailStream {
6273
6287
  | "log"
6274
6288
  | "return"
6275
6289
  | "link"
6276
- | "attribute";
6290
+ | "attributes";
6277
6291
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6278
6292
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6279
6293
  }
@@ -6369,8 +6369,8 @@ declare namespace TailStream {
6369
6369
  }
6370
6370
  interface SpanOpen {
6371
6371
  readonly type: "spanOpen";
6372
- readonly op?: string;
6373
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6372
+ readonly name: string;
6373
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6374
6374
  }
6375
6375
  interface SpanClose {
6376
6376
  readonly type: "spanClose";
@@ -6394,7 +6394,7 @@ declare namespace TailStream {
6394
6394
  }
6395
6395
  interface Return {
6396
6396
  readonly type: "return";
6397
- readonly info?: FetchResponseInfo | Attribute[];
6397
+ readonly info?: FetchResponseInfo | Attributes;
6398
6398
  }
6399
6399
  interface Link {
6400
6400
  readonly type: "link";
@@ -6404,28 +6404,42 @@ declare namespace TailStream {
6404
6404
  readonly spanId: string;
6405
6405
  }
6406
6406
  interface Attribute {
6407
- readonly type: "attribute";
6408
6407
  readonly name: string;
6409
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6408
+ readonly value:
6409
+ | string
6410
+ | string[]
6411
+ | boolean
6412
+ | boolean[]
6413
+ | number
6414
+ | number[]
6415
+ | bigint
6416
+ | bigint[];
6417
+ }
6418
+ interface Attributes {
6419
+ readonly type: "attributes";
6420
+ readonly info: Attribute[];
6410
6421
  }
6411
- type Mark =
6412
- | DiagnosticChannelEvent
6413
- | Exception
6414
- | Log
6415
- | Return
6416
- | Link
6417
- | Attribute[];
6418
6422
  interface TailEvent {
6419
6423
  readonly traceId: string;
6420
6424
  readonly invocationId: string;
6421
6425
  readonly spanId: string;
6422
6426
  readonly timestamp: Date;
6423
6427
  readonly sequence: number;
6424
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6428
+ readonly event:
6429
+ | Onset
6430
+ | Outcome
6431
+ | Hibernate
6432
+ | SpanOpen
6433
+ | SpanClose
6434
+ | DiagnosticChannelEvent
6435
+ | Exception
6436
+ | Log
6437
+ | Return
6438
+ | Link
6439
+ | Attributes;
6425
6440
  }
6426
6441
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6427
6442
  type TailEventHandlerName =
6428
- | "onset"
6429
6443
  | "outcome"
6430
6444
  | "hibernate"
6431
6445
  | "spanOpen"
@@ -6435,7 +6449,7 @@ declare namespace TailStream {
6435
6449
  | "log"
6436
6450
  | "return"
6437
6451
  | "link"
6438
- | "attribute";
6452
+ | "attributes";
6439
6453
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6440
6454
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6441
6455
  }
@@ -6233,8 +6233,8 @@ export declare namespace TailStream {
6233
6233
  }
6234
6234
  interface SpanOpen {
6235
6235
  readonly type: "spanOpen";
6236
- readonly op?: string;
6237
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6236
+ readonly name: string;
6237
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6238
6238
  }
6239
6239
  interface SpanClose {
6240
6240
  readonly type: "spanClose";
@@ -6258,7 +6258,7 @@ export declare namespace TailStream {
6258
6258
  }
6259
6259
  interface Return {
6260
6260
  readonly type: "return";
6261
- readonly info?: FetchResponseInfo | Attribute[];
6261
+ readonly info?: FetchResponseInfo | Attributes;
6262
6262
  }
6263
6263
  interface Link {
6264
6264
  readonly type: "link";
@@ -6268,28 +6268,42 @@ export declare namespace TailStream {
6268
6268
  readonly spanId: string;
6269
6269
  }
6270
6270
  interface Attribute {
6271
- readonly type: "attribute";
6272
6271
  readonly name: string;
6273
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6272
+ readonly value:
6273
+ | string
6274
+ | string[]
6275
+ | boolean
6276
+ | boolean[]
6277
+ | number
6278
+ | number[]
6279
+ | bigint
6280
+ | bigint[];
6281
+ }
6282
+ interface Attributes {
6283
+ readonly type: "attributes";
6284
+ readonly info: Attribute[];
6274
6285
  }
6275
- type Mark =
6276
- | DiagnosticChannelEvent
6277
- | Exception
6278
- | Log
6279
- | Return
6280
- | Link
6281
- | Attribute[];
6282
6286
  interface TailEvent {
6283
6287
  readonly traceId: string;
6284
6288
  readonly invocationId: string;
6285
6289
  readonly spanId: string;
6286
6290
  readonly timestamp: Date;
6287
6291
  readonly sequence: number;
6288
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6292
+ readonly event:
6293
+ | Onset
6294
+ | Outcome
6295
+ | Hibernate
6296
+ | SpanOpen
6297
+ | SpanClose
6298
+ | DiagnosticChannelEvent
6299
+ | Exception
6300
+ | Log
6301
+ | Return
6302
+ | Link
6303
+ | Attributes;
6289
6304
  }
6290
6305
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6291
6306
  type TailEventHandlerName =
6292
- | "onset"
6293
6307
  | "outcome"
6294
6308
  | "hibernate"
6295
6309
  | "spanOpen"
@@ -6299,7 +6313,7 @@ export declare namespace TailStream {
6299
6313
  | "log"
6300
6314
  | "return"
6301
6315
  | "link"
6302
- | "attribute";
6316
+ | "attributes";
6303
6317
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6304
6318
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6305
6319
  }
@@ -6387,8 +6387,8 @@ declare namespace TailStream {
6387
6387
  }
6388
6388
  interface SpanOpen {
6389
6389
  readonly type: "spanOpen";
6390
- readonly op?: string;
6391
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6390
+ readonly name: string;
6391
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6392
6392
  }
6393
6393
  interface SpanClose {
6394
6394
  readonly type: "spanClose";
@@ -6412,7 +6412,7 @@ declare namespace TailStream {
6412
6412
  }
6413
6413
  interface Return {
6414
6414
  readonly type: "return";
6415
- readonly info?: FetchResponseInfo | Attribute[];
6415
+ readonly info?: FetchResponseInfo | Attributes;
6416
6416
  }
6417
6417
  interface Link {
6418
6418
  readonly type: "link";
@@ -6422,28 +6422,42 @@ declare namespace TailStream {
6422
6422
  readonly spanId: string;
6423
6423
  }
6424
6424
  interface Attribute {
6425
- readonly type: "attribute";
6426
6425
  readonly name: string;
6427
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6426
+ readonly value:
6427
+ | string
6428
+ | string[]
6429
+ | boolean
6430
+ | boolean[]
6431
+ | number
6432
+ | number[]
6433
+ | bigint
6434
+ | bigint[];
6435
+ }
6436
+ interface Attributes {
6437
+ readonly type: "attributes";
6438
+ readonly info: Attribute[];
6428
6439
  }
6429
- type Mark =
6430
- | DiagnosticChannelEvent
6431
- | Exception
6432
- | Log
6433
- | Return
6434
- | Link
6435
- | Attribute[];
6436
6440
  interface TailEvent {
6437
6441
  readonly traceId: string;
6438
6442
  readonly invocationId: string;
6439
6443
  readonly spanId: string;
6440
6444
  readonly timestamp: Date;
6441
6445
  readonly sequence: number;
6442
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6446
+ readonly event:
6447
+ | Onset
6448
+ | Outcome
6449
+ | Hibernate
6450
+ | SpanOpen
6451
+ | SpanClose
6452
+ | DiagnosticChannelEvent
6453
+ | Exception
6454
+ | Log
6455
+ | Return
6456
+ | Link
6457
+ | Attributes;
6443
6458
  }
6444
6459
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6445
6460
  type TailEventHandlerName =
6446
- | "onset"
6447
6461
  | "outcome"
6448
6462
  | "hibernate"
6449
6463
  | "spanOpen"
@@ -6453,7 +6467,7 @@ declare namespace TailStream {
6453
6467
  | "log"
6454
6468
  | "return"
6455
6469
  | "link"
6456
- | "attribute";
6470
+ | "attributes";
6457
6471
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6458
6472
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6459
6473
  }
@@ -6251,8 +6251,8 @@ export declare namespace TailStream {
6251
6251
  }
6252
6252
  interface SpanOpen {
6253
6253
  readonly type: "spanOpen";
6254
- readonly op?: string;
6255
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6254
+ readonly name: string;
6255
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6256
6256
  }
6257
6257
  interface SpanClose {
6258
6258
  readonly type: "spanClose";
@@ -6276,7 +6276,7 @@ export declare namespace TailStream {
6276
6276
  }
6277
6277
  interface Return {
6278
6278
  readonly type: "return";
6279
- readonly info?: FetchResponseInfo | Attribute[];
6279
+ readonly info?: FetchResponseInfo | Attributes;
6280
6280
  }
6281
6281
  interface Link {
6282
6282
  readonly type: "link";
@@ -6286,28 +6286,42 @@ export declare namespace TailStream {
6286
6286
  readonly spanId: string;
6287
6287
  }
6288
6288
  interface Attribute {
6289
- readonly type: "attribute";
6290
6289
  readonly name: string;
6291
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6290
+ readonly value:
6291
+ | string
6292
+ | string[]
6293
+ | boolean
6294
+ | boolean[]
6295
+ | number
6296
+ | number[]
6297
+ | bigint
6298
+ | bigint[];
6299
+ }
6300
+ interface Attributes {
6301
+ readonly type: "attributes";
6302
+ readonly info: Attribute[];
6292
6303
  }
6293
- type Mark =
6294
- | DiagnosticChannelEvent
6295
- | Exception
6296
- | Log
6297
- | Return
6298
- | Link
6299
- | Attribute[];
6300
6304
  interface TailEvent {
6301
6305
  readonly traceId: string;
6302
6306
  readonly invocationId: string;
6303
6307
  readonly spanId: string;
6304
6308
  readonly timestamp: Date;
6305
6309
  readonly sequence: number;
6306
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6310
+ readonly event:
6311
+ | Onset
6312
+ | Outcome
6313
+ | Hibernate
6314
+ | SpanOpen
6315
+ | SpanClose
6316
+ | DiagnosticChannelEvent
6317
+ | Exception
6318
+ | Log
6319
+ | Return
6320
+ | Link
6321
+ | Attributes;
6307
6322
  }
6308
6323
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6309
6324
  type TailEventHandlerName =
6310
- | "onset"
6311
6325
  | "outcome"
6312
6326
  | "hibernate"
6313
6327
  | "spanOpen"
@@ -6317,7 +6331,7 @@ export declare namespace TailStream {
6317
6331
  | "log"
6318
6332
  | "return"
6319
6333
  | "link"
6320
- | "attribute";
6334
+ | "attributes";
6321
6335
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6322
6336
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6323
6337
  }
@@ -6388,8 +6388,8 @@ declare namespace TailStream {
6388
6388
  }
6389
6389
  interface SpanOpen {
6390
6390
  readonly type: "spanOpen";
6391
- readonly op?: string;
6392
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6391
+ readonly name: string;
6392
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6393
6393
  }
6394
6394
  interface SpanClose {
6395
6395
  readonly type: "spanClose";
@@ -6413,7 +6413,7 @@ declare namespace TailStream {
6413
6413
  }
6414
6414
  interface Return {
6415
6415
  readonly type: "return";
6416
- readonly info?: FetchResponseInfo | Attribute[];
6416
+ readonly info?: FetchResponseInfo | Attributes;
6417
6417
  }
6418
6418
  interface Link {
6419
6419
  readonly type: "link";
@@ -6423,28 +6423,42 @@ declare namespace TailStream {
6423
6423
  readonly spanId: string;
6424
6424
  }
6425
6425
  interface Attribute {
6426
- readonly type: "attribute";
6427
6426
  readonly name: string;
6428
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6427
+ readonly value:
6428
+ | string
6429
+ | string[]
6430
+ | boolean
6431
+ | boolean[]
6432
+ | number
6433
+ | number[]
6434
+ | bigint
6435
+ | bigint[];
6436
+ }
6437
+ interface Attributes {
6438
+ readonly type: "attributes";
6439
+ readonly info: Attribute[];
6429
6440
  }
6430
- type Mark =
6431
- | DiagnosticChannelEvent
6432
- | Exception
6433
- | Log
6434
- | Return
6435
- | Link
6436
- | Attribute[];
6437
6441
  interface TailEvent {
6438
6442
  readonly traceId: string;
6439
6443
  readonly invocationId: string;
6440
6444
  readonly spanId: string;
6441
6445
  readonly timestamp: Date;
6442
6446
  readonly sequence: number;
6443
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6447
+ readonly event:
6448
+ | Onset
6449
+ | Outcome
6450
+ | Hibernate
6451
+ | SpanOpen
6452
+ | SpanClose
6453
+ | DiagnosticChannelEvent
6454
+ | Exception
6455
+ | Log
6456
+ | Return
6457
+ | Link
6458
+ | Attributes;
6444
6459
  }
6445
6460
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6446
6461
  type TailEventHandlerName =
6447
- | "onset"
6448
6462
  | "outcome"
6449
6463
  | "hibernate"
6450
6464
  | "spanOpen"
@@ -6454,7 +6468,7 @@ declare namespace TailStream {
6454
6468
  | "log"
6455
6469
  | "return"
6456
6470
  | "link"
6457
- | "attribute";
6471
+ | "attributes";
6458
6472
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6459
6473
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6460
6474
  }
@@ -6252,8 +6252,8 @@ export declare namespace TailStream {
6252
6252
  }
6253
6253
  interface SpanOpen {
6254
6254
  readonly type: "spanOpen";
6255
- readonly op?: string;
6256
- readonly info?: FetchEventInfo | JsRpcEventInfo | Attribute[];
6255
+ readonly name: string;
6256
+ readonly info?: FetchEventInfo | JsRpcEventInfo | Attributes;
6257
6257
  }
6258
6258
  interface SpanClose {
6259
6259
  readonly type: "spanClose";
@@ -6277,7 +6277,7 @@ export declare namespace TailStream {
6277
6277
  }
6278
6278
  interface Return {
6279
6279
  readonly type: "return";
6280
- readonly info?: FetchResponseInfo | Attribute[];
6280
+ readonly info?: FetchResponseInfo | Attributes;
6281
6281
  }
6282
6282
  interface Link {
6283
6283
  readonly type: "link";
@@ -6287,28 +6287,42 @@ export declare namespace TailStream {
6287
6287
  readonly spanId: string;
6288
6288
  }
6289
6289
  interface Attribute {
6290
- readonly type: "attribute";
6291
6290
  readonly name: string;
6292
- readonly value: string | string[] | boolean | boolean[] | number | number[];
6291
+ readonly value:
6292
+ | string
6293
+ | string[]
6294
+ | boolean
6295
+ | boolean[]
6296
+ | number
6297
+ | number[]
6298
+ | bigint
6299
+ | bigint[];
6300
+ }
6301
+ interface Attributes {
6302
+ readonly type: "attributes";
6303
+ readonly info: Attribute[];
6293
6304
  }
6294
- type Mark =
6295
- | DiagnosticChannelEvent
6296
- | Exception
6297
- | Log
6298
- | Return
6299
- | Link
6300
- | Attribute[];
6301
6305
  interface TailEvent {
6302
6306
  readonly traceId: string;
6303
6307
  readonly invocationId: string;
6304
6308
  readonly spanId: string;
6305
6309
  readonly timestamp: Date;
6306
6310
  readonly sequence: number;
6307
- readonly event: Onset | Outcome | Hibernate | SpanOpen | SpanClose | Mark;
6311
+ readonly event:
6312
+ | Onset
6313
+ | Outcome
6314
+ | Hibernate
6315
+ | SpanOpen
6316
+ | SpanClose
6317
+ | DiagnosticChannelEvent
6318
+ | Exception
6319
+ | Log
6320
+ | Return
6321
+ | Link
6322
+ | Attributes;
6308
6323
  }
6309
6324
  type TailEventHandler = (event: TailEvent) => void | Promise<void>;
6310
6325
  type TailEventHandlerName =
6311
- | "onset"
6312
6326
  | "outcome"
6313
6327
  | "hibernate"
6314
6328
  | "spanOpen"
@@ -6318,7 +6332,7 @@ export declare namespace TailStream {
6318
6332
  | "log"
6319
6333
  | "return"
6320
6334
  | "link"
6321
- | "attribute";
6335
+ | "attributes";
6322
6336
  type TailEventHandlerObject = Record<TailEventHandlerName, TailEventHandler>;
6323
6337
  type TailEventHandlerType = TailEventHandler | TailEventHandlerObject;
6324
6338
  }