@mastra/pg 0.2.9-alpha.0 → 0.2.9
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/src/storage/index.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.4.0
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 10415ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/pg/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
15
15
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/pg/dist/_tsup-dts-rollup.d.cts[39m
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 10461ms
|
|
17
17
|
[34mCLI[39m Cleaning output folder
|
|
18
18
|
[34mESM[39m Build start
|
|
19
19
|
[34mCJS[39m Build start
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
20
|
+
[32mESM[39m [1mdist/index.js [22m[32m40.43 KB[39m
|
|
21
|
+
[32mESM[39m ⚡️ Build success in 1214ms
|
|
22
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m40.85 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 1213ms
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -797,7 +797,7 @@ var PostgresStore = class extends storage.MastraStorage {
|
|
|
797
797
|
});
|
|
798
798
|
}
|
|
799
799
|
if (filters) {
|
|
800
|
-
Object.entries(filters).forEach(([key
|
|
800
|
+
Object.entries(filters).forEach(([key]) => {
|
|
801
801
|
conditions.push(`${key} = $${idx++}`);
|
|
802
802
|
});
|
|
803
803
|
}
|
|
@@ -814,7 +814,7 @@ var PostgresStore = class extends storage.MastraStorage {
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
if (filters) {
|
|
817
|
-
for (const [
|
|
817
|
+
for (const [, value] of Object.entries(filters)) {
|
|
818
818
|
args.push(value);
|
|
819
819
|
}
|
|
820
820
|
}
|
package/dist/index.js
CHANGED
|
@@ -789,7 +789,7 @@ var PostgresStore = class extends MastraStorage {
|
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
791
|
if (filters) {
|
|
792
|
-
Object.entries(filters).forEach(([key
|
|
792
|
+
Object.entries(filters).forEach(([key]) => {
|
|
793
793
|
conditions.push(`${key} = $${idx++}`);
|
|
794
794
|
});
|
|
795
795
|
}
|
|
@@ -806,7 +806,7 @@ var PostgresStore = class extends MastraStorage {
|
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
808
|
if (filters) {
|
|
809
|
-
for (const [
|
|
809
|
+
for (const [, value] of Object.entries(filters)) {
|
|
810
810
|
args.push(value);
|
|
811
811
|
}
|
|
812
812
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/pg",
|
|
3
|
-
"version": "0.2.9
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Postgres provider for Mastra - includes both vector and db storage capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pg": "^8.13.3",
|
|
24
24
|
"pg-promise": "^11.11.0",
|
|
25
25
|
"xxhash-wasm": "^1.1.0",
|
|
26
|
-
"@mastra/core": "^0.8.2
|
|
26
|
+
"@mastra/core": "^0.8.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@microsoft/api-extractor": "^7.52.1",
|
package/src/storage/index.ts
CHANGED
|
@@ -144,7 +144,7 @@ export class PostgresStore extends MastraStorage {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
if (filters) {
|
|
147
|
-
Object.entries(filters).forEach(([key
|
|
147
|
+
Object.entries(filters).forEach(([key]) => {
|
|
148
148
|
conditions.push(`${key} = \$${idx++}`);
|
|
149
149
|
});
|
|
150
150
|
}
|
|
@@ -166,7 +166,7 @@ export class PostgresStore extends MastraStorage {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
if (filters) {
|
|
169
|
-
for (const [
|
|
169
|
+
for (const [, value] of Object.entries(filters)) {
|
|
170
170
|
args.push(value);
|
|
171
171
|
}
|
|
172
172
|
}
|