@fluid-app/fluid-cli 0.1.113 → 0.1.115
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 validateToken, C as FLUID_API_ERROR, D as redeemIdentityLink, E as getFluidApiBase, G as rootCommand, J as walkCommands, K as visibleOptions, O as sendMfa, S as isIdentityProfile, T as fetchUserCompanies, W as filterCatalog, _ as signInWithBrowser, a as resolveCredentialSource, c as updateConfig, f as describeIdentityError, g as sessionFacts, k as switchCompany, l as writeConfig, m as primeIdentityProfile, n as getAuthToken, p as identityToken, q as visibleSubcommands, s as readConfig, t as getActiveProfile, u as getConfigDir, v as signOutIdentity, w as confirmMfa, y as resolveIdentityUrl } from "../token-
|
|
2
|
+
import { A as validateToken, C as FLUID_API_ERROR, D as redeemIdentityLink, E as getFluidApiBase, G as rootCommand, J as walkCommands, K as visibleOptions, O as sendMfa, S as isIdentityProfile, T as fetchUserCompanies, W as filterCatalog, _ as signInWithBrowser, a as resolveCredentialSource, c as updateConfig, f as describeIdentityError, g as sessionFacts, k as switchCompany, l as writeConfig, m as primeIdentityProfile, n as getAuthToken, p as identityToken, q as visibleSubcommands, s as readConfig, t as getActiveProfile, u as getConfigDir, v as signOutIdentity, w as confirmMfa, y as resolveIdentityUrl } from "../token-iab-DgX4.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";
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as validateToken, B as tryCatch, E as getFluidApiBase, F as isNodeError, H as unwrap, I as isSuccess, J as walkCommands, L as mapError, M as getErrorMessage, N as isError, O as sendMfa, P as isFailure, R as mapResult, S as isIdentityProfile, T as fetchUserCompanies, U as unwrapOr, V as tryCatchAsync, Y as describeCommand, a as resolveCredentialSource, b as createFetchClient, c as updateConfig, d as getConfigFilePath, h as profileAccessToken, i as listProfileNames, j as failure, k as switchCompany, l as writeConfig, n as getAuthToken, o as findProjectConfig, r as getAuthTokenAsync, s as readConfig, t as getActiveProfile, u as getConfigDir, w as confirmMfa, x as createDefaultConfig, z as success } from "./token-
|
|
1
|
+
import { A as validateToken, B as tryCatch, E as getFluidApiBase, F as isNodeError, H as unwrap, I as isSuccess, J as walkCommands, L as mapError, M as getErrorMessage, N as isError, O as sendMfa, P as isFailure, R as mapResult, S as isIdentityProfile, T as fetchUserCompanies, U as unwrapOr, V as tryCatchAsync, Y as describeCommand, a as resolveCredentialSource, b as createFetchClient, c as updateConfig, d as getConfigFilePath, h as profileAccessToken, i as listProfileNames, j as failure, k as switchCompany, l as writeConfig, n as getAuthToken, o as findProjectConfig, r as getAuthTokenAsync, s as readConfig, t as getActiveProfile, u as getConfigDir, w as confirmMfa, x as createDefaultConfig, z as success } from "./token-iab-DgX4.mjs";
|
|
2
2
|
import { Command } from "commander";
|
|
3
3
|
import prompts from "prompts";
|
|
4
4
|
//#region src/domain/output.ts
|
|
@@ -2306,7 +2306,7 @@ const IDENTITY_CLIENT_ID = "fluid-cli";
|
|
|
2306
2306
|
const KEYRING_SERVICE = "fluid-cli";
|
|
2307
2307
|
const PRODUCTION_IDENTITY_URL = "https://identity.fluid.app";
|
|
2308
2308
|
const STAGING_IDENTITY_URL = "https://identity.stage.fluid.app";
|
|
2309
|
-
const STAGING_API_HOSTS = [/\.
|
|
2309
|
+
const STAGING_API_HOSTS = [/\.stage\.fluid\.app$/];
|
|
2310
2310
|
function isLoopbackHost(hostname) {
|
|
2311
2311
|
return hostname === "localhost" || hostname === "127.0.0.1" || hostname === "[::1]" || hostname.endsWith(".localhost");
|
|
2312
2312
|
}
|
|
@@ -2972,4 +2972,4 @@ function listProfileNames() {
|
|
|
2972
2972
|
//#endregion
|
|
2973
2973
|
export { validateToken as A, tryCatch as B, FLUID_API_ERROR as C, redeemIdentityLink as D, getFluidApiBase as E, isNodeError as F, rootCommand as G, unwrap as H, isSuccess as I, walkCommands as J, visibleOptions as K, mapError as L, getErrorMessage$1 as M, isError as N, sendMfa as O, isFailure as P, mapResult as R, isIdentityProfile as S, fetchUserCompanies as T, unwrapOr as U, tryCatchAsync as V, filterCatalog as W, describeCommand as Y, signInWithBrowser as _, resolveCredentialSource as a, createFetchClient as b, updateConfig as c, getConfigFilePath as d, describeIdentityError as f, sessionFacts as g, profileAccessToken as h, listProfileNames as i, failure as j, switchCompany as k, writeConfig as l, primeIdentityProfile as m, getAuthToken as n, findProjectConfig as o, identityToken as p, visibleSubcommands as q, getAuthTokenAsync as r, readConfig as s, getActiveProfile as t, getConfigDir as u, signOutIdentity as v, confirmMfa as w, createDefaultConfig as x, resolveIdentityUrl as y, success as z };
|
|
2974
2974
|
|
|
2975
|
-
//# sourceMappingURL=token-
|
|
2975
|
+
//# sourceMappingURL=token-iab-DgX4.mjs.map
|