Parameters used to customise the http requests executed by purchases-js.

interface HttpConfig {
    additionalHeaders?: Record<string, string>;
    proxyURL?: string;
}

Properties

additionalHeaders?: Record<string, string>

Additional headers to include in all HTTP requests.

proxyURL?: string

Set this property to your proxy URL only if you've received a proxy key value from your RevenueCat contact. This value should never end with a trailing slash.