create-whop-kit 1.0.3 → 1.0.4
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.
|
@@ -438,26 +438,13 @@ async function runDeployPipeline(options) {
|
|
|
438
438
|
if (!p3.isCancel(connectWhop) && connectWhop) {
|
|
439
439
|
p3.note(
|
|
440
440
|
[
|
|
441
|
-
`We need a Company API key to
|
|
442
|
-
"",
|
|
443
|
-
`${pc3.bold("1.")} Go to the Whop Developer Dashboard`,
|
|
444
|
-
` ${pc3.cyan("https://whop.com/dashboard/developer")}`,
|
|
441
|
+
`We need a Company API key to set up OAuth and webhooks.`,
|
|
445
442
|
"",
|
|
443
|
+
`${pc3.bold("1.")} Go to ${pc3.cyan("https://whop.com/dashboard/developer")}`,
|
|
446
444
|
`${pc3.bold("2.")} Click ${pc3.bold('"Create"')} under "Company API Keys"`,
|
|
447
|
-
""
|
|
448
|
-
`${pc3.bold("
|
|
449
|
-
""
|
|
450
|
-
`${pc3.bold("4.")} Select these permissions:`,
|
|
451
|
-
` ${pc3.green("\u2022")} company:basic:read ${pc3.dim("\u2014 identify your company")}`,
|
|
452
|
-
` ${pc3.green("\u2022")} developer:create_app ${pc3.dim("\u2014 create the OAuth app")}`,
|
|
453
|
-
` ${pc3.green("\u2022")} developer:update_app ${pc3.dim("\u2014 configure redirect URIs")}`,
|
|
454
|
-
` ${pc3.green("\u2022")} developer:manage_api_key ${pc3.dim("\u2014 get the app credentials")}`,
|
|
455
|
-
` ${pc3.green("\u2022")} developer:manage_webhook ${pc3.dim("\u2014 set up payment webhooks")}`,
|
|
456
|
-
"",
|
|
457
|
-
`${pc3.bold("5.")} Create the key and paste it below`,
|
|
458
|
-
"",
|
|
459
|
-
`${pc3.dim("This key is used once to set everything up.")}`,
|
|
460
|
-
`${pc3.dim("Your app uses OAuth (openid, profile, email) for user sign-in.")}`
|
|
445
|
+
`${pc3.bold("3.")} Give it a name (e.g. "${projectName}")`,
|
|
446
|
+
`${pc3.bold("4.")} Click Create ${pc3.dim("(default permissions are fine)")}`,
|
|
447
|
+
`${pc3.bold("5.")} Copy the key and paste it below`
|
|
461
448
|
].join("\n"),
|
|
462
449
|
"Whop Company API Key"
|
|
463
450
|
);
|
package/dist/cli-create.js
CHANGED
|
@@ -684,7 +684,7 @@ var init_default = defineCommand({
|
|
|
684
684
|
});
|
|
685
685
|
if (!isCancelled(deployChoice) && deployChoice === "deploy") {
|
|
686
686
|
deployAttempted = true;
|
|
687
|
-
const { runDeployPipeline } = await import("./deploy-
|
|
687
|
+
const { runDeployPipeline } = await import("./deploy-REOQQOZH.js");
|
|
688
688
|
deployResult = await runDeployPipeline({
|
|
689
689
|
projectDir,
|
|
690
690
|
projectName,
|
package/dist/cli-kit.js
CHANGED