@magda/authentication-plugin-sdk 5.0.0-alpha.1 → 5.0.0-alpha.2
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/dist/index.js +1 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -43033,8 +43033,7 @@ function profileToUser(profile, source) {
|
|
|
43033
43033
|
email: profile.emails[0].value,
|
|
43034
43034
|
photoURL: profile.photos && profile.photos.length > 0 ? profile.photos[0].value : void 0,
|
|
43035
43035
|
source,
|
|
43036
|
-
sourceId: profile.id
|
|
43037
|
-
isAdmin: false
|
|
43036
|
+
sourceId: profile.id
|
|
43038
43037
|
};
|
|
43039
43038
|
}
|
|
43040
43039
|
function userToUserToken(user) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magda/authentication-plugin-sdk",
|
|
3
3
|
"description": "MAGDA Authentication Plugin SDK",
|
|
4
|
-
"version": "5.0.0-alpha.
|
|
4
|
+
"version": "5.0.0-alpha.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./dist/index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"main": "dist/index.js",
|
|
24
24
|
"types": "dist/index.d.ts",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@magda/auth-api-client": "^5.0.0-alpha.
|
|
27
|
-
"@magda/typescript-common": "^5.0.0-alpha.
|
|
26
|
+
"@magda/auth-api-client": "^5.0.0-alpha.2",
|
|
27
|
+
"@magda/typescript-common": "^5.0.0-alpha.2",
|
|
28
28
|
"@types/express-session": "^1.18.1",
|
|
29
29
|
"@types/lodash": "^4.14.74",
|
|
30
30
|
"@types/pg": "^8.6.5",
|