@sidgaikwad/db-setup 1.2.3 → 1.3.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.
package/dist/index.js CHANGED
@@ -5548,7 +5548,8 @@ var setupSupabase = async () => {
5548
5548
  });
5549
5549
  const dbPassword = genAlphanumericPassword(24);
5550
5550
  const { projectId, region } = await createSupabaseProject(projectName, dbPassword);
5551
- const databaseUrl = `postgresql://postgres.${projectId}:${dbPassword}@aws-0-${region}.pooler.supabase.com:6543/postgres`;
5551
+ const SESSION_POOLER_PORT = 5432;
5552
+ const databaseUrl = `postgresql://postgres.${projectId}:${dbPassword}@aws-1-${region}.pooler.supabase.com:${SESSION_POOLER_PORT}/postgres`;
5552
5553
  console.log(source_default.greenBright(`
5553
5554
  Generated DB password: ${dbPassword}
5554
5555
  `));
@@ -1 +1 @@
1
- {"version":3,"file":"supabase.d.ts","sourceRoot":"","sources":["../../src/providers/supabase.ts"],"names":[],"mappings":"AA4KA;;GAEG;AACH,eAAO,MAAM,aAAa,QAAa,OAAO,CAAC,MAAM,CA8CpD,CAAC"}
1
+ {"version":3,"file":"supabase.d.ts","sourceRoot":"","sources":["../../src/providers/supabase.ts"],"names":[],"mappings":"AA4KA;;GAEG;AACH,eAAO,MAAM,aAAa,QAAa,OAAO,CAAC,MAAM,CAgDpD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidgaikwad/db-setup",
3
- "version": "1.2.3",
3
+ "version": "1.3.0",
4
4
  "description": "Interactive CLI for setting up PostgreSQL databases with multiple providers (Neon, Supabase, Railway, Local)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",