@selfcommunity/api-services 1.0.2 → 1.0.3-alpha.0

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.
@@ -36,7 +36,7 @@ export declare class SSOApiClient {
36
36
  The async function `SignUp` will return the user registration data. It takes the username and ext_id obj as body params.
37
37
 
38
38
  async SignUp() {
39
- const data = {username: 'string', ext_id: 'number'};
39
+ const data = {username: 'string', ext_id: 'string'};
40
40
  return await SSOService.SignUp(data);
41
41
  }
42
42
  ```
@@ -40,7 +40,7 @@ exports.SSOApiClient = SSOApiClient;
40
40
  The async function `SignUp` will return the user registration data. It takes the username and ext_id obj as body params.
41
41
 
42
42
  async SignUp() {
43
- const data = {username: 'string', ext_id: 'number'};
43
+ const data = {username: 'string', ext_id: 'string'};
44
44
  return await SSOService.SignUp(data);
45
45
  }
46
46
  ```
@@ -2,7 +2,7 @@
2
2
  * SSOSignUpParams
3
3
  */
4
4
  export interface SSOSignUpParams {
5
- ext_id?: number;
5
+ ext_id?: string;
6
6
  username: string;
7
7
  email: string;
8
8
  password?: string;
@@ -121,5 +121,5 @@ export interface DeleteProviderAssociation {
121
121
  /**
122
122
  * The external id of the user in the provider platform
123
123
  */
124
- ext_id: number;
124
+ ext_id: string;
125
125
  }
@@ -36,7 +36,7 @@ export declare class SSOApiClient {
36
36
  The async function `SignUp` will return the user registration data. It takes the username and ext_id obj as body params.
37
37
 
38
38
  async SignUp() {
39
- const data = {username: 'string', ext_id: 'number'};
39
+ const data = {username: 'string', ext_id: 'string'};
40
40
  return await SSOService.SignUp(data);
41
41
  }
42
42
  ```
@@ -36,7 +36,7 @@ export class SSOApiClient {
36
36
  The async function `SignUp` will return the user registration data. It takes the username and ext_id obj as body params.
37
37
 
38
38
  async SignUp() {
39
- const data = {username: 'string', ext_id: 'number'};
39
+ const data = {username: 'string', ext_id: 'string'};
40
40
  return await SSOService.SignUp(data);
41
41
  }
42
42
  ```
@@ -2,7 +2,7 @@
2
2
  * SSOSignUpParams
3
3
  */
4
4
  export interface SSOSignUpParams {
5
- ext_id?: number;
5
+ ext_id?: string;
6
6
  username: string;
7
7
  email: string;
8
8
  password?: string;
@@ -121,5 +121,5 @@ export interface DeleteProviderAssociation {
121
121
  /**
122
122
  * The external id of the user in the provider platform
123
123
  */
124
- ext_id: number;
124
+ ext_id: string;
125
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/api-services",
3
- "version": "1.0.2",
3
+ "version": "1.0.3-alpha.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "./lib/cjs/index.js",
@@ -58,7 +58,7 @@
58
58
  "access": "public"
59
59
  },
60
60
  "dependencies": {
61
- "@selfcommunity/types": "^1.0.2",
61
+ "@selfcommunity/types": "^1.0.3-alpha.0",
62
62
  "@selfcommunity/utils": "^1.0.2",
63
63
  "axios": "^1.4.0",
64
64
  "jose": "^4.14.4"
@@ -115,5 +115,5 @@
115
115
  "bugs": {
116
116
  "url": "https://github.com/selfcommunity/community-js/issues"
117
117
  },
118
- "gitHead": "889661a5469ff3ffb845e85fb6588832b5b3c91d"
118
+ "gitHead": "27dea7c1b425114f711363e7771fe4d7b1efb3eb"
119
119
  }