@finos/legend-server-sdlc
Advanced tools
Comparing version 0.0.12 to 0.0.14
# @finos/legend-server-sdlc | ||
## 0.0.14 | ||
## 0.0.13 | ||
## 0.0.12 | ||
@@ -4,0 +8,0 @@ |
@@ -48,2 +48,6 @@ /** | ||
static authorizeCallbackUrl: (authenticationServerUrl: string, callbackURI: string) => string; | ||
/** | ||
* We expose this URL because it is needed for developer to authenticate using SDLC server during development. | ||
*/ | ||
get currentUserUrl(): string; | ||
getCurrentUser: () => Promise<PlainObject<User>>; | ||
@@ -50,0 +54,0 @@ private _auth; |
@@ -56,3 +56,9 @@ /** | ||
// ------------------------------------------- User ------------------------------------------- | ||
getCurrentUser = () => this.networkClient.get(`${this.networkClient.baseUrl}/currentUser`); | ||
/** | ||
* We expose this URL because it is needed for developer to authenticate using SDLC server during development. | ||
*/ | ||
get currentUserUrl() { | ||
return `${this.networkClient.baseUrl}/currentUser`; | ||
} | ||
getCurrentUser = () => this.networkClient.get(this.currentUserUrl); | ||
// ------------------------------------------- Authorization ------------------------------------------- | ||
@@ -59,0 +65,0 @@ _auth = () => `${this.networkClient.baseUrl}/auth`; |
{ | ||
"name": "@finos/legend-server-sdlc", | ||
"version": "0.0.12", | ||
"version": "0.0.14", | ||
"description": "Legend SDLC server client", | ||
@@ -39,5 +39,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@finos/legend-model-storage": "0.0.11", | ||
"@finos/legend-shared": "1.0.1", | ||
"mobx": "6.3.8", | ||
"@finos/legend-model-storage": "0.0.12", | ||
"@finos/legend-shared": "1.0.2", | ||
"mobx": "6.3.9", | ||
"mobx-react-lite": "3.2.2", | ||
@@ -48,9 +48,9 @@ "react": "17.0.2", | ||
"devDependencies": { | ||
"@finos/legend-dev-utils": "0.3.1", | ||
"@finos/legend-dev-utils": "0.3.3", | ||
"cross-env": "7.0.3", | ||
"eslint": "8.4.0", | ||
"jest": "27.4.3", | ||
"eslint": "8.4.1", | ||
"jest": "27.4.5", | ||
"npm-run-all": "4.1.5", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.5.2" | ||
"typescript": "4.5.4" | ||
}, | ||
@@ -57,0 +57,0 @@ "publishConfig": { |
@@ -106,4 +106,10 @@ /** | ||
/** | ||
* We expose this URL because it is needed for developer to authenticate using SDLC server during development. | ||
*/ | ||
get currentUserUrl(): string { | ||
return `${this.networkClient.baseUrl}/currentUser`; | ||
} | ||
getCurrentUser = (): Promise<PlainObject<User>> => | ||
this.networkClient.get(`${this.networkClient.baseUrl}/currentUser`); | ||
this.networkClient.get(this.currentUserUrl); | ||
@@ -110,0 +116,0 @@ // ------------------------------------------- Authorization ------------------------------------------- |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
253738
4365
+ Added@finos/legend-model-storage@0.0.12(transitive)
+ Added@finos/legend-shared@1.0.2(transitive)
+ Addedmobx@6.3.9(transitive)
- Removed@finos/legend-model-storage@0.0.11(transitive)
- Removed@finos/legend-shared@1.0.1(transitive)
- Removedmobx@6.3.8(transitive)
Updated@finos/legend-shared@1.0.2
Updatedmobx@6.3.9