@fluid-app/fluid-cli 0.1.663 → 0.1.664
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { A as identityToken, B as isIdentityProfile, C as readConfig, D as getConfigDir, E as isStrictConfig, F as signInWithBrowser, G as getFluidApiBase, I as signOutIdentity, J as signup, K as redeemIdentityLink, L as resolveIdentityUrl, M as primeIdentityProfile, P as sessionFacts, T as writeConfig, U as confirmMfa, V as FLUID_API_ERROR, W as fetchUserCompanies, X as validateToken, Y as switchCompany, _ as getAuthToken, c as inputsModeActive, dt as rootCommand, ft as visibleOptions, g as getActiveProfile, i as INPUTS_MODE_ENV, k as describeIdentityError, l as registerInputsHook, mt as walkCommands, pt as visibleSubcommands, q as sendMfa, s as exitOnInputsError, u as createInputsReader, ut as filterCatalog, w as updateConfig, x as resolveCredentialSource } from "../hook-
|
|
2
|
+
import { A as identityToken, B as isIdentityProfile, C as readConfig, D as getConfigDir, E as isStrictConfig, F as signInWithBrowser, G as getFluidApiBase, I as signOutIdentity, J as signup, K as redeemIdentityLink, L as resolveIdentityUrl, M as primeIdentityProfile, P as sessionFacts, T as writeConfig, U as confirmMfa, V as FLUID_API_ERROR, W as fetchUserCompanies, X as validateToken, Y as switchCompany, _ as getAuthToken, c as inputsModeActive, dt as rootCommand, ft as visibleOptions, g as getActiveProfile, i as INPUTS_MODE_ENV, k as describeIdentityError, l as registerInputsHook, mt as walkCommands, pt as visibleSubcommands, q as sendMfa, s as exitOnInputsError, u as createInputsReader, ut as filterCatalog, w as updateConfig, x as resolveCredentialSource } from "../hook-Cr1z_MnK.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -106,7 +106,7 @@ function filterCatalog(entries, root, prefix) {
|
|
|
106
106
|
}
|
|
107
107
|
//#endregion
|
|
108
108
|
//#region package.json
|
|
109
|
-
var version = "0.1.
|
|
109
|
+
var version = "0.1.664";
|
|
110
110
|
//#endregion
|
|
111
111
|
//#region src/auth/client-headers.ts
|
|
112
112
|
const CLIENT_HEADERS = {
|
|
@@ -1735,7 +1735,8 @@ function oauthErrorCode(error) {
|
|
|
1735
1735
|
* active, unlocked membership there, in a company that is active and
|
|
1736
1736
|
* either carries the sign-in flag or is reported eligible; one that is
|
|
1737
1737
|
* neither is refused `invalid_target` as not yet available on the new
|
|
1738
|
-
* sign-in
|
|
1738
|
+
* sign-in, with the extension member `reason` set to
|
|
1739
|
+
* `company_not_yet_available`. `roles` defaults to that membership's role.
|
|
1739
1740
|
* - Role narrowing: `org` is omitted or names the token's own company,
|
|
1740
1741
|
* and `roles` lists fewer roles. Each must be held in that company now
|
|
1741
1742
|
* and rank no higher than the subject token's roles (`root_admin`
|
|
@@ -3951,4 +3952,4 @@ function exitOnInputsError(error, io = processIo) {
|
|
|
3951
3952
|
//#endregion
|
|
3952
3953
|
export { isError as $, identityToken as A, isIdentityProfile as B, readConfig as C, getConfigDir as D, isStrictConfig as E, signInWithBrowser as F, getFluidApiBase as G, SIGNUP_ERROR as H, signOutIdentity as I, signup as J, redeemIdentityLink as K, resolveIdentityUrl as L, primeIdentityProfile as M, profileAccessToken as N, getConfigFilePath as O, sessionFacts as P, getErrorMessage$1 as Q, createFetchClient as R, findProjectConfig as S, writeConfig as T, confirmMfa as U, FLUID_API_ERROR as V, fetchUserCompanies as W, validateToken as X, switchCompany as Y, failure as Z, getAuthToken as _, INPUTS_UNDECLARED_CODE as a, success as at, listProfileNames as b, inputsModeActive as c, unwrap as ct, setActiveSnapshot as d, rootCommand as dt, isFailure as et, inInternalRead as f, visibleOptions as ft, getActiveProfile as g, declareInputs as h, describeCommand as ht, INPUTS_MODE_ENV as i, mapResult as it, isRoleNotGrantedError as j, describeIdentityError as k, registerInputsHook as l, unwrapOr as lt, withInternalReadsAsync as m, walkCommands as mt, INPUTS_MISMATCH_CODE as n, isSuccess as nt, INPUTS_UNDECLARED_EXIT as o, tryCatch as ot, withInternalReads as p, visibleSubcommands as pt, sendMfa as q, INPUTS_MISMATCH_EXIT as r, mapError as rt, exitOnInputsError as s, tryCatchAsync as st, INPUTS_EXPECT_ENV as t, isNodeError as tt, createInputsReader as u, filterCatalog as ut, getAuthTokenAsync as v, updateConfig as w, resolveCredentialSource as x, getRoleAuthTokenAsync as y, createDefaultConfig as z };
|
|
3953
3954
|
|
|
3954
|
-
//# sourceMappingURL=hook-
|
|
3955
|
+
//# sourceMappingURL=hook-Cr1z_MnK.mjs.map
|