@capxul/observability 4.20.0-beta.36 → 4.20.0-beta.37
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 +3 -0
- package/dist/engineering.d.mts +9 -0
- package/dist/engineering.mjs +232 -129
- package/dist/index.d.mts +187 -135
- package/dist/index.mjs +2 -2
- package/dist/{src-B2XswhQh.mjs → src-CkM01SMk.mjs} +174 -26
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { AccessRecoveryCompletedTelemetryEventSchema, AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, ActivityAnnotationSavedTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CAPXUL_OPERATIONS, CLI_CAPABILITIES, CLI_COMMAND_NAMES, CLI_INVOCATION_KINDS, CONTRACT_FIRST_TELEMETRY_EVENTS, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCommandCompletedTelemetryEventSchema, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, EXCEPTION_EVENT_NAME, EXPECTED_OUTCOME_EVENT_NAME, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, JOURNEYS, JourneyVariantProps, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteProgressedTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PayrollGroupChangedTelemetryEventSchema, PayrollRunTransitionedTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, RETIRED_TELEMETRY_EVENTS, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SDK_EXPECTED_OUTCOME_EVENT_NAME, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiApprovalSignInRequiredTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, VerificationApprovedTelemetryEventSchema, VerificationInformationRequestedTelemetryEventSchema, VerificationLivenessRequestedTelemetryEventSchema, VerificationRejectedTelemetryEventSchema, VerificationStartedTelemetryEventSchema, VerificationSubmittedTelemetryEventSchema, VerificationTermsAcceptedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
1
|
+
import { $ as AuthSignedOutTelemetryEventSchema, $t as CAPXUL_ENVS, A as BootstrapResolvedTelemetryEventSchema, At as OrganizationCreationFailedTelemetryEventSchema, B as CliCommandCompletedTelemetryEventSchema, Bt as DepositInitiatedTelemetryEventSchema, C as VerificationInformationRequestedTelemetryEventSchema, Ct as MovementScanWindowTelemetryEventSchema, D as VerificationSubmittedTelemetryEventSchema, Dt as OrgInviteExpiredTelemetryEventSchema, E as VerificationStartedTelemetryEventSchema, Et as OrgInviteAcceptedTelemetryEventSchema, F as OnboardingIntentSelectedTelemetryEventSchema, Ft as ChainUpstreamFallbackTelemetryEventSchema, G as CLI_COMMAND_NAMES, Gt as PaymentFailedTelemetryEventSchema, H as CliDiagnosticCompletedTelemetryEventSchema, Ht as FaucetConfirmedTelemetryEventSchema, I as OnboardingOrganizationSubmittedTelemetryEventSchema, It as OperationRetriedTelemetryEventSchema, J as AccessRecoveryCompletedTelemetryEventSchema, Jt as PaymentSettledTelemetryEventSchema, K as CLI_INVOCATION_KINDS, Kt as PaymentInitiatedTelemetryEventSchema, L as OnboardingProfileSubmittedTelemetryEventSchema, Lt as ReceiptPendingTelemetryEventSchema, M as MemberActivationReadyTelemetryEventSchema, Mt as OrganizationCreationStartedTelemetryEventSchema, N as MemberActivationStartedTelemetryEventSchema, Nt as UiContactActionCompletedTelemetryEventSchema, O as VerificationTermsAcceptedTelemetryEventSchema, Ot as OrgInviteProgressedTelemetryEventSchema, P as OnboardingDashboardReachedTelemetryEventSchema, Pt as BundlerErrorTelemetryEventSchema, Q as AuthOtpRequestedTelemetryEventSchema, Qt as TELEMETRY_JOURNEYS, R as ProvisioningSafeConfirmedTelemetryEventSchema, Rt as AccountBalanceFailedTelemetryEventSchema, S as VerificationApprovedTelemetryEventSchema, St as MovementScanIncidentTelemetryEventSchema, T as VerificationRejectedTelemetryEventSchema, Tt as ContactRelationshipChangedTelemetryEventSchema, U as CliFirstUsedTelemetryEventSchema, Ut as FaucetFailedTelemetryEventSchema, V as CliCommandStartedTelemetryEventSchema, Vt as DepositSettledTelemetryEventSchema, W as CLI_CAPABILITIES, Wt as FaucetRequestedTelemetryEventSchema, X as AuthOtpDeliveredTelemetryEventSchema, Xt as QuickPayExternalAddressAcknowledgedTelemetryEventSchema, Y as AuthFailedTelemetryEventSchema, Yt as PaymentVerificationRetryTelemetryEventSchema, Z as AuthOtpExpiredTelemetryEventSchema, Zt as JOURNEYS, _ as CONTRACT_FIRST_TELEMETRY_EVENTS, _t as UiTreasuryStepCompletedTelemetryEventSchema, a as initializeCapxulBrowserAnalytics, an as JourneyVariantProps, at as NativeAuthorizationFailedTelemetryEventSchema, b as RETIRED_TELEMETRY_EVENTS, bt as IndexerDriftCorrectedTelemetryEventSchema, c as utilityAppAnalytics, cn as ResponseHeadersSchema, ct as UiAccessStepCompletedTelemetryEventSchema, d as redactTelemetryEvent, dn as TELEMETRY_PRODUCERS, dt as PayrollGroupChangedTelemetryEventSchema, en as ChainAttemptSchema, et as AuthVerifiedTelemetryEventSchema, f as redactTelemetryProps, fn as stampTelemetryEnvelope, ft as PayrollRunTransitionedTelemetryEventSchema, g as BROWSER_GATED_TELEMETRY_EVENTS, gn as normalizeCapxulOperation, gt as UiReceiveStepCompletedTelemetryEventSchema, h as track, hn as isCapxulOperation, ht as UiPayrollActionCompletedTelemetryEventSchema, i as createPostHogBrowserPageviewTracker, in as FailureModeSchema, it as NativeAuthorizationDeniedTelemetryEventSchema, j as MemberActivationFailedTelemetryEventSchema, jt as OrganizationCreationReadyTelemetryEventSchema, k as BootstrapFailedTelemetryEventSchema, kt as OrgInviteSentTelemetryEventSchema, l as sanitizePostHogBrowserEvent, ln as SDK_EXPECTED_OUTCOME_EVENT_NAME, lt as InvoiceIssuedTelemetryEventSchema, m as setTrackHandler, mn as CAPXUL_OPERATIONS, mt as UiInvoiceStepCompletedTelemetryEventSchema, n as RecordingTelemetryAdapter, nn as EXCEPTION_EVENT_NAME, nt as NativeAuthorizationAcceptedTelemetryEventSchema, o as initializePostHogBrowserAnalytics, on as MCP_EXPECTED_OUTCOME_EVENT_NAME, ot as NativeAuthorizationReviewedTelemetryEventSchema, p as getTrackHandler, pn as TELEMETRY_EVENT_NAMES, pt as UiApprovalSignInRequiredTelemetryEventSchema, qt as PaymentLifecycleTransitionTelemetryEventSchema, r as createCapxulBeforeSend, rn as EXPECTED_OUTCOME_EVENT_NAME, rt as NativeAuthorizationConnectedTelemetryEventSchema, s as productAppAnalytics, sn as PII, st as NativeAuthorizationStartedTelemetryEventSchema, t as InMemoryTelemetryBusAdapter, tn as ChainUpstreamSchema, tt as IdentityRefusedTelemetryEventSchema, u as maskCapturedNetworkRequest, un as SYNCABLE_CAPXUL_ENVS, ut as InvoiceRequestTransitionedTelemetryEventSchema, v as FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, vt as ActivityAnnotationSavedTelemetryEventSchema, w as VerificationLivenessRequestedTelemetryEventSchema, wt as PermissionMirrorVerificationTelemetryEventSchema, x as TELEMETRY_EVENT_SCHEMAS, xt as MovementScanCheckpointTelemetryEventSchema, y as PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, yt as UiActivityActionCompletedTelemetryEventSchema, z as ProvisioningSafeCreatedTelemetryEventSchema, zt as AccountBalanceReadTelemetryEventSchema } from "./src-CkM01SMk.mjs";
|
|
2
|
+
export { AccessRecoveryCompletedTelemetryEventSchema, AccountBalanceFailedTelemetryEventSchema, AccountBalanceReadTelemetryEventSchema, ActivityAnnotationSavedTelemetryEventSchema, AuthFailedTelemetryEventSchema, AuthOtpDeliveredTelemetryEventSchema, AuthOtpExpiredTelemetryEventSchema, AuthOtpRequestedTelemetryEventSchema, AuthSignedOutTelemetryEventSchema, AuthVerifiedTelemetryEventSchema, BROWSER_GATED_TELEMETRY_EVENTS, BootstrapFailedTelemetryEventSchema, BootstrapResolvedTelemetryEventSchema, BundlerErrorTelemetryEventSchema, CAPXUL_ENVS, CAPXUL_OPERATIONS, CLI_CAPABILITIES, CLI_COMMAND_NAMES, CLI_INVOCATION_KINDS, CONTRACT_FIRST_TELEMETRY_EVENTS, ChainAttemptSchema, ChainUpstreamFallbackTelemetryEventSchema, ChainUpstreamSchema, CliCommandCompletedTelemetryEventSchema, CliCommandStartedTelemetryEventSchema, CliDiagnosticCompletedTelemetryEventSchema, CliFirstUsedTelemetryEventSchema, ContactRelationshipChangedTelemetryEventSchema, DepositInitiatedTelemetryEventSchema, DepositSettledTelemetryEventSchema, EXCEPTION_EVENT_NAME, EXPECTED_OUTCOME_EVENT_NAME, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS, FailureModeSchema, FaucetConfirmedTelemetryEventSchema, FaucetFailedTelemetryEventSchema, FaucetRequestedTelemetryEventSchema, IdentityRefusedTelemetryEventSchema, InMemoryTelemetryBusAdapter, IndexerDriftCorrectedTelemetryEventSchema, InvoiceIssuedTelemetryEventSchema, InvoiceRequestTransitionedTelemetryEventSchema, JOURNEYS, JourneyVariantProps, MCP_EXPECTED_OUTCOME_EVENT_NAME, MemberActivationFailedTelemetryEventSchema, MemberActivationReadyTelemetryEventSchema, MemberActivationStartedTelemetryEventSchema, MovementScanCheckpointTelemetryEventSchema, MovementScanIncidentTelemetryEventSchema, MovementScanWindowTelemetryEventSchema, NativeAuthorizationAcceptedTelemetryEventSchema, NativeAuthorizationConnectedTelemetryEventSchema, NativeAuthorizationDeniedTelemetryEventSchema, NativeAuthorizationFailedTelemetryEventSchema, NativeAuthorizationReviewedTelemetryEventSchema, NativeAuthorizationStartedTelemetryEventSchema, OnboardingDashboardReachedTelemetryEventSchema, OnboardingIntentSelectedTelemetryEventSchema, OnboardingOrganizationSubmittedTelemetryEventSchema, OnboardingProfileSubmittedTelemetryEventSchema, OperationRetriedTelemetryEventSchema, OrgInviteAcceptedTelemetryEventSchema, OrgInviteExpiredTelemetryEventSchema, OrgInviteProgressedTelemetryEventSchema, OrgInviteSentTelemetryEventSchema, OrganizationCreationFailedTelemetryEventSchema, OrganizationCreationReadyTelemetryEventSchema, OrganizationCreationStartedTelemetryEventSchema, PII, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS, PaymentFailedTelemetryEventSchema, PaymentInitiatedTelemetryEventSchema, PaymentLifecycleTransitionTelemetryEventSchema, PaymentSettledTelemetryEventSchema, PaymentVerificationRetryTelemetryEventSchema, PayrollGroupChangedTelemetryEventSchema, PayrollRunTransitionedTelemetryEventSchema, PermissionMirrorVerificationTelemetryEventSchema, ProvisioningSafeConfirmedTelemetryEventSchema, ProvisioningSafeCreatedTelemetryEventSchema, QuickPayExternalAddressAcknowledgedTelemetryEventSchema, RETIRED_TELEMETRY_EVENTS, ReceiptPendingTelemetryEventSchema, RecordingTelemetryAdapter, ResponseHeadersSchema, SDK_EXPECTED_OUTCOME_EVENT_NAME, SYNCABLE_CAPXUL_ENVS, TELEMETRY_EVENT_NAMES, TELEMETRY_EVENT_SCHEMAS, TELEMETRY_JOURNEYS, TELEMETRY_PRODUCERS, UiAccessStepCompletedTelemetryEventSchema, UiActivityActionCompletedTelemetryEventSchema, UiApprovalSignInRequiredTelemetryEventSchema, UiContactActionCompletedTelemetryEventSchema, UiInvoiceStepCompletedTelemetryEventSchema, UiPayrollActionCompletedTelemetryEventSchema, UiReceiveStepCompletedTelemetryEventSchema, UiTreasuryStepCompletedTelemetryEventSchema, VerificationApprovedTelemetryEventSchema, VerificationInformationRequestedTelemetryEventSchema, VerificationLivenessRequestedTelemetryEventSchema, VerificationRejectedTelemetryEventSchema, VerificationStartedTelemetryEventSchema, VerificationSubmittedTelemetryEventSchema, VerificationTermsAcceptedTelemetryEventSchema, createCapxulBeforeSend, createPostHogBrowserPageviewTracker, getTrackHandler, initializeCapxulBrowserAnalytics, initializePostHogBrowserAnalytics, isCapxulOperation, maskCapturedNetworkRequest, normalizeCapxulOperation, productAppAnalytics, redactTelemetryEvent, redactTelemetryProps, sanitizePostHogBrowserEvent, setTrackHandler, stampTelemetryEnvelope, track, utilityAppAnalytics };
|
|
@@ -62,11 +62,13 @@ const sessions = {
|
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region ../protocol/src/errors/failure-modes.ts
|
|
64
64
|
/**
|
|
65
|
-
* Why an operation failed — the one flat vocabulary. The first
|
|
66
|
-
* auth
|
|
67
|
-
* path. `
|
|
68
|
-
* (
|
|
69
|
-
*
|
|
65
|
+
* Why an operation failed — the one flat vocabulary. The first five are the
|
|
66
|
+
* auth and signer diagnoses that predate this file. The next eleven name the
|
|
67
|
+
* chain path. `refused` and `defect` name a provider refusal and a Capxul
|
|
68
|
+
* fault on any path (ADR-0039 D2). `FailureMode` is derived from this list so
|
|
69
|
+
* a runtime membership check (the SDK's `$exception` projection, the
|
|
70
|
+
* observability schema) and the type can never drift apart. Every word has a
|
|
71
|
+
* failure class in `classes.ts`.
|
|
70
72
|
*/
|
|
71
73
|
const FAILURE_MODES = [
|
|
72
74
|
"auth-origin-mismatch",
|
|
@@ -85,6 +87,8 @@ const FAILURE_MODES = [
|
|
|
85
87
|
"forbidden",
|
|
86
88
|
"bad-request",
|
|
87
89
|
"method-unsupported",
|
|
90
|
+
"refused",
|
|
91
|
+
"defect",
|
|
88
92
|
"unknown"
|
|
89
93
|
];
|
|
90
94
|
function isFailureMode(value) {
|
|
@@ -119,6 +123,9 @@ var CapxulError = class extends Error {
|
|
|
119
123
|
if (options.chain !== void 0) this.chain = options.chain;
|
|
120
124
|
}
|
|
121
125
|
};
|
|
126
|
+
function isCapxulError(value) {
|
|
127
|
+
return value instanceof CapxulError;
|
|
128
|
+
}
|
|
122
129
|
//#endregion
|
|
123
130
|
//#region ../protocol/src/primitives/absurd.ts
|
|
124
131
|
/**
|
|
@@ -133,6 +140,48 @@ function absurd(value) {
|
|
|
133
140
|
} });
|
|
134
141
|
}
|
|
135
142
|
//#endregion
|
|
143
|
+
//#region ../protocol/src/errors/provider-evidence.ts
|
|
144
|
+
/**
|
|
145
|
+
* The providers a failure can name: Capxul's integrations and the ports the
|
|
146
|
+
* SDK and the backend call. Closed, so `details.provider` is a known word and
|
|
147
|
+
* a projection with no free text can still send it (ADR-0039 D6).
|
|
148
|
+
*/
|
|
149
|
+
const PROVIDERS = [
|
|
150
|
+
"account-abstraction",
|
|
151
|
+
"agent-exchange",
|
|
152
|
+
"auth-cache",
|
|
153
|
+
"auth-client",
|
|
154
|
+
"better-auth",
|
|
155
|
+
"bootstrap",
|
|
156
|
+
"bridge",
|
|
157
|
+
"browserBridge",
|
|
158
|
+
"capxul-backend",
|
|
159
|
+
"chain",
|
|
160
|
+
"chain-evidence",
|
|
161
|
+
"chain-rpc",
|
|
162
|
+
"clock",
|
|
163
|
+
"convex",
|
|
164
|
+
"convex-storage",
|
|
165
|
+
"credentials",
|
|
166
|
+
"indexer",
|
|
167
|
+
"invoice",
|
|
168
|
+
"openfort",
|
|
169
|
+
"openfort.shield",
|
|
170
|
+
"ponder",
|
|
171
|
+
"posthog",
|
|
172
|
+
"resend",
|
|
173
|
+
"sdk",
|
|
174
|
+
"sdk-react",
|
|
175
|
+
"signer",
|
|
176
|
+
"verification"
|
|
177
|
+
];
|
|
178
|
+
/** What is wrong with the part of a provider's answer that `field` names (ADR-0039 D1). */
|
|
179
|
+
const PROVIDER_PROBLEMS = [
|
|
180
|
+
"missing",
|
|
181
|
+
"invalid",
|
|
182
|
+
"conflict"
|
|
183
|
+
];
|
|
184
|
+
//#endregion
|
|
136
185
|
//#region ../protocol/src/evm/model.ts
|
|
137
186
|
const WEI_RE = /^[0-9]+$/;
|
|
138
187
|
const EVM_ADDRESS_RE$1 = /^0x[0-9a-f]{40}$/i;
|
|
@@ -1533,6 +1582,13 @@ const BankDepositCandidatesPageSchema = pageOf(Schema.Struct({
|
|
|
1533
1582
|
payerLabel: optionalText$1
|
|
1534
1583
|
}));
|
|
1535
1584
|
//#endregion
|
|
1585
|
+
//#region ../protocol/src/primitives/warning.ts
|
|
1586
|
+
/** A warning as a client reads it: any code, and the sentence to show. */
|
|
1587
|
+
const WarningSchema = Schema.Struct({
|
|
1588
|
+
code: Schema.String,
|
|
1589
|
+
message: Schema.String
|
|
1590
|
+
});
|
|
1591
|
+
//#endregion
|
|
1536
1592
|
//#region ../protocol/src/payments/payout-schema.ts
|
|
1537
1593
|
const PartyAccountRefSchema = Schema.Struct({
|
|
1538
1594
|
kind: Schema.Literal("party_account"),
|
|
@@ -1560,10 +1616,8 @@ const PaymentQuoteSchema = Schema.Struct({
|
|
|
1560
1616
|
onCapxul: Schema.Boolean
|
|
1561
1617
|
}),
|
|
1562
1618
|
rate: Schema.optionalKey(DecimalStringSchema),
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
message: Schema.String
|
|
1566
|
-
}))
|
|
1619
|
+
/** Read with any code: an unknown one does not make the quote unreadable. */
|
|
1620
|
+
warnings: Schema.Array(WarningSchema)
|
|
1567
1621
|
});
|
|
1568
1622
|
//#endregion
|
|
1569
1623
|
//#region ../protocol/src/permissions/value-schema.ts
|
|
@@ -2604,10 +2658,8 @@ const ApprovalSummarySchema = Schema.Struct({
|
|
|
2604
2658
|
/** The total, when every item moves one asset; null when nothing moves (a Permission change). */
|
|
2605
2659
|
amount: Schema.NullOr(AssetAmountSchema),
|
|
2606
2660
|
network: ApprovalNetworkSchema,
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
message: Schema.String
|
|
2610
|
-
})))
|
|
2661
|
+
/** Read with any code: an unknown one does not make the approval unreadable. */
|
|
2662
|
+
warnings: Schema.optional(Schema.Array(WarningSchema))
|
|
2611
2663
|
});
|
|
2612
2664
|
/** The exact operation the signature covers: the digest is the one thing the key signs. */
|
|
2613
2665
|
const ApprovalOperationSchema = Schema.Struct({
|
|
@@ -2649,6 +2701,8 @@ const ConsumedApprovalSchema = Schema.Struct({
|
|
|
2649
2701
|
const CALL$10 = ["NOT_AUTHENTICATED", "INVALID_INPUT"];
|
|
2650
2702
|
/** The chain or the bundler refused, timed out or was unreachable. */
|
|
2651
2703
|
const CHAIN$5 = ["PROVIDER_ERROR"];
|
|
2704
|
+
/** The bundler or the paymaster answered with something Capxul cannot use. */
|
|
2705
|
+
const ANSWER$3 = ["PROVIDER_RESPONSE_INVALID"];
|
|
2652
2706
|
/** The caller's Account binding: no Safe, no Account, or an Account bound to another Safe. */
|
|
2653
2707
|
const BINDING = [
|
|
2654
2708
|
"SMART_ACCOUNT_MISSING",
|
|
@@ -2736,6 +2790,7 @@ claim: Operation.action("accounts.claims.claim", {
|
|
|
2736
2790
|
...CALL$10,
|
|
2737
2791
|
...DEFECTS,
|
|
2738
2792
|
...CHAIN$5,
|
|
2793
|
+
...ANSWER$3,
|
|
2739
2794
|
"ACCOUNT_CLAIMED_BY_OTHER_SIGNER",
|
|
2740
2795
|
"INSUFFICIENT_BALANCE",
|
|
2741
2796
|
"PROFILE_NOT_FOUND",
|
|
@@ -2771,6 +2826,7 @@ faucetMint: Operation.action("accounts.grants.faucetMint", {
|
|
|
2771
2826
|
...CALL$10,
|
|
2772
2827
|
...DEFECTS,
|
|
2773
2828
|
...CHAIN$5,
|
|
2829
|
+
...ANSWER$3,
|
|
2774
2830
|
...BINDING,
|
|
2775
2831
|
"INSUFFICIENT_BALANCE",
|
|
2776
2832
|
"NOT_IMPLEMENTED",
|
|
@@ -3928,6 +3984,7 @@ const CAPXUL_ERROR_CODES = [
|
|
|
3928
3984
|
"WORK_DIED",
|
|
3929
3985
|
"ACTOR_STOPPED"
|
|
3930
3986
|
];
|
|
3987
|
+
new Set(CAPXUL_ERROR_CODES);
|
|
3931
3988
|
/** The existing Organization authority refusal vocabulary. */
|
|
3932
3989
|
const ROLE_PERMISSION_DENIED_REASONS = [
|
|
3933
3990
|
"over_cap",
|
|
@@ -4563,6 +4620,8 @@ const STATE$4 = ["WRONG_STATE"];
|
|
|
4563
4620
|
const PARTICIPANT = ["ROLE_PERMISSION_DENIED"];
|
|
4564
4621
|
/** The chain or the bundler refused, timed out or was unreachable. */
|
|
4565
4622
|
const CHAIN$3 = ["PROVIDER_ERROR"];
|
|
4623
|
+
/** The bundler or the paymaster answered with something Capxul cannot use. */
|
|
4624
|
+
const ANSWER$2 = ["PROVIDER_RESPONSE_INVALID"];
|
|
4566
4625
|
/** The founder has no Profile or no personal Account to found an Organization with. */
|
|
4567
4626
|
const FOUNDER = ["PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING"];
|
|
4568
4627
|
const invitations = {
|
|
@@ -4800,6 +4859,7 @@ const setups = {
|
|
|
4800
4859
|
...DEFECTS,
|
|
4801
4860
|
...STATE$4,
|
|
4802
4861
|
...CHAIN$3,
|
|
4862
|
+
...ANSWER$2,
|
|
4803
4863
|
"INSUFFICIENT_BALANCE"
|
|
4804
4864
|
]
|
|
4805
4865
|
}),
|
|
@@ -4986,7 +5046,8 @@ const VERIFICATION_ERRORS = [
|
|
|
4986
5046
|
...DEFECTS,
|
|
4987
5047
|
...MEMBER$1,
|
|
4988
5048
|
"WRONG_STATE",
|
|
4989
|
-
"PROVIDER_ERROR"
|
|
5049
|
+
"PROVIDER_ERROR",
|
|
5050
|
+
"PROVIDER_RESPONSE_INVALID"
|
|
4990
5051
|
];
|
|
4991
5052
|
const verificationTarget = {
|
|
4992
5053
|
orgId: Schema.optionalKey(Schema.String),
|
|
@@ -5466,6 +5527,7 @@ const quotes = { quote: Operation.action("payments.quotes.quote", {
|
|
|
5466
5527
|
"INSUFFICIENT_BALANCE",
|
|
5467
5528
|
"WRONG_STATE",
|
|
5468
5529
|
"PROVIDER_ERROR",
|
|
5530
|
+
"PROVIDER_RESPONSE_INVALID",
|
|
5469
5531
|
...DEFECTS
|
|
5470
5532
|
]
|
|
5471
5533
|
}) };
|
|
@@ -5486,6 +5548,8 @@ const DENIED$1 = ["ROLE_PERMISSION_DENIED"];
|
|
|
5486
5548
|
const STATE$3 = ["WRONG_STATE"];
|
|
5487
5549
|
/** The chain, the bundler or the paymaster refused or failed to answer. */
|
|
5488
5550
|
const CHAIN$2 = ["PROVIDER_ERROR"];
|
|
5551
|
+
/** The bundler or the paymaster answered with something Capxul cannot use. */
|
|
5552
|
+
const ANSWER$1 = ["PROVIDER_RESPONSE_INVALID"];
|
|
5489
5553
|
/** The sender's balance, or the paymaster, cannot cover the UserOperation. */
|
|
5490
5554
|
const FUNDING$1 = ["INSUFFICIENT_BALANCE"];
|
|
5491
5555
|
/** This deployment has money writes switched off. */
|
|
@@ -5499,6 +5563,7 @@ const PREPARE = [
|
|
|
5499
5563
|
...DENIED$1,
|
|
5500
5564
|
...STATE$3,
|
|
5501
5565
|
...CHAIN$2,
|
|
5566
|
+
...ANSWER$1,
|
|
5502
5567
|
...FUNDING$1,
|
|
5503
5568
|
...DISABLED$1
|
|
5504
5569
|
];
|
|
@@ -5510,6 +5575,7 @@ const SUBMIT$1 = [
|
|
|
5510
5575
|
...DENIED$1,
|
|
5511
5576
|
...STATE$3,
|
|
5512
5577
|
...CHAIN$2,
|
|
5578
|
+
...ANSWER$1,
|
|
5513
5579
|
...RACE,
|
|
5514
5580
|
...DISABLED$1
|
|
5515
5581
|
];
|
|
@@ -5816,6 +5882,7 @@ const runs = {
|
|
|
5816
5882
|
...DENIED,
|
|
5817
5883
|
...STATE$2,
|
|
5818
5884
|
"PROVIDER_ERROR",
|
|
5885
|
+
"PROVIDER_RESPONSE_INVALID",
|
|
5819
5886
|
"INSUFFICIENT_BALANCE",
|
|
5820
5887
|
"NOT_IMPLEMENTED"
|
|
5821
5888
|
]
|
|
@@ -6329,6 +6396,8 @@ const ADMIN$1 = ["ROLE_PERMISSION_DENIED", ...ACCOUNT];
|
|
|
6329
6396
|
const STATE$1 = ["WRONG_STATE"];
|
|
6330
6397
|
/** The chain or the bundler refused or failed to answer. */
|
|
6331
6398
|
const CHAIN$1 = ["PROVIDER_ERROR"];
|
|
6399
|
+
/** The bundler or the paymaster answered with something Capxul cannot use. */
|
|
6400
|
+
const ANSWER = ["PROVIDER_RESPONSE_INVALID"];
|
|
6332
6401
|
/** Building a sponsored UserOperation can find the paymaster unable to pay. */
|
|
6333
6402
|
const SPONSOR = ["INSUFFICIENT_BALANCE"];
|
|
6334
6403
|
/** Another submission of the same execution won the race. */
|
|
@@ -6371,6 +6440,7 @@ const commands = {
|
|
|
6371
6440
|
...ADMIN$1,
|
|
6372
6441
|
...STATE$1,
|
|
6373
6442
|
...CHAIN$1,
|
|
6443
|
+
...ANSWER,
|
|
6374
6444
|
...SPONSOR
|
|
6375
6445
|
]
|
|
6376
6446
|
}),
|
|
@@ -6384,6 +6454,7 @@ const commands = {
|
|
|
6384
6454
|
...ADMIN$1,
|
|
6385
6455
|
...STATE$1,
|
|
6386
6456
|
...CHAIN$1,
|
|
6457
|
+
...ANSWER,
|
|
6387
6458
|
...SUBMIT
|
|
6388
6459
|
]
|
|
6389
6460
|
})
|
|
@@ -6413,6 +6484,7 @@ const replacements = {
|
|
|
6413
6484
|
...ADMIN$1,
|
|
6414
6485
|
...STATE$1,
|
|
6415
6486
|
...CHAIN$1,
|
|
6487
|
+
...ANSWER,
|
|
6416
6488
|
...SPONSOR
|
|
6417
6489
|
]
|
|
6418
6490
|
})
|
|
@@ -6469,6 +6541,7 @@ const authorities = {
|
|
|
6469
6541
|
...CALL$2,
|
|
6470
6542
|
...DEFECTS,
|
|
6471
6543
|
...CHAIN$1,
|
|
6544
|
+
...ANSWER,
|
|
6472
6545
|
"ROLE_PERMISSION_DENIED"
|
|
6473
6546
|
]
|
|
6474
6547
|
}),
|
|
@@ -6494,6 +6567,7 @@ const configurations = {
|
|
|
6494
6567
|
...ADMIN$1,
|
|
6495
6568
|
...STATE$1,
|
|
6496
6569
|
...CHAIN$1,
|
|
6570
|
+
...ANSWER,
|
|
6497
6571
|
...SPONSOR
|
|
6498
6572
|
]
|
|
6499
6573
|
}),
|
|
@@ -6507,6 +6581,7 @@ const configurations = {
|
|
|
6507
6581
|
...ADMIN$1,
|
|
6508
6582
|
...STATE$1,
|
|
6509
6583
|
...CHAIN$1,
|
|
6584
|
+
...ANSWER,
|
|
6510
6585
|
...SUBMIT
|
|
6511
6586
|
]
|
|
6512
6587
|
})
|
|
@@ -6733,6 +6808,15 @@ const CHAIN = ["PROVIDER_ERROR"];
|
|
|
6733
6808
|
const DISABLED = ["NOT_IMPLEMENTED"];
|
|
6734
6809
|
/** The sender's balance, or the paymaster, cannot cover the UserOperation. */
|
|
6735
6810
|
const FUNDING = ["INSUFFICIENT_BALANCE"];
|
|
6811
|
+
/**
|
|
6812
|
+
* Building a sponsored UserOperation: the chain failed, the bundler or the
|
|
6813
|
+
* paymaster answered with something Capxul cannot use, or the funding fell short.
|
|
6814
|
+
*/
|
|
6815
|
+
const SPONSORED = [
|
|
6816
|
+
...CHAIN,
|
|
6817
|
+
"PROVIDER_RESPONSE_INVALID",
|
|
6818
|
+
...FUNDING
|
|
6819
|
+
];
|
|
6736
6820
|
/** The issuer's side: what it sent, and its cancellation. */
|
|
6737
6821
|
const receivables = {
|
|
6738
6822
|
/** Ask a payer for money, or anyone who holds the link when no payer is named. */
|
|
@@ -7074,8 +7158,7 @@ const checkouts = {
|
|
|
7074
7158
|
...DEFECTS,
|
|
7075
7159
|
...MEMBER,
|
|
7076
7160
|
...STATE,
|
|
7077
|
-
...
|
|
7078
|
-
...FUNDING,
|
|
7161
|
+
...SPONSORED,
|
|
7079
7162
|
...DISABLED
|
|
7080
7163
|
]
|
|
7081
7164
|
}),
|
|
@@ -7278,7 +7361,17 @@ const PEOPLE_OPERATIONS = {
|
|
|
7278
7361
|
},
|
|
7279
7362
|
auth: {
|
|
7280
7363
|
canSendOtp: "auth.canSendOtp",
|
|
7364
|
+
createEncryptionSession: "auth.createEncryptionSession",
|
|
7365
|
+
/** AUTH A3 (#2073): the SDK facade over the native continuation endpoints. */
|
|
7366
|
+
clientRequests: {
|
|
7367
|
+
accept: "auth.clientRequests.accept",
|
|
7368
|
+
cancel: "auth.clientRequests.cancel",
|
|
7369
|
+
read: "auth.clientRequests.read",
|
|
7370
|
+
sendOtp: "auth.clientRequests.sendOtp",
|
|
7371
|
+
verifyOtp: "auth.clientRequests.verifyOtp"
|
|
7372
|
+
},
|
|
7281
7373
|
getSession: "auth.getSession",
|
|
7374
|
+
resumeOtp: "auth.resumeOtp",
|
|
7282
7375
|
signIn: "auth.signIn",
|
|
7283
7376
|
signOut: "auth.signOut",
|
|
7284
7377
|
sendVerificationOtp: "auth.sendVerificationOTP",
|
|
@@ -7288,11 +7381,6 @@ const PEOPLE_OPERATIONS = {
|
|
|
7288
7381
|
createOrg: "createOrg",
|
|
7289
7382
|
orgs: "orgs"
|
|
7290
7383
|
},
|
|
7291
|
-
/** AUTH A3 (#2073): the SDK facade over the native continuation endpoints. */
|
|
7292
|
-
clientRequests: {
|
|
7293
|
-
decide: "clientRequests.decide",
|
|
7294
|
-
read: "clientRequests.read"
|
|
7295
|
-
},
|
|
7296
7384
|
currentUser: { get: "currentUser.get" },
|
|
7297
7385
|
identity: {
|
|
7298
7386
|
accountAt: "identity.AccountAt",
|
|
@@ -7335,8 +7423,10 @@ const PEOPLE_OPERATIONS = {
|
|
|
7335
7423
|
get: "me.get"
|
|
7336
7424
|
},
|
|
7337
7425
|
onboarding: {
|
|
7426
|
+
beginOrganization: "onboarding.beginOrganization",
|
|
7338
7427
|
completeOrganization: "onboarding.completeOrganization",
|
|
7339
|
-
completePerson: "onboarding.completePerson"
|
|
7428
|
+
completePerson: "onboarding.completePerson",
|
|
7429
|
+
listOrganizationSetups: "onboarding.listOrganizationSetups"
|
|
7340
7430
|
},
|
|
7341
7431
|
smartAccount: {
|
|
7342
7432
|
claim: "smartAccount.claim",
|
|
@@ -7435,6 +7525,12 @@ const ORGANIZATION_OPERATIONS = {
|
|
|
7435
7525
|
},
|
|
7436
7526
|
retry: "org.retry",
|
|
7437
7527
|
roles: "org.roles",
|
|
7528
|
+
/**
|
|
7529
|
+
* The host observer's name for `org(orgId).setup.subscribe`: a subscription
|
|
7530
|
+
* is named by its method path, as the others are (CAP-419). The other setup
|
|
7531
|
+
* methods name the row that failed, or `organization.setup`.
|
|
7532
|
+
*/
|
|
7533
|
+
setup: { subscribe: "org.setup.subscribe" },
|
|
7438
7534
|
treasury: "org.treasury"
|
|
7439
7535
|
},
|
|
7440
7536
|
organization: { setup: "organization.setup" },
|
|
@@ -7838,6 +7934,12 @@ const PLATFORM_OPERATIONS = {
|
|
|
7838
7934
|
health: "system.health",
|
|
7839
7935
|
ping: "system.ping"
|
|
7840
7936
|
},
|
|
7937
|
+
/**
|
|
7938
|
+
* The MCP server's own HTTP door: one request that failed outside any tool,
|
|
7939
|
+
* in the body read, the gate or the MCP handler. A tool's failure is named
|
|
7940
|
+
* by the tool.
|
|
7941
|
+
*/
|
|
7942
|
+
mcp: { request: "mcp.request" },
|
|
7841
7943
|
_internal: {
|
|
7842
7944
|
accounts: { fund: "_internal.accounts.fund" },
|
|
7843
7945
|
close: "_internal.close",
|
|
@@ -8082,8 +8184,9 @@ const EXCEPTION_EVENT_NAME = "$exception";
|
|
|
8082
8184
|
* same error evidence on its own stream, so expected versus unexpected stays a
|
|
8083
8185
|
* routing choice inside PostHog. It is its own event kind, not a catalog event:
|
|
8084
8186
|
* its properties are the error evidence, so no catalog schema validates it.
|
|
8085
|
-
* The wide `capxul_backend_operation` log row of the same failure carries
|
|
8086
|
-
*
|
|
8187
|
+
* The wide `capxul_backend_operation` log row of the same failure carries the
|
|
8188
|
+
* same failure row (ADR-0039 D6) beside its ids, but not the masked `details`,
|
|
8189
|
+
* the cause's stack or the chain cause's properties.
|
|
8087
8190
|
*/
|
|
8088
8191
|
const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outcome";
|
|
8089
8192
|
/**
|
|
@@ -8093,6 +8196,13 @@ const EXPECTED_OUTCOME_EVENT_NAME = "capxul_backend_expected_outcome";
|
|
|
8093
8196
|
* validates it.
|
|
8094
8197
|
*/
|
|
8095
8198
|
const SDK_EXPECTED_OUTCOME_EVENT_NAME = "capxul_sdk_expected_outcome";
|
|
8199
|
+
/**
|
|
8200
|
+
* The MCP server's twin of `capxul_backend_expected_outcome`: an expected
|
|
8201
|
+
* outcome of a tool call, as the closed facts of the failure projection. Like
|
|
8202
|
+
* the other twins, its properties are the error evidence, so no catalog schema
|
|
8203
|
+
* validates it.
|
|
8204
|
+
*/
|
|
8205
|
+
const MCP_EXPECTED_OUTCOME_EVENT_NAME = "capxul_mcp_expected_outcome";
|
|
8096
8206
|
const PII = Schema.String.pipe(Schema.brand("PII"));
|
|
8097
8207
|
/**
|
|
8098
8208
|
* Environment discriminator (ADR-0020 A1 amendment, 2026-08-07). PostHog
|
|
@@ -9617,6 +9727,21 @@ const UiAccessStepCompletedTelemetryEventSchema = Schema.Struct({
|
|
|
9617
9727
|
})
|
|
9618
9728
|
});
|
|
9619
9729
|
//#endregion
|
|
9730
|
+
//#region ../protocol/src/errors/classes.ts
|
|
9731
|
+
/**
|
|
9732
|
+
* Who acts on a failure (ADR-0039 D2). A class is derived from code and mode
|
|
9733
|
+
* by the two tables below and is never stored, so it cannot disagree with
|
|
9734
|
+
* them. No layer rewrites it (ADR-0023 R10).
|
|
9735
|
+
*/
|
|
9736
|
+
const FAILURE_CLASSES = [
|
|
9737
|
+
"input",
|
|
9738
|
+
"state",
|
|
9739
|
+
"provider-unavailable",
|
|
9740
|
+
"provider-refused",
|
|
9741
|
+
"provider-answer",
|
|
9742
|
+
"defect"
|
|
9743
|
+
];
|
|
9744
|
+
//#endregion
|
|
9620
9745
|
//#region src/catalog/cli.ts
|
|
9621
9746
|
/** Every command path of the `capxul` tree, dot-separated, plus the root and `unknown`. */
|
|
9622
9747
|
const CLI_COMMAND_NAMES = [
|
|
@@ -9818,6 +9943,28 @@ const CliCommandStartedTelemetryEventSchema = Schema.Struct({
|
|
|
9818
9943
|
])
|
|
9819
9944
|
})
|
|
9820
9945
|
});
|
|
9946
|
+
/** A bounded identifier the `none` text policy lets through (ADR-0039 D6). */
|
|
9947
|
+
const FailureIdentifier = Schema.String.check(Schema.isPattern(/^[A-Za-z0-9_][A-Za-z0-9_.:/[\]-]{0,127}$/u));
|
|
9948
|
+
/**
|
|
9949
|
+
* The closed facts of a failed command's failure row under the `none` text
|
|
9950
|
+
* policy (ADR-0039 D6): who acts, how it failed, which provider and call, and
|
|
9951
|
+
* the Convex request id. Never a message or a cause.
|
|
9952
|
+
*/
|
|
9953
|
+
const CliFailureFacts = {
|
|
9954
|
+
failure_class: Schema.optional(Schema.Literals(FAILURE_CLASSES)),
|
|
9955
|
+
failure_mode: Schema.optional(Schema.Literals(FAILURE_MODES)),
|
|
9956
|
+
provider: Schema.optional(Schema.Literals(PROVIDERS)),
|
|
9957
|
+
provider_operation: Schema.optional(FailureIdentifier),
|
|
9958
|
+
provider_code: Schema.optional(FailureIdentifier),
|
|
9959
|
+
http_status: Schema.optional(Schema.Number.check(Schema.isInt(), Schema.isBetween({
|
|
9960
|
+
minimum: 100,
|
|
9961
|
+
maximum: 599
|
|
9962
|
+
}))),
|
|
9963
|
+
field: Schema.optional(FailureIdentifier),
|
|
9964
|
+
problem: Schema.optional(Schema.Literals(PROVIDER_PROBLEMS)),
|
|
9965
|
+
request_id: Schema.optional(Schema.String.check(Schema.isPattern(/^[0-9a-f]{16}$/u))),
|
|
9966
|
+
elapsed_ms: Schema.optional(Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0)))
|
|
9967
|
+
};
|
|
9821
9968
|
const CliCommandCompletedTelemetryEventSchema = Schema.Struct({
|
|
9822
9969
|
name: Schema.Literal("cli_command_completed"),
|
|
9823
9970
|
props: Schema.Struct({
|
|
@@ -9840,7 +9987,8 @@ const CliCommandCompletedTelemetryEventSchema = Schema.Struct({
|
|
|
9840
9987
|
"CLI_STORAGE",
|
|
9841
9988
|
"CLI_DEFECT",
|
|
9842
9989
|
"CLI_DEADLINE"
|
|
9843
|
-
]))
|
|
9990
|
+
])),
|
|
9991
|
+
...CliFailureFacts
|
|
9844
9992
|
})
|
|
9845
9993
|
});
|
|
9846
9994
|
const CliDiagnosticCompletedTelemetryEventSchema = Schema.Struct({
|
|
@@ -10713,4 +10861,4 @@ var InMemoryTelemetryBusAdapter = class extends EventOnlyPort {
|
|
|
10713
10861
|
}
|
|
10714
10862
|
};
|
|
10715
10863
|
//#endregion
|
|
10716
|
-
export {
|
|
10864
|
+
export { AuthSignedOutTelemetryEventSchema as $, CAPXUL_ENVS as $t, BootstrapResolvedTelemetryEventSchema as A, OrganizationCreationFailedTelemetryEventSchema as At, CliCommandCompletedTelemetryEventSchema as B, DepositInitiatedTelemetryEventSchema as Bt, VerificationInformationRequestedTelemetryEventSchema as C, PROVIDERS as Cn, MovementScanWindowTelemetryEventSchema as Ct, VerificationSubmittedTelemetryEventSchema as D, OrgInviteExpiredTelemetryEventSchema as Dt, VerificationStartedTelemetryEventSchema as E, FAILURE_MODES as En, OrgInviteAcceptedTelemetryEventSchema as Et, OnboardingIntentSelectedTelemetryEventSchema as F, ChainUpstreamFallbackTelemetryEventSchema as Ft, CLI_COMMAND_NAMES as G, PaymentFailedTelemetryEventSchema as Gt, CliDiagnosticCompletedTelemetryEventSchema as H, FaucetConfirmedTelemetryEventSchema as Ht, OnboardingOrganizationSubmittedTelemetryEventSchema as I, OperationRetriedTelemetryEventSchema as It, AccessRecoveryCompletedTelemetryEventSchema as J, PaymentSettledTelemetryEventSchema as Jt, CLI_INVOCATION_KINDS as K, PaymentInitiatedTelemetryEventSchema as Kt, OnboardingProfileSubmittedTelemetryEventSchema as L, ReceiptPendingTelemetryEventSchema as Lt, MemberActivationReadyTelemetryEventSchema as M, OrganizationCreationStartedTelemetryEventSchema as Mt, MemberActivationStartedTelemetryEventSchema as N, UiContactActionCompletedTelemetryEventSchema as Nt, VerificationTermsAcceptedTelemetryEventSchema as O, OrgInviteProgressedTelemetryEventSchema as Ot, OnboardingDashboardReachedTelemetryEventSchema as P, BundlerErrorTelemetryEventSchema as Pt, AuthOtpRequestedTelemetryEventSchema as Q, TELEMETRY_JOURNEYS as Qt, ProvisioningSafeConfirmedTelemetryEventSchema as R, AccountBalanceFailedTelemetryEventSchema as Rt, VerificationApprovedTelemetryEventSchema as S, CAPXUL_ERROR_CODES as Sn, MovementScanIncidentTelemetryEventSchema as St, VerificationRejectedTelemetryEventSchema as T, isCapxulError as Tn, ContactRelationshipChangedTelemetryEventSchema as Tt, CliFirstUsedTelemetryEventSchema as U, FaucetFailedTelemetryEventSchema as Ut, CliCommandStartedTelemetryEventSchema as V, DepositSettledTelemetryEventSchema as Vt, CLI_CAPABILITIES as W, FaucetRequestedTelemetryEventSchema as Wt, AuthOtpDeliveredTelemetryEventSchema as X, QuickPayExternalAddressAcknowledgedTelemetryEventSchema as Xt, AuthFailedTelemetryEventSchema as Y, PaymentVerificationRetryTelemetryEventSchema as Yt, AuthOtpExpiredTelemetryEventSchema as Z, JOURNEYS as Zt, CONTRACT_FIRST_TELEMETRY_EVENTS as _, ORGANIZATION_SETUP_REASONS as _n, UiTreasuryStepCompletedTelemetryEventSchema as _t, initializeCapxulBrowserAnalytics as a, JourneyVariantProps as an, NativeAuthorizationFailedTelemetryEventSchema as at, RETIRED_TELEMETRY_EVENTS as b, redactUrlSecrets as bn, IndexerDriftCorrectedTelemetryEventSchema as bt, utilityAppAnalytics as c, ResponseHeadersSchema as cn, UiAccessStepCompletedTelemetryEventSchema as ct, redactTelemetryEvent as d, TELEMETRY_PRODUCERS as dn, PayrollGroupChangedTelemetryEventSchema as dt, ChainAttemptSchema as en, AuthVerifiedTelemetryEventSchema as et, redactTelemetryProps as f, stampTelemetryEnvelope as fn, PayrollRunTransitionedTelemetryEventSchema as ft, BROWSER_GATED_TELEMETRY_EVENTS as g, normalizeCapxulOperation as gn, UiReceiveStepCompletedTelemetryEventSchema as gt, track as h, isCapxulOperation as hn, UiPayrollActionCompletedTelemetryEventSchema as ht, createPostHogBrowserPageviewTracker as i, FailureModeSchema as in, NativeAuthorizationDeniedTelemetryEventSchema as it, MemberActivationFailedTelemetryEventSchema as j, OrganizationCreationReadyTelemetryEventSchema as jt, BootstrapFailedTelemetryEventSchema as k, OrgInviteSentTelemetryEventSchema as kt, sanitizePostHogBrowserEvent as l, SDK_EXPECTED_OUTCOME_EVENT_NAME as ln, InvoiceIssuedTelemetryEventSchema as lt, setTrackHandler as m, CAPXUL_OPERATIONS as mn, UiInvoiceStepCompletedTelemetryEventSchema as mt, RecordingTelemetryAdapter as n, EXCEPTION_EVENT_NAME as nn, NativeAuthorizationAcceptedTelemetryEventSchema as nt, initializePostHogBrowserAnalytics as o, MCP_EXPECTED_OUTCOME_EVENT_NAME as on, NativeAuthorizationReviewedTelemetryEventSchema as ot, getTrackHandler as p, TELEMETRY_EVENT_NAMES as pn, UiApprovalSignInRequiredTelemetryEventSchema as pt, FAILURE_CLASSES as q, PaymentLifecycleTransitionTelemetryEventSchema as qt, createCapxulBeforeSend as r, EXPECTED_OUTCOME_EVENT_NAME as rn, NativeAuthorizationConnectedTelemetryEventSchema as rt, productAppAnalytics as s, PII as sn, NativeAuthorizationStartedTelemetryEventSchema as st, InMemoryTelemetryBusAdapter as t, ChainUpstreamSchema as tn, IdentityRefusedTelemetryEventSchema as tt, maskCapturedNetworkRequest as u, SYNCABLE_CAPXUL_ENVS as un, InvoiceRequestTransitionedTelemetryEventSchema as ut, FINANCIAL_OPS_TARGET_TELEMETRY_PRODUCERS as v, ORGANIZATION_SETUP_STATUSES as vn, ActivityAnnotationSavedTelemetryEventSchema as vt, VerificationLivenessRequestedTelemetryEventSchema as w, PROVIDER_PROBLEMS as wn, PermissionMirrorVerificationTelemetryEventSchema as wt, TELEMETRY_EVENT_SCHEMAS as x, isCredentialField as xn, MovementScanCheckpointTelemetryEventSchema as xt, PRODUCT_MAPPER_GATED_TELEMETRY_EVENTS as y, redactSecrets as yn, UiActivityActionCompletedTelemetryEventSchema as yt, ProvisioningSafeCreatedTelemetryEventSchema as z, AccountBalanceReadTelemetryEventSchema as zt };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capxul/observability",
|
|
3
|
-
"version": "4.20.0-beta.
|
|
3
|
+
"version": "4.20.0-beta.37",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.0.0",
|
|
47
47
|
"vite-plus": "1.0.0",
|
|
48
48
|
"vitest": "5.0.1",
|
|
49
|
-
"@capxul/protocol": "0.2.0-beta.
|
|
49
|
+
"@capxul/protocol": "0.2.0-beta.8",
|
|
50
50
|
"@capxul/typescript-config": "0.0.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|