@privy-io/react-auth 1.19.0-beta.4 → 1.19.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +126 -112
- package/dist/index.d.ts +3 -3
- package/dist/index.js +126 -112
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -716,9 +716,9 @@ declare class Http {
|
|
|
716
716
|
private defaults;
|
|
717
717
|
private sdkVersion;
|
|
718
718
|
constructor(appId: string, client: PrivyClient, defaults: DefaultsType);
|
|
719
|
-
get<T = any, R = AxiosResponse<T>, D = any>(path: string, config?: AxiosRequestConfig<D
|
|
720
|
-
post<T = any, R = AxiosResponse<T>, D = any>(path: string, data?: D, config?: AxiosRequestConfig<D
|
|
721
|
-
delete<T = any, R = AxiosResponse<T>, D = any>(path: string, config?: AxiosRequestConfig<D
|
|
719
|
+
get<T = any, R = AxiosResponse<T>, D = any>(path: string, config?: AxiosRequestConfig<D>, fetchAccessToken?: boolean): Promise<R>;
|
|
720
|
+
post<T = any, R = AxiosResponse<T>, D = any>(path: string, data?: D, config?: AxiosRequestConfig<D>, fetchAccessToken?: boolean): Promise<R>;
|
|
721
|
+
delete<T = any, R = AxiosResponse<T>, D = any>(path: string, config?: AxiosRequestConfig<D>, fetchAccessToken?: boolean): Promise<R>;
|
|
722
722
|
private buildConfig;
|
|
723
723
|
}
|
|
724
724
|
|