📄️ Main Component
The package provides a component that contains almost the whole logic you need to manage your toggles
📄️ Binary Operators
The package also provides a set of binary operators that can be used to combine the evaluation of different features. The operators are:
📄️ searchNewTokenAndUpdate
The searchNewTokenAndUpdate function can be used within a response interceptor to search for the New-Token header in the response and, if present, update the pricing evaluation context. The following snippet shows an example of its use within an Axios interceptor: