create-nextblock 0.15.3 → 0.15.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextblock",
3
- "version": "0.15.3",
3
+ "version": "0.15.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -82,7 +82,7 @@ export async function submitFeedback(data: FeedbackData) {
82
82
  `;
83
83
 
84
84
  await sendEmail({
85
- to: "feedback@nextblock.ca",
85
+ to: "feedback@nextblock.dev",
86
86
  // Newlines in a header would let a caller inject extra headers (Bcc, …).
87
87
  subject: `[CMS Feedback] ${subject.replace(/[\r\n]+/g, ' ')}`,
88
88
  text: textContent,
@@ -39,7 +39,7 @@ const getServiceRoleClient = () => {
39
39
 
40
40
  export async function activatePackage(key: string) {
41
41
  if (process.env.NEXT_PUBLIC_IS_SANDBOX === 'true') {
42
- return { error: 'License activation is disabled in Sandbox mode. To purchase a real license, visit nextblock.ca' };
42
+ return { error: 'License activation is disabled in Sandbox mode. To purchase a real license, visit nextblock.dev' };
43
43
  }
44
44
 
45
45
  if (!key) {
@@ -98,7 +98,7 @@ export async function activatePackage(key: string) {
98
98
 
99
99
  if (!data || !pkg) {
100
100
  if (hasLicenseError && process.env.NEXT_PUBLIC_IS_SANDBOX !== 'true' && !specificErrorMsg) {
101
- return { error: 'Sorry, this is a sandbox key. Please purchase the real key at nextblock.ca' };
101
+ return { error: 'Sorry, this is a sandbox key. Please purchase the real key at nextblock.dev' };
102
102
  }
103
103
  return { error: specificErrorMsg || 'Activation failed. Invalid key, wrong product, or limit reached.' };
104
104
  }
@@ -2596,7 +2596,7 @@ async function seedFakeStoreData(sql: SqlClient, supabaseAdmin: any) {
2596
2596
  console.log('[Sandbox Reset] Starting fake store data seeding...');
2597
2597
 
2598
2598
  // 1. Ensure Demo User
2599
- const email = 'demo@nextblock.ca';
2599
+ const email = 'demo@nextblock.dev';
2600
2600
  console.log(`[Sandbox Reset] Checking for demo user: ${email}`);
2601
2601
  const { data: userData, error: userError } = await supabaseAdmin.auth.admin.listUsers();
2602
2602
  if (userError) {
@@ -2629,7 +2629,7 @@ async function seedFakeStoreData(sql: SqlClient, supabaseAdmin: any) {
2629
2629
  console.log('[Sandbox Reset] Seeding invoice branding...');
2630
2630
  const branding = {
2631
2631
  business_name: 'NextBlock CMS',
2632
- email: 'billing@nextblock.ca',
2632
+ email: 'billing@nextblock.dev',
2633
2633
  phone: '5143188025',
2634
2634
  address: {
2635
2635
  line1: '',