whio-api-sdk 1.0.160 → 1.0.161

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.
@@ -18,7 +18,7 @@ export declare class ApiSDK {
18
18
  getCurrentUser(): User | null;
19
19
  getAccessToken(): string | null;
20
20
  getRefreshToken(): string | null;
21
- private createUser;
21
+ createUser(firstName: string, lastName: string, email: string, password: string): Promise<User>;
22
22
  private assignRoleToUser;
23
23
  assignEditorToRoleToUser(userId: string, organizationId?: string): Promise<User>;
24
24
  assignAdminToRoleToUser(userId: string, organizationId?: string): Promise<User>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whio-api-sdk",
3
- "version": "1.0.160",
3
+ "version": "1.0.161",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
package/src/sdk/sdk.ts CHANGED
@@ -206,7 +206,7 @@ export class ApiSDK {
206
206
  return this.refreshToken;
207
207
  }
208
208
 
209
- private async createUser(
209
+ public async createUser(
210
210
  firstName: string, lastName: string,
211
211
  email: string, password: string): Promise<User> {
212
212