posthog-node 5.73.1 → 6.0.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/MIGRATION.md +556 -0
- package/README.md +3 -1
- package/dist/ai-capture/routing.d.ts +0 -3
- package/dist/ai-capture/routing.d.ts.map +1 -1
- package/dist/ai-capture/routing.js +2 -14
- package/dist/ai-capture/routing.mjs +1 -4
- package/dist/capture-lane/lane.d.ts +109 -0
- package/dist/capture-lane/lane.d.ts.map +1 -0
- package/dist/capture-lane/lane.js +308 -0
- package/dist/capture-lane/lane.mjs +270 -0
- package/dist/capture-lane/limits.d.ts +7 -0
- package/dist/capture-lane/limits.d.ts.map +1 -0
- package/dist/{capture-v1/config.js → capture-lane/limits.js} +13 -11
- package/dist/capture-lane/limits.mjs +4 -0
- package/dist/capture-lane/settings.d.ts +30 -0
- package/dist/capture-lane/settings.d.ts.map +1 -0
- package/dist/capture-lane/settings.js +100 -0
- package/dist/capture-lane/settings.mjs +47 -0
- package/dist/capture-v1/compression.d.ts +18 -0
- package/dist/capture-v1/compression.d.ts.map +1 -0
- package/dist/capture-v1/compression.js +70 -0
- package/dist/capture-v1/compression.mjs +26 -0
- package/dist/capture-v1/errors.d.ts +23 -7
- package/dist/capture-v1/errors.d.ts.map +1 -1
- package/dist/capture-v1/errors.js +37 -8
- package/dist/capture-v1/errors.mjs +29 -6
- package/dist/capture-v1/sender.d.ts +63 -23
- package/dist/capture-v1/sender.d.ts.map +1 -1
- package/dist/capture-v1/sender.js +281 -74
- package/dist/capture-v1/sender.mjs +275 -77
- package/dist/capture-v1/serialize.d.ts +28 -0
- package/dist/capture-v1/serialize.d.ts.map +1 -0
- package/dist/capture-v1/serialize.js +82 -0
- package/dist/capture-v1/serialize.mjs +38 -0
- package/dist/capture-v1/transform.d.ts +10 -25
- package/dist/capture-v1/transform.d.ts.map +1 -1
- package/dist/capture-v1/transform.js +33 -64
- package/dist/capture-v1/transform.mjs +28 -53
- package/dist/capture-v1/types.d.ts +16 -14
- package/dist/capture-v1/types.d.ts.map +1 -1
- package/dist/capture-v1/types.js +27 -1
- package/dist/capture-v1/types.mjs +3 -1
- package/dist/capture-v1/uuid.d.ts +9 -0
- package/dist/capture-v1/uuid.d.ts.map +1 -0
- package/dist/capture-v1/uuid.js +75 -0
- package/dist/capture-v1/uuid.mjs +34 -0
- package/dist/client.d.ts +201 -94
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +485 -246
- package/dist/client.mjs +485 -246
- package/dist/compression.node.d.ts +13 -0
- package/dist/compression.node.d.ts.map +1 -0
- package/dist/{capture-v1/routing.js → compression.node.js} +23 -16
- package/dist/compression.node.mjs +18 -0
- package/dist/entrypoints/index.node.d.ts +2 -0
- package/dist/entrypoints/index.node.d.ts.map +1 -1
- package/dist/entrypoints/index.node.js +11 -4
- package/dist/entrypoints/index.node.mjs +4 -0
- package/dist/event-defaults.d.ts +46 -0
- package/dist/event-defaults.d.ts.map +1 -0
- package/dist/event-defaults.js +141 -0
- package/dist/event-defaults.mjs +79 -0
- package/dist/exports.d.ts +3 -0
- package/dist/exports.d.ts.map +1 -1
- package/dist/exports.js +22 -11
- package/dist/exports.mjs +1 -0
- package/dist/extensions/context/context.d.ts +0 -1
- package/dist/extensions/context/context.d.ts.map +1 -1
- package/dist/extensions/context/context.js +4 -3
- package/dist/extensions/context/context.mjs +4 -3
- package/dist/extensions/context/event-context.d.ts.map +1 -1
- package/dist/extensions/context/event-context.js +3 -0
- package/dist/extensions/context/event-context.mjs +3 -0
- package/dist/extensions/context/types.d.ts +9 -1
- package/dist/extensions/context/types.d.ts.map +1 -1
- package/dist/extensions/error-tracking/index.d.ts +1 -1
- package/dist/extensions/error-tracking/index.d.ts.map +1 -1
- package/dist/extensions/error-tracking/index.js +71 -7
- package/dist/extensions/error-tracking/index.mjs +75 -11
- package/dist/extensions/express.d.ts +8 -0
- package/dist/extensions/express.d.ts.map +1 -1
- package/dist/extensions/express.js +3 -3
- package/dist/extensions/express.mjs +4 -4
- package/dist/extensions/fetch-request.d.ts.map +1 -1
- package/dist/extensions/fetch-request.js +2 -2
- package/dist/extensions/fetch-request.mjs +3 -3
- package/dist/extensions/nestjs.d.ts.map +1 -1
- package/dist/extensions/nestjs.js +7 -4
- package/dist/extensions/nestjs.mjs +8 -5
- package/dist/extensions/tracing-headers.d.ts +7 -0
- package/dist/extensions/tracing-headers.d.ts.map +1 -1
- package/dist/extensions/tracing-headers.js +11 -1
- package/dist/extensions/tracing-headers.mjs +9 -2
- package/dist/feature-flag-evaluations.d.ts +5 -5
- package/dist/feature-flag-evaluations.d.ts.map +1 -1
- package/dist/feature-flag-evaluations.js +16 -9
- package/dist/feature-flag-evaluations.mjs +16 -9
- package/dist/flag-events.d.ts +1 -1
- package/dist/flag-events.d.ts.map +1 -1
- package/dist/flag-events.js +2 -2
- package/dist/flag-events.mjs +2 -2
- package/dist/flags-response.d.ts +2 -0
- package/dist/flags-response.d.ts.map +1 -1
- package/dist/flags-response.js +6 -0
- package/dist/flags-response.mjs +4 -1
- package/dist/types.d.ts +192 -27
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -0
- package/dist/types.mjs +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +5 -4
- package/src/ai-capture/routing.ts +0 -6
- package/src/capture-lane/lane.ts +414 -0
- package/src/capture-lane/limits.ts +8 -0
- package/src/capture-lane/settings.ts +119 -0
- package/src/capture-v1/compression.ts +50 -0
- package/src/capture-v1/errors.ts +50 -11
- package/src/capture-v1/sender.ts +405 -111
- package/src/capture-v1/serialize.ts +77 -0
- package/src/capture-v1/transform.ts +59 -92
- package/src/capture-v1/types.ts +19 -15
- package/src/capture-v1/uuid.ts +53 -0
- package/src/client.ts +885 -446
- package/src/compression.node.ts +30 -0
- package/src/entrypoints/index.node.ts +6 -0
- package/src/event-defaults.ts +177 -0
- package/src/exports.ts +3 -0
- package/src/extensions/context/context.ts +4 -4
- package/src/extensions/context/event-context.ts +3 -1
- package/src/extensions/context/types.ts +10 -1
- package/src/extensions/error-tracking/index.ts +51 -7
- package/src/extensions/express.ts +12 -3
- package/src/extensions/fetch-request.ts +7 -3
- package/src/extensions/nestjs.ts +9 -5
- package/src/extensions/tracing-headers.ts +26 -7
- package/src/feature-flag-evaluations.ts +31 -23
- package/src/flag-events.ts +5 -2
- package/src/flags-response.ts +6 -1
- package/src/types.ts +212 -44
- package/src/version.ts +1 -1
- package/dist/ai-capture/batching.d.ts +0 -11
- package/dist/ai-capture/batching.d.ts.map +0 -1
- package/dist/ai-capture/batching.js +0 -77
- package/dist/ai-capture/batching.mjs +0 -36
- package/dist/capture-v1/config.d.ts +0 -11
- package/dist/capture-v1/config.d.ts.map +0 -1
- package/dist/capture-v1/config.mjs +0 -8
- package/dist/capture-v1/routing.d.ts +0 -21
- package/dist/capture-v1/routing.d.ts.map +0 -1
- package/dist/capture-v1/routing.mjs +0 -7
- package/src/ai-capture/batching.ts +0 -47
- package/src/capture-v1/config.ts +0 -18
- package/src/capture-v1/routing.ts +0 -28
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { CAPTURE_COMPRESSIONS, type CaptureCompression } from '../capture-v1/compression'
|
|
2
|
+
import type { PostHogOptions } from '../types'
|
|
3
|
+
|
|
4
|
+
export const DEFAULT_CAPTURE_MAX_RETRIES = 3
|
|
5
|
+
export const MAX_CAPTURE_MAX_RETRIES = 9
|
|
6
|
+
export const DEFAULT_REQUEST_TIMEOUT_MS = 10_000
|
|
7
|
+
export const DEFAULT_AI_REQUEST_TIMEOUT_MS = 30_000
|
|
8
|
+
export const DEFAULT_AI_MAX_QUEUE_SIZE = 1000
|
|
9
|
+
|
|
10
|
+
/** Capture settings resolved once per client from `PostHogOptions`. */
|
|
11
|
+
export interface CaptureSettings {
|
|
12
|
+
/** Retries after the first attempt, for both lanes. */
|
|
13
|
+
maxRetries: number
|
|
14
|
+
analytics: CaptureLaneSettings
|
|
15
|
+
ai: CaptureLaneSettings & {
|
|
16
|
+
/** Queued AI events; the analytics queue size stays a client setting. */
|
|
17
|
+
maxQueueSize: number
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface CaptureLaneSettings {
|
|
22
|
+
/** The requested body encoding; the runtime may not support it. */
|
|
23
|
+
compression: CaptureCompression
|
|
24
|
+
requestTimeoutMs: number
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
type LogInvalid = (message: string) => void
|
|
28
|
+
|
|
29
|
+
const isIntegerInRange = (value: unknown, min: number, max: number): value is number =>
|
|
30
|
+
typeof value === 'number' && Number.isInteger(value) && value >= min && value <= max
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Validates the capture options. An invalid value is reported once through `logInvalid` and
|
|
34
|
+
* behaves as if it were not set, so a bad option never throws.
|
|
35
|
+
*/
|
|
36
|
+
export function resolveCaptureSettings(options: PostHogOptions, logInvalid: LogInvalid): CaptureSettings {
|
|
37
|
+
return {
|
|
38
|
+
maxRetries: resolveMaxRetries(options, logInvalid),
|
|
39
|
+
analytics: {
|
|
40
|
+
compression:
|
|
41
|
+
resolveCompression('captureCompression', options.captureCompression, logInvalid) ??
|
|
42
|
+
(options.disableCompression ? 'none' : 'gzip'),
|
|
43
|
+
requestTimeoutMs: options.requestTimeout ?? DEFAULT_REQUEST_TIMEOUT_MS,
|
|
44
|
+
},
|
|
45
|
+
ai: {
|
|
46
|
+
// The AI lane does not read captureCompression or disableCompression.
|
|
47
|
+
compression: resolveCompression('captureAiCompression', options.captureAiCompression, logInvalid) ?? 'gzip',
|
|
48
|
+
requestTimeoutMs: resolvePositive(
|
|
49
|
+
'captureAiRequestTimeoutMs',
|
|
50
|
+
options.captureAiRequestTimeoutMs,
|
|
51
|
+
DEFAULT_AI_REQUEST_TIMEOUT_MS,
|
|
52
|
+
logInvalid,
|
|
53
|
+
{ integer: false }
|
|
54
|
+
),
|
|
55
|
+
maxQueueSize: resolvePositive(
|
|
56
|
+
'captureAiMaxQueueSize',
|
|
57
|
+
options.captureAiMaxQueueSize,
|
|
58
|
+
DEFAULT_AI_MAX_QUEUE_SIZE,
|
|
59
|
+
logInvalid,
|
|
60
|
+
{ integer: true }
|
|
61
|
+
),
|
|
62
|
+
},
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function resolveCompression(name: string, value: unknown, logInvalid: LogInvalid): CaptureCompression | undefined {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return undefined
|
|
69
|
+
}
|
|
70
|
+
if ((CAPTURE_COMPRESSIONS as readonly unknown[]).includes(value)) {
|
|
71
|
+
return value as CaptureCompression
|
|
72
|
+
}
|
|
73
|
+
logInvalid(
|
|
74
|
+
`${name} must be one of ${CAPTURE_COMPRESSIONS.map((codec) => `'${codec}'`).join(', ')}; using the default.`
|
|
75
|
+
)
|
|
76
|
+
return undefined
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Node clamps a timer delay above this to 1 ms, which would time out every request.
|
|
80
|
+
const MAX_SETTING_VALUE = 2_147_483_647
|
|
81
|
+
|
|
82
|
+
function resolvePositive(
|
|
83
|
+
name: string,
|
|
84
|
+
value: unknown,
|
|
85
|
+
fallback: number,
|
|
86
|
+
logInvalid: LogInvalid,
|
|
87
|
+
{ integer }: { integer: boolean }
|
|
88
|
+
): number {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return fallback
|
|
91
|
+
}
|
|
92
|
+
if (
|
|
93
|
+
typeof value === 'number' &&
|
|
94
|
+
value > 0 &&
|
|
95
|
+
value <= MAX_SETTING_VALUE &&
|
|
96
|
+
(integer ? Number.isSafeInteger(value) : Number.isFinite(value))
|
|
97
|
+
) {
|
|
98
|
+
return value
|
|
99
|
+
}
|
|
100
|
+
logInvalid(
|
|
101
|
+
`${name} must be a positive ${integer ? 'integer' : 'number'} up to ${MAX_SETTING_VALUE}; using the default.`
|
|
102
|
+
)
|
|
103
|
+
return fallback
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function resolveMaxRetries(options: PostHogOptions, logInvalid: LogInvalid): number {
|
|
107
|
+
const { captureMaxRetries, fetchRetryCount } = options
|
|
108
|
+
if (captureMaxRetries != null) {
|
|
109
|
+
if (isIntegerInRange(captureMaxRetries, 0, MAX_CAPTURE_MAX_RETRIES)) {
|
|
110
|
+
return captureMaxRetries
|
|
111
|
+
}
|
|
112
|
+
logInvalid(`captureMaxRetries must be an integer from 0 to ${MAX_CAPTURE_MAX_RETRIES}; using the default.`)
|
|
113
|
+
}
|
|
114
|
+
// fetchRetryCount also configures other requests, so an out-of-range value is clamped for capture, not reported.
|
|
115
|
+
if (typeof fetchRetryCount === 'number' && Number.isFinite(fetchRetryCount)) {
|
|
116
|
+
return Math.min(Math.max(Math.trunc(fetchRetryCount), 0), MAX_CAPTURE_MAX_RETRIES)
|
|
117
|
+
}
|
|
118
|
+
return DEFAULT_CAPTURE_MAX_RETRIES
|
|
119
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { gzipCompress, isGzipSupported } from '@posthog/core'
|
|
2
|
+
|
|
3
|
+
export const CAPTURE_COMPRESSIONS = ['none', 'gzip', 'deflate', 'zstd'] as const
|
|
4
|
+
|
|
5
|
+
/** A capture request body encoding; `deflate` is zlib-wrapped, as HTTP `Content-Encoding: deflate` requires. */
|
|
6
|
+
export type CaptureCompression = (typeof CAPTURE_COMPRESSIONS)[number]
|
|
7
|
+
|
|
8
|
+
export type CaptureCodec = Exclude<CaptureCompression, 'none'>
|
|
9
|
+
|
|
10
|
+
/** Compresses capture request bodies with the codecs one runtime provides. */
|
|
11
|
+
export interface CaptureCompressor {
|
|
12
|
+
supports(codec: CaptureCodec): boolean
|
|
13
|
+
/** Resolves to null, or rejects, when compression fails; the sender then sends the body uncompressed. */
|
|
14
|
+
compress(payload: string, codec: CaptureCodec): Promise<Uint8Array | null>
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Uses CompressionStream, so it works wherever the runtime has one. It has no zstd. */
|
|
18
|
+
export const webCompressor: CaptureCompressor = {
|
|
19
|
+
supports: (codec) => codec !== 'zstd' && isGzipSupported(),
|
|
20
|
+
async compress(payload, codec) {
|
|
21
|
+
if (codec === 'gzip') {
|
|
22
|
+
const compressed = await gzipCompress(payload, false)
|
|
23
|
+
return compressed && new Uint8Array(await compressed.arrayBuffer())
|
|
24
|
+
}
|
|
25
|
+
if (codec !== 'deflate') {
|
|
26
|
+
return null
|
|
27
|
+
}
|
|
28
|
+
const stream = new Response(payload).body!.pipeThrough(new globalThis.CompressionStream('deflate'))
|
|
29
|
+
return new Uint8Array(await new Response(stream).arrayBuffer())
|
|
30
|
+
},
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The codec a lane sends with: `requested` when the runtime has it, gzip in place of an unavailable
|
|
35
|
+
* zstd, or no compression when the runtime cannot compress at all.
|
|
36
|
+
*/
|
|
37
|
+
export function resolveCaptureCodec(
|
|
38
|
+
requested: CaptureCompression,
|
|
39
|
+
compressor: CaptureCompressor,
|
|
40
|
+
onZstdUnavailable: (fallback: CaptureCompression) => void
|
|
41
|
+
): CaptureCompression {
|
|
42
|
+
if (requested === 'none' || compressor.supports(requested)) {
|
|
43
|
+
return requested
|
|
44
|
+
}
|
|
45
|
+
const fallback = compressor.supports('gzip') ? 'gzip' : 'none'
|
|
46
|
+
if (requested === 'zstd') {
|
|
47
|
+
onZstdUnavailable(fallback)
|
|
48
|
+
}
|
|
49
|
+
return fallback
|
|
50
|
+
}
|
package/src/capture-v1/errors.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import type { CaptureEndpoint } from './types'
|
|
2
|
+
|
|
1
3
|
/** A single event the server explicitly rejected (`drop`). */
|
|
2
|
-
export interface
|
|
4
|
+
export interface CaptureDroppedEvent {
|
|
3
5
|
uuid: string
|
|
4
6
|
details?: string
|
|
5
7
|
}
|
|
6
8
|
|
|
7
|
-
export interface
|
|
9
|
+
export interface CaptureErrorParams {
|
|
10
|
+
/** The capture lane the batch was sent to. */
|
|
11
|
+
endpoint: CaptureEndpoint
|
|
8
12
|
requestId: string
|
|
9
13
|
/** Events the server rejected outright (billing/validation). */
|
|
10
|
-
drops:
|
|
14
|
+
drops: CaptureDroppedEvent[]
|
|
11
15
|
/** UUIDs of events still pending `retry` after the attempt budget was exhausted, or lost to a batch-level failure. */
|
|
12
16
|
retryExhausted: string[]
|
|
13
17
|
/** The underlying transport/HTTP/parse failure, when the whole batch failed. */
|
|
@@ -15,22 +19,24 @@ export interface CaptureV1ErrorParams {
|
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
/**
|
|
18
|
-
* Surfaced on the client error channel whenever a
|
|
22
|
+
* Surfaced on the client error channel whenever a capture batch did not
|
|
19
23
|
* fully deliver: some events were `drop`ped, some `retry` events outlived the
|
|
20
24
|
* attempt budget, or the batch hit a terminal transport/HTTP/parse failure.
|
|
21
25
|
*
|
|
22
26
|
* A 2xx with drops is still a partial failure and is reported here — a
|
|
23
27
|
* successful HTTP status does not mean every event was accepted.
|
|
24
28
|
*/
|
|
25
|
-
export class
|
|
26
|
-
name = '
|
|
29
|
+
export class CaptureError extends Error {
|
|
30
|
+
name = 'CaptureError'
|
|
31
|
+
readonly endpoint: CaptureEndpoint
|
|
27
32
|
readonly requestId: string
|
|
28
|
-
readonly drops:
|
|
33
|
+
readonly drops: CaptureDroppedEvent[]
|
|
29
34
|
readonly retryExhausted: string[]
|
|
30
35
|
cause?: unknown
|
|
31
36
|
|
|
32
|
-
constructor({ requestId, drops, retryExhausted, cause }:
|
|
33
|
-
super(
|
|
37
|
+
constructor({ endpoint, requestId, drops, retryExhausted, cause }: CaptureErrorParams) {
|
|
38
|
+
super(CaptureError.buildMessage(endpoint, requestId, drops, retryExhausted, cause))
|
|
39
|
+
this.endpoint = endpoint
|
|
34
40
|
this.requestId = requestId
|
|
35
41
|
this.drops = drops
|
|
36
42
|
this.retryExhausted = retryExhausted
|
|
@@ -38,15 +44,48 @@ export class CaptureV1Error extends Error {
|
|
|
38
44
|
}
|
|
39
45
|
|
|
40
46
|
private static buildMessage(
|
|
47
|
+
endpoint: CaptureEndpoint,
|
|
41
48
|
requestId: string,
|
|
42
|
-
drops:
|
|
49
|
+
drops: CaptureDroppedEvent[],
|
|
43
50
|
retryExhausted: string[],
|
|
44
51
|
cause: unknown
|
|
45
52
|
): string {
|
|
46
|
-
let message = `Capture
|
|
53
|
+
let message = `Capture batch ${requestId} to ${endpoint} did not fully deliver: ${drops.length} dropped, ${retryExhausted.length} undelivered`
|
|
47
54
|
if (cause instanceof Error) {
|
|
48
55
|
message += ` (${cause.message})`
|
|
49
56
|
}
|
|
50
57
|
return message
|
|
51
58
|
}
|
|
52
59
|
}
|
|
60
|
+
|
|
61
|
+
/** Counts of undelivered events by cause, in the order the causes first occurred. */
|
|
62
|
+
export class CaptureLossTally {
|
|
63
|
+
private readonly counts = new Map<string, number>()
|
|
64
|
+
|
|
65
|
+
add(cause: string, count: number): void {
|
|
66
|
+
if (count > 0) {
|
|
67
|
+
this.counts.set(cause, (this.counts.get(cause) ?? 0) + count)
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
get total(): number {
|
|
72
|
+
let total = 0
|
|
73
|
+
for (const count of this.counts.values()) {
|
|
74
|
+
total += count
|
|
75
|
+
}
|
|
76
|
+
return total
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
entries(): [cause: string, count: number][] {
|
|
80
|
+
return [...this.counts]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The one line logged for a capture loss when nothing listens for `'error'`. It holds the lane,
|
|
86
|
+
* counts and causes only: never server response text, event content or uuids.
|
|
87
|
+
*/
|
|
88
|
+
export function describeCaptureLoss(endpoint: CaptureEndpoint, loss: CaptureLossTally): string {
|
|
89
|
+
const causes = loss.entries().map(([cause, count]) => `${count} ${cause}`)
|
|
90
|
+
return `${loss.total} event(s) were not delivered to ${endpoint}: ${causes.join(', ')}`
|
|
91
|
+
}
|