skapi-js 1.0.49 → 1.0.50

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/js/Types.d.ts CHANGED
@@ -122,6 +122,10 @@ export type UserAttributes = {
122
122
  gender_public?: boolean;
123
123
  birthdate_public?: boolean;
124
124
  misc?: string;
125
+ picture?: string;
126
+ profile?: string;
127
+ website?: string;
128
+ nickname?: string;
125
129
  };
126
130
  export type UserProfile = {
127
131
  service: string;
@@ -155,6 +159,10 @@ export type PublicUser = {
155
159
  access_group: number;
156
160
  user_id: string;
157
161
  locale: string;
162
+ picture?: string;
163
+ profile?: string;
164
+ website?: string;
165
+ nickname?: string;
158
166
  };
159
167
  export type ProgressCallback = (e: {
160
168
  status: 'upload' | 'download';
@@ -158,7 +158,7 @@ export default class Skapi {
158
158
  resendSignupConfirmation(redirect: string): Promise<'SUCCESS: Signup confirmation E-Mail has been sent.'>;
159
159
  recoverAccount(redirect?: boolean | string): Promise<"SUCCESS: Recovery e-mail has been sent.">;
160
160
  getUsers(params?: {
161
- searchFor: 'user_id' | 'email' | 'phone_number' | 'locale' | 'name' | 'address' | 'gender' | 'birthdate';
161
+ searchFor: 'user_id' | 'email' | 'phone_number' | 'locale' | 'name' | 'address' | 'gender' | 'birthdate' | 'subscribers' | 'timestamp';
162
162
  value: string | number | boolean;
163
163
  condition?: '>' | '>=' | '=' | '<' | '<=' | '!=' | 'gt' | 'gte' | 'eq' | 'lt' | 'lte' | 'ne';
164
164
  range?: string | number | boolean;
package/js/main/skapi.js CHANGED
@@ -23,7 +23,7 @@ export default class Skapi {
23
23
  set user(value) {
24
24
  }
25
25
  constructor(service, owner, options, __etc) {
26
- this.version = '1.0.49';
26
+ this.version = '1.0.50';
27
27
  this.session = null;
28
28
  this.connection = null;
29
29
  this.host = 'skapi';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Skapi: Backend API Library for HTML frontend.",
5
5
  "main": "./dist/skapi.module.js",
6
6
  "types": "./js/Main.d.ts",