Skip to content

Conversation

@chrisle
Copy link

@chrisle chrisle commented Sep 26, 2025

  • feat: add multi-auth support, OAuth implementation, and comprehensive test suite
    • Added automatic OAuth token refresh functionality
    • Added support for all 7 OAuth scopes (user:read, channel:read, channel:write, chat:write, streamkey:read, events:subscribe, moderation:ban)
    • Added comprehensive public API methods (categories, channels, events, livestreams, users, moderation)
    • Added cross-channel messaging support
    • Added comprehensive chatbot example with OAuth authentication
    • Updated README with detailed Quick Start guide and feature list
    • Added 147+ tests with comprehensive coverage

… test suite

- Implement multi-authentication system supporting both OAuth and login/tokens simultaneously
- Add OAuth 2.1 server with PKCE for token generation (getOauthTokens utility)
- Separate public APIs (OAuth) and private APIs (login/tokens/scraping)
- Add comprehensive test suite with unit and integration tests
- Fix Puppeteer memory leaks in authentication
- Add cross-channel messaging support
- Update documentation with features table, testing guide, and multi-auth examples
- Add vitest configuration for sequential test execution
- Reorganize examples with OAuth and chat bot examples
@chrisle chrisle marked this pull request as ready for review September 26, 2025 20:07
@retconned
Copy link
Owner

Thank you for the PR i'll review this and see how it fits with vision for the library 👍🏻

chrisle and others added 2 commits September 27, 2025 09:32
- Add getFeaturedLivestreams() function to fetch featured live channels from Kick.com
- Support multiple language codes (e.g., 'en', 'sq,ar') with automatic URL encoding
- Support sorting options: 'viewers_high_to_low', 'viewers_low_to_high', 'recommended'
- Add KickFeaturedLivestreams and FeaturedLivestream TypeScript types
- Add comprehensive integration tests for featured livestreams API
- Add WebSocket integration test that validates real-time chat message reception
- Integration test connects to live channels and verifies message structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
… token refresh

- Add onTokenRefresh callback option to ClientOptions for custom token refresh handling
- Implement automatic 401 error detection and token refresh retry for all public API methods
- Enhance disconnect() and removeAllListeners() for better WebSocket cleanup
- Add comprehensive test coverage for token refresh scenarios and disconnect functionality
- Add package-lock.json for dependency locking
@chrisle chrisle force-pushed the main branch 4 times, most recently from 7ef703d to 7ec1564 Compare September 30, 2025 01:23
- Add detailed logging for browser launch and navigation timing
- Log response headers to detect Cloudflare blocking
- Log page content to diagnose HTML vs JSON responses
- Improve debugging capabilities in Docker environments
- Update changelog and bump version to 0.8.1
@kezzkezzkezz
Copy link

Added cross-channel messaging support is such a want

@retconned
Copy link
Owner

Sorry for the late reply but i'll take a look at this on monday

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.

3 participants