@perceo/perceo 0.3.3 → 0.3.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/dist/index.js +7 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1792,8 +1792,8 @@ import { readFileSync } from "fs";
|
|
|
1792
1792
|
import fs4 from "fs/promises";
|
|
1793
1793
|
import path7 from "path";
|
|
1794
1794
|
import { fileURLToPath } from "url";
|
|
1795
|
+
import { DEFAULT_SUPABASE_URL, DEFAULT_SUPABASE_ANON_KEY } from "@perceo/supabase";
|
|
1795
1796
|
var PUBLIC_ENV_FILE = "public-env.json";
|
|
1796
|
-
var PERCEO_CLOUD_SUPABASE_URL = "https://lygslnolucoidnhaitdn.supabase.co";
|
|
1797
1797
|
function getPublicEnvPath() {
|
|
1798
1798
|
return path7.join(getGlobalConfigDir(), PUBLIC_ENV_FILE);
|
|
1799
1799
|
}
|
|
@@ -1851,7 +1851,7 @@ async function ensurePublicEnvLoaded() {
|
|
|
1851
1851
|
if (process.env.PERCEO_SUPABASE_URL) {
|
|
1852
1852
|
return;
|
|
1853
1853
|
}
|
|
1854
|
-
const supabaseUrl =
|
|
1854
|
+
const supabaseUrl = DEFAULT_SUPABASE_URL;
|
|
1855
1855
|
const cachePath = getPublicEnvPath();
|
|
1856
1856
|
const currentVersion = getCliVersion();
|
|
1857
1857
|
const cached = await readCache(cachePath);
|
|
@@ -1871,6 +1871,11 @@ async function ensurePublicEnvLoaded() {
|
|
|
1871
1871
|
} catch {
|
|
1872
1872
|
if (cached) {
|
|
1873
1873
|
applyToProcessEnv(cached);
|
|
1874
|
+
} else {
|
|
1875
|
+
applyToProcessEnv({
|
|
1876
|
+
PERCEO_SUPABASE_URL: DEFAULT_SUPABASE_URL,
|
|
1877
|
+
PERCEO_SUPABASE_ANON_KEY: DEFAULT_SUPABASE_ANON_KEY
|
|
1878
|
+
});
|
|
1874
1879
|
}
|
|
1875
1880
|
}
|
|
1876
1881
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perceo/perceo",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Intelligent regression testing through multi-agent simulation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"testing",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"commander": "^12.0.0",
|
|
38
38
|
"ora": "^8.0.1",
|
|
39
39
|
"tweetnacl": "^1.0.3",
|
|
40
|
-
"@perceo/observer-engine": "2.0.
|
|
41
|
-
"@perceo/supabase": "0.2.
|
|
40
|
+
"@perceo/observer-engine": "2.0.5",
|
|
41
|
+
"@perceo/supabase": "0.2.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@changesets/cli": "^2.29.8",
|