TypeScript SDK
Bridge provides a TypeScript client for interacting with the Bridge API. This SDK simplifies API integration by providing type-safe methods, automatic authentication handling, and built-in error handling.
Features
- Type Safety: Full TypeScript support with generated types from our API specification
- Authentication: Automatic token management and refresh handling
- Error Handling: Comprehensive error handling with detailed error messages
- Request/Response Validation: Built-in validation for all API requests and responses
- Modern JavaScript: ES6+ features with async/await support
Installation
Install the SDK from npm:
Or using yarn: