@capxul/observability 4.1.2 → 4.1.4

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 CHANGED
@@ -7,6 +7,10 @@ This public package defines event names and journeys, validates
7
7
  event properties, marks and redacts PII, and provides recording, in-memory,
8
8
  and PostHog-compatible adapters.
9
9
 
10
+ Activity action events accept the implemented `unresolved` Payment status in
11
+ committed filters and export filters. The event records the selected status;
12
+ it does not infer settlement from an unresolved result.
13
+
10
14
  ## The required envelope (ADR-0020 A1 amendment)
11
15
 
12
16
  One PostHog project holds every environment, so `capxul_env` — not project
package/dist/index.d.mts CHANGED
@@ -1910,7 +1910,7 @@ declare const UiActivityActionCompletedTelemetryEventSchema: Schema.Struct<{
1910
1910
  readonly sdk_version: Schema.optional<Schema.String>;
1911
1911
  readonly filter_kind: Schema.optional<Schema.Literals<readonly ["all", "payment", "movement"]>>;
1912
1912
  readonly filter_direction: Schema.optional<Schema.Literals<readonly ["all", "in", "out", "self"]>>;
1913
- readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
1913
+ readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "unresolved", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
1914
1914
  readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
1915
1915
  readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
1916
1916
  readonly action: Schema.Literal<"filter">;
@@ -1967,7 +1967,7 @@ declare const UiActivityActionCompletedTelemetryEventSchema: Schema.Struct<{
1967
1967
  readonly sdk_version: Schema.optional<Schema.String>;
1968
1968
  readonly filter_kind: Schema.optional<Schema.Literals<readonly ["all", "payment", "movement"]>>;
1969
1969
  readonly filter_direction: Schema.optional<Schema.Literals<readonly ["all", "in", "out", "self"]>>;
1970
- readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
1970
+ readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "unresolved", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
1971
1971
  readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
1972
1972
  readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
1973
1973
  readonly action: Schema.Literal<"export">;
@@ -2057,7 +2057,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2057
2057
  readonly sdk_version: Schema.optional<Schema.String>;
2058
2058
  readonly filter_kind: Schema.optional<Schema.Literals<readonly ["all", "payment", "movement"]>>;
2059
2059
  readonly filter_direction: Schema.optional<Schema.Literals<readonly ["all", "in", "out", "self"]>>;
2060
- readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
2060
+ readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "unresolved", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
2061
2061
  readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2062
2062
  readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2063
2063
  readonly action: Schema.Literal<"filter">;
@@ -2114,7 +2114,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
2114
2114
  readonly sdk_version: Schema.optional<Schema.String>;
2115
2115
  readonly filter_kind: Schema.optional<Schema.Literals<readonly ["all", "payment", "movement"]>>;
2116
2116
  readonly filter_direction: Schema.optional<Schema.Literals<readonly ["all", "in", "out", "self"]>>;
2117
- readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
2117
+ readonly filter_status: Schema.optional<Schema.$Array<Schema.Literals<readonly ["pending", "settling", "unresolved", "pending_claim", "scheduled", "streaming", "settled", "cancelled", "failed"]>>>;
2118
2118
  readonly scope_kind: Schema.Literals<readonly ["account", "organization"]>;
2119
2119
  readonly reason_code: Schema.optional<Schema.Literals<readonly ["NOT_AUTHENTICATED", "EMAIL_DELIVERY_FAILED", "PROFILE_NOT_FOUND", "SMART_ACCOUNT_MISSING", "PLAYER_NOT_FOUND", "ACCOUNT_NOT_FOUND", "ACCOUNT_CLAIMED_BY_OTHER_SIGNER", "PROVIDER_ERROR", "CAPABILITY_UNAVAILABLE", "INVALID_INPUT", "ENV_MISSING", "NOT_IMPLEMENTED", "VERIFICATION_REQUIRED", "INSUFFICIENT_BALANCE", "INVALID_RECIPIENT", "ROLE_PERMISSION_DENIED", "TRANSACTION_FAILED", "RATE_LIMITED", "NETWORK_ERROR", "UNKNOWN", "OTP_EXPIRED", "SIGNER_REJECTED", "CANCELLED", "WRONG_STATE", "STALE_EPOCH", "SUPERSEDED", "WORK_DIED", "ACTOR_STOPPED"]>>;
2120
2120
  readonly action: Schema.Literal<"export">;
package/dist/index.mjs CHANGED
@@ -1536,6 +1536,7 @@ const ActivityFilterProps = {
1536
1536
  filter_status: Schema.optional(Schema.Array(Schema.Literals([
1537
1537
  "pending",
1538
1538
  "settling",
1539
+ "unresolved",
1539
1540
  "pending_claim",
1540
1541
  "scheduled",
1541
1542
  "streaming",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "4.1.2",
3
+ "version": "4.1.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",