@pgplex/pgconsole 0.2.1 → 0.2.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.
@@ -1 +1 @@
1
- import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g}from"./index-C2iUbkkq.js";export{o as ensureModuleLoaded};
1
+ import{_ as e,a as t,c as n,d as r,f as i,g as a,h as o,i as s,l as c,m as l,n as u,o as d,p as f,r as p,s as m,t as h,u as g}from"./index-D5ueFIXJ.js";export{o as ensureModuleLoaded};
@@ -9,7 +9,7 @@
9
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
10
  <link href="https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&display=swap" rel="stylesheet" />
11
11
  <title>pgconsole</title>
12
- <script type="module" crossorigin src="/assets/index-C2iUbkkq.js"></script>
12
+ <script type="module" crossorigin src="/assets/index-D5ueFIXJ.js"></script>
13
13
  <link rel="stylesheet" crossorigin href="/assets/index-DUHQjBL7.css">
14
14
  </head>
15
15
  <body>
package/dist/server.mjs CHANGED
@@ -41915,7 +41915,7 @@ var COOKIE_NAME2 = "pgconsole_token";
41915
41915
  var OAUTH_STATE_COOKIE = "pgconsole_oauth_state";
41916
41916
  var COOKIE_OPTIONS = {
41917
41917
  httpOnly: true,
41918
- secure: process.env.NODE_ENV === "production",
41918
+ secure: true,
41919
41919
  sameSite: "lax",
41920
41920
  maxAge: 7 * 24 * 60 * 60 * 1e3,
41921
41921
  // 7 days
@@ -41923,7 +41923,7 @@ var COOKIE_OPTIONS = {
41923
41923
  };
41924
41924
  var STATE_COOKIE_OPTIONS = {
41925
41925
  httpOnly: true,
41926
- secure: process.env.NODE_ENV === "production",
41926
+ secure: true,
41927
41927
  sameSite: "lax",
41928
41928
  maxAge: 10 * 60 * 1e3,
41929
41929
  // 10 minutes
@@ -47432,7 +47432,7 @@ var STRIPE_CONFIG = {
47432
47432
  }
47433
47433
  };
47434
47434
  function getStripeConfig() {
47435
- return process.env.NODE_ENV === "production" ? STRIPE_CONFIG.production : STRIPE_CONFIG.development;
47435
+ return true ? STRIPE_CONFIG.production : STRIPE_CONFIG.development;
47436
47436
  }
47437
47437
  function getStripeClient() {
47438
47438
  const config = getStripeConfig();
@@ -92948,7 +92948,7 @@ async function start() {
92948
92948
  \\ \\_\\ /\\____/
92949
92949
  \\/_/ \\_/__/
92950
92950
 
92951
- Version ${"0.2.1-dev"}
92951
+ Version ${"0.2.2"}
92952
92952
  `);
92953
92953
  console.log(`Server running on http://localhost:${port}`);
92954
92954
  const browserUrl = false ? `http://localhost:5173` : getExternalUrl() || `http://localhost:${port}`;