Skip to content

refactor(offerwall): don't expose private methods on element#622

Merged
sidvishnoi merged 1 commit intomainfrom
offerwall-private-methods
Mar 19, 2026
Merged

refactor(offerwall): don't expose private methods on element#622
sidvishnoi merged 1 commit intomainfrom
offerwall-private-methods

Conversation

@sidvishnoi
Copy link
Copy Markdown
Member

Don't expose elem.setScreen, which can let anyone change offerwall screen using document.querySelector(offerwall_elem).
Instead, safely return Actions when setting controller.

@sidvishnoi sidvishnoi requested a review from DarianM March 18, 2026 12:08
@github-actions
Copy link
Copy Markdown

Deployment results

Worker Alias URL Outcome
API - staging success
CDN - 1b1f48b7 success
App - ad4eed2b success

Logs #23243941018

@sidvishnoi sidvishnoi merged commit 8d46f74 into main Mar 19, 2026
5 checks passed
@sidvishnoi sidvishnoi deleted the offerwall-private-methods branch March 19, 2026 09:38
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.

2 participants