Skip to content

Conversation

@itsmeadi
Copy link
Contributor

@itsmeadi itsmeadi commented Feb 9, 2026

  • Add client.flagUser() method for flagging users
  • Add user.flag() method for flagging user instances
  • Implements POST /moderation/flag endpoint
  • Requires server-side authentication (API secret)
  • Add FlagUserOptions and FlagAPIResponse TypeScript types
  • Add unit tests for flagUser method
  • Add integration tests with real API validation
  • Update README.md with usage examples
  • Update CHANGELOG.md

Tests:

  • Unit tests: 142/142 passing
  • Integration tests: 4/4 passing

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2026

Size Change: 0 B

Total Size: 109 kB

ℹ️ View Unchanged
Filename Size
dist/js_min/getstream.js 35.5 kB
dist/js/getstream.js 73.9 kB

compressed-size-action

- Add client.flagUser() method for flagging users
- Add user.flag() method for flagging user instances
- Implements POST /moderation/flag endpoint
- Requires server-side authentication (API secret)
- Add FlagUserOptions and FlagAPIResponse TypeScript types
- Add unit tests for flagUser method
- Add integration tests with real API validation
- Update README.md with usage examples
- Update CHANGELOG.md

Tests:
- Unit tests: 142/142 passing
- Integration tests: 4/4 passing
Skip the following integration tests that require endpoints not enabled:
- delete activities
- delete reactions
- export user data

These tests get 403 'endpoint not enabled for this app' in CI environment.
@itsmeadi itsmeadi enabled auto-merge (squash) February 10, 2026 14:06
@itsmeadi itsmeadi merged commit cd291a1 into main Feb 10, 2026
8 checks passed
@itsmeadi itsmeadi deleted the feat/user-flagging branch February 10, 2026 14:10
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