# kiteconnect-ts ## 3.0.0 ### Major Changes - f3bbc89: Use the runtime-native Fetch and WebSocket APIs across Node.js, Bun, and Deno. Add an optional custom fetch implementation to `KiteConnectParams` and preserve explicit `reconnect: false` settings for `KiteTicker`. ## 2.0.1 ### Patch Changes - 4897fb8: Fix `getHistoricalData` type ## 2.0.0 ### Major Changes - dd06106: Require Node.js 24 and modernize the package build pipeline with Bun and tsdown. Add support for recent Kite Connect order parameters and response types: - Add `MarketProtections.AUTO` and `market_protection` support for `placeOrder` and `modifyOrder`. - Add `autoslice` support for `placeOrder`, including exported `AutosliceChild` and `AutosliceOrderResponse` types. - Fix `getMargins` typings so `getMargins()` returns both segment margins, while `getMargins("equity")` and `getMargins("commodity")` return a single `UserMargin`. Refresh generated docs and package validation around the updated public API. ## 1.1.1 ### Patch Changes - abaa060: Upgrade deps - 1290e17: fix: Return `Date` object in socket order payload ## 1.1.0 ### Minor Changes - cf80baa: - Add tests - Fix `getQuotes`, `getLTP`, `getOHLC` to also accept single instrument as argument - Fix `MarginOrder` model - Remove dependency on `crypto-js` ## 1.0.1 ### Patch Changes - 67f21b0: Upgrade dependencies ## 1.0.0 ### Major Changes - ad715dd: Add types to KiteTicker event callbacks ## 0.5.0 ### Minor Changes - 5e7c7e9: Add enums for KiteConnect and KiteTicker. See [note on enum usage](https://github.com/anurag-roy/kiteconnect-ts#using-provided-enums) for more details. ## 0.4.5 ### Patch Changes - a018479: Fix return types for margin APIs when `compact` flag is true ## 0.4.4 ### Patch Changes - 0a89c53: Add notes on browser support ## 0.4.3 ### Patch Changes - 60d0dbb: fix: Configure axios params serializer - 0ed0c9f: fix: Add `change` to TickerQuote and TickerFull types fix: Make `modeFull`, `modeQuote` and `modeLTP` in KiteTicker non-static for better compatibility with kiteconnectjs ## 0.4.2 ### Patch Changes - 2a30929: fix: Allow axios to transform responses by default ## 0.4.1 ### Patch Changes - 21fce0a: fix: Make parameter optional in `getInstruments` ## 0.4.0 ### Minor Changes - b56ae78: Add KiteConnect module ## 0.3.1 ### Patch Changes - ff21cf7: Add types for tick packets ## 0.3.0 ### Minor Changes - 2e51217: Overall package rewrite to match existing `kiteconnect` APIs for easy migrations and compatibility with existing code.