@superwall/cli 2.1.1 → 2.2.0

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.
Files changed (68) hide show
  1. package/README.md +9 -0
  2. package/dist/{apple-BHbX0jbn.js → apple-Bcr_PteR.js} +13 -13
  3. package/dist/auth.d.ts +1 -1
  4. package/dist/auth.js +3 -3
  5. package/dist/{billing-4zhIBFRQ.js → billing-CWM1ds3K.js} +3 -3
  6. package/dist/{bind-CHLHmxgA.js → bind-DEYxsnZD.js} +4 -4
  7. package/dist/{build-5PQeSnNN.js → build--oQKfZU6.js} +6 -6
  8. package/dist/{client-BIvOmWPC.js → client-CimFymxG.js} +3 -3
  9. package/dist/{create-VK-pNfN7.js → create-BG9n4fvs.js} +22 -22
  10. package/dist/{create-BSNIFsnN.js → create-DTAyHkxb.js} +6 -6
  11. package/dist/create-kT2C9k4h.js +19 -0
  12. package/dist/{doctor-9JS96QkX.js → doctor-BkygMUe2.js} +6 -6
  13. package/dist/{drivers-BamBJ10Y.js → drivers-C6eXj5-r.js} +3 -3
  14. package/dist/entry.js +19 -19
  15. package/dist/{environment-eV7LEnSN.js → environment-CQn323uB.js} +1 -1
  16. package/dist/{existing-C8dSYHGk.js → existing-CvOluc9U.js} +2 -2
  17. package/dist/held-Bwkhufdj.js +16 -0
  18. package/dist/{held-BMisHn8F.js → held-QM7yfrXq.js} +6 -6
  19. package/dist/{integrate-VWtTNPCr.js → integrate-Ci_MLkQG.js} +21 -21
  20. package/dist/{login-BimbukE5.js → login-BIAWgdzM.js} +256 -33
  21. package/dist/{login-BmwG14LC.js → login-DLi71nJq.js} +1 -1
  22. package/dist/login-Dy9N5ZDH.js +16 -0
  23. package/dist/{lookup-k9EeOiZr.js → lookup-DZFrfzO0.js} +2 -2
  24. package/dist/{migrate-C86h6jeF.js → migrate-BKF1WckS.js} +21 -21
  25. package/dist/{notification-url-BVaTgWZ5.js → notification-url-erXQ1edb.js} +2 -2
  26. package/dist/{open-0tDCQOXC.js → open-BjvGVwJf.js} +10 -10
  27. package/dist/{org-DUwdrKPV.js → org-CvPGVSBF.js} +2 -2
  28. package/dist/{paths-BCbjCLP5.js → paths-oRuC18Kt.js} +1 -1
  29. package/dist/{playbook-oov9yV0q.js → playbook-CtTj1HBK.js} +10 -10
  30. package/dist/{promote-DPGPamkE.js → promote-BkJYISza.js} +16 -16
  31. package/dist/push-BIizJJOn.js +22 -0
  32. package/dist/{push-Cz4lJ8Qd.js → push-Ul2SW87i.js} +4 -4
  33. package/dist/{registry-CTczUigi.js → registry-OmPZ6dj0.js} +77 -36
  34. package/dist/{resources-B1qKDVXd.js → resources-FIrK7pE9.js} +1 -1
  35. package/dist/{run-DTPsVmFw.js → run-CwEY1eu5.js} +2 -2
  36. package/dist/{scan-Bb48xZqB.js → scan-CpbfZ2ju.js} +1 -1
  37. package/dist/scan-DjyvuWel.js +4 -0
  38. package/dist/{scope-B6UYGuwn.js → scope-BSqVfZvy.js} +4 -4
  39. package/dist/{selection-BbNk9r1q.js → selection-CHnVk8uw.js} +3 -3
  40. package/dist/server-BTveynqC.js +22 -0
  41. package/dist/{server-EYBMKAG1.js → server-D5xl5iKO.js} +66 -16
  42. package/dist/{session-xG9E8J2N.js → session-6lnJ0shD.js} +1 -1
  43. package/dist/{session-Crg9X-FI.js → session-BFwasPVq.js} +9 -8
  44. package/dist/session-Ds6tLC19.js +6 -0
  45. package/dist/skills/superwall/references/data-analytics.md +7 -8
  46. package/dist/skills/superwall-framework/references/migrate-from-editor.md +2 -1
  47. package/dist/{skills-Dg3k6TRC.js → skills-B8uSuanf.js} +8 -8
  48. package/dist/{skills-BdMKE2uO.js → skills-D7sG0xom.js} +4 -4
  49. package/dist/{spinner-Ba3XhlMb.js → spinner-TZeZEeVv.js} +3 -3
  50. package/dist/{storage-CerJ5KLP.d.ts → storage-BbJF7z3l.d.ts} +1 -0
  51. package/dist/{storage-DIkYajce.js → storage-DqKJe13V.js} +12 -2
  52. package/dist/storekit-C_LFh8qy.js +16 -0
  53. package/dist/{storekit-C2UzIIMs.js → storekit-uyT3DWo4.js} +3 -3
  54. package/dist/{telemetry-CVP8O6Y3.js → telemetry-D_uIIuSk.js} +1 -1
  55. package/dist/{token-IWv2httm.js → token-BJsLGoSX.js} +1 -1
  56. package/dist/tools.d.ts +8 -8
  57. package/dist/tools.js +14 -4
  58. package/dist/{upgrade-1t3aQUxh.js → upgrade-BRM51As6.js} +1 -1
  59. package/dist/{upgrade-DLf0LJDh.js → upgrade-DV_rmhyV.js} +2 -2
  60. package/package.json +2 -2
  61. package/dist/create-oj3zXvHZ.js +0 -19
  62. package/dist/held-DeJW2gUk.js +0 -16
  63. package/dist/login-2JHCG6c1.js +0 -16
  64. package/dist/push-Chp21y3a.js +0 -22
  65. package/dist/scan-B1SkkUi7.js +0 -4
  66. package/dist/server-CwrZ-I1r.js +0 -22
  67. package/dist/session-DItGa4z0.js +0 -6
  68. package/dist/storekit-DHNxDDpA.js +0 -16
package/README.md CHANGED
@@ -29,6 +29,15 @@ package; everything below is what you get.
29
29
  session. Where it can't open one (a server, or over SSH), it says so: open the
30
30
  URL it prints on any device and approve the code there. In CI, log in without
31
31
  a browser: `superwall login --api-key <key>`.
32
+
33
+ A coding agent can log you in too. Without a terminal, `superwall login` prints
34
+ the link and code and returns at once; the agent shows you the link, and once
35
+ you've approved it, `superwall login --poll` finishes the login (it waits up to
36
+ `--timeout` seconds, 60 by default, and says `pending` until then). A new
37
+ account without an organization needs `--org-name "<name>"` on either command;
38
+ add `--app-name "<name>" --platform ios|android|web` (and `--bundle-id`) to
39
+ create its first app too. `BROWSER=none` stops the CLI from opening a browser
40
+ itself.
32
41
  There are no organizations to pick: `superwall apps list` shows every app you
33
42
  can open, grouped by organization, and commands take `--app <id|dashboard link>`.
34
43
  Upgrade any time with `superwall upgrade` - the CLI also tells you when a new
@@ -1,21 +1,21 @@
1
- import "./token-IWv2httm.js";
1
+ import "./token-BJsLGoSX.js";
2
2
  import { t as blocks } from "./output-Ggzq5_-t.js";
3
- import "./environment-eV7LEnSN.js";
4
- import "./storage-DIkYajce.js";
5
- import { t as ApiError } from "./client-BIvOmWPC.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-BMisHn8F.js";
3
+ import "./environment-CQn323uB.js";
4
+ import "./storage-DqKJe13V.js";
5
+ import { t as ApiError } from "./client-CimFymxG.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-QM7yfrXq.js";
7
7
  import "./config-BO1Y87kV.js";
8
- import { t as apiCall } from "./spinner-Ba3XhlMb.js";
8
+ import { t as apiCall } from "./spinner-TZeZEeVv.js";
9
9
  import "./ui-D_qf3Gvw.js";
10
- import "./paths-BCbjCLP5.js";
11
- import "./resources-B1qKDVXd.js";
12
- import "./org-DUwdrKPV.js";
13
- import "./lookup-k9EeOiZr.js";
14
- import "./scope-B6UYGuwn.js";
10
+ import "./paths-oRuC18Kt.js";
11
+ import "./resources-FIrK7pE9.js";
12
+ import "./org-CvPGVSBF.js";
13
+ import "./lookup-DZFrfzO0.js";
14
+ import "./scope-BSqVfZvy.js";
15
15
  import "./client-BZ1UbpXz.js";
16
16
  import "./timing-BVxPrYq3.js";
17
- import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-BVaTgWZ5.js";
18
- import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-BSNIFsnN.js";
17
+ import { n as ensureNotificationUrl, r as environmentLines, t as describeNotificationUrl } from "./notification-url-erXQ1edb.js";
18
+ import { a as chooseTeam, n as keyAccess, o as signIn, r as keyRole, s as appleDeps, t as createAndSaveKey } from "./create-DTAyHkxb.js";
19
19
 
20
20
  //#region src/core/app-store-connect/setup/apple.ts
21
21
  const STEPS = [
package/dist/auth.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as Session } from "./storage-CerJ5KLP.js";
1
+ import { t as Session } from "./storage-BbJF7z3l.js";
2
2
 
3
3
  //#region src/core/account/errors.d.ts
4
4
  declare class NotLoggedInError extends Error {
package/dist/auth.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as resolveAuthToken, r as NotLoggedInError, t as getOAuthAccessToken } from "./token-IWv2httm.js";
1
+ import { n as resolveAuthToken, r as NotLoggedInError, t as getOAuthAccessToken } from "./token-BJsLGoSX.js";
2
2
  import "./output-Ggzq5_-t.js";
3
- import "./environment-eV7LEnSN.js";
4
- import "./storage-DIkYajce.js";
3
+ import "./environment-CQn323uB.js";
4
+ import "./storage-DqKJe13V.js";
5
5
 
6
6
  export { NotLoggedInError, getOAuthAccessToken, resolveAuthToken };
@@ -1,6 +1,6 @@
1
- import { f as Integration } from "./environment-eV7LEnSN.js";
2
- import { i as readPackageJson, r as allDeps } from "./scan-Bb48xZqB.js";
3
- import { d as readBundledSkill } from "./skills-BdMKE2uO.js";
1
+ import { f as Integration } from "./environment-CQn323uB.js";
2
+ import { i as readPackageJson, r as allDeps } from "./scan-CpbfZ2ju.js";
3
+ import { d as readBundledSkill } from "./skills-D7sG0xom.js";
4
4
  import { readFileSync } from "node:fs";
5
5
  import fg from "fast-glob";
6
6
 
@@ -1,8 +1,8 @@
1
- import { f as Integration } from "./environment-eV7LEnSN.js";
2
- import { n as withSpinner } from "./spinner-Ba3XhlMb.js";
1
+ import { f as Integration } from "./environment-CQn323uB.js";
2
+ import { n as withSpinner } from "./spinner-TZeZEeVv.js";
3
3
  import { n as ui } from "./ui-D_qf3Gvw.js";
4
- import { n as createApplication, p as listProjects, s as createProject, v as platformLabel } from "./resources-B1qKDVXd.js";
5
- import { n as orgForNewProject } from "./org-DUwdrKPV.js";
4
+ import { n as createApplication, p as listProjects, s as createProject, v as platformLabel } from "./resources-FIrK7pE9.js";
5
+ import { n as orgForNewProject } from "./org-CvPGVSBF.js";
6
6
 
7
7
  //#region src/core/account/bind.ts
8
8
  const NEW = "__new__";
@@ -1,12 +1,12 @@
1
- import "./token-IWv2httm.js";
1
+ import "./token-BJsLGoSX.js";
2
2
  import "./output-Ggzq5_-t.js";
3
- import { v as VERSION } from "./environment-eV7LEnSN.js";
4
- import "./storage-DIkYajce.js";
5
- import "./client-BIvOmWPC.js";
3
+ import { v as VERSION } from "./environment-CQn323uB.js";
4
+ import "./storage-DqKJe13V.js";
5
+ import "./client-CimFymxG.js";
6
6
  import "./config-BO1Y87kV.js";
7
7
  import { n as ui } from "./ui-D_qf3Gvw.js";
8
- import "./resources-B1qKDVXd.js";
9
- import { N as resolveFramework, P as assetBaseUrl, a as resolveProjectDir, d as kb, h as took, i as requireProject, n as parseIds, s as selectSurfaces, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-BbNk9r1q.js";
8
+ import "./resources-FIrK7pE9.js";
9
+ import { N as resolveFramework, P as assetBaseUrl, a as resolveProjectDir, d as kb, h as took, i as requireProject, n as parseIds, s as selectSurfaces, v as collectProjectDeclarations, w as readLock, y as writeProjectTypes } from "./selection-CHnVk8uw.js";
10
10
  import * as fs from "node:fs";
11
11
  import * as path from "node:path";
12
12
  import pc from "picocolors";
@@ -1,6 +1,6 @@
1
- import { n as resolveAuthToken, r as NotLoggedInError } from "./token-IWv2httm.js";
2
- import { _ as USER_AGENT } from "./environment-eV7LEnSN.js";
3
- import { r as resolveApiHost, t as readSession } from "./storage-DIkYajce.js";
1
+ import { n as resolveAuthToken, r as NotLoggedInError } from "./token-BJsLGoSX.js";
2
+ import { _ as USER_AGENT } from "./environment-CQn323uB.js";
3
+ import { a as resolveApiHost, n as readSession } from "./storage-DqKJe13V.js";
4
4
 
5
5
  //#region src/core/api/client.ts
6
6
  const BODY_SNIPPET = 200;
@@ -1,31 +1,31 @@
1
- import "./token-IWv2httm.js";
1
+ import "./token-BJsLGoSX.js";
2
2
  import "./output-Ggzq5_-t.js";
3
- import "./environment-eV7LEnSN.js";
4
- import "./storage-DIkYajce.js";
5
- import "./client-BIvOmWPC.js";
3
+ import "./environment-CQn323uB.js";
4
+ import "./storage-DqKJe13V.js";
5
+ import "./client-CimFymxG.js";
6
6
  import "./config-BO1Y87kV.js";
7
- import "./telemetry-CVP8O6Y3.js";
7
+ import "./telemetry-D_uIIuSk.js";
8
8
  import "./spawn-DmmmHIP-.js";
9
- import "./spinner-Ba3XhlMb.js";
9
+ import "./spinner-TZeZEeVv.js";
10
10
  import "./ui-D_qf3Gvw.js";
11
11
  import "./theme-DUsCh-Vd.js";
12
12
  import "./log-NVhVe_oe.js";
13
- import { i as readPackageJson, r as allDeps, t as scanProject } from "./scan-Bb48xZqB.js";
14
- import { t as detectExisting } from "./existing-C8dSYHGk.js";
15
- import "./paths-BCbjCLP5.js";
16
- import { D as field, f as listApplications, n as createApplication, p as listProjects, v as platformLabel } from "./resources-B1qKDVXd.js";
17
- import "./org-DUwdrKPV.js";
18
- import { n as findApplication } from "./lookup-k9EeOiZr.js";
19
- import { r as resolveScopeFromKey } from "./bind-CHLHmxgA.js";
20
- import "./login-BimbukE5.js";
21
- import "./skills-BdMKE2uO.js";
22
- import { E as writeApp } from "./selection-BbNk9r1q.js";
23
- import { a as gitAvailable, b as requirePlatform, c as projectPackageName, n as requireApi, t as LoginRequiredError } from "./session-Crg9X-FI.js";
24
- import "./login-BmwG14LC.js";
25
- import "./run-DTPsVmFw.js";
26
- import "./drivers-BamBJ10Y.js";
27
- import { b as writeTemplate, c as migrationFor, d as projectDirOf, f as scaffoldFromPaywall, i as startStudio, n as migrationNextSteps, s as isSuperwallProject, t as askStudio, u as offerMigration, v as starterConfig, x as slugOf, y as writeSurfaceFiles } from "./open-0tDCQOXC.js";
28
- import "./server-EYBMKAG1.js";
13
+ import { i as readPackageJson, r as allDeps, t as scanProject } from "./scan-CpbfZ2ju.js";
14
+ import { t as detectExisting } from "./existing-CvOluc9U.js";
15
+ import "./paths-oRuC18Kt.js";
16
+ import { D as field, f as listApplications, n as createApplication, p as listProjects, v as platformLabel } from "./resources-FIrK7pE9.js";
17
+ import "./org-CvPGVSBF.js";
18
+ import { n as findApplication } from "./lookup-DZFrfzO0.js";
19
+ import { r as resolveScopeFromKey } from "./bind-DEYxsnZD.js";
20
+ import "./login-BIAWgdzM.js";
21
+ import "./skills-D7sG0xom.js";
22
+ import { E as writeApp } from "./selection-CHnVk8uw.js";
23
+ import { a as gitAvailable, b as requirePlatform, c as projectPackageName, n as requireApi, t as LoginRequiredError } from "./session-BFwasPVq.js";
24
+ import "./login-DLi71nJq.js";
25
+ import "./run-CwEY1eu5.js";
26
+ import "./drivers-C6eXj5-r.js";
27
+ import { b as writeTemplate, c as migrationFor, d as projectDirOf, f as scaffoldFromPaywall, i as startStudio, n as migrationNextSteps, s as isSuperwallProject, t as askStudio, u as offerMigration, v as starterConfig, x as slugOf, y as writeSurfaceFiles } from "./open-BjvGVwJf.js";
28
+ import "./server-D5xl5iKO.js";
29
29
  import { execFile } from "node:child_process";
30
30
  import * as fs from "node:fs";
31
31
  import * as path from "node:path";
@@ -1,10 +1,10 @@
1
1
  import { r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
2
- import { b as appleCredentialsFromEnv, d as ENV_APPLE_PASSWORD, u as ENV_APPLE_ID, v as VERSION } from "./environment-eV7LEnSN.js";
3
- import { t as ApiError } from "./client-BIvOmWPC.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-BMisHn8F.js";
5
- import { t as apiCall } from "./spinner-Ba3XhlMb.js";
6
- import { n as SUPERWALL_HOME } from "./paths-BCbjCLP5.js";
7
- import { A as parseJson, D as field, j as textField, k as listField } from "./resources-B1qKDVXd.js";
2
+ import { b as appleCredentialsFromEnv, d as ENV_APPLE_PASSWORD, u as ENV_APPLE_ID, v as VERSION } from "./environment-CQn323uB.js";
3
+ import { t as ApiError } from "./client-CimFymxG.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-QM7yfrXq.js";
5
+ import { t as apiCall } from "./spinner-TZeZEeVv.js";
6
+ import { n as SUPERWALL_HOME } from "./paths-oRuC18Kt.js";
7
+ import { A as parseJson, D as field, j as textField, k as listField } from "./resources-FIrK7pE9.js";
8
8
  import { c as replaceAppPurchaseKey, s as replaceAppAscKey } from "./client-BZ1UbpXz.js";
9
9
  import { t as timing } from "./timing-BVxPrYq3.js";
10
10
  import { existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
@@ -0,0 +1,19 @@
1
+ import "./token-BJsLGoSX.js";
2
+ import "./output-Ggzq5_-t.js";
3
+ import "./environment-CQn323uB.js";
4
+ import "./storage-DqKJe13V.js";
5
+ import "./client-CimFymxG.js";
6
+ import "./held-QM7yfrXq.js";
7
+ import "./config-BO1Y87kV.js";
8
+ import "./spinner-TZeZEeVv.js";
9
+ import "./ui-D_qf3Gvw.js";
10
+ import "./paths-oRuC18Kt.js";
11
+ import "./resources-FIrK7pE9.js";
12
+ import "./org-CvPGVSBF.js";
13
+ import "./lookup-DZFrfzO0.js";
14
+ import "./scope-BSqVfZvy.js";
15
+ import "./client-BZ1UbpXz.js";
16
+ import "./timing-BVxPrYq3.js";
17
+ import { i as runAscKeysCreate, n as keyAccess, r as keyRole, t as createAndSaveKey } from "./create-DTAyHkxb.js";
18
+
19
+ export { createAndSaveKey, keyAccess, keyRole, runAscKeysCreate };
@@ -1,13 +1,13 @@
1
- import "./token-IWv2httm.js";
1
+ import "./token-BJsLGoSX.js";
2
2
  import "./output-Ggzq5_-t.js";
3
- import { y as apiKeyFromEnv } from "./environment-eV7LEnSN.js";
4
- import { t as readSession } from "./storage-DIkYajce.js";
3
+ import { y as apiKeyFromEnv } from "./environment-CQn323uB.js";
4
+ import { n as readSession } from "./storage-DqKJe13V.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-Bb48xZqB.js";
9
- import { t as detectExisting } from "./existing-C8dSYHGk.js";
10
- import { t as detectDrivers } from "./drivers-BamBJ10Y.js";
8
+ import { t as scanProject } from "./scan-CpbfZ2ju.js";
9
+ import { t as detectExisting } from "./existing-CvOluc9U.js";
10
+ import { t as detectDrivers } from "./drivers-C6eXj5-r.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-IWv2httm.js";
2
- import { t as API_HOST, v as VERSION } from "./environment-eV7LEnSN.js";
3
- import { t as readSession } from "./storage-DIkYajce.js";
1
+ import { t as getOAuthAccessToken } from "./token-BJsLGoSX.js";
2
+ import { t as API_HOST, v as VERSION } from "./environment-CQn323uB.js";
3
+ import { n as readSession } from "./storage-DqKJe13V.js";
4
4
  import { n as readVersion, r as spawnStream, t as onPath } from "./spawn-DmmmHIP-.js";
5
5
  import { basename, join } from "node:path";
6
6
  import { tmpdir } from "node:os";
package/dist/entry.js CHANGED
@@ -1,33 +1,33 @@
1
1
  import { n as __require, r as __toESM, t as __commonJS } from "./chunk-DQxbwPpZ.js";
2
- import "./token-IWv2httm.js";
2
+ import "./token-BJsLGoSX.js";
3
3
  import { a as stripAnsi, d as useStores, i as writeJson } from "./output-Ggzq5_-t.js";
4
- import { S as isNonInteractive, a as CHANNEL, v as VERSION } from "./environment-eV7LEnSN.js";
5
- import "./storage-DIkYajce.js";
6
- import { i as superwallApi } from "./client-BIvOmWPC.js";
7
- import { O as useAscRefresh } from "./held-BMisHn8F.js";
4
+ import { S as isNonInteractive, a as CHANNEL, v as VERSION } from "./environment-CQn323uB.js";
5
+ import "./storage-DqKJe13V.js";
6
+ import { i as superwallApi } from "./client-CimFymxG.js";
7
+ import { O as useAscRefresh } from "./held-QM7yfrXq.js";
8
8
  import "./config-BO1Y87kV.js";
9
- import { n as maybeShowTelemetryNotice, r as track, t as flushTelemetry } from "./telemetry-CVP8O6Y3.js";
9
+ import { n as maybeShowTelemetryNotice, r as track, t as flushTelemetry } from "./telemetry-D_uIIuSk.js";
10
10
  import "./spawn-DmmmHIP-.js";
11
- import { i as refreshUpdateCheck, r as maybeNotifyUpdate, t as flushUpdateCheck } from "./upgrade-1t3aQUxh.js";
12
- import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-Ba3XhlMb.js";
11
+ import { i as refreshUpdateCheck, r as maybeNotifyUpdate, t as flushUpdateCheck } from "./upgrade-BRM51As6.js";
12
+ import { c as onChannel, f as useHost, l as summaryOf, o as examplesOf, r as UsageError, s as flagName } from "./spinner-TZeZEeVv.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-NVhVe_oe.js";
16
- import { t as scanProject } from "./scan-Bb48xZqB.js";
17
- import { t as detectExisting } from "./existing-C8dSYHGk.js";
18
- import { n as SUPERWALL_HOME, r as expandHome } from "./paths-BCbjCLP5.js";
19
- import { a as renderPage, i as exampleLines, n as cmd, r as detailLines, t as listGroups } from "./registry-CTczUigi.js";
20
- import "./session-xG9E8J2N.js";
21
- import "./resources-B1qKDVXd.js";
22
- import "./org-DUwdrKPV.js";
23
- import "./lookup-k9EeOiZr.js";
24
- import "./scope-B6UYGuwn.js";
16
+ import { t as scanProject } from "./scan-CpbfZ2ju.js";
17
+ import { t as detectExisting } from "./existing-CvOluc9U.js";
18
+ import { n as SUPERWALL_HOME, r as expandHome } from "./paths-oRuC18Kt.js";
19
+ import { a as renderPage, i as exampleLines, n as cmd, r as detailLines, t as listGroups } from "./registry-OmPZ6dj0.js";
20
+ import "./session-6lnJ0shD.js";
21
+ import "./resources-FIrK7pE9.js";
22
+ import "./org-CvPGVSBF.js";
23
+ import "./lookup-DZFrfzO0.js";
24
+ import "./scope-BSqVfZvy.js";
25
25
  import "./client-BZ1UbpXz.js";
26
26
  import "./products-DH_fK9tY.js";
27
27
  import "./input-vi0bou04.js";
28
28
  import "./timing-BVxPrYq3.js";
29
- import "./notification-url-BVaTgWZ5.js";
30
- import "./bind-CHLHmxgA.js";
29
+ import "./notification-url-erXQ1edb.js";
30
+ import "./bind-DEYxsnZD.js";
31
31
  import { spawn } from "node:child_process";
32
32
  import * as fs from "node:fs";
33
33
  import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "2.1.1";
2
+ var version = "2.2.0";
3
3
 
4
4
  //#endregion
5
5
  //#region src/environment.ts
@@ -1,5 +1,5 @@
1
- import { f as Integration } from "./environment-eV7LEnSN.js";
2
- import { i as readPackageJson, r as allDeps } from "./scan-Bb48xZqB.js";
1
+ import { f as Integration } from "./environment-CQn323uB.js";
2
+ import { i as readPackageJson, r as allDeps } from "./scan-CpbfZ2ju.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  import fg from "fast-glob";
5
5
 
@@ -0,0 +1,16 @@
1
+ import "./token-BJsLGoSX.js";
2
+ import "./output-Ggzq5_-t.js";
3
+ import "./environment-CQn323uB.js";
4
+ import "./storage-DqKJe13V.js";
5
+ import "./client-CimFymxG.js";
6
+ import { t as upsertHeldKey } from "./held-QM7yfrXq.js";
7
+ import "./config-BO1Y87kV.js";
8
+ import "./spinner-TZeZEeVv.js";
9
+ import "./ui-D_qf3Gvw.js";
10
+ import "./resources-FIrK7pE9.js";
11
+ import "./org-CvPGVSBF.js";
12
+ import "./lookup-DZFrfzO0.js";
13
+ import "./scope-BSqVfZvy.js";
14
+ import "./client-BZ1UbpXz.js";
15
+
16
+ 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-BIvOmWPC.js";
3
- import { d as readInput, t as apiCall } from "./spinner-Ba3XhlMb.js";
4
- import { D as field, O as isRecord, j as textField, k as listField, n as createApplication, p as listProjects, s as createProject } from "./resources-B1qKDVXd.js";
5
- import { n as orgForNewProject } from "./org-DUwdrKPV.js";
6
- import { n as findApplication } from "./lookup-k9EeOiZr.js";
7
- import { r as pickOrganization } from "./scope-B6UYGuwn.js";
2
+ import { t as ApiError } from "./client-CimFymxG.js";
3
+ import { d as readInput, t as apiCall } from "./spinner-TZeZEeVv.js";
4
+ import { D as field, O as isRecord, j as textField, k as listField, n as createApplication, p as listProjects, s as createProject } from "./resources-FIrK7pE9.js";
5
+ import { n as orgForNewProject } from "./org-CvPGVSBF.js";
6
+ import { n as findApplication } from "./lookup-DZFrfzO0.js";
7
+ import { r as pickOrganization } from "./scope-BSqVfZvy.js";
8
8
  import { a as listAscConfigs, c as replaceAppPurchaseKey, l as replaceAscConfig, r as createAscConfig, s as replaceAppAscKey, t as ascProxy } from "./client-BZ1UbpXz.js";
9
9
 
10
10
  //#region src/core/app-store-connect/api/spec.ts
@@ -1,33 +1,33 @@
1
- import "./token-IWv2httm.js";
1
+ import "./token-BJsLGoSX.js";
2
2
  import { r as formatJson, t as blocks } from "./output-Ggzq5_-t.js";
3
- import { c as DASHBOARD_URL, v as VERSION } from "./environment-eV7LEnSN.js";
4
- import { a as sessionOrgName, n as removeSession, t as readSession } from "./storage-DIkYajce.js";
5
- import { i as superwallApi } from "./client-BIvOmWPC.js";
3
+ import { c as DASHBOARD_URL, v as VERSION } from "./environment-CQn323uB.js";
4
+ import { i as removeSession, n as readSession, s as sessionOrgName } from "./storage-DqKJe13V.js";
5
+ import { i as superwallApi } from "./client-CimFymxG.js";
6
6
  import { r as readOnboardedApp } from "./config-BO1Y87kV.js";
7
- import { i as updateTelemetryTags } from "./telemetry-CVP8O6Y3.js";
7
+ import { i as updateTelemetryTags } from "./telemetry-D_uIIuSk.js";
8
8
  import "./spawn-DmmmHIP-.js";
9
- import { n as withSpinner } from "./spinner-Ba3XhlMb.js";
9
+ import { n as withSpinner } from "./spinner-TZeZEeVv.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-NVhVe_oe.js";
13
- import { n as SUPPORTED_LABEL, t as scanProject } from "./scan-Bb48xZqB.js";
14
- import { t as detectExisting } from "./existing-C8dSYHGk.js";
15
- import { r as expandHome } from "./paths-BCbjCLP5.js";
16
- import { D as field, f as listApplications, k as listField, m as listResource, o as createProduct, v as platformLabel, w as rowName } from "./resources-B1qKDVXd.js";
17
- import "./org-DUwdrKPV.js";
18
- import "./lookup-k9EeOiZr.js";
19
- import "./scope-B6UYGuwn.js";
13
+ import { n as SUPPORTED_LABEL, t as scanProject } from "./scan-CpbfZ2ju.js";
14
+ import { t as detectExisting } from "./existing-CvOluc9U.js";
15
+ import { r as expandHome } from "./paths-oRuC18Kt.js";
16
+ import { D as field, f as listApplications, k as listField, m as listResource, o as createProduct, v as platformLabel, w as rowName } from "./resources-FIrK7pE9.js";
17
+ import "./org-CvPGVSBF.js";
18
+ import "./lookup-DZFrfzO0.js";
19
+ import "./scope-BSqVfZvy.js";
20
20
  import { a as listAscConfigs, r as createAscConfig } from "./client-BZ1UbpXz.js";
21
21
  import { i as listUnimportedAscProducts, n as findAscAppId, r as listAscApps, t as ascTypeDisplay } from "./products-DH_fK9tY.js";
22
22
  import "./input-vi0bou04.js";
23
- import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-CHLHmxgA.js";
24
- import "./login-BimbukE5.js";
25
- import { s as ensureSkillsCurrent } from "./skills-BdMKE2uO.js";
26
- import { t as generateStoreKit } from "./storekit-C2UzIIMs.js";
27
- import { n as performLoginWithUi, t as createLoginGate } from "./login-BmwG14LC.js";
28
- import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-DTPsVmFw.js";
29
- import { n as selectHostedStatus, t as detectDrivers } from "./drivers-BamBJ10Y.js";
30
- import { r as actionById, t as detectBilling } from "./billing-4zhIBFRQ.js";
23
+ import { n as resolveAppBinding, r as resolveScopeFromKey, t as platformForIntegration } from "./bind-DEYxsnZD.js";
24
+ import "./login-BIAWgdzM.js";
25
+ import { s as ensureSkillsCurrent } from "./skills-D7sG0xom.js";
26
+ import { t as generateStoreKit } from "./storekit-uyT3DWo4.js";
27
+ import { n as performLoginWithUi, t as createLoginGate } from "./login-DLi71nJq.js";
28
+ import { a as copyToClipboard, r as buildCopyPrompt, t as runAction } from "./run-CwEY1eu5.js";
29
+ import { n as selectHostedStatus, t as detectDrivers } from "./drivers-C6eXj5-r.js";
30
+ import { r as actionById, t as detectBilling } from "./billing-CWM1ds3K.js";
31
31
  import { n as writeReport, t as readReport } from "./reports-D_qbl7_u.js";
32
32
  import { readFileSync, writeFileSync } from "node:fs";
33
33
  import { basename } from "node:path";