create-whop-kit 0.9.1 → 0.9.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.
|
@@ -410,6 +410,8 @@ async function runDeployPipeline(options) {
|
|
|
410
410
|
if (!p3.isCancel(connectWhop) && connectWhop) {
|
|
411
411
|
p3.note(
|
|
412
412
|
[
|
|
413
|
+
`We need a Company API key to create your OAuth app and webhooks.`,
|
|
414
|
+
"",
|
|
413
415
|
`${pc3.bold("1.")} Go to the Whop Developer Dashboard`,
|
|
414
416
|
` ${pc3.cyan("https://whop.com/dashboard/developer")}`,
|
|
415
417
|
"",
|
|
@@ -418,13 +420,17 @@ async function runDeployPipeline(options) {
|
|
|
418
420
|
`${pc3.bold("3.")} Name it anything (e.g. "${projectName}")`,
|
|
419
421
|
"",
|
|
420
422
|
`${pc3.bold("4.")} Select these permissions:`,
|
|
421
|
-
` ${pc3.green("\u2022")} developer:create_app`,
|
|
422
|
-
` ${pc3.green("\u2022")} developer:
|
|
423
|
-
` ${pc3.green("\u2022")} developer:
|
|
423
|
+
` ${pc3.green("\u2022")} developer:create_app ${pc3.dim("\u2014 create the OAuth app")}`,
|
|
424
|
+
` ${pc3.green("\u2022")} developer:update_app ${pc3.dim("\u2014 configure redirect URIs")}`,
|
|
425
|
+
` ${pc3.green("\u2022")} developer:manage_api_key ${pc3.dim("\u2014 get the app credentials")}`,
|
|
426
|
+
` ${pc3.green("\u2022")} developer:manage_webhook ${pc3.dim("\u2014 set up payment webhooks")}`,
|
|
427
|
+
"",
|
|
428
|
+
`${pc3.bold("5.")} Create the key and paste it below`,
|
|
424
429
|
"",
|
|
425
|
-
`${pc3.
|
|
430
|
+
`${pc3.dim("This key is used once to set everything up.")}`,
|
|
431
|
+
`${pc3.dim("Your app uses OAuth (openid, profile, email) for user sign-in.")}`
|
|
426
432
|
].join("\n"),
|
|
427
|
-
"
|
|
433
|
+
"Whop Company API Key"
|
|
428
434
|
);
|
|
429
435
|
openUrl("https://whop.com/dashboard/developer");
|
|
430
436
|
let apiKey = options.whopCompanyKey ?? "";
|
package/dist/cli-create.js
CHANGED
|
@@ -675,7 +675,7 @@ var init_default = defineCommand({
|
|
|
675
675
|
})();
|
|
676
676
|
if (shouldDeploy) {
|
|
677
677
|
deployAttempted = true;
|
|
678
|
-
const { runDeployPipeline } = await import("./deploy-
|
|
678
|
+
const { runDeployPipeline } = await import("./deploy-CSKD63OJ.js");
|
|
679
679
|
deployResult = await runDeployPipeline({
|
|
680
680
|
projectDir,
|
|
681
681
|
projectName,
|
package/dist/cli-kit.js
CHANGED