Skip to content

feat(webhooks): expand webhook event-type detection for attestations and scores (#519)#550

Merged
Baskarayelu merged 2 commits into
CredenceOrg:mainfrom
temitope-007:feature/webhook-attestation-score-events
Jun 25, 2026
Merged

feat(webhooks): expand webhook event-type detection for attestations and scores (#519)#550
Baskarayelu merged 2 commits into
CredenceOrg:mainfrom
temitope-007:feature/webhook-attestation-score-events

Conversation

@temitope-007

Copy link
Copy Markdown
Contributor

Description

This PR expands the webhook event taxonomy to cover attestation.added, attestation.revoked, and score.updated.

Integrators previously had to poll for attestation and score changes, as the webhook system only emitted state changes for bond transitions. This implementation adds the new event types and routes them through the outbox path (webhookIntegrationOutbox.ts) for crash-safe delivery, consistent with bond events. It also leverages the shared detectEventType logic and updates the related documentation.

Closes #519

temitope-007 and others added 2 commits June 24, 2026 15:21
Extends event detection beyond bond transitions and routes the new events
through the crash-safe outbox path with schema-validated payloads, so
integrators no longer need to poll for attestation/score changes.
@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@temitope-007 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Baskarayelu Baskarayelu merged commit c4623b8 into CredenceOrg:main Jun 25, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expand bond webhook event-type detection to cover attestation and score-change events

2 participants