@reactor/client — reactorclientoptions
@reactor/client / ReactorClientOptions
Interface: ReactorClientOptions
Section titled “Interface: ReactorClientOptions”Defined in: index.ts:51
Options for creating a Reactor client.
Properties
Section titled “Properties”analytics?
Section titled “analytics?”
optionalanalytics?:Omit<AnalyticsConfig,"projectKey"|"endpoint"> &object
Defined in: index.ts:63
Analytics-specific options
Type Declaration
Section titled “Type Declaration”enabled?
Section titled “enabled?”
optionalenabled?:boolean
optionalauth?:any
Defined in: index.ts:61
Auth-specific options
fetch?
Section titled “fetch?”
optionalfetch?: (input,init?) =>Promise<Response>
Defined in: index.ts:57
Custom fetch implementation
Parameters
Section titled “Parameters”RequestInfo | URL
RequestInit
Returns
Section titled “Returns”Promise<Response>
headers?
Section titled “headers?”
optionalheaders?:Record<string,string>
Defined in: index.ts:59
Global headers for all requests
optionalkey?:string
Defined in: index.ts:53
Project key (anon key) - safe for browser bundles
optionalorg?:string
Defined in: index.ts:55
Default organization context
storage?
Section titled “storage?”
optionalstorage?:any
Defined in: index.ts:65
Custom storage adapter for session persistence