runcloud 0.2.147 → 0.2.148

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.
@@ -67,7 +67,8 @@ export async function runDomainBuy(client, projectId, domainName, opts, log = co
67
67
  }));
68
68
  if (!result.checkout_url)
69
69
  throw new Error('Backend did not return a checkout URL.');
70
- log(`Checkout: ${result.checkout_url}`);
70
+ log(`Payment required — open this URL in a browser to complete the purchase:`);
71
+ log(` ${result.checkout_url}`);
71
72
  if (result.order?.id)
72
73
  log(`Order: ${result.order.id} (${result.order.status ?? 'checkout_created'})`);
73
74
  }
@@ -137,7 +138,7 @@ export function registerDomains(program) {
137
138
  .option('--years <n>', 'registration term in years', '1')
138
139
  .option('--project <id>', 'project id (defaults to the linked directory)')
139
140
  .option('--yes', 'confirm purchase without an interactive prompt', false)
140
- .description('Buy a domain through Cloudflare Registrar')
141
+ .description('Buy a domain through Cloudflare Registrar — it prints a Stripe checkout URL the account owner opens in a browser to pay.')
141
142
  .action(async (domainName, opts) => {
142
143
  try {
143
144
  const { client, projectId, appUrl } = makeClient(opts.project);
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = '0.2.147';
1
+ export const CLI_VERSION = '0.2.148';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runcloud",
3
- "version": "0.2.147",
3
+ "version": "0.2.148",
4
4
  "description": "Create and control run.cloud remote mobile simulators and cloud sandboxes",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
Binary file
Binary file