@atomservice/postgres 0.1.15 → 0.1.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomservice/postgres",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "PostgreSQL 原子服务",
5
5
  "type": "module",
6
6
  "author": "openorson",
@@ -28,6 +28,6 @@
28
28
  ".": "./src/index.ts"
29
29
  },
30
30
  "peerDependencies": {
31
- "@atomservice/core": "0.1.15"
31
+ "@atomservice/core": "0.1.17"
32
32
  }
33
33
  }
@@ -19,7 +19,7 @@ import { normalizeDatabases } from "./postgres.utils.ts"
19
19
 
20
20
  export function postgres(opts: PostgresOptions = {}): CallableService<PostgresInstance> {
21
21
  const serviceId = opts.id && opts.id !== "default" ? opts.id : "default"
22
- const containerName = serviceId !== "default" ? `postgres-${serviceId}` : "postgres"
22
+ const containerName = serviceId !== "default" ? `atomservice-postgres-${serviceId}` : "atomservice-postgres"
23
23
  const version = opts.version ?? "18"
24
24
 
25
25
  return defineService({