@capxul/observability 2.4.0 → 2.5.1
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/dist/index.d.mts +32 -10
- package/dist/index.mjs +74 -7
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1530,10 +1530,13 @@ type PostHogBrowserOptions = PostHogUtilityAppOptions;
|
|
|
1530
1530
|
* step 1 and step 3 are different anonymous "users" and every multi-page
|
|
1531
1531
|
* funnel lies.
|
|
1532
1532
|
* - identify-driven person profiles (ADR-0020 A2 wires the calls at L1).
|
|
1533
|
-
* - session replay
|
|
1534
|
-
* visible. Inputs with `autocomplete="one-time-code"` are masked.
|
|
1535
|
-
*
|
|
1536
|
-
*
|
|
1533
|
+
* - session replay in EVERY environment. Ordinary text and input values remain
|
|
1534
|
+
* visible. Inputs with `autocomplete="one-time-code"` are masked. Network
|
|
1535
|
+
* timing plus request/response headers and bodies are recorded, so a failed
|
|
1536
|
+
* call shows its status and body in the replay. Canvas stays off. The
|
|
1537
|
+
* recorder script loads from PostHog, so external dependency loading is on.
|
|
1538
|
+
* (Ruling 2026-09-01: pre-launch, every failure needs its evidence; replay
|
|
1539
|
+
* gated to production left staging failures with no recording at all.)
|
|
1537
1540
|
*
|
|
1538
1541
|
* Autocapture stays OFF: funnels run on catalog events, not on DOM guesses.
|
|
1539
1542
|
*/
|
|
@@ -1543,16 +1546,19 @@ interface PostHogProductAppOptions {
|
|
|
1543
1546
|
readonly autocapture: false;
|
|
1544
1547
|
readonly capture_pageview: false;
|
|
1545
1548
|
readonly capture_pageleave: true;
|
|
1546
|
-
readonly disable_session_recording:
|
|
1549
|
+
readonly disable_session_recording: false;
|
|
1547
1550
|
readonly disable_persistence: false;
|
|
1548
1551
|
readonly capture_heatmaps: false;
|
|
1549
1552
|
readonly capture_exceptions: true;
|
|
1550
|
-
readonly capture_performance:
|
|
1553
|
+
readonly capture_performance: {
|
|
1554
|
+
readonly network_timing: true;
|
|
1555
|
+
readonly web_vitals: false;
|
|
1556
|
+
};
|
|
1551
1557
|
readonly disable_surveys: true;
|
|
1552
1558
|
readonly disable_web_experiments: true;
|
|
1553
1559
|
readonly disable_product_tours: true;
|
|
1554
1560
|
readonly disable_conversations: true;
|
|
1555
|
-
readonly disable_external_dependency_loading:
|
|
1561
|
+
readonly disable_external_dependency_loading: false;
|
|
1556
1562
|
readonly person_profiles: "identified_only";
|
|
1557
1563
|
readonly advanced_disable_flags: true;
|
|
1558
1564
|
readonly save_campaign_params: false;
|
|
@@ -1565,8 +1571,9 @@ interface PostHogProductAppOptions {
|
|
|
1565
1571
|
readonly captureCanvas: {
|
|
1566
1572
|
readonly recordCanvas: false;
|
|
1567
1573
|
};
|
|
1568
|
-
readonly recordHeaders:
|
|
1569
|
-
readonly recordBody:
|
|
1574
|
+
readonly recordHeaders: true;
|
|
1575
|
+
readonly recordBody: true; /** Drops credential headers and masks secrets and OTP codes in bodies. */
|
|
1576
|
+
readonly maskCapturedNetworkRequestFn: (request: CapturedNetworkRequestLike) => CapturedNetworkRequestLike;
|
|
1570
1577
|
};
|
|
1571
1578
|
readonly before_send: PostHogBeforeSend;
|
|
1572
1579
|
}
|
|
@@ -1579,6 +1586,21 @@ interface CapxulBrowserAnalyticsInput {
|
|
|
1579
1586
|
/** Back-compat alias for the pre-ADR-0020 name. */
|
|
1580
1587
|
type InitializePostHogBrowserAnalyticsInput = CapxulBrowserAnalyticsInput;
|
|
1581
1588
|
declare function utilityAppAnalytics(input: CapxulBrowserAnalyticsInput): PostHogUtilityAppOptions;
|
|
1589
|
+
/** The posthog-js `CapturedNetworkRequest` fields this profile touches. */
|
|
1590
|
+
interface CapturedNetworkRequestLike {
|
|
1591
|
+
readonly requestHeaders?: Record<string, string> | undefined;
|
|
1592
|
+
readonly responseHeaders?: Record<string, string> | undefined;
|
|
1593
|
+
readonly requestBody?: string | null | undefined;
|
|
1594
|
+
readonly responseBody?: string | null | undefined;
|
|
1595
|
+
readonly [key: string]: unknown;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* Replay keeps the request line, status, timing, headers, and bodies, so a
|
|
1599
|
+
* failed call carries its evidence. Credential headers and secret material
|
|
1600
|
+
* never leave the browser: bearer tokens, cookies, API keys, and the OTP a
|
|
1601
|
+
* user just typed are masked before the recording is sent.
|
|
1602
|
+
*/
|
|
1603
|
+
declare function maskCapturedNetworkRequest(request: CapturedNetworkRequestLike): CapturedNetworkRequestLike;
|
|
1582
1604
|
declare function productAppAnalytics(input: CapxulBrowserAnalyticsInput): PostHogProductAppOptions;
|
|
1583
1605
|
type PostHogBrowserInitialize<Options, T> = (key: string, options: Options) => T;
|
|
1584
1606
|
interface PostHogBrowserPageviewClient {
|
|
@@ -1632,4 +1654,4 @@ declare class InMemoryTelemetryBusAdapter implements TelemetryPort {
|
|
|
1632
1654
|
reportHandledError(_error: CapxulError, _context?: HandledErrorReportContext): Effect.Effect<void, never>;
|
|
1633
1655
|
}
|
|
1634
1656
|
//#endregion
|
|
1635
|
-
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, CapxulBrowserAnalyticsInput, CapxulEnv, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, FunnelJourney, FunnelStepPropertyFilter, type HandledErrorReportContext, InMemoryTelemetryBusAdapter, InitializePostHogBrowserAnalyticsInput, Journey, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NonEmptyTelemetryEventNames, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PointEventJourney, PostHogBeforeSend, PostHogBrowserCapture, PostHogBrowserInitialize, PostHogBrowserOptions, PostHogBrowserPageviewClient, PostHogProductAppOptions, PostHogTelemetryAdapter, PostHogUtilityAppOptions, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, RecordingTelemetryAdapter, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, TelemetryEnvelopeDefaults, TelemetryEvent, TelemetryEventName, TelemetryGroupInput, TelemetryIdentifyInput, type TelemetryPort, TelemetryProducer, TelemetryProps, TelemetryRedactionOptions, TrackHandler, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
1657
|
+
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, CapturedNetworkRequestLike, CapxulBrowserAnalyticsInput, CapxulEnv, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, FunnelJourney, FunnelStepPropertyFilter, type HandledErrorReportContext, InMemoryTelemetryBusAdapter, InitializePostHogBrowserAnalyticsInput, Journey, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NonEmptyTelemetryEventNames, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PointEventJourney, PostHogBeforeSend, PostHogBrowserCapture, PostHogBrowserInitialize, PostHogBrowserOptions, PostHogBrowserPageviewClient, PostHogProductAppOptions, PostHogTelemetryAdapter, PostHogUtilityAppOptions, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, RecordingTelemetryAdapter, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, TelemetryEnvelopeDefaults, TelemetryEvent, TelemetryEventName, TelemetryGroupInput, TelemetryIdentifyInput, type TelemetryPort, TelemetryProducer, TelemetryProps, TelemetryRedactionOptions, TrackHandler, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, maskCapturedNetworkRequest, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
package/dist/index.mjs
CHANGED
|
@@ -988,24 +988,90 @@ function utilityAppAnalytics(input) {
|
|
|
988
988
|
before_send: createCapxulBeforeSend(input.capxulEnv)
|
|
989
989
|
};
|
|
990
990
|
}
|
|
991
|
+
const CREDENTIAL_HEADERS = new Set([
|
|
992
|
+
"authorization",
|
|
993
|
+
"proxy-authorization",
|
|
994
|
+
"proxy-authenticate",
|
|
995
|
+
"www-authenticate",
|
|
996
|
+
"cookie",
|
|
997
|
+
"set-cookie",
|
|
998
|
+
"x-api-key",
|
|
999
|
+
"x-auth-token"
|
|
1000
|
+
]);
|
|
1001
|
+
/** Any JSON field whose name says "credential", however it is spelled. */
|
|
1002
|
+
const CREDENTIAL_FIELD_NAME = /(?:otp|code|pass(?:word|wd|phrase)?|token|secret|credential|api[_-]?key|private[_-]?key|authorization|cookie|session)/iu;
|
|
1003
|
+
/** Secret material in captured text: bearer tokens, JWTs, keys, and credential fields. */
|
|
1004
|
+
const NETWORK_TEXT_MASKS = [
|
|
1005
|
+
[/\bBearer\s+[^\s,;"]+/giu, "Bearer [REDACTED]"],
|
|
1006
|
+
[/\beyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/gu, "[REDACTED]"],
|
|
1007
|
+
[/\b0x[a-fA-F0-9]{40,}\b/gu, "[REDACTED]"],
|
|
1008
|
+
[/\b([A-Za-z_][A-Za-z0-9_.-]*=)[^&\s"]+/gu, "$1[REDACTED]"]
|
|
1009
|
+
];
|
|
1010
|
+
/** `"name": "value"` JSON pairs; the name decides whether the value is masked. */
|
|
1011
|
+
const JSON_STRING_FIELD = /("([^"\\]*)"\s*:\s*")((?:[^"\\]|\\.)*)(")/gu;
|
|
1012
|
+
const QUERY_PAIR = /\b([A-Za-z_][A-Za-z0-9_.-]*=)[^&\s"]+/gu;
|
|
1013
|
+
function maskNetworkText(text) {
|
|
1014
|
+
return NETWORK_TEXT_MASKS.slice(0, 3).reduce((current, [pattern, replacement]) => current.replace(pattern, replacement), text).replace(JSON_STRING_FIELD, (whole, open, name, _value, close) => CREDENTIAL_FIELD_NAME.test(name) ? `${open}[REDACTED]${close}` : whole).replace(QUERY_PAIR, (whole, name) => CREDENTIAL_FIELD_NAME.test(name) ? `${name}[REDACTED]` : whole);
|
|
1015
|
+
}
|
|
1016
|
+
function maskNetworkHeaders(headers) {
|
|
1017
|
+
if (headers === void 0) return void 0;
|
|
1018
|
+
const masked = {};
|
|
1019
|
+
for (const [name, value] of Object.entries(headers)) masked[name] = CREDENTIAL_HEADERS.has(name.toLowerCase()) ? "[REDACTED]" : maskNetworkText(value);
|
|
1020
|
+
return masked;
|
|
1021
|
+
}
|
|
1022
|
+
/** Mask by KEY at every depth: a credential-named field loses its whole value. */
|
|
1023
|
+
function maskJsonValue(value, depth = 0) {
|
|
1024
|
+
if (typeof value === "string") return maskNetworkText(value);
|
|
1025
|
+
if (typeof value !== "object" || value === null) return value;
|
|
1026
|
+
if (depth >= 16) return "[REDACTED]";
|
|
1027
|
+
if (Array.isArray(value)) return value.map((item) => maskJsonValue(item, depth + 1));
|
|
1028
|
+
const masked = {};
|
|
1029
|
+
for (const [key, nested] of Object.entries(value)) masked[key] = CREDENTIAL_FIELD_NAME.test(key) ? "[REDACTED]" : maskJsonValue(nested, depth + 1);
|
|
1030
|
+
return masked;
|
|
1031
|
+
}
|
|
1032
|
+
function maskNetworkBody(body) {
|
|
1033
|
+
if (typeof body !== "string") return body;
|
|
1034
|
+
try {
|
|
1035
|
+
const parsed = JSON.parse(body);
|
|
1036
|
+
if (typeof parsed === "object" && parsed !== null) return JSON.stringify(maskJsonValue(parsed));
|
|
1037
|
+
} catch {}
|
|
1038
|
+
return maskNetworkText(body);
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* Replay keeps the request line, status, timing, headers, and bodies, so a
|
|
1042
|
+
* failed call carries its evidence. Credential headers and secret material
|
|
1043
|
+
* never leave the browser: bearer tokens, cookies, API keys, and the OTP a
|
|
1044
|
+
* user just typed are masked before the recording is sent.
|
|
1045
|
+
*/
|
|
1046
|
+
function maskCapturedNetworkRequest(request) {
|
|
1047
|
+
return {
|
|
1048
|
+
...request,
|
|
1049
|
+
requestHeaders: maskNetworkHeaders(request.requestHeaders),
|
|
1050
|
+
responseHeaders: maskNetworkHeaders(request.responseHeaders),
|
|
1051
|
+
requestBody: maskNetworkBody(request.requestBody),
|
|
1052
|
+
responseBody: maskNetworkBody(request.responseBody)
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
991
1055
|
function productAppAnalytics(input) {
|
|
992
|
-
const replay = input.capxulEnv === "production";
|
|
993
1056
|
return {
|
|
994
1057
|
api_host: input.host,
|
|
995
1058
|
defaults: "2026-01-30",
|
|
996
1059
|
autocapture: false,
|
|
997
1060
|
capture_pageview: false,
|
|
998
1061
|
capture_pageleave: true,
|
|
999
|
-
disable_session_recording:
|
|
1062
|
+
disable_session_recording: false,
|
|
1000
1063
|
disable_persistence: false,
|
|
1001
1064
|
capture_heatmaps: false,
|
|
1002
1065
|
capture_exceptions: true,
|
|
1003
|
-
capture_performance:
|
|
1066
|
+
capture_performance: {
|
|
1067
|
+
network_timing: true,
|
|
1068
|
+
web_vitals: false
|
|
1069
|
+
},
|
|
1004
1070
|
disable_surveys: true,
|
|
1005
1071
|
disable_web_experiments: true,
|
|
1006
1072
|
disable_product_tours: true,
|
|
1007
1073
|
disable_conversations: true,
|
|
1008
|
-
disable_external_dependency_loading:
|
|
1074
|
+
disable_external_dependency_loading: false,
|
|
1009
1075
|
person_profiles: "identified_only",
|
|
1010
1076
|
advanced_disable_flags: true,
|
|
1011
1077
|
save_campaign_params: false,
|
|
@@ -1014,8 +1080,9 @@ function productAppAnalytics(input) {
|
|
|
1014
1080
|
maskAllInputs: true,
|
|
1015
1081
|
maskInputFn: (text, element) => element?.getAttribute("autocomplete")?.toLowerCase().split(/\s+/u).includes("one-time-code") ? "*".repeat(text.length) : text,
|
|
1016
1082
|
captureCanvas: { recordCanvas: false },
|
|
1017
|
-
recordHeaders:
|
|
1018
|
-
recordBody:
|
|
1083
|
+
recordHeaders: true,
|
|
1084
|
+
recordBody: true,
|
|
1085
|
+
maskCapturedNetworkRequestFn: maskCapturedNetworkRequest
|
|
1019
1086
|
},
|
|
1020
1087
|
before_send: createCapxulBeforeSend(input.capxulEnv)
|
|
1021
1088
|
};
|
|
@@ -1389,4 +1456,4 @@ function rotr(value, bits) {
|
|
|
1389
1456
|
return value >>> bits | value << 32 - bits;
|
|
1390
1457
|
}
|
|
1391
1458
|
//#endregion
|
|
1392
|
-
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, InMemoryTelemetryBusAdapter, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PostHogTelemetryAdapter, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, RecordingTelemetryAdapter, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
1459
|
+
export { AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, CAPXUL_ENVS, CONTRACT_FIRST_TELEMETRY_EVENTS, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, InMemoryTelemetryBusAdapter, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OrgCreateFailedTelemetryEventSchema, OrgCreateStartedTelemetryEventSchema, OrgCreatedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrgRolesSeededTelemetryEventSchema, OrgSafeConfirmedTelemetryEventSchema, OrgSafeCreatedTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, PostHogTelemetryAdapter, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, RecordingTelemetryAdapter, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, maskCapturedNetworkRequest, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/observability",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"posthog-js": "^1.418.10",
|
|
37
37
|
"vite-plus": "0.1.23",
|
|
38
38
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.23",
|
|
39
|
-
"@capxul/errors": "0.0.
|
|
40
|
-
"@capxul/types": "0.2.
|
|
39
|
+
"@capxul/errors": "0.0.2",
|
|
40
|
+
"@capxul/types": "0.2.1",
|
|
41
41
|
"@capxul/typescript-config": "0.0.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|