skapi-js 1.0.260 → 1.0.261
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/bundle-report-commonjs.html +2 -2
- package/dist/bundle-report.html +2 -2
- package/dist/skapi.cjs +1 -1
- package/dist/skapi.cjs.map +1 -1
- package/dist/skapi.js +1 -1
- package/dist/skapi.js.map +1 -1
- package/js/main/skapi.d.ts +2 -2
- package/js/main/skapi.js +1 -1
- package/js/methods/user.d.ts +1 -1
- package/package.json +1 -1
package/js/main/skapi.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export default class Skapi {
|
|
|
48
48
|
auth?: boolean;
|
|
49
49
|
method?: string;
|
|
50
50
|
bypassAwaitConnection?: boolean;
|
|
51
|
-
responseType?:
|
|
51
|
+
responseType?: "json" | "blob" | "text" | "arrayBuffer" | "formData" | "document";
|
|
52
52
|
contentType?: string;
|
|
53
53
|
}) => Promise<any>;
|
|
54
54
|
};
|
|
@@ -266,7 +266,7 @@ export default class Skapi {
|
|
|
266
266
|
number_of_records: string;
|
|
267
267
|
}>>;
|
|
268
268
|
deleteRecords(params: DelRecordQuery, fetchOptions?: FetchOptions): Promise<string | DatabaseResponse<RecordData>>;
|
|
269
|
-
resendSignupConfirmation(): Promise<'SUCCESS: Signup confirmation
|
|
269
|
+
resendSignupConfirmation(): Promise<'SUCCESS: Signup confirmation e-mail has been sent.'>;
|
|
270
270
|
recoverAccount(redirect?: boolean | string): Promise<"SUCCESS: Recovery e-mail has been sent.">;
|
|
271
271
|
getUsers(params?: {
|
|
272
272
|
searchFor: 'user_id' | 'email' | 'phone_number' | 'locale' | 'name' | 'address' | 'gender' | 'birthdate' | 'subscribers' | 'timestamp' | 'approved';
|
package/js/main/skapi.js
CHANGED
package/js/methods/user.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare function _out(global?: boolean): Promise<any>;
|
|
|
116
116
|
export declare function logout(params?: Form<{
|
|
117
117
|
global: boolean;
|
|
118
118
|
}>): Promise<'SUCCESS: The user has been logged out.'>;
|
|
119
|
-
export declare function resendSignupConfirmation(): Promise<'SUCCESS: Signup confirmation
|
|
119
|
+
export declare function resendSignupConfirmation(): Promise<'SUCCESS: Signup confirmation e-mail has been sent.'>;
|
|
120
120
|
export declare function recoverAccount(redirect?: boolean | string): Promise<"SUCCESS: Recovery e-mail has been sent.">;
|
|
121
121
|
export declare function login(form: Form<{
|
|
122
122
|
username?: string;
|