@yourgpt/widget-web-sdk
Version:
Official YourGPT SDK for JavaScript/TypeScript and React applications
41 lines (35 loc) • 1.48 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.0] - 2024-01-XX
### Added
- Initial release of YourGPT SDK
- Core SDK for vanilla JavaScript/TypeScript integration
- React hooks package for React applications
- Complete TypeScript support with full type definitions
- Widget control methods (open, close, toggle, show, hide)
- Messaging functionality with auto-send option
- Advanced features (bottom sheets, games)
- Comprehensive data management (session, visitor, contact data)
- Event system with full event handling
- AI Actions support with confirmation dialogs
- Error handling with custom error types
- Utilities for common operations
- SSR support for server-side rendering
- Comprehensive test suite
- Full documentation and examples
### Features
- **Dual Package**: Both vanilla JS/TS and React-specific implementations
- **Tree-shakable**: Import only what you need
- **TypeScript**: Full type safety and IntelliSense support
- **React Hooks**: Modern React integration with hooks
- **AI Actions**: Register custom AI-powered actions
- **Event System**: Comprehensive event handling
- **Configurable**: Flexible configuration options
- **Cross-platform**: Works in all modern browsers
### Browser Support
- Chrome 80+
- Firefox 75+
- Safari 13+
- Edge 80+