@capxul/observability 2.0.0 → 2.0.2

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 CHANGED
@@ -557,6 +557,7 @@ declare const OrganizationCreationFailedTelemetryEventSchema: Schema.Struct<{
557
557
  readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
558
558
  readonly error_code: Schema.String;
559
559
  readonly retryable: Schema.Boolean;
560
+ readonly failure_reason: Schema.optional<Schema.Literals<readonly ["deterministic_address_mismatch", "receipt_provider_unavailable", "receipt_mismatch", "block_provider_unavailable", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch"]>>;
560
561
  }>;
561
562
  }>;
562
563
  declare const AccountBalanceReadTelemetryEventSchema: Schema.Struct<{
@@ -1118,6 +1119,7 @@ declare const TELEMETRY_EVENT_SCHEMAS: {
1118
1119
  readonly stage: Schema.Literals<readonly ["profile", "accountProvisioning", "accountClaim", "preparingFounderAccount", "awaitingFounderAuthorization", "submittingBootstrap", "confirmingBootstrap"]>;
1119
1120
  readonly error_code: Schema.String;
1120
1121
  readonly retryable: Schema.Boolean;
1122
+ readonly failure_reason: Schema.optional<Schema.Literals<readonly ["deterministic_address_mismatch", "receipt_provider_unavailable", "receipt_mismatch", "block_provider_unavailable", "authority_event_mismatch", "allowance_timestamp_mismatch", "receipt_identity_unavailable", "receipt_identity_mismatch", "contract_code_unavailable", "contract_state_mismatch", "permission_projection_mismatch"]>>;
1121
1123
  }>;
1122
1124
  }>;
1123
1125
  readonly account_balance_read: Schema.Struct<{
package/dist/index.mjs CHANGED
@@ -515,7 +515,20 @@ const OrganizationCreationFailedProps = Schema.Struct({
515
515
  attempt_number: AttemptNumberSchema,
516
516
  stage: OnboardingStageSchema,
517
517
  error_code: Schema.String,
518
- retryable: Schema.Boolean
518
+ retryable: Schema.Boolean,
519
+ failure_reason: Schema.optional(Schema.Literals([
520
+ "deterministic_address_mismatch",
521
+ "receipt_provider_unavailable",
522
+ "receipt_mismatch",
523
+ "block_provider_unavailable",
524
+ "authority_event_mismatch",
525
+ "allowance_timestamp_mismatch",
526
+ "receipt_identity_unavailable",
527
+ "receipt_identity_mismatch",
528
+ "contract_code_unavailable",
529
+ "contract_state_mismatch",
530
+ "permission_projection_mismatch"
531
+ ]))
519
532
  });
520
533
  const OnboardingIntentSchema = Schema.Literals(["personal", "organization"]);
521
534
  const OnboardingIntentSelectedProps = Schema.Struct({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capxul/observability",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",