Configuration options for initializing the WorkspaceAPI client.
Base URL of the Brave Ship API.
'https://api.farmart.com/api/v1' Copy
'https://api.farmart.com/api/v1'
Function that retrieves the current Firebase authentication token. This will be called before each API request to ensure fresh authentication.
Promise resolving to a JWT token string
getIdToken: async () => { const user = getAuth().currentUser; if (!user) throw new Error('Not authenticated'); return await user.getIdToken();} Copy
getIdToken: async () => { const user = getAuth().currentUser; if (!user) throw new Error('Not authenticated'); return await user.getIdToken();}
Configuration options for initializing the WorkspaceAPI client.