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.
@@ -48,7 +48,7 @@ export default class Skapi {
48
48
  auth?: boolean;
49
49
  method?: string;
50
50
  bypassAwaitConnection?: boolean;
51
- responseType?: 'json' | 'blob' | 'text' | 'arrayBuffer' | 'formData' | 'document';
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 E-Mail has been sent.'>;
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
@@ -45,7 +45,7 @@ export default class Skapi {
45
45
  }
46
46
  }
47
47
  constructor(service, owner, options, __etc) {
48
- this.__version = '1.0.259';
48
+ this.__version = '1.0.261';
49
49
  this.session = null;
50
50
  this.connection = null;
51
51
  this.__my_unique_ids = {};
@@ -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 E-Mail has been sent.'>;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "1.0.260",
3
+ "version": "1.0.261",
4
4
  "description": "Serverless Backend API for HTML frontend.",
5
5
  "main": "js/Main.js",
6
6
  "browser": "dist/skapi.js",