@specific.dev/spectest 0.56.1 → 0.56.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.
@@ -36,9 +36,12 @@ export interface SupabaseOptions {
36
36
  /**
37
37
  * Also serve the gateway over **HTTPS** at `https://<hostname>` via the
38
38
  * daemon's CA-trusted TLS reverse proxy (in addition to the plain
39
- * `http://<name>:8000`). Set this only when the app under test hardcodes a
40
- * specific Supabase URL it can't be told to override — otherwise leave it and
41
- * point the app at `sb.url`.
39
+ * `http://<name>:8000`). `sb.url` and `sb.appEnv` then point at the HTTPS
40
+ * address. Use TLS wherever you can: set this when a browser reaches the
41
+ * gateway, because a page that is open over `https://` cannot call an
42
+ * `http://` origin (Chromium blocks the request before it leaves the
43
+ * browser, and the server logs show nothing). Also set it when the app under
44
+ * test hardcodes a Supabase URL it cannot be told to override.
42
45
  */
43
46
  hostname?: string;
44
47
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specific.dev/spectest",
3
- "version": "0.56.1",
3
+ "version": "0.56.2",
4
4
  "description": "Spectest SDK for defining test environments in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -239,9 +239,12 @@ export interface SupabaseOptions {
239
239
  /**
240
240
  * Also serve the gateway over **HTTPS** at `https://<hostname>` via the
241
241
  * daemon's CA-trusted TLS reverse proxy (in addition to the plain
242
- * `http://<name>:8000`). Set this only when the app under test hardcodes a
243
- * specific Supabase URL it can't be told to override — otherwise leave it and
244
- * point the app at `sb.url`.
242
+ * `http://<name>:8000`). `sb.url` and `sb.appEnv` then point at the HTTPS
243
+ * address. Use TLS wherever you can: set this when a browser reaches the
244
+ * gateway, because a page that is open over `https://` cannot call an
245
+ * `http://` origin (Chromium blocks the request before it leaves the
246
+ * browser, and the server logs show nothing). Also set it when the app under
247
+ * test hardcodes a Supabase URL it cannot be told to override.
245
248
  */
246
249
  hostname?: string;
247
250