PriceOSProvider configures auth and backend settings for all PriceOS React hooks.
Usage
Parameters
Your app tree that will use PriceOS hooks.
Returns a bearer token that is sent as
Authorization: Bearer ... to your backend handler routes.
Type: () => Promise<string | null | undefined>.
Use this when your backend requires authenticated requests.Base URL for your PriceOS handler routes.
Default:
/api/priceos.
Use this if your handlers are mounted somewhere else, for example https://api.yourapp.com/priceos.Controls SDK logging output in the browser.
Allowed values:
"none" | "error" | "warn" | "info" | "debug".
Default: "error".