@zintrust/db-postgres 0.4.92 → 0.4.94
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/build-manifest.json +6 -6
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/build-manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/db-postgres",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"buildDate": "2026-04-
|
|
3
|
+
"version": "0.4.94",
|
|
4
|
+
"buildDate": "2026-04-11T09:19:51.929Z",
|
|
5
5
|
"buildEnvironment": {
|
|
6
6
|
"node": "v20.20.2",
|
|
7
7
|
"platform": "linux",
|
|
8
8
|
"arch": "x64"
|
|
9
9
|
},
|
|
10
10
|
"git": {
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "785d0351",
|
|
12
12
|
"branch": "master"
|
|
13
13
|
},
|
|
14
14
|
"package": {
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"files": {
|
|
26
26
|
"build-manifest.json": {
|
|
27
27
|
"size": 965,
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "47c85689391a1b1967f780574215a1931213fb95401b4f420e4043bce4189b93"
|
|
29
29
|
},
|
|
30
30
|
"index.d.ts": {
|
|
31
31
|
"size": 1347,
|
|
32
32
|
"sha256": "6090d1757bf63ac7ac510a59ccfd9137e5b0b9e32b2cbebd0d5bbbe3834a7233"
|
|
33
33
|
},
|
|
34
34
|
"index.js": {
|
|
35
|
-
"size":
|
|
36
|
-
"sha256": "
|
|
35
|
+
"size": 7209,
|
|
36
|
+
"sha256": "14ec7d8354963d45affd164cd7312bb7c44eeefbfa74e4b844508e2ed6ad56be"
|
|
37
37
|
},
|
|
38
38
|
"register.d.ts": {
|
|
39
39
|
"size": 183,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cloudflare, ErrorFactory, FeatureFlags, Logger, QueryBuilder } from '@zintrust/core';
|
|
1
|
+
import { BaseAdapter, Cloudflare, ErrorFactory, FeatureFlags, Logger, QueryBuilder, } from '@zintrust/core';
|
|
2
2
|
function isMissingEsmPackage(error, packageName) {
|
|
3
3
|
if (error === null || typeof error !== 'object')
|
|
4
4
|
return false;
|
|
@@ -107,7 +107,7 @@ async function query(state, sql, parameters) {
|
|
|
107
107
|
});
|
|
108
108
|
const result = await current.query(processedSql, parameters);
|
|
109
109
|
return {
|
|
110
|
-
rows: (result.rows ?? []),
|
|
110
|
+
rows: BaseAdapter.normalizeRows((result.rows ?? [])),
|
|
111
111
|
rowCount: result.rowCount ?? result.rows?.length ?? 0,
|
|
112
112
|
};
|
|
113
113
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/db-postgres",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.94",
|
|
4
4
|
"description": "PostgreSQL database adapter for ZinTrust.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"node": ">=20.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@zintrust/core": "^0.4.
|
|
26
|
+
"@zintrust/core": "^0.4.93"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|