Skip to content

🐛 fix: update events body for new access render - #1011

Merged
dackmin merged 1 commit into
masterfrom
fix/update-event-body-for-new-render
Nov 3, 2026
Merged

dackmin merged 1 commit into
masterfrom
fix/update-event-body-for-new-render

Conversation

@defless

@defless defless commented Nov 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings November 3, 2026 09:21
@auto-review
auto-review Bot requested a review from dackmin November 3, 2026 09:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The Access SDK event contracts are unavailable and existing tests do not cover target or triggerPageType, leaving their types and requiredness unverified across legacy and new renderers.

No open issues 🎉

What changed in this PR

Updates access-event TypeScript interfaces to reflect payloads from the new paywall renderer while also describing legacy paywall metadata.

Changes:

  • Adds triggerPageType to four access events and target to AccessReadyEvent.
  • Adds optional usage counters and a custom reader ID to AccessIdentityAvailableEvent.
  • Adds optional renderer-specific metadata to ready and paywall-seen events.
File Description
src/​types.ts Expands access-event interfaces with page, targeting, usage, and renderer metadata.

Review effort: Balanced

@dackmin
dackmin merged commit 180d68e into master Nov 3, 2026
5 checks passed
@dackmin
dackmin deleted the fix/update-event-body-for-new-render branch November 3, 2026 09:34
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.

4 participants