@superwall/cli 2.6.0-beta.1 → 2.6.0-beta.2
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/{apple-Bmt_iywx.js → apple-Dc5pOPms.js} +14 -14
- package/dist/{approve-D2UgqaRx.js → approve-BSbdmOez.js} +11 -8
- package/dist/{assets-B_quADds.js → assets-C_RjojkK.js} +3 -3
- package/dist/auth.js +3 -3
- package/dist/{base-ChTi42M0.js → base-83ZTv6up.js} +5 -5
- package/dist/{billing-ZIETn0j4.js → billing-B6HK-F_a.js} +3 -3
- package/dist/{bind-ClFjTt0U.js → bind-DcWIIPgk.js} +4 -4
- package/dist/{build-BWjXurjs.js → build-DK88pTMW.js} +8 -8
- package/dist/{client-CyrYJzBF.js → client-x08fpvay.js} +55 -5
- package/dist/{create-C3uklw-U.js → create-B6-Dr3GZ.js} +27 -27
- package/dist/create-Du8Fx7W5.js +20 -0
- package/dist/{create-BCIgjRHn.js → create-kpqEhqkk.js} +6 -6
- package/dist/{doctor-D2Q1EZe8.js → doctor-DYbm8IKQ.js} +6 -6
- package/dist/{drivers-BQkO5tHs.js → drivers-Dyi-y9Jn.js} +3 -3
- package/dist/entry.js +20 -20
- package/dist/{environment-BocmdvZ-.js → environment-BFNzLLPN.js} +1 -1
- package/dist/{existing-Cl5x6_5u.js → existing-WQ3pz94o.js} +2 -2
- package/dist/{framework-CLmf4swr.js → framework-JFLjmD5Y.js} +1 -1
- package/dist/held-DmOhszHR.js +17 -0
- package/dist/{held-Bykbwy-m.js → held-sKq3xrsT.js} +6 -6
- package/dist/{install-dXZZ79Oe.js → install-DsIsif39.js} +10 -10
- package/dist/{integrate-DiSjlOjC.js → integrate-B8eA676b.js} +22 -22
- package/dist/{login-5sWIKDI2.js → login-Blhxi20A.js} +6 -6
- package/dist/{login-Jp6E6d2e.js → login-BlpfYapG.js} +1 -1
- package/dist/login-D9jfRO8w.js +17 -0
- package/dist/{lookup-CWzVfPpq.js → lookup-Dg55W9S7.js} +3 -3
- package/dist/{migrate-BKiOUsMY.js → migrate-DoRb9jmA.js} +25 -25
- package/dist/{migration-Z69tLeHC.js → migration-BUedsREQ.js} +8 -8
- package/dist/{notification-url-BDBxbwZq.js → notification-url-D82msWF5.js} +2 -2
- package/dist/{open-DNd49kT-.js → open-BAqLpTSI.js} +2 -2
- package/dist/{org-Dud1rF9f.js → org-C4G7WjTV.js} +3 -3
- package/dist/{organization-7vJA3uy1.js → organization-CmuQwcKN.js} +3 -3
- package/dist/{orgs-Z0H9WOs1.js → orgs-1OzwUtpT.js} +1 -1
- package/dist/{paths-CzTJVpfi.js → paths-gBbqgkS7.js} +1 -1
- package/dist/{playbook-DJ__edOW.js → playbook-BKqlv77S.js} +10 -10
- package/dist/{promote-DLtPSvmL.js → promote-D0i8A0CO.js} +19 -19
- package/dist/pull-CO5HlqBe.js +36 -0
- package/dist/{pull-D-YuT3e0.js → pull-CiIrJ5ik.js} +27 -27
- package/dist/{pull-AoUmaiMK.js → pull-DgQ_UmGv.js} +6 -6
- package/dist/{push-BMblzg_6.js → push-7N4XIVtg.js} +6 -6
- package/dist/push-BIhGDNpL.js +30 -0
- package/dist/{push-BrzMFd4Z.js → push-BWsXO7FN.js} +11 -5
- package/dist/{push-B42D8fKf.js → push-BgqTddLA.js} +11 -11
- package/dist/{registry-DDU10_Ix.js → registry-aAR_8VOw.js} +52 -50
- package/dist/{resolve-DpOSDDdr.js → resolve-CcOpO_5s.js} +50 -4
- package/dist/{resources-CptT7HD6.js → resources-DNwvf8rg.js} +2 -2
- package/dist/{run-c1O2_8pp.js → run-B-YoyB-a.js} +2 -2
- package/dist/{run-r3foWfhV.js → run-tVYJ3V5j.js} +9 -9
- package/dist/scan-BU41gcQY.js +4 -0
- package/dist/{scan-nVQO7JLx.js → scan-dv0rrY4C.js} +1 -1
- package/dist/{scope-l1qGLsgz.js → scope-BXoQo30_.js} +5 -5
- package/dist/server-BemmM1FV.js +29 -0
- package/dist/{server-DLARhh1k.js → server-CcZGdYjE.js} +7 -7
- package/dist/session-4aITGsF1.js +6 -0
- package/dist/{session-Z0BeaJPf.js → session-dHBtgSN0.js} +1 -1
- package/dist/{setup-C6NFy14d.js → setup-m94dpT3t.js} +7 -7
- package/dist/skills/superwall-artifacts/SKILL.md +7 -2
- package/dist/skills/superwall-artifacts/references/cli.md +4 -1
- package/dist/{skills-CdKwaTRS.js → skills-Bqz2l_bx.js} +8 -8
- package/dist/{skills-421SFEyF.js → skills-Q7xB784d.js} +4 -4
- package/dist/{source-push-B4s6r9bB.js → source-push-CG948HrX.js} +4 -4
- package/dist/{spinner-DPdBlZe2.js → spinner-IA6hV8nI.js} +3 -3
- package/dist/{starter-0OdVPH4l.js → starter-BtUUQWhd.js} +14 -4
- package/dist/{status-Dsc7d3z2.js → status-CB_MrFu5.js} +6 -6
- package/dist/{storage-DT_wxwJ8.js → storage-pR0Wb0d9.js} +1 -1
- package/dist/storekit-BMxyYAHj.js +17 -0
- package/dist/{storekit-B9M2raxe.js → storekit-CQnwlpKV.js} +3 -3
- package/dist/{telemetry-ovPiseFm.js → telemetry-DU56L7Cy.js} +1 -1
- package/dist/{token-Bu3FaRkv.js → token-BbUeExGJ.js} +1 -1
- package/dist/tools.d.ts +5 -0
- package/dist/tools.js +61 -3
- package/dist/{try-B8FYkTvQ.js → try-CS3jLyoP.js} +13 -13
- package/dist/{upgrade-B7TmvEPP.js → upgrade-CKn88PZD.js} +2 -2
- package/dist/{upgrade-CAHyrWUL.js → upgrade-DfD3-ClG.js} +2 -2
- package/package.json +2 -2
- package/dist/create-7HDW3DCl.js +0 -20
- package/dist/held-Chw3BtBV.js +0 -17
- package/dist/login-DZ8Pipf6.js +0 -17
- package/dist/pull-C1xm2zqG.js +0 -36
- package/dist/push-Co5jk6Kr.js +0 -30
- package/dist/scan-D86kLtM7.js +0 -4
- package/dist/server-BEcsQaPu.js +0 -29
- package/dist/session-Csuaw6RU.js +0 -6
- package/dist/storekit-BWZf-fNE.js +0 -17
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import { t as blocks } from "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import { t as ApiError } from "./client-
|
|
6
|
-
import { E as updateBundleId, a as chooseAppIntent, g as RefusedByApi, i as savedKey, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, s as resolveApp, y as findIntegrations } from "./held-
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import { t as ApiError } from "./client-x08fpvay.js";
|
|
6
|
+
import { E as updateBundleId, a as chooseAppIntent, g as RefusedByApi, i as savedKey, m as KEY_LABEL, n as testModeWarning, p as KEY_KINDS, s as resolveApp, y as findIntegrations } from "./held-sKq3xrsT.js";
|
|
7
7
|
import "./config-CGcG7GOt.js";
|
|
8
|
-
import { t as apiCall } from "./spinner-
|
|
8
|
+
import { t as apiCall } from "./spinner-IA6hV8nI.js";
|
|
9
9
|
import "./ui-D_qf3Gvw.js";
|
|
10
|
-
import "./paths-
|
|
11
|
-
import "./orgs-
|
|
12
|
-
import "./resources-
|
|
13
|
-
import "./org-
|
|
14
|
-
import "./lookup-
|
|
15
|
-
import "./scope-
|
|
10
|
+
import "./paths-gBbqgkS7.js";
|
|
11
|
+
import "./orgs-1OzwUtpT.js";
|
|
12
|
+
import "./resources-DNwvf8rg.js";
|
|
13
|
+
import "./org-C4G7WjTV.js";
|
|
14
|
+
import "./lookup-Dg55W9S7.js";
|
|
15
|
+
import "./scope-BXoQo30_.js";
|
|
16
16
|
import "./client-BJQXl62Q.js";
|
|
17
17
|
import "./timing-Ca0TXY-A.js";
|
|
18
|
-
import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-
|
|
19
|
-
import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-
|
|
18
|
+
import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-D82msWF5.js";
|
|
19
|
+
import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-kpqEhqkk.js";
|
|
20
20
|
|
|
21
21
|
//#region src/core/app-store-connect/setup/apple.ts
|
|
22
22
|
const STEPS = [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import { t as ApiError } from "./client-
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import { t as ApiError } from "./client-x08fpvay.js";
|
|
6
6
|
import "./config-CGcG7GOt.js";
|
|
7
|
-
import "./orgs-
|
|
8
|
-
import {
|
|
7
|
+
import "./orgs-1OzwUtpT.js";
|
|
8
|
+
import { _ as approveVersion, d as resolveArtifact, f as roleCanApprove, i as installHints, l as pickVersion, n as awaitingInstall, s as notInstalledOf } from "./resolve-CcOpO_5s.js";
|
|
9
9
|
import { t as ArtifactError } from "./project-NoMtbMyl.js";
|
|
10
10
|
import "./lock-DgSx-p8Y.js";
|
|
11
11
|
import "./scope-ehZ7L1nj.js";
|
|
@@ -174,16 +174,19 @@ async function runArtifactApprove(ctx, input) {
|
|
|
174
174
|
refuse("forbidden", error.message);
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
177
|
+
const hints = await installHints(ctx.api, artifact, version.manifest, { artifactFlag: input.artifact !== void 0 });
|
|
177
178
|
if (ctx.json) {
|
|
178
179
|
ctx.output.data({
|
|
179
180
|
approved: true,
|
|
180
181
|
...details,
|
|
181
|
-
version: approved
|
|
182
|
+
version: approved,
|
|
183
|
+
not_installed: hints.map(notInstalledOf)
|
|
182
184
|
});
|
|
183
185
|
return;
|
|
184
186
|
}
|
|
185
187
|
ctx.ui.success(await awaitingInstall(ctx.api, artifact.id, version.manifest) ? `Approved version ${version.id}. Nothing is installed yet, so only its author can see it until you choose where it shows.` : `Approved version ${version.id}. It's live for everyone it's installed for.`);
|
|
186
|
-
ctx.ui.info(`Choose where it shows with \`superwall artifacts install <entrypoint> --artifact ${artifact.id}\`.`);
|
|
188
|
+
if (hints.length === 0) ctx.ui.info(`Choose where it shows with \`superwall artifacts install <entrypoint> --artifact ${artifact.id}\`.`);
|
|
189
|
+
for (const hint of hints) ctx.ui.info(hint.sentence);
|
|
187
190
|
}
|
|
188
191
|
|
|
189
192
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as ASSET_HOST } from "./environment-
|
|
2
|
-
import { t as ApiError } from "./client-
|
|
3
|
-
import { S as pushPaywallAssets } from "./resources-
|
|
1
|
+
import { r as ASSET_HOST } from "./environment-BFNzLLPN.js";
|
|
2
|
+
import { t as ApiError } from "./client-x08fpvay.js";
|
|
3
|
+
import { S as pushPaywallAssets } from "./resources-DNwvf8rg.js";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/core/paywalls/assets.ts
|
package/dist/auth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as resolveAuthToken, r as NotLoggedInError, t as getOAuthAccessToken } from "./token-
|
|
1
|
+
import { n as resolveAuthToken, r as NotLoggedInError, t as getOAuthAccessToken } from "./token-BbUeExGJ.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
5
|
|
|
6
6
|
export { NotLoggedInError, getOAuthAccessToken, resolveAuthToken };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as apiKeyFromEnv, f as ENV_API_KEY, t as API_HOST } from "./environment-
|
|
2
|
-
import { n as readSession } from "./storage-
|
|
3
|
-
import { r as createSuperwallApi } from "./client-
|
|
1
|
+
import { S as apiKeyFromEnv, f as ENV_API_KEY, t as API_HOST } from "./environment-BFNzLLPN.js";
|
|
2
|
+
import { n as readSession } from "./storage-pR0Wb0d9.js";
|
|
3
|
+
import { r as createSuperwallApi } from "./client-x08fpvay.js";
|
|
4
4
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
5
|
-
import { k as isRecord, p as listApplications, y as platformLabel } from "./resources-
|
|
5
|
+
import { k as isRecord, p as listApplications, y as platformLabel } from "./resources-DNwvf8rg.js";
|
|
6
6
|
import { _ as writeSources, c as parseSources, d as writeApp, l as readLock } from "./lock-DgSx-p8Y.js";
|
|
7
|
-
import { n as performLoginWithUi } from "./login-
|
|
7
|
+
import { n as performLoginWithUi } from "./login-BlpfYapG.js";
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as path from "node:path";
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as Integration } from "./environment-
|
|
2
|
-
import { i as readPackageJson, r as allDeps } from "./scan-
|
|
3
|
-
import { d as readBundledSkill } from "./skills-
|
|
1
|
+
import { h as Integration } from "./environment-BFNzLLPN.js";
|
|
2
|
+
import { i as readPackageJson, r as allDeps } from "./scan-dv0rrY4C.js";
|
|
3
|
+
import { d as readBundledSkill } from "./skills-Q7xB784d.js";
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
5
|
import fg from "fast-glob";
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h as Integration } from "./environment-
|
|
2
|
-
import { n as withSpinner } from "./spinner-
|
|
1
|
+
import { h as Integration } from "./environment-BFNzLLPN.js";
|
|
2
|
+
import { n as withSpinner } from "./spinner-IA6hV8nI.js";
|
|
3
3
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
4
|
-
import { c as createProject, m as listProjects, r as createApplication, y as platformLabel } from "./resources-
|
|
5
|
-
import { n as orgForNewProject } from "./org-
|
|
4
|
+
import { c as createProject, m as listProjects, r as createApplication, y as platformLabel } from "./resources-DNwvf8rg.js";
|
|
5
|
+
import { n as orgForNewProject } from "./org-C4G7WjTV.js";
|
|
6
6
|
|
|
7
7
|
//#region src/core/account/bind.ts
|
|
8
8
|
const NEW = "__new__";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import { x as VERSION } from "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import "./client-
|
|
3
|
+
import { x as VERSION } from "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import "./client-x08fpvay.js";
|
|
6
6
|
import "./config-CGcG7GOt.js";
|
|
7
7
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
8
|
-
import "./orgs-
|
|
9
|
-
import "./resources-
|
|
8
|
+
import "./orgs-1OzwUtpT.js";
|
|
9
|
+
import "./resources-DNwvf8rg.js";
|
|
10
10
|
import { b as writeProjectTypes, l as readLock, y as collectProjectDeclarations } from "./lock-DgSx-p8Y.js";
|
|
11
|
-
import { _ as took, i as parseIds, l as selectSurfaces, n as resolveFramework, o as requireProject, p as kb, s as resolveProjectDir } from "./framework-
|
|
12
|
-
import { t as assetBaseUrl } from "./assets-
|
|
11
|
+
import { _ as took, i as parseIds, l as selectSurfaces, n as resolveFramework, o as requireProject, p as kb, s as resolveProjectDir } from "./framework-JFLjmD5Y.js";
|
|
12
|
+
import { t as assetBaseUrl } from "./assets-C_RjojkK.js";
|
|
13
13
|
import { n as lintDesignTokens, t as formatTokenFinding } from "./design-lint-CiFc78aM.js";
|
|
14
14
|
import * as fs from "node:fs";
|
|
15
15
|
import * as path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as resolveAuthToken, r as NotLoggedInError } from "./token-
|
|
2
|
-
import { b as USER_AGENT } from "./environment-
|
|
3
|
-
import { a as resolveApiHost, n as readSession } from "./storage-
|
|
1
|
+
import { n as resolveAuthToken, r as NotLoggedInError } from "./token-BbUeExGJ.js";
|
|
2
|
+
import { b as USER_AGENT } from "./environment-BFNzLLPN.js";
|
|
3
|
+
import { a as resolveApiHost, n as readSession } from "./storage-pR0Wb0d9.js";
|
|
4
4
|
|
|
5
5
|
//#region src/core/api/client.ts
|
|
6
6
|
const BODY_SNIPPET = 200;
|
|
@@ -46,12 +46,52 @@ var ApiError = class extends Error {
|
|
|
46
46
|
this.envelope = envelope !== void 0;
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
+
const DROPPED_CODES = new Set([
|
|
50
|
+
"EPIPE",
|
|
51
|
+
"ECONNRESET",
|
|
52
|
+
"ECONNABORTED",
|
|
53
|
+
"UND_ERR_SOCKET",
|
|
54
|
+
"UND_ERR_CLOSED"
|
|
55
|
+
]);
|
|
56
|
+
const DROPPED_MESSAGE = /other side closed|socket hang up|socket connection was closed/i;
|
|
57
|
+
function fetchFailureOf(error) {
|
|
58
|
+
let found = {};
|
|
59
|
+
const seen = /* @__PURE__ */ new Set();
|
|
60
|
+
let current = error;
|
|
61
|
+
while (typeof current === "object" && current !== null && !seen.has(current)) {
|
|
62
|
+
seen.add(current);
|
|
63
|
+
const code = Reflect.get(current, "code");
|
|
64
|
+
const message = Reflect.get(current, "message");
|
|
65
|
+
const useful = typeof message === "string" && message !== "" && message !== "fetch failed" ? message : void 0;
|
|
66
|
+
if (typeof code === "string" && code !== "") found = {
|
|
67
|
+
code,
|
|
68
|
+
message: useful
|
|
69
|
+
};
|
|
70
|
+
else if (found.code === void 0 && useful !== void 0) found = { message: useful };
|
|
71
|
+
const errors = Reflect.get(current, "errors");
|
|
72
|
+
current = Reflect.get(current, "cause") ?? (Array.isArray(errors) ? errors[0] : void 0);
|
|
73
|
+
}
|
|
74
|
+
return found;
|
|
75
|
+
}
|
|
76
|
+
const failureLabel = ({ code, message }) => {
|
|
77
|
+
if (code === void 0) return message;
|
|
78
|
+
return message === void 0 || message.includes(code) ? code : `${code}: ${message}`;
|
|
79
|
+
};
|
|
49
80
|
var ApiUnreachableError = class extends Error {
|
|
81
|
+
/** The connection opened and then dropped, so the API may or may not have got the request. */
|
|
82
|
+
dropped;
|
|
83
|
+
code;
|
|
50
84
|
constructor(host, cause) {
|
|
51
85
|
const local = /^https?:\/\/(localhost|127\.0\.0\.1|\[::1\])/.test(host);
|
|
52
|
-
|
|
86
|
+
const failure = fetchFailureOf(cause);
|
|
87
|
+
const dropped = failure.code !== void 0 && DROPPED_CODES.has(failure.code) || DROPPED_MESSAGE.test(failure.message ?? "");
|
|
88
|
+
const label = failureLabel(failure);
|
|
89
|
+
const why = label === void 0 ? "" : ` (${label})`;
|
|
90
|
+
super(dropped ? `Lost the connection ${failure.code === "EPIPE" ? "while sending to" : "to"} the Superwall API at ${host}${why}.\n It closed before the request finished. Try again.` : `Couldn't reach the Superwall API at ${host}${why}.\n` + (local ? " That's a local address — start the API, or unset SUPERWALL_API_HOST to use production." : " Check your network or proxy, then try again."));
|
|
53
91
|
this.name = "ApiUnreachableError";
|
|
54
92
|
this.cause = cause;
|
|
93
|
+
this.dropped = dropped;
|
|
94
|
+
if (failure.code !== void 0) this.code = failure.code;
|
|
55
95
|
}
|
|
56
96
|
};
|
|
57
97
|
const PAGE_LIMIT = 50;
|
|
@@ -62,6 +102,8 @@ const RETRYABLE = new Set([
|
|
|
62
102
|
503,
|
|
63
103
|
504
|
|
64
104
|
]);
|
|
105
|
+
const DROPPED_ATTEMPTS = 3;
|
|
106
|
+
const DROPPED_BACKOFF_MS = 250;
|
|
65
107
|
async function parseApiError(request, res) {
|
|
66
108
|
const text = await res.text().catch(() => "");
|
|
67
109
|
return new ApiError(request, res.status, text);
|
|
@@ -89,7 +131,7 @@ const createSuperwallApi = (initial, { userAgent = USER_AGENT() } = {}) => {
|
|
|
89
131
|
};
|
|
90
132
|
const request = async (method, path, body, options = {}) => {
|
|
91
133
|
const token = await authorized();
|
|
92
|
-
const
|
|
134
|
+
const once = () => {
|
|
93
135
|
return send(`${host()}${path}`, {
|
|
94
136
|
method,
|
|
95
137
|
headers: {
|
|
@@ -102,6 +144,14 @@ const createSuperwallApi = (initial, { userAgent = USER_AGENT() } = {}) => {
|
|
|
102
144
|
...body !== void 0 ? { body: JSON.stringify(body) } : {}
|
|
103
145
|
});
|
|
104
146
|
};
|
|
147
|
+
const attempt = async () => {
|
|
148
|
+
for (let tried = 1;; tried++) try {
|
|
149
|
+
return await once();
|
|
150
|
+
} catch (error) {
|
|
151
|
+
if (!(options.idempotent === true && error instanceof ApiUnreachableError && error.dropped) || tried >= DROPPED_ATTEMPTS) throw error;
|
|
152
|
+
await new Promise((done) => setTimeout(done, DROPPED_BACKOFF_MS * 2 ** (tried - 1)));
|
|
153
|
+
}
|
|
154
|
+
};
|
|
105
155
|
let res = await attempt();
|
|
106
156
|
for (let retry = 0; method === "GET" && RETRYABLE.has(res.status) && retry < GET_RETRIES; retry++) {
|
|
107
157
|
await new Promise((done) => setTimeout(done, retryDelay(res, retry)));
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import "./client-
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import "./client-x08fpvay.js";
|
|
6
6
|
import "./config-CGcG7GOt.js";
|
|
7
|
-
import "./telemetry-
|
|
7
|
+
import "./telemetry-DU56L7Cy.js";
|
|
8
8
|
import "./spawn-DmmmHIP-.js";
|
|
9
|
-
import "./spinner-
|
|
9
|
+
import "./spinner-IA6hV8nI.js";
|
|
10
10
|
import "./ui-D_qf3Gvw.js";
|
|
11
11
|
import "./theme-DUsCh-Vd.js";
|
|
12
12
|
import "./log-C0MDCfA2.js";
|
|
13
|
-
import "./scan-
|
|
14
|
-
import "./existing-
|
|
15
|
-
import "./paths-
|
|
16
|
-
import "./orgs-
|
|
17
|
-
import { O as field } from "./resources-
|
|
18
|
-
import "./org-
|
|
19
|
-
import "./lookup-
|
|
20
|
-
import "./bind-
|
|
21
|
-
import "./login-
|
|
22
|
-
import "./skills-
|
|
13
|
+
import "./scan-dv0rrY4C.js";
|
|
14
|
+
import "./existing-WQ3pz94o.js";
|
|
15
|
+
import "./paths-gBbqgkS7.js";
|
|
16
|
+
import "./orgs-1OzwUtpT.js";
|
|
17
|
+
import { O as field } from "./resources-DNwvf8rg.js";
|
|
18
|
+
import "./org-C4G7WjTV.js";
|
|
19
|
+
import "./lookup-Dg55W9S7.js";
|
|
20
|
+
import "./bind-DcWIIPgk.js";
|
|
21
|
+
import "./login-Blhxi20A.js";
|
|
22
|
+
import "./skills-Q7xB784d.js";
|
|
23
23
|
import "./browser-Bp3yRKlU.js";
|
|
24
24
|
import "./lock-DgSx-p8Y.js";
|
|
25
25
|
import "./scope-ehZ7L1nj.js";
|
|
26
26
|
import { i as downloadRepoDir, n as PUBLIC_REPO, r as RepoDownloadError, t as PUBLIC_REF } from "./download-DhGd4hOB.js";
|
|
27
|
-
import { a as projectPackageName, i as requireApi, r as LoginRequiredError } from "./base-
|
|
28
|
-
import "./framework-
|
|
29
|
-
import "./run-
|
|
30
|
-
import "./drivers-
|
|
31
|
-
import { _ as slugOf, c as scaffoldFromPaywall, g as writeTemplate, h as writeSurfaceFiles, i as migrationFor, m as starterConfig, o as offerMigration, s as projectDirOf } from "./migration-
|
|
32
|
-
import "./login-
|
|
27
|
+
import { a as projectPackageName, i as requireApi, r as LoginRequiredError } from "./base-83ZTv6up.js";
|
|
28
|
+
import "./framework-JFLjmD5Y.js";
|
|
29
|
+
import "./run-B-YoyB-a.js";
|
|
30
|
+
import "./drivers-Dyi-y9Jn.js";
|
|
31
|
+
import { _ as slugOf, c as scaffoldFromPaywall, g as writeTemplate, h as writeSurfaceFiles, i as migrationFor, m as starterConfig, o as offerMigration, s as projectDirOf } from "./migration-BUedsREQ.js";
|
|
32
|
+
import "./login-BlpfYapG.js";
|
|
33
33
|
import "./source-BccdO4aL.js";
|
|
34
|
-
import { a as devCommand, c as uniqueSurfaceId, i as detectPackageManager, n as connectApp, o as initGit, r as detectHostApp, s as installDependencies, t as alreadyAProject } from "./setup-
|
|
35
|
-
import "./assets-
|
|
36
|
-
import "./source-push-
|
|
37
|
-
import "./server-
|
|
38
|
-
import { i as startStudio, n as migrationNextSteps, t as askStudio } from "./open-
|
|
34
|
+
import { a as devCommand, c as uniqueSurfaceId, i as detectPackageManager, n as connectApp, o as initGit, r as detectHostApp, s as installDependencies, t as alreadyAProject } from "./setup-m94dpT3t.js";
|
|
35
|
+
import "./assets-C_RjojkK.js";
|
|
36
|
+
import "./source-push-CG948HrX.js";
|
|
37
|
+
import "./server-CcZGdYjE.js";
|
|
38
|
+
import { i as startStudio, n as migrationNextSteps, t as askStudio } from "./open-BAqLpTSI.js";
|
|
39
39
|
import * as fs from "node:fs";
|
|
40
40
|
import * as path from "node:path";
|
|
41
41
|
import pc from "picocolors";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
|
+
import "./output-Ggzq5_-t.js";
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import "./client-x08fpvay.js";
|
|
6
|
+
import "./held-sKq3xrsT.js";
|
|
7
|
+
import "./config-CGcG7GOt.js";
|
|
8
|
+
import "./spinner-IA6hV8nI.js";
|
|
9
|
+
import "./ui-D_qf3Gvw.js";
|
|
10
|
+
import "./paths-gBbqgkS7.js";
|
|
11
|
+
import "./orgs-1OzwUtpT.js";
|
|
12
|
+
import "./resources-DNwvf8rg.js";
|
|
13
|
+
import "./org-C4G7WjTV.js";
|
|
14
|
+
import "./lookup-Dg55W9S7.js";
|
|
15
|
+
import "./scope-BXoQo30_.js";
|
|
16
|
+
import "./client-BJQXl62Q.js";
|
|
17
|
+
import "./timing-Ca0TXY-A.js";
|
|
18
|
+
import { i as runAscKeysCreate, n as keyAccess, r as keyRole, t as createAndSaveKey } from "./create-kpqEhqkk.js";
|
|
19
|
+
|
|
20
|
+
export { createAndSaveKey, keyAccess, keyRole, runAscKeysCreate };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
|
|
2
|
-
import { C as appleCredentialsFromEnv, m as ENV_APPLE_PASSWORD, p as ENV_APPLE_ID, x as VERSION } from "./environment-
|
|
3
|
-
import { t as ApiError } from "./client-
|
|
4
|
-
import { i as savedKey, m as KEY_LABEL, n as testModeWarning, o as chooseIosApp, s as resolveApp, t as upsertHeldKey, x as keyKind, y as findIntegrations } from "./held-
|
|
5
|
-
import { t as apiCall } from "./spinner-
|
|
6
|
-
import { n as SUPERWALL_HOME } from "./paths-
|
|
7
|
-
import { A as listField, M as textField, O as field, j as parseJson } from "./resources-
|
|
2
|
+
import { C as appleCredentialsFromEnv, m as ENV_APPLE_PASSWORD, p as ENV_APPLE_ID, x as VERSION } from "./environment-BFNzLLPN.js";
|
|
3
|
+
import { t as ApiError } from "./client-x08fpvay.js";
|
|
4
|
+
import { i as savedKey, m as KEY_LABEL, n as testModeWarning, o as chooseIosApp, s as resolveApp, t as upsertHeldKey, x as keyKind, y as findIntegrations } from "./held-sKq3xrsT.js";
|
|
5
|
+
import { t as apiCall } from "./spinner-IA6hV8nI.js";
|
|
6
|
+
import { n as SUPERWALL_HOME } from "./paths-gBbqgkS7.js";
|
|
7
|
+
import { A as listField, M as textField, O as field, j as parseJson } from "./resources-DNwvf8rg.js";
|
|
8
8
|
import { c as replaceAppPurchaseKey, s as replaceAppAscKey } from "./client-BJQXl62Q.js";
|
|
9
9
|
import { t as timing } from "./timing-Ca0TXY-A.js";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import { S as apiKeyFromEnv } from "./environment-
|
|
4
|
-
import { n as readSession } from "./storage-
|
|
3
|
+
import { S as apiKeyFromEnv } from "./environment-BFNzLLPN.js";
|
|
4
|
+
import { n as readSession } from "./storage-pR0Wb0d9.js";
|
|
5
5
|
import "./spawn-DmmmHIP-.js";
|
|
6
6
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
7
7
|
import { n as fg, t as THEME } from "./theme-DUsCh-Vd.js";
|
|
8
|
-
import { t as scanProject } from "./scan-
|
|
9
|
-
import { t as detectExisting } from "./existing-
|
|
10
|
-
import { t as detectDrivers } from "./drivers-
|
|
8
|
+
import { t as scanProject } from "./scan-dv0rrY4C.js";
|
|
9
|
+
import { t as detectExisting } from "./existing-WQ3pz94o.js";
|
|
10
|
+
import { t as detectDrivers } from "./drivers-Dyi-y9Jn.js";
|
|
11
11
|
|
|
12
12
|
//#region src/core/support/doctor.ts
|
|
13
13
|
async function runDoctor(ctx, deps = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as getOAuthAccessToken } from "./token-
|
|
2
|
-
import { t as API_HOST, x as VERSION } from "./environment-
|
|
3
|
-
import { n as readSession } from "./storage-
|
|
1
|
+
import { t as getOAuthAccessToken } from "./token-BbUeExGJ.js";
|
|
2
|
+
import { t as API_HOST, x as VERSION } from "./environment-BFNzLLPN.js";
|
|
3
|
+
import { n as readSession } from "./storage-pR0Wb0d9.js";
|
|
4
4
|
import { n as readVersion, r as spawnStream, t as onPath } from "./spawn-DmmmHIP-.js";
|
|
5
5
|
import { tmpdir } from "node:os";
|
|
6
6
|
import { basename, join } from "node:path";
|
package/dist/entry.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { n as __require, r as __toESM, t as __commonJS } from "./chunk-DQxbwPpZ.js";
|
|
2
|
-
import "./token-
|
|
2
|
+
import "./token-BbUeExGJ.js";
|
|
3
3
|
import { a as stripAnsi, d as useStores, i as writeJson } from "./output-Ggzq5_-t.js";
|
|
4
|
-
import { T as isNonInteractive, s as CHANNEL, x as VERSION } from "./environment-
|
|
5
|
-
import "./storage-
|
|
6
|
-
import { i as superwallApi } from "./client-
|
|
7
|
-
import { O as useAscRefresh } from "./held-
|
|
4
|
+
import { T as isNonInteractive, s as CHANNEL, x as VERSION } from "./environment-BFNzLLPN.js";
|
|
5
|
+
import "./storage-pR0Wb0d9.js";
|
|
6
|
+
import { i as superwallApi } from "./client-x08fpvay.js";
|
|
7
|
+
import { O as useAscRefresh } from "./held-sKq3xrsT.js";
|
|
8
8
|
import "./config-CGcG7GOt.js";
|
|
9
|
-
import { n as maybeShowTelemetryNotice, r as track, t as flushTelemetry } from "./telemetry-
|
|
9
|
+
import { n as maybeShowTelemetryNotice, r as track, t as flushTelemetry } from "./telemetry-DU56L7Cy.js";
|
|
10
10
|
import "./spawn-DmmmHIP-.js";
|
|
11
|
-
import { a as printAutoUpdate, i as maybeNotifyUpdate, l as selectAutoUpdate, n as isGlobalInstall, o as recordAutoUpdate, s as refreshUpdateCheck, t as flushUpdateCheck } from "./upgrade-
|
|
12
|
-
import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-
|
|
11
|
+
import { a as printAutoUpdate, i as maybeNotifyUpdate, l as selectAutoUpdate, n as isGlobalInstall, o as recordAutoUpdate, s as refreshUpdateCheck, t as flushUpdateCheck } from "./upgrade-CKn88PZD.js";
|
|
12
|
+
import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-IA6hV8nI.js";
|
|
13
13
|
import { r as useRenderer, t as silentRenderer } from "./ui-D_qf3Gvw.js";
|
|
14
14
|
import { t as THEME } from "./theme-DUsCh-Vd.js";
|
|
15
15
|
import { n as styleMarkdown, r as wrapReportLine } from "./log-C0MDCfA2.js";
|
|
16
|
-
import { t as scanProject } from "./scan-
|
|
17
|
-
import { t as detectExisting } from "./existing-
|
|
18
|
-
import { n as SUPERWALL_HOME, r as expandHome } from "./paths-
|
|
19
|
-
import { a as renderPage, i as exampleLines, n as cmd, r as detailLines, t as listGroups } from "./registry-
|
|
20
|
-
import "./session-
|
|
21
|
-
import "./orgs-
|
|
22
|
-
import "./resources-
|
|
23
|
-
import "./org-
|
|
24
|
-
import "./lookup-
|
|
25
|
-
import "./scope-
|
|
16
|
+
import { t as scanProject } from "./scan-dv0rrY4C.js";
|
|
17
|
+
import { t as detectExisting } from "./existing-WQ3pz94o.js";
|
|
18
|
+
import { n as SUPERWALL_HOME, r as expandHome } from "./paths-gBbqgkS7.js";
|
|
19
|
+
import { a as renderPage, i as exampleLines, n as cmd, r as detailLines, t as listGroups } from "./registry-aAR_8VOw.js";
|
|
20
|
+
import "./session-dHBtgSN0.js";
|
|
21
|
+
import "./orgs-1OzwUtpT.js";
|
|
22
|
+
import "./resources-DNwvf8rg.js";
|
|
23
|
+
import "./org-C4G7WjTV.js";
|
|
24
|
+
import "./lookup-Dg55W9S7.js";
|
|
25
|
+
import "./scope-BXoQo30_.js";
|
|
26
26
|
import "./client-BJQXl62Q.js";
|
|
27
27
|
import "./products-Cqq59DBQ.js";
|
|
28
28
|
import "./input-MDd67UIp.js";
|
|
29
29
|
import "./timing-Ca0TXY-A.js";
|
|
30
|
-
import "./notification-url-
|
|
31
|
-
import "./bind-
|
|
30
|
+
import "./notification-url-D82msWF5.js";
|
|
31
|
+
import "./bind-DcWIIPgk.js";
|
|
32
32
|
import { spawn } from "node:child_process";
|
|
33
33
|
import * as fs from "node:fs";
|
|
34
34
|
import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as Integration } from "./environment-
|
|
2
|
-
import { i as readPackageJson, r as allDeps } from "./scan-
|
|
1
|
+
import { h as Integration } from "./environment-BFNzLLPN.js";
|
|
2
|
+
import { i as readPackageJson, r as allDeps } from "./scan-dv0rrY4C.js";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import fg from "fast-glob";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as billingPlanOf } from "./resources-
|
|
1
|
+
import { n as billingPlanOf } from "./resources-DNwvf8rg.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { globSync, readFileSync, statSync } from "node:fs";
|
|
4
4
|
import { join, resolve } from "node:path";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
|
+
import "./output-Ggzq5_-t.js";
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import "./client-x08fpvay.js";
|
|
6
|
+
import { t as upsertHeldKey } from "./held-sKq3xrsT.js";
|
|
7
|
+
import "./config-CGcG7GOt.js";
|
|
8
|
+
import "./spinner-IA6hV8nI.js";
|
|
9
|
+
import "./ui-D_qf3Gvw.js";
|
|
10
|
+
import "./orgs-1OzwUtpT.js";
|
|
11
|
+
import "./resources-DNwvf8rg.js";
|
|
12
|
+
import "./org-C4G7WjTV.js";
|
|
13
|
+
import "./lookup-Dg55W9S7.js";
|
|
14
|
+
import "./scope-BXoQo30_.js";
|
|
15
|
+
import "./client-BJQXl62Q.js";
|
|
16
|
+
|
|
17
|
+
export { upsertHeldKey };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { l as readJson, o as cache } from "./output-Ggzq5_-t.js";
|
|
2
|
-
import { t as ApiError } from "./client-
|
|
3
|
-
import { d as readInput, t as apiCall } from "./spinner-
|
|
4
|
-
import { A as listField, M as textField, O as field, c as createProject, k as isRecord, m as listProjects, r as createApplication } from "./resources-
|
|
5
|
-
import { n as orgForNewProject } from "./org-
|
|
6
|
-
import { n as findApplication } from "./lookup-
|
|
7
|
-
import { r as pickOrganization } from "./scope-
|
|
2
|
+
import { t as ApiError } from "./client-x08fpvay.js";
|
|
3
|
+
import { d as readInput, t as apiCall } from "./spinner-IA6hV8nI.js";
|
|
4
|
+
import { A as listField, M as textField, O as field, c as createProject, k as isRecord, m as listProjects, r as createApplication } from "./resources-DNwvf8rg.js";
|
|
5
|
+
import { n as orgForNewProject } from "./org-C4G7WjTV.js";
|
|
6
|
+
import { n as findApplication } from "./lookup-Dg55W9S7.js";
|
|
7
|
+
import { r as pickOrganization } from "./scope-BXoQo30_.js";
|
|
8
8
|
import { a as listAscConfigs, c as replaceAppPurchaseKey, l as replaceAscConfig, r as createAscConfig, s as replaceAppAscKey, t as ascProxy } from "./client-BJQXl62Q.js";
|
|
9
9
|
|
|
10
10
|
//#region src/core/app-store-connect/api/spec.ts
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import "./output-Ggzq5_-t.js";
|
|
3
|
-
import "./environment-
|
|
4
|
-
import "./storage-
|
|
5
|
-
import "./client-
|
|
3
|
+
import "./environment-BFNzLLPN.js";
|
|
4
|
+
import "./storage-pR0Wb0d9.js";
|
|
5
|
+
import "./client-x08fpvay.js";
|
|
6
6
|
import "./config-CGcG7GOt.js";
|
|
7
|
-
import "./spinner-
|
|
7
|
+
import "./spinner-IA6hV8nI.js";
|
|
8
8
|
import "./ui-D_qf3Gvw.js";
|
|
9
|
-
import "./orgs-
|
|
10
|
-
import "./resources-
|
|
11
|
-
import "./lookup-
|
|
9
|
+
import "./orgs-1OzwUtpT.js";
|
|
10
|
+
import "./resources-DNwvf8rg.js";
|
|
11
|
+
import "./lookup-Dg55W9S7.js";
|
|
12
12
|
import { n as openBrowser } from "./browser-Bp3yRKlU.js";
|
|
13
|
-
import { C as
|
|
13
|
+
import { C as listInstallations, O as setInstallation, S as listArtifacts, T as listVersions, a as latestManifest, c as openLink, d as resolveArtifact, m as readBinding, t as appEntrypointUrl, u as projectRoot, y as deleteInstallation } from "./resolve-CcOpO_5s.js";
|
|
14
14
|
import { t as ArtifactError } from "./project-NoMtbMyl.js";
|
|
15
15
|
import "./lock-DgSx-p8Y.js";
|
|
16
16
|
import "./scope-ehZ7L1nj.js";
|
|
17
|
-
import { n as resolveOrganization, t as resolveAppScope } from "./organization-
|
|
17
|
+
import { n as resolveOrganization, t as resolveAppScope } from "./organization-CmuQwcKN.js";
|
|
18
18
|
|
|
19
19
|
//#region src/core/artifacts/install.ts
|
|
20
20
|
const whereLabel = (application) => application === null || application === void 0 ? "the whole organization" : `app ${application}`;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import "./token-
|
|
1
|
+
import "./token-BbUeExGJ.js";
|
|
2
2
|
import { r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
|
|
3
|
-
import { d as DASHBOARD_URL, x as VERSION } from "./environment-
|
|
4
|
-
import { i as removeSession, n as readSession, s as sessionOrgName } from "./storage-
|
|
5
|
-
import { i as superwallApi } from "./client-
|
|
3
|
+
import { d as DASHBOARD_URL, x as VERSION } from "./environment-BFNzLLPN.js";
|
|
4
|
+
import { i as removeSession, n as readSession, s as sessionOrgName } from "./storage-pR0Wb0d9.js";
|
|
5
|
+
import { i as superwallApi } from "./client-x08fpvay.js";
|
|
6
6
|
import { i as readOnboardedApp } from "./config-CGcG7GOt.js";
|
|
7
|
-
import { i as updateTelemetryTags } from "./telemetry-
|
|
7
|
+
import { i as updateTelemetryTags } from "./telemetry-DU56L7Cy.js";
|
|
8
8
|
import "./spawn-DmmmHIP-.js";
|
|
9
|
-
import { n as withSpinner } from "./spinner-
|
|
9
|
+
import { n as withSpinner } from "./spinner-IA6hV8nI.js";
|
|
10
10
|
import { n as ui } from "./ui-D_qf3Gvw.js";
|
|
11
11
|
import "./theme-DUsCh-Vd.js";
|
|
12
12
|
import { t as stripReport } from "./log-C0MDCfA2.js";
|
|
13
|
-
import { n as SUPPORTED_LABEL, t as scanProject } from "./scan-
|
|
14
|
-
import { t as detectExisting } from "./existing-
|
|
15
|
-
import { r as expandHome } from "./paths-
|
|
16
|
-
import "./orgs-
|
|
17
|
-
import { A as listField, O as field, T as rowName, h as listResource, p as listApplications, s as createProduct, y as platformLabel } from "./resources-
|
|
18
|
-
import "./org-
|
|
19
|
-
import "./lookup-
|
|
20
|
-
import "./scope-
|
|
13
|
+
import { n as SUPPORTED_LABEL, t as scanProject } from "./scan-dv0rrY4C.js";
|
|
14
|
+
import { t as detectExisting } from "./existing-WQ3pz94o.js";
|
|
15
|
+
import { r as expandHome } from "./paths-gBbqgkS7.js";
|
|
16
|
+
import "./orgs-1OzwUtpT.js";
|
|
17
|
+
import { A as listField, O as field, T as rowName, h as listResource, p as listApplications, s as createProduct, y as platformLabel } from "./resources-DNwvf8rg.js";
|
|
18
|
+
import "./org-C4G7WjTV.js";
|
|
19
|
+
import "./lookup-Dg55W9S7.js";
|
|
20
|
+
import "./scope-BXoQo30_.js";
|
|
21
21
|
import { a as listAscConfigs, r as createAscConfig } from "./client-BJQXl62Q.js";
|
|
22
22
|
import { i as listUnimportedAscProducts, n as findAscAppId, r as listAscApps, t as ascTypeDisplay } from "./products-Cqq59DBQ.js";
|
|
23
23
|
import "./input-MDd67UIp.js";
|
|
24
|
-
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-
|
|
25
|
-
import "./login-
|
|
26
|
-
import { s as ensureSkillsCurrent } from "./skills-
|
|
24
|
+
import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-DcWIIPgk.js";
|
|
25
|
+
import "./login-Blhxi20A.js";
|
|
26
|
+
import { s as ensureSkillsCurrent } from "./skills-Q7xB784d.js";
|
|
27
27
|
import "./browser-Bp3yRKlU.js";
|
|
28
|
-
import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-
|
|
29
|
-
import { n as selectHostedStatus, t as detectDrivers } from "./drivers-
|
|
30
|
-
import { n as performLoginWithUi, t as createLoginGate } from "./login-
|
|
31
|
-
import { t as generateStoreKit } from "./storekit-
|
|
32
|
-
import { r as actionById, t as detectBilling } from "./billing-
|
|
28
|
+
import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-B-YoyB-a.js";
|
|
29
|
+
import { n as selectHostedStatus, t as detectDrivers } from "./drivers-Dyi-y9Jn.js";
|
|
30
|
+
import { n as performLoginWithUi, t as createLoginGate } from "./login-BlpfYapG.js";
|
|
31
|
+
import { t as generateStoreKit } from "./storekit-CQnwlpKV.js";
|
|
32
|
+
import { r as actionById, t as detectBilling } from "./billing-B6HK-F_a.js";
|
|
33
33
|
import { n as writeReport, t as readReport } from "./reports-HYVp169R.js";
|
|
34
34
|
import { readFileSync, writeFileSync } from "node:fs";
|
|
35
35
|
import { basename } from "node:path";
|