supabase-test 0.0.4 → 0.0.6
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/connect.js +0 -2
- package/esm/connect.js +0 -2
- package/package.json +3 -3
package/connect.js
CHANGED
|
@@ -41,8 +41,6 @@ const getConnections = async (cn = {}, seedAdapters) => {
|
|
|
41
41
|
// Build connection config: use same user/password as pg config (from env vars or Supabase defaults)
|
|
42
42
|
// Default role is 'anon' (Supabase default), but DB_CONNECTION_ROLE can override it
|
|
43
43
|
const connectionConfig = {
|
|
44
|
-
user: pgConfig.user,
|
|
45
|
-
password: pgConfig.password,
|
|
46
44
|
role: process.env.DB_CONNECTION_ROLE ?? SUPABASE_DEFAULTS.roles.default,
|
|
47
45
|
};
|
|
48
46
|
// Build roles config: Supabase defaults, then user overrides will override
|
package/esm/connect.js
CHANGED
|
@@ -38,8 +38,6 @@ export const getConnections = async (cn = {}, seedAdapters) => {
|
|
|
38
38
|
// Build connection config: use same user/password as pg config (from env vars or Supabase defaults)
|
|
39
39
|
// Default role is 'anon' (Supabase default), but DB_CONNECTION_ROLE can override it
|
|
40
40
|
const connectionConfig = {
|
|
41
|
-
user: pgConfig.user,
|
|
42
|
-
password: pgConfig.password,
|
|
43
41
|
role: process.env.DB_CONNECTION_ROLE ?? SUPABASE_DEFAULTS.roles.default,
|
|
44
42
|
};
|
|
45
43
|
// Build roles config: Supabase defaults, then user overrides will override
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supabase-test",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"author": "Interweb <developers@interweb.io>",
|
|
5
5
|
"description": "supabase-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests with Supabase defaults baked in",
|
|
6
6
|
"main": "index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@launchql/types": "^2.6.1",
|
|
56
56
|
"pg-env": "^1.1.0",
|
|
57
|
-
"pgsql-test": "^2.11.
|
|
57
|
+
"pgsql-test": "^2.11.8"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "1323cb5f03aefde0f6e3b070ec90082fb04dbbd4"
|
|
60
60
|
}
|