@base44-preview/sdk 0.7.3-pr.30.0aa029e → 0.7.3-pr.30.196c2fc
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/client.d.ts +0 -8
- package/dist/modules/auth.d.ts +0 -4
- package/dist/modules/auth.js +0 -3
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -84,10 +84,6 @@ export declare function createClient(config: {
|
|
|
84
84
|
otpCode: string;
|
|
85
85
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
86
86
|
resendOtp(email: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
87
|
-
loginViaUsernamePassword({ email, password, }: {
|
|
88
|
-
email: string;
|
|
89
|
-
password: string;
|
|
90
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
91
87
|
resetPasswordRequest(email: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
92
88
|
resetPassword({ resetToken, newPassword, }: {
|
|
93
89
|
resetToken: string;
|
|
@@ -177,10 +173,6 @@ export declare function createClientFromRequest(request: Request): {
|
|
|
177
173
|
otpCode: string;
|
|
178
174
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
179
175
|
resendOtp(email: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
180
|
-
loginViaUsernamePassword({ email, password, }: {
|
|
181
|
-
email: string;
|
|
182
|
-
password: string;
|
|
183
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
184
176
|
resetPasswordRequest(email: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
185
177
|
resetPassword({ resetToken, newPassword, }: {
|
|
186
178
|
resetToken: string;
|
package/dist/modules/auth.d.ts
CHANGED
|
@@ -68,10 +68,6 @@ export declare function createAuthModule(axios: AxiosInstance, functionsAxiosCli
|
|
|
68
68
|
otpCode: string;
|
|
69
69
|
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
70
|
resendOtp(email: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
-
loginViaUsernamePassword({ email, password, }: {
|
|
72
|
-
email: string;
|
|
73
|
-
password: string;
|
|
74
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
75
71
|
resetPasswordRequest(email: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
76
72
|
resetPassword({ resetToken, newPassword, }: {
|
|
77
73
|
resetToken: string;
|
package/dist/modules/auth.js
CHANGED
|
@@ -159,9 +159,6 @@ export function createAuthModule(axios, functionsAxiosClient, appId, options) {
|
|
|
159
159
|
resendOtp(email) {
|
|
160
160
|
return axios.post(`/apps/${appId}/auth/resend-otp`, { email });
|
|
161
161
|
},
|
|
162
|
-
loginViaUsernamePassword({ email, password, }) {
|
|
163
|
-
return axios.post(`/apps/${appId}/auth/login`, { email, password });
|
|
164
|
-
},
|
|
165
162
|
resetPasswordRequest(email) {
|
|
166
163
|
return axios.post(`/apps/${appId}/auth/reset-password-request`, {
|
|
167
164
|
email,
|