@fluid-app/fluid-cli 0.1.730 → 0.1.732
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/bin/fluid.mjs +3 -3
- package/dist/client-DtCzbLl-.mjs +2 -0
- package/dist/{hook-TJYDNDqS.mjs → hook-BGEeIspy.mjs} +3 -3
- package/dist/{hook-TJYDNDqS.mjs.map → hook-BGEeIspy.mjs.map} +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{profiles-CUTsnD_9.mjs → profiles-DmgZsxMS.mjs} +9 -2
- package/dist/{profiles-CUTsnD_9.mjs.map → profiles-DmgZsxMS.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/client-DR4F01_p.mjs +0 -2
|
@@ -1694,6 +1694,7 @@ function createNativeSession(config) {
|
|
|
1694
1694
|
const listeners = /* @__PURE__ */ new Set();
|
|
1695
1695
|
let generation = 0;
|
|
1696
1696
|
let signOutsRunning = 0;
|
|
1697
|
+
let pickedOrg = null;
|
|
1697
1698
|
const client = createIdentityHeyApiClient({
|
|
1698
1699
|
baseUrl: config.identityUrl,
|
|
1699
1700
|
credentials: "omit",
|
|
@@ -2027,7 +2028,9 @@ function createNativeSession(config) {
|
|
|
2027
2028
|
target = null;
|
|
2028
2029
|
held = null;
|
|
2029
2030
|
try {
|
|
2030
|
-
|
|
2031
|
+
const facts = await adopt(token, started);
|
|
2032
|
+
pickedOrg = token.picked_org ?? null;
|
|
2033
|
+
return facts;
|
|
2031
2034
|
} catch (adoptError) {
|
|
2032
2035
|
if (adoptError instanceof SessionError) throw adoptError;
|
|
2033
2036
|
throw await settleUnfinishedSignIn(token.refresh_token, adoptError);
|
|
@@ -2083,6 +2086,9 @@ function createNativeSession(config) {
|
|
|
2083
2086
|
facts() {
|
|
2084
2087
|
return snapshot.facts;
|
|
2085
2088
|
},
|
|
2089
|
+
pickedOrg() {
|
|
2090
|
+
return pickedOrg;
|
|
2091
|
+
},
|
|
2086
2092
|
snapshot() {
|
|
2087
2093
|
return snapshot;
|
|
2088
2094
|
},
|
|
@@ -2093,6 +2099,7 @@ function createNativeSession(config) {
|
|
|
2093
2099
|
chain = null;
|
|
2094
2100
|
chainOrg = null;
|
|
2095
2101
|
target = null;
|
|
2102
|
+
pickedOrg = null;
|
|
2096
2103
|
let refreshToken;
|
|
2097
2104
|
try {
|
|
2098
2105
|
await settleWork();
|
|
@@ -2927,4 +2934,4 @@ async function endUnusedSessions(before, after) {
|
|
|
2927
2934
|
//#endregion
|
|
2928
2935
|
export { isClientProfile as A, readStoredConfig as C, getConfigDir as D, isStrictConfig as E, getConfigFilePath as O, readConfig as S, writeConfig as T, primeClientProfile as _, peekIdentityToken as a, ApiError as b, sessionFacts as c, OrphanedClientSecretError as d, ProfileExistsError as f, peekClientToken as g, invalidateClientToken as h, isRoleNotGrantedError as i, isIdentityProfile as j, createDefaultConfig as k, signInWithBrowser as l, deleteClientSecret as m, describeIdentityError as n, primeIdentityProfile as o, clientAccessToken as p, identityToken as r, profileAccessToken as s, endUnusedSessions as t, signOutIdentity as u, saveClientProfile as v, updateConfig as w, createFetchClient as x, resolveIdentityUrl as y };
|
|
2929
2936
|
|
|
2930
|
-
//# sourceMappingURL=profiles-
|
|
2937
|
+
//# sourceMappingURL=profiles-DmgZsxMS.mjs.map
|