@genesislcap/foundation-login 14.67.6-alpha-5078280.0 → 14.68.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sso.d.ts","sourceRoot":"","sources":["../../../src/utils/sso.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAe,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"sso.d.ts","sourceRoot":"","sources":["../../../src/utils/sso.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAe,MAAM,iBAAiB,CAAC;AAkBxD;;;;GAIG;AACH,eAAO,MAAM,cAAc,oDAK1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,oCAA+C,QAAQ,GAAG,EAAE,CAkBjF,CAAC"}
|
package/dist/esm/utils/sso.js
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
import { API_HOST } from '@genesislcap/foundation-utils';
|
|
3
3
|
import { logger } from './logger';
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
4
7
|
const getAPIHostHTTPURL = (host = API_HOST, includePath = false) => {
|
|
5
8
|
const url = new URL(host);
|
|
6
9
|
const protocol = url.protocol.replace('ws', 'http');
|
|
7
10
|
const path = includePath ? url.pathname : '';
|
|
8
11
|
return `${protocol}//${url.host}${path}`;
|
|
9
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
10
16
|
const getIPDEndpoint = (path, host) => `${getAPIHostHTTPURL(host)}/${path}`;
|
|
11
17
|
/**
|
|
12
18
|
* Get SSO identity provider login URL
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-login",
|
|
3
3
|
"description": "Genesis Foundation Login",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.68.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-login.d.ts",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"test:debug": "genx test --debug"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@genesislcap/foundation-testing": "14.
|
|
53
|
-
"@genesislcap/genx": "14.
|
|
52
|
+
"@genesislcap/foundation-testing": "14.68.0",
|
|
53
|
+
"@genesislcap/genx": "14.68.0",
|
|
54
54
|
"rimraf": "^3.0.2"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@genesislcap/foundation-comms": "14.
|
|
58
|
-
"@genesislcap/foundation-ui": "14.
|
|
59
|
-
"@genesislcap/foundation-utils": "14.
|
|
60
|
-
"@genesislcap/foundation-zero": "14.
|
|
57
|
+
"@genesislcap/foundation-comms": "14.68.0",
|
|
58
|
+
"@genesislcap/foundation-ui": "14.68.0",
|
|
59
|
+
"@genesislcap/foundation-utils": "14.68.0",
|
|
60
|
+
"@genesislcap/foundation-zero": "14.68.0",
|
|
61
61
|
"@microsoft/fast-components": "^2.21.3",
|
|
62
62
|
"@microsoft/fast-element": "^1.7.0",
|
|
63
63
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"customElements": "dist/custom-elements.json",
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "7d9d99e30e5f1b77e1ece7d72f9657d6a801795d"
|
|
78
78
|
}
|