@globus/sdk 3.0.0-alpha.14 → 3.0.0-alpha.16
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/cjs/index.d.ts +1 -0
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +2 -1
- package/cjs/index.js.map +1 -1
- package/cjs/lib/core/authorization/AuthorizationManager.d.ts +38 -15
- package/cjs/lib/core/authorization/AuthorizationManager.d.ts.map +1 -1
- package/cjs/lib/core/authorization/AuthorizationManager.js +94 -18
- package/cjs/lib/core/authorization/AuthorizationManager.js.map +1 -1
- package/cjs/lib/core/authorization/RedirectTransport.d.ts +4 -0
- package/cjs/lib/core/authorization/RedirectTransport.d.ts.map +1 -1
- package/cjs/lib/core/authorization/RedirectTransport.js +16 -0
- package/cjs/lib/core/authorization/RedirectTransport.js.map +1 -1
- package/cjs/lib/core/authorization/TokenLookup.d.ts +2 -2
- package/cjs/lib/core/authorization/TokenLookup.d.ts.map +1 -1
- package/cjs/lib/core/authorization/TokenLookup.js +23 -11
- package/cjs/lib/core/authorization/TokenLookup.js.map +1 -1
- package/cjs/lib/core/authorization/tokens.d.ts +1 -0
- package/cjs/lib/core/authorization/tokens.d.ts.map +1 -1
- package/cjs/lib/core/authorization/tokens.js +1 -0
- package/cjs/lib/core/authorization/tokens.js.map +1 -1
- package/cjs/lib/core/global.d.ts +7 -7
- package/cjs/lib/core/logger.d.ts +2 -2
- package/cjs/lib/core/logger.d.ts.map +1 -1
- package/cjs/lib/core/logger.js +3 -3
- package/cjs/lib/core/logger.js.map +1 -1
- package/cjs/lib/services/auth/config.d.ts +1 -1
- package/cjs/lib/services/auth/config.d.ts.map +1 -1
- package/cjs/lib/services/auth/config.js.map +1 -1
- package/cjs/lib/services/auth/index.d.ts +3 -16
- package/cjs/lib/services/auth/index.d.ts.map +1 -1
- package/cjs/lib/services/auth/index.js +13 -2
- package/cjs/lib/services/auth/index.js.map +1 -1
- package/cjs/lib/services/auth/service/oauth2/index.d.ts +3 -0
- package/cjs/lib/services/auth/service/oauth2/index.d.ts.map +1 -1
- package/cjs/lib/services/auth/service/oauth2/index.js +11 -1
- package/cjs/lib/services/auth/service/oauth2/index.js.map +1 -1
- package/cjs/lib/services/auth/service/oauth2/token.d.ts +19 -1
- package/cjs/lib/services/auth/service/oauth2/token.d.ts.map +1 -1
- package/cjs/lib/services/auth/service/oauth2/token.js +16 -1
- package/cjs/lib/services/auth/service/oauth2/token.js.map +1 -1
- package/cjs/lib/services/auth/types.d.ts +40 -12
- package/cjs/lib/services/auth/types.d.ts.map +1 -1
- package/cjs/lib/services/compute/config.d.ts +1 -1
- package/cjs/lib/services/compute/config.d.ts.map +1 -1
- package/cjs/lib/services/compute/config.js.map +1 -1
- package/cjs/lib/services/compute/index.d.ts +1 -0
- package/cjs/lib/services/compute/index.d.ts.map +1 -1
- package/cjs/lib/services/compute/index.js +2 -1
- package/cjs/lib/services/compute/index.js.map +1 -1
- package/cjs/lib/services/compute/service/endpoints.d.ts +24 -0
- package/cjs/lib/services/compute/service/endpoints.d.ts.map +1 -0
- package/cjs/lib/services/compute/service/endpoints.js +29 -0
- package/cjs/lib/services/compute/service/endpoints.js.map +1 -0
- package/cjs/lib/services/flows/config.d.ts +1 -1
- package/cjs/lib/services/flows/config.d.ts.map +1 -1
- package/cjs/lib/services/flows/config.js.map +1 -1
- package/cjs/lib/services/globus-connect-server/client.d.ts +443 -88
- package/cjs/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/cjs/lib/services/groups/config.d.ts +1 -1
- package/cjs/lib/services/groups/config.d.ts.map +1 -1
- package/cjs/lib/services/groups/config.js.map +1 -1
- package/cjs/lib/services/search/config.d.ts +1 -1
- package/cjs/lib/services/search/config.d.ts.map +1 -1
- package/cjs/lib/services/search/config.js.map +1 -1
- package/cjs/lib/services/timer/config.d.ts +1 -1
- package/cjs/lib/services/timer/config.d.ts.map +1 -1
- package/cjs/lib/services/timer/config.js.map +1 -1
- package/cjs/lib/services/transfer/config.d.ts +1 -1
- package/cjs/lib/services/transfer/config.d.ts.map +1 -1
- package/cjs/lib/services/transfer/config.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/lib/core/authorization/AuthorizationManager.d.ts +38 -15
- package/esm/lib/core/authorization/AuthorizationManager.d.ts.map +1 -1
- package/esm/lib/core/authorization/AuthorizationManager.js +95 -19
- package/esm/lib/core/authorization/AuthorizationManager.js.map +1 -1
- package/esm/lib/core/authorization/RedirectTransport.d.ts +4 -0
- package/esm/lib/core/authorization/RedirectTransport.d.ts.map +1 -1
- package/esm/lib/core/authorization/RedirectTransport.js +16 -0
- package/esm/lib/core/authorization/RedirectTransport.js.map +1 -1
- package/esm/lib/core/authorization/TokenLookup.d.ts +2 -2
- package/esm/lib/core/authorization/TokenLookup.d.ts.map +1 -1
- package/esm/lib/core/authorization/TokenLookup.js +24 -12
- package/esm/lib/core/authorization/TokenLookup.js.map +1 -1
- package/esm/lib/core/authorization/tokens.d.ts +1 -0
- package/esm/lib/core/authorization/tokens.d.ts.map +1 -1
- package/esm/lib/core/authorization/tokens.js +1 -0
- package/esm/lib/core/authorization/tokens.js.map +1 -1
- package/esm/lib/core/global.d.ts +7 -7
- package/esm/lib/core/logger.d.ts +2 -2
- package/esm/lib/core/logger.d.ts.map +1 -1
- package/esm/lib/core/logger.js +3 -3
- package/esm/lib/core/logger.js.map +1 -1
- package/esm/lib/services/auth/config.d.ts +1 -1
- package/esm/lib/services/auth/config.d.ts.map +1 -1
- package/esm/lib/services/auth/config.js.map +1 -1
- package/esm/lib/services/auth/index.d.ts +3 -16
- package/esm/lib/services/auth/index.d.ts.map +1 -1
- package/esm/lib/services/auth/index.js +10 -1
- package/esm/lib/services/auth/index.js.map +1 -1
- package/esm/lib/services/auth/service/oauth2/index.d.ts +3 -0
- package/esm/lib/services/auth/service/oauth2/index.d.ts.map +1 -1
- package/esm/lib/services/auth/service/oauth2/index.js +10 -0
- package/esm/lib/services/auth/service/oauth2/index.js.map +1 -1
- package/esm/lib/services/auth/service/oauth2/token.d.ts +19 -1
- package/esm/lib/services/auth/service/oauth2/token.d.ts.map +1 -1
- package/esm/lib/services/auth/service/oauth2/token.js +15 -0
- package/esm/lib/services/auth/service/oauth2/token.js.map +1 -1
- package/esm/lib/services/auth/types.d.ts +40 -12
- package/esm/lib/services/auth/types.d.ts.map +1 -1
- package/esm/lib/services/compute/config.d.ts +1 -1
- package/esm/lib/services/compute/config.d.ts.map +1 -1
- package/esm/lib/services/compute/config.js.map +1 -1
- package/esm/lib/services/compute/index.d.ts +1 -0
- package/esm/lib/services/compute/index.d.ts.map +1 -1
- package/esm/lib/services/compute/index.js +1 -0
- package/esm/lib/services/compute/index.js.map +1 -1
- package/esm/lib/services/compute/service/endpoints.d.ts +24 -0
- package/esm/lib/services/compute/service/endpoints.d.ts.map +1 -0
- package/esm/lib/services/compute/service/endpoints.js +26 -0
- package/esm/lib/services/compute/service/endpoints.js.map +1 -0
- package/esm/lib/services/flows/config.d.ts +1 -1
- package/esm/lib/services/flows/config.d.ts.map +1 -1
- package/esm/lib/services/flows/config.js.map +1 -1
- package/esm/lib/services/globus-connect-server/client.d.ts +443 -88
- package/esm/lib/services/globus-connect-server/client.d.ts.map +1 -1
- package/esm/lib/services/groups/config.d.ts +1 -1
- package/esm/lib/services/groups/config.d.ts.map +1 -1
- package/esm/lib/services/groups/config.js.map +1 -1
- package/esm/lib/services/search/config.d.ts +1 -1
- package/esm/lib/services/search/config.d.ts.map +1 -1
- package/esm/lib/services/search/config.js.map +1 -1
- package/esm/lib/services/timer/config.d.ts +1 -1
- package/esm/lib/services/timer/config.d.ts.map +1 -1
- package/esm/lib/services/timer/config.js.map +1 -1
- package/esm/lib/services/transfer/config.d.ts +1 -1
- package/esm/lib/services/transfer/config.d.ts.map +1 -1
- package/esm/lib/services/transfer/config.js.map +1 -1
- package/package.json +4 -3
- package/umd/globus.production.js +1 -1
- package/cjs/lib/services/compute/service/timer.d.ts +0 -6
- package/cjs/lib/services/compute/service/timer.d.ts.map +0 -1
- package/cjs/lib/services/compute/service/timer.js +0 -14
- package/cjs/lib/services/compute/service/timer.js.map +0 -1
- package/esm/lib/services/compute/service/timer.d.ts +0 -6
- package/esm/lib/services/compute/service/timer.d.ts.map +0 -1
- package/esm/lib/services/compute/service/timer.js +0 -11
- package/esm/lib/services/compute/service/timer.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
var _TokenLookup_instances, _TokenLookup_manager, _TokenLookup_getTokenForService;
|
|
2
2
|
import { __classPrivateFieldGet, __classPrivateFieldSet } from "tslib";
|
|
3
3
|
import { getStorage } from '../storage/index.js';
|
|
4
|
-
import { CONFIG } from '../../services/auth/index.js';
|
|
4
|
+
import { CONFIG, isToken } from '../../services/auth/index.js';
|
|
5
|
+
import { SERVICES } from '../global.js';
|
|
5
6
|
export class TokenLookup {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
_TokenLookup_instances.add(this);
|
|
@@ -9,28 +10,28 @@ export class TokenLookup {
|
|
|
9
10
|
__classPrivateFieldSet(this, _TokenLookup_manager, options.manager, "f");
|
|
10
11
|
}
|
|
11
12
|
get auth() {
|
|
12
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
13
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.AUTH);
|
|
13
14
|
}
|
|
14
15
|
get transfer() {
|
|
15
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
16
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.TRANSFER);
|
|
16
17
|
}
|
|
17
18
|
get flows() {
|
|
18
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
19
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.FLOWS);
|
|
19
20
|
}
|
|
20
21
|
get groups() {
|
|
21
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
22
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.GROUPS);
|
|
22
23
|
}
|
|
23
24
|
get search() {
|
|
24
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
25
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.SEARCH);
|
|
25
26
|
}
|
|
26
27
|
get timer() {
|
|
27
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
28
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.TIMER);
|
|
28
29
|
}
|
|
29
30
|
get compute() {
|
|
30
|
-
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this,
|
|
31
|
+
return __classPrivateFieldGet(this, _TokenLookup_instances, "m", _TokenLookup_getTokenForService).call(this, SERVICES.COMPUTE);
|
|
31
32
|
}
|
|
32
33
|
getAll() {
|
|
33
|
-
|
|
34
|
+
const tokens = [
|
|
34
35
|
this.auth,
|
|
35
36
|
this.transfer,
|
|
36
37
|
this.flows,
|
|
@@ -38,13 +39,24 @@ export class TokenLookup {
|
|
|
38
39
|
this.search,
|
|
39
40
|
this.timer,
|
|
40
41
|
this.compute,
|
|
41
|
-
]
|
|
42
|
+
];
|
|
43
|
+
return tokens.filter(isToken);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
_TokenLookup_manager = new WeakMap(), _TokenLookup_instances = new WeakSet(), _TokenLookup_getTokenForService = function _TokenLookup_getTokenForService(service) {
|
|
45
47
|
var _a;
|
|
46
48
|
const resourceServer = (_a = CONFIG.RESOURCE_SERVERS) === null || _a === void 0 ? void 0 : _a[service];
|
|
47
|
-
const raw = getStorage().get(`${__classPrivateFieldGet(this, _TokenLookup_manager, "f").configuration.
|
|
48
|
-
|
|
49
|
+
const raw = getStorage().get(`${__classPrivateFieldGet(this, _TokenLookup_manager, "f").configuration.client}:${resourceServer}`) || 'null';
|
|
50
|
+
let token = null;
|
|
51
|
+
try {
|
|
52
|
+
const parsed = JSON.parse(raw);
|
|
53
|
+
if (isToken(parsed)) {
|
|
54
|
+
token = parsed;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e) {
|
|
58
|
+
// no-op
|
|
59
|
+
}
|
|
60
|
+
return token;
|
|
49
61
|
};
|
|
50
62
|
//# sourceMappingURL=TokenLookup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenLookup.js","sourceRoot":"","sources":["../../../../../src/lib/core/authorization/TokenLookup.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,
|
|
1
|
+
{"version":3,"file":"TokenLookup.js","sourceRoot":"","sources":["../../../../../src/lib/core/authorization/TokenLookup.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAgB,MAAM,cAAc,CAAC;AAKtD,MAAM,OAAO,WAAW;IAGtB,YAAY,OAA0C;;QAFtD,uCAA+B;QAG7B,uBAAA,IAAI,wBAAY,OAAO,CAAC,OAAO,MAAA,CAAC;IAClC,CAAC;IAkBD,IAAI,IAAI;QACN,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,KAAK;QACP,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,MAAM;QACR,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,MAAM;QACR,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,MAAM,CAAC,CAAC;IACnD,CAAC;IAED,IAAI,KAAK;QACP,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,OAAO;QACT,OAAO,uBAAA,IAAI,+DAAoB,MAAxB,IAAI,EAAqB,QAAQ,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,MAAM;QACJ,MAAM,MAAM,GAAG;YACb,IAAI,CAAC,IAAI;YACT,IAAI,CAAC,QAAQ;YACb,IAAI,CAAC,KAAK;YACV,IAAI,CAAC,MAAM;YACX,IAAI,CAAC,MAAM;YACX,IAAI,CAAC,KAAK;YACV,IAAI,CAAC,OAAO;SACb,CAAC;QACF,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;CACF;yJAxDqB,OAAgB;;IAClC,MAAM,cAAc,GAAG,MAAA,MAAM,CAAC,gBAAgB,0CAAG,OAAO,CAAC,CAAC;IAC1D,MAAM,GAAG,GACP,UAAU,EAAE,CAAC,GAAG,CAAC,GAAG,uBAAA,IAAI,4BAAS,CAAC,aAAa,CAAC,MAAM,IAAI,cAAc,EAAE,CAAC,IAAI,MAAM,CAAC;IACxF,IAAI,KAAK,GAAiB,IAAI,CAAC;IAC/B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC/B,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YACpB,KAAK,GAAG,MAAM,CAAC;QACjB,CAAC;IACH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,QAAQ;IACV,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* Obtain the token string for the given scope.
|
|
3
3
|
* @param scope The scope string that will be used to look up the token.
|
|
4
4
|
* @returns The token string for the given scope or null if no token is found.
|
|
5
|
+
* @deprecated Use an `AuthorizationManager` instance to manage tokens.
|
|
5
6
|
*/
|
|
6
7
|
export declare function getTokenForScope(scope: string): string | null;
|
|
7
8
|
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/authorization/tokens.ts"],"names":[],"mappings":"AASA
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../../src/lib/core/authorization/tokens.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,iBAO7C"}
|
|
@@ -7,6 +7,7 @@ function isValidToken(check) {
|
|
|
7
7
|
* Obtain the token string for the given scope.
|
|
8
8
|
* @param scope The scope string that will be used to look up the token.
|
|
9
9
|
* @returns The token string for the given scope or null if no token is found.
|
|
10
|
+
* @deprecated Use an `AuthorizationManager` instance to manage tokens.
|
|
10
11
|
*/
|
|
11
12
|
export function getTokenForScope(scope) {
|
|
12
13
|
const storageValue = getStorage().get(scope);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../../src/lib/core/authorization/tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../../src/lib/core/authorization/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,SAAS,YAAY,CAAC,KAAc;IAClC,MAAM,KAAK,GAAG,KAAc,CAAC;IAC7B,OAAO,OAAO,CAAC,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,YAAY,CAAC,CAAC;AACzD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC5C,MAAM,YAAY,GAAG,UAAU,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC7C,MAAM,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7D,IAAI,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,GAAG,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,YAAY,EAAE,CAAC;AACrD,CAAC"}
|
package/esm/lib/core/global.d.ts
CHANGED
|
@@ -13,13 +13,13 @@ export declare const ENVIRONMENTS: {
|
|
|
13
13
|
export type Environment = (typeof ENVIRONMENTS)[keyof typeof ENVIRONMENTS];
|
|
14
14
|
export declare function getEnvironment(): Environment;
|
|
15
15
|
export declare const SERVICES: {
|
|
16
|
-
AUTH:
|
|
17
|
-
TRANSFER:
|
|
18
|
-
FLOWS:
|
|
19
|
-
GROUPS:
|
|
20
|
-
SEARCH:
|
|
21
|
-
TIMER:
|
|
22
|
-
COMPUTE:
|
|
16
|
+
AUTH: "AUTH";
|
|
17
|
+
TRANSFER: "TRANSFER";
|
|
18
|
+
FLOWS: "FLOWS";
|
|
19
|
+
GROUPS: "GROUPS";
|
|
20
|
+
SEARCH: "SEARCH";
|
|
21
|
+
TIMER: "TIMER";
|
|
22
|
+
COMPUTE: "COMPUTE";
|
|
23
23
|
};
|
|
24
24
|
export type Service = keyof typeof SERVICES;
|
|
25
25
|
export declare const SERVICE_HOSTS: Record<Service, Partial<Record<Environment, string>>>;
|
package/esm/lib/core/logger.d.ts
CHANGED
|
@@ -10,10 +10,10 @@ type Logger = {
|
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Set the global logger for the SDK.
|
|
13
|
-
* @param
|
|
13
|
+
* @param logMechanism The logger to use.
|
|
14
14
|
* @example `log.setLogger(console)`
|
|
15
15
|
*/
|
|
16
|
-
export declare function setLogger(
|
|
16
|
+
export declare function setLogger(logMechanism: Logger): void;
|
|
17
17
|
/**
|
|
18
18
|
* Set the global log level for the logger.
|
|
19
19
|
* @param severity The severity to set the logger to.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/lib/core/logger.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU,6CAA8C,CAAC;AAE/D,KAAK,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5C,KAAK,UAAU,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;AAE/C,KAAK,MAAM,GAAG;IACZ,GAAG,EAAE,UAAU,CAAC;IAChB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB,CAAC;AASF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../src/lib/core/logger.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU,6CAA8C,CAAC;AAE/D,KAAK,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5C,KAAK,UAAU,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;AAE/C,KAAK,MAAM,GAAG;IACZ,GAAG,EAAE,UAAU,CAAC;IAChB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB,CAAC;AASF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,YAAY,EAAE,MAAM,QAE7C;AACD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,QAE7C;AACD;;;;;GAKG;AACH,wBAAgB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,QAazD"}
|
package/esm/lib/core/logger.js
CHANGED
|
@@ -9,11 +9,11 @@ let logger;
|
|
|
9
9
|
let level = LOG_LEVELS.indexOf('error');
|
|
10
10
|
/**
|
|
11
11
|
* Set the global logger for the SDK.
|
|
12
|
-
* @param
|
|
12
|
+
* @param logMechanism The logger to use.
|
|
13
13
|
* @example `log.setLogger(console)`
|
|
14
14
|
*/
|
|
15
|
-
export function setLogger(
|
|
16
|
-
logger =
|
|
15
|
+
export function setLogger(logMechanism) {
|
|
16
|
+
logger = logMechanism;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Set the global log level for the logger.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../../src/lib/core/logger.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAU,CAAC;AAa/D;;GAEG;AACH,IAAI,MAA0B,CAAC;AAC/B;;GAEG;AACH,IAAI,KAAK,GAAW,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAChD;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../../src/lib/core/logger.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAU,CAAC;AAa/D;;GAEG;AACH,IAAI,MAA0B,CAAC;AAC/B;;GAEG;AACH,IAAI,KAAK,GAAW,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAChD;;;;GAIG;AACH,MAAM,UAAU,SAAS,CAAC,YAAoB;IAC5C,MAAM,GAAG,YAAY,CAAC;AACxB,CAAC;AACD;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,QAAkB;IAC5C,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AACvC,CAAC;AACD;;;;;GAKG;AACH,MAAM,UAAU,GAAG,CAAC,QAAkB,EAAE,GAAG,IAAe;;IACxD,IAAI,CAAC,MAAM;QAAE,OAAO;IACpB;;OAEG;IACH,IAAI,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,CAAC;QACzC,OAAO;IACT,CAAC;IACD;;OAEG;IACH,MAAM,OAAO,GAAG,MAAA,MAAM,CAAC,QAAQ,CAAC,mCAAI,MAAM,CAAC,GAAG,CAAC;IAC/C,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC;AACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/auth/config.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/auth/config.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,EAAE,QAAkB,CAAC;AAClC,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF,eAAO,MAAM,MAAM;;CAElB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;CAQ5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/auth/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,EAAE,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,EAAE,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,EAAE,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIrD,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/auth/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,EAAE,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,EAAE,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,EAAE,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIrD,MAAM,CAAC,MAAM,EAAE,GAAG,MAAe,CAAC;AAClC,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,WAAW,EAAE,gCAAgC;IAC7C,OAAO,EAAE,4BAA4B;IACrC,UAAU,EAAE,iBAAiB;IAC7B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,yBAAyB;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe,EAAE,uDAAuD;CACzE,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,CAAC,EAAE,CAAC,EAAE,iBAAiB;IACvB,CAAC,QAAQ,CAAC,EAAE,yBAAyB;IACrC,CAAC,KAAK,CAAC,EAAE,sBAAsB;IAC/B,CAAC,MAAM,CAAC,EAAE,uBAAuB;IACjC,CAAC,MAAM,CAAC,EAAE,uBAAuB;IACjC,CAAC,KAAK,CAAC,EAAE,sCAAsC;IAC/C,CAAC,OAAO,CAAC,EAAE,eAAe;CAC3B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as AUTH from './config.js';
|
|
2
|
+
import type { Token, TokenWithRefresh, TokenResponse } from './types.js';
|
|
2
3
|
/**
|
|
3
4
|
* @private
|
|
4
5
|
* @internal
|
|
@@ -8,21 +9,7 @@ export declare function getAuthorizationEndpoint(): string;
|
|
|
8
9
|
export declare function getTokenEndpoint(): string;
|
|
9
10
|
export * as identities from './service/identities.js';
|
|
10
11
|
export * as oauth2 from './service/oauth2/index.js';
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
scope: string;
|
|
14
|
-
expires_in: number;
|
|
15
|
-
token_type: string;
|
|
16
|
-
resource_server: string;
|
|
17
|
-
refresh_token?: string;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @see https://docs.globus.org/api/auth/reference/#authorization_code_grant_preferred
|
|
21
|
-
*/
|
|
22
|
-
export type TokenResponse = Token & {
|
|
23
|
-
state: string;
|
|
24
|
-
id_token?: string;
|
|
25
|
-
other_tokens?: Token[];
|
|
26
|
-
};
|
|
12
|
+
export declare function isToken(check: unknown): check is Token;
|
|
13
|
+
export declare function isRefreshToken(check: unknown): check is TokenWithRefresh;
|
|
27
14
|
export declare function isGlobusAuthTokenResponse(check: unknown): check is TokenResponse;
|
|
28
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/auth/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,MAAM,aAAO,CAAC;AAE3B,wBAAgB,wBAAwB,WAEvC;AAED,wBAAgB,gBAAgB,WAE/B;AAED,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/auth/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,MAAM,aAAO,CAAC;AAE3B,wBAAgB,wBAAwB,WAEvC;AAED,wBAAgB,gBAAgB,WAE/B;AAED,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,wBAAgB,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAEtD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAExE;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAKhF"}
|
|
@@ -19,7 +19,16 @@ export function getTokenEndpoint() {
|
|
|
19
19
|
}
|
|
20
20
|
export * as identities from './service/identities.js';
|
|
21
21
|
export * as oauth2 from './service/oauth2/index.js';
|
|
22
|
+
export function isToken(check) {
|
|
23
|
+
return typeof check === 'object' && check !== null && 'access_token' in check;
|
|
24
|
+
}
|
|
25
|
+
export function isRefreshToken(check) {
|
|
26
|
+
return isToken(check) && check !== null && 'refresh_token' in check;
|
|
27
|
+
}
|
|
22
28
|
export function isGlobusAuthTokenResponse(check) {
|
|
23
|
-
|
|
29
|
+
/**
|
|
30
|
+
* @todo This could be made more robust by checking whether the `resource_server` is a well-known value.
|
|
31
|
+
*/
|
|
32
|
+
return isToken(check) && check !== null && 'resource_server' in check;
|
|
24
33
|
}
|
|
25
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/auth/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/auth/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC;AAE3B,MAAM,UAAU,wBAAwB;IACtC,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,sBAAsB,CAAC,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,kBAAkB,CAAC,CAAC;AAC5C,CAAC;AAED,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,MAAM,UAAU,OAAO,CAAC,KAAc;IACpC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,cAAc,IAAI,KAAK,CAAC;AAChF,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,OAAO,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,eAAe,IAAI,KAAK,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,KAAc;IACtD;;OAEG;IACH,OAAO,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,KAAK,IAAI,IAAI,iBAAiB,IAAI,KAAK,CAAC;AACxE,CAAC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
export declare const userinfo: (options?: ({
|
|
2
|
+
payload: never;
|
|
3
|
+
} & import("../../../types.js").BaseServiceMethodOptions) | undefined, sdkOptions?: import("../../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
1
4
|
export * as token from './token.js';
|
|
2
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;aAYV,KAAK;4JACd,CAAC;AAEH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC"}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import { ID } from '../../config.js';
|
|
2
|
+
import { HTTP_METHODS, serviceRequest } from '../../../../services/shared.js';
|
|
3
|
+
export const userinfo = function (options, sdkOptions) {
|
|
4
|
+
return serviceRequest({
|
|
5
|
+
service: ID,
|
|
6
|
+
scope: undefined,
|
|
7
|
+
path: `/v2/oauth2/userinfo`,
|
|
8
|
+
method: HTTP_METHODS.GET,
|
|
9
|
+
}, options, sdkOptions);
|
|
10
|
+
};
|
|
1
11
|
export * as token from './token.js';
|
|
2
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAI9E,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,OAAQ,EAAE,UAAW;IACrD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,YAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC"}
|
|
@@ -4,12 +4,23 @@ type IntrospectPayload = {
|
|
|
4
4
|
};
|
|
5
5
|
type RevokePayload = {
|
|
6
6
|
token: string;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* This is an undocumented property that is required for the request to be successful.
|
|
9
|
+
*/
|
|
10
|
+
client_id: string;
|
|
8
11
|
};
|
|
9
12
|
type ValidatePayload = {
|
|
10
13
|
token: string;
|
|
11
14
|
client_id: string;
|
|
12
15
|
};
|
|
16
|
+
type RefreshPayload = {
|
|
17
|
+
refresh_token: string;
|
|
18
|
+
grant_type: 'refresh_token';
|
|
19
|
+
/**
|
|
20
|
+
* This is an undocumented property that is required for the request to be successful.
|
|
21
|
+
*/
|
|
22
|
+
client_id: string;
|
|
23
|
+
};
|
|
13
24
|
/**
|
|
14
25
|
* Token Introspection
|
|
15
26
|
* @see https://docs.globus.org/api/auth/reference/#token-introspect
|
|
@@ -24,6 +35,13 @@ export declare const introspect: (options: ({
|
|
|
24
35
|
export declare const revoke: (options: ({
|
|
25
36
|
payload: RevokePayload;
|
|
26
37
|
} & import("../../../types.js").BaseServiceMethodOptions) | undefined, sdkOptions?: import("../../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
38
|
+
/**
|
|
39
|
+
* Token Refresh
|
|
40
|
+
* @see https://docs.globus.org/api/auth/reference/#refresh_token_grant
|
|
41
|
+
*/
|
|
42
|
+
export declare const refresh: (options: ({
|
|
43
|
+
payload: RefreshPayload;
|
|
44
|
+
} & import("../../../types.js").BaseServiceMethodOptions) | undefined, sdkOptions?: import("../../../types.js").SDKOptions | undefined) => Promise<Response>;
|
|
27
45
|
/**
|
|
28
46
|
* @private
|
|
29
47
|
* @deprecated Rather than using `validate` to check if a token is valid, it is recommended to make a request to the resource server with the token and handle the error response.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/token.ts"],"names":[],"mappings":"AAKA,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/token.ts"],"names":[],"mappings":"AAKA,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,eAAe,CAAC;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAiCF;;;GAGG;AACH,eAAO,MAAM,UAAU;aAeZ,iBAAiB;4JAC1B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,MAAM;aAeR,aAAa;4JACtB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,OAAO;aAeT,cAAc;4JACvB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,QAAQ;aAeV,eAAe;4JACxB,CAAC"}
|
|
@@ -48,6 +48,21 @@ export const revoke = function (options, sdkOptions) {
|
|
|
48
48
|
method: HTTP_METHODS.POST,
|
|
49
49
|
}, injectServiceOptions(options), sdkOptions);
|
|
50
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* Token Refresh
|
|
53
|
+
* @see https://docs.globus.org/api/auth/reference/#refresh_token_grant
|
|
54
|
+
*/
|
|
55
|
+
export const refresh = function (options, sdkOptions) {
|
|
56
|
+
if (!(options === null || options === void 0 ? void 0 : options.payload)) {
|
|
57
|
+
throw new Error(`'payload' is required for revoke`);
|
|
58
|
+
}
|
|
59
|
+
return serviceRequest({
|
|
60
|
+
service: ID,
|
|
61
|
+
scope: undefined,
|
|
62
|
+
path: `/v2/oauth2/token`,
|
|
63
|
+
method: HTTP_METHODS.POST,
|
|
64
|
+
}, injectServiceOptions(options), sdkOptions);
|
|
65
|
+
};
|
|
51
66
|
/**
|
|
52
67
|
* @private
|
|
53
68
|
* @deprecated Rather than using `validate` to check if a token is valid, it is recommended to make a request to the resource server with the token and handle the error response.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../../../../src/lib/services/auth/service/oauth2/token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAiC9E,SAAS,SAAS,CAAC,OAA2B;IAC5C,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC,CAAC;AACtC,CAAC;AAED;;GAEG;AACH,SAAS,oBAAoB,CAC3B,OAEC;IAED,uCACK,OAAO;QACV;;;WAGG;QACH,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,EAChC,OAAO,kCACF,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAAI,EAAE,CAAC;YAC3B;;eAEG;YACH,cAAc,EAAE,kDAAkD,OAEpE;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,OAAO,EAAE,UAAW;IACtD,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,6BAA6B;QACnC,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,oBAAoB,CAAC,OAAO,CAAC,EAC7B,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,OAAO,EAAE,UAAW;IAClD,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,yBAAyB;QAC/B,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,oBAAoB,CAAC,OAAO,CAAC,EAC7B,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,OAAO,EAAE,UAAW;IACnD,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IACD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,oBAAoB,CAAC,OAAO,CAAC,EAC7B,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,OAAO,EAAE,UAAW;IACpD,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACxD,CAAC;IACD,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,2BAA2B;QACjC,MAAM,EAAE,YAAY,CAAC,IAAI;KAC1B,EACD,oBAAoB,CAAC,OAAO,CAAC,EAC7B,UAAU,CACX,CAAC;AACJ,CAEE,CAAC"}
|
|
@@ -1,15 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import type { JwtPayload } from 'jwt-decode';
|
|
2
|
+
export type Token = {
|
|
3
|
+
access_token: string;
|
|
4
|
+
scope: string;
|
|
5
|
+
expires_in: number;
|
|
6
|
+
token_type: string;
|
|
7
|
+
resource_server: string;
|
|
8
|
+
refresh_token?: string;
|
|
9
|
+
};
|
|
10
|
+
export type TokenWithRefresh = Token & {
|
|
11
|
+
refresh_token: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @see https://docs.globus.org/api/auth/reference/#authorization_code_grant_preferred
|
|
15
|
+
*/
|
|
16
|
+
export type TokenResponse = Token & {
|
|
17
|
+
state: string;
|
|
7
18
|
/**
|
|
8
|
-
*
|
|
19
|
+
* Only included if your client requests the openid scope during the authorization request.
|
|
9
20
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
21
|
+
id_token?: string;
|
|
22
|
+
other_tokens?: Token[];
|
|
23
|
+
};
|
|
24
|
+
type JwtUserIdentity = {
|
|
25
|
+
sub: JwtPayload['sub'];
|
|
26
|
+
organization?: string;
|
|
27
|
+
name?: string;
|
|
28
|
+
identity_provider?: string;
|
|
29
|
+
identity_provider_display_name?: string;
|
|
30
|
+
email?: string;
|
|
31
|
+
last_authentication?: number;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* The properties of the decoded `id_token` are dictated by the scopes requested
|
|
35
|
+
* during the authorization request; `openid profile email` will return a fully
|
|
36
|
+
* populated object, while `openid` will return a minimal object.
|
|
37
|
+
*/
|
|
38
|
+
export type JwtUserInfo = Pick<JwtPayload, 'iss' | 'aud' | 'exp' | 'iat' | 'sub'> & JwtUserIdentity & {
|
|
39
|
+
preferred_username?: string;
|
|
40
|
+
identity_set?: JwtUserIdentity[];
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
15
43
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,MAAM,KAAK,GAAG;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG;IACrC,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC;CACxB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,GAAG,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC,GAC/E,eAAe,GAAG;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/compute/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/compute/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,EAAE,WAAqB,CAAC;AACrC,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF,eAAO,MAAM,MAAM;;CAElB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/compute/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/compute/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,SAAkB,CAAC;AACrC,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,OAAO,EAAE,mCAAmC;IAC5C,UAAU,EAAE,wBAAwB;IACpC,OAAO,EAAE,mCAAmC;IAC5C,WAAW,EAAE,uCAAuC;IACpD,IAAI,EAAE,gCAAgC;IACtC,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,GAAG,EAAE,yEAAyE;CAC/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/compute/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,MAAM,gBAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/compute/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,MAAM,gBAAU,CAAC;AAE9B,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/compute/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/services/compute/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,OAAO,MAAM,aAAa,CAAC;AAEvC;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC;AAE9B,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { operations } from '@globus/types/compute';
|
|
2
|
+
import type { JSONFetchResponse } from '../../types.js';
|
|
3
|
+
export declare const getAll: (options?: ({
|
|
4
|
+
query: operations['get_endpoints_v2_endpoints_get']['parameters']['query'];
|
|
5
|
+
} & import("../../types.js").BaseServiceMethodOptions) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<JSONFetchResponse<operations['get_endpoints_v2_endpoints_get']['responses']['200']['content']['application/json']>>;
|
|
6
|
+
export declare const get: (endpoint_uuid: string, options?: ({
|
|
7
|
+
query?: undefined;
|
|
8
|
+
payload?: undefined;
|
|
9
|
+
} & {
|
|
10
|
+
query?: {
|
|
11
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
headers?: import("../../types.js").Headers | undefined;
|
|
14
|
+
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<JSONFetchResponse<operations['get_endpoint_v2_endpoints__endpoint_uuid__get']['responses']['200']['content']['application/json']>>;
|
|
15
|
+
export declare const getStatus: (endpoint_uuid: string, options?: ({
|
|
16
|
+
query?: undefined;
|
|
17
|
+
payload?: undefined;
|
|
18
|
+
} & {
|
|
19
|
+
query?: {
|
|
20
|
+
[key: string]: string | number | boolean | (string | number | null | undefined)[] | null | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
headers?: import("../../types.js").Headers | undefined;
|
|
23
|
+
}) | undefined, sdkOptions?: import("../../types.js").SDKOptions | undefined) => Promise<JSONFetchResponse<operations['get_endpoint_status_v2_endpoints__endpoint_uuid__status_get']['responses']['200']['content']['application/json']>>;
|
|
24
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/services/compute/service/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIxD,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,MAAM;WAmBV,UAAU,CAAC,gCAAgC,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC;qIAhBzE,QACD,kBACE,UAAU,CAAC,gCAAgC,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAChG,CAcD,CAAC;AAEH,eAAO,MAAM,GAAG;;;;;;;;iFAIb,QACD,kBACE,UAAU,CAAC,+CAA+C,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC/G,CAkBF,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;iFAInB,QACD,kBACE,UAAU,CAAC,6DAA6D,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAC7H,CAiBF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HTTP_METHODS, serviceRequest } from '../../shared.js';
|
|
2
|
+
import { ID, SCOPES } from '../config.js';
|
|
3
|
+
export const getAll = function (options, sdkOptions) {
|
|
4
|
+
return serviceRequest({
|
|
5
|
+
service: ID,
|
|
6
|
+
scope: SCOPES.ALL,
|
|
7
|
+
path: '/v2/endpoints',
|
|
8
|
+
method: HTTP_METHODS.GET,
|
|
9
|
+
}, options, sdkOptions);
|
|
10
|
+
};
|
|
11
|
+
export const get = function (endpoint_uuid, options, sdkOptions) {
|
|
12
|
+
return serviceRequest({
|
|
13
|
+
service: ID,
|
|
14
|
+
scope: SCOPES.ALL,
|
|
15
|
+
path: `/v2/endpoints/${endpoint_uuid}`,
|
|
16
|
+
method: HTTP_METHODS.GET,
|
|
17
|
+
}, options, sdkOptions);
|
|
18
|
+
};
|
|
19
|
+
export const getStatus = function (endpoint_uuid, options, sdkOptions) {
|
|
20
|
+
return serviceRequest({
|
|
21
|
+
service: ID,
|
|
22
|
+
scope: SCOPES.ALL,
|
|
23
|
+
path: `/v2/endpoints/${endpoint_uuid}/status`,
|
|
24
|
+
}, options, sdkOptions);
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../../../../src/lib/services/compute/service/endpoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAQ1C,MAAM,CAAC,MAAM,MAAM,GAAG,UACpB,OAAQ,EACR,UAAW;IAMX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,YAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAEE,CAAC;AAEH,MAAM,CAAC,MAAM,GAAG,GAAG,UACjB,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,iBAAiB,aAAa,EAAE;QACtC,MAAM,EAAE,YAAY,CAAC,GAAG;KACzB,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,UACvB,aAAa,EACb,OAAQ,EACR,UAAW;IAMX,OAAO,cAAc,CACnB;QACE,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,MAAM,CAAC,GAAG;QACjB,IAAI,EAAE,iBAAiB,aAAa,SAAS;KAC9C,EACD,OAAO,EACP,UAAU,CACX,CAAC;AACJ,CAMC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/flows/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/flows/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,EAAE,SAAmB,CAAC;AACnC,eAAO,MAAM,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAOtD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/flows/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../src/lib/services/flows/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,EAAE,GAAG,OAAgB,CAAC;AACnC,MAAM,CAAC,MAAM,KAAK,GAAyC;IACzD,OAAO,EAAE,mCAAmC;IAC5C,UAAU,EAAE,kBAAkB;IAC9B,OAAO,EAAE,mCAAmC;IAC5C,WAAW,EAAE,uCAAuC;IACpD,IAAI,EAAE,gCAAgC;IACtC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,YAAY,EAAE,kFAAkF;IAChG,UAAU,EAAE,gFAAgF;IAC5F,GAAG,EAAE,yEAAyE;IAC9E,UAAU,EAAE,gFAAgF;IAC5F,UAAU,EAAE,gFAAgF;CAC7F,CAAC"}
|