@lubusin/wp-frappe-data-store / createFrappeRequest
Function: createFrappeRequest()
createFrappeRequest(
config):FrappeRequest
Defined in: src/request.ts:53
Creates a default transport function (FrappeRequest) using native fetch based on store configuration.
Parameters
config
Store configuration providing baseUrl, headers, and credentials.
Returns
A transport function accepting request options and returning parsed JSON response bodies.