@mastra/pg 0.2.8 → 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.
@@ -1,23 +1,23 @@
1
1
 
2
- > @mastra/pg@0.2.8-alpha.0 build /home/runner/work/mastra/mastra/stores/pg
2
+ > @mastra/pg@0.2.9-alpha.0 build /home/runner/work/mastra/mastra/stores/pg
3
3
  > tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.4.0
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 11581ms
9
+ TSC ⚡️ Build success in 10415ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.8.2
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/pg/dist/_tsup-dts-rollup.d.ts
14
14
  Analysis will use the bundled TypeScript version 5.8.2
15
15
  Writing package typings: /home/runner/work/mastra/mastra/stores/pg/dist/_tsup-dts-rollup.d.cts
16
- DTS ⚡️ Build success in 11264ms
16
+ DTS ⚡️ Build success in 10461ms
17
17
  CLI Cleaning output folder
18
18
  ESM Build start
19
19
  CJS Build start
20
- ESM dist/index.js 40.44 KB
21
- ESM ⚡️ Build success in 1489ms
22
- CJS dist/index.cjs 40.86 KB
23
- CJS ⚡️ Build success in 1489ms
20
+ ESM dist/index.js 40.43 KB
21
+ ESM ⚡️ Build success in 1214ms
22
+ CJS dist/index.cjs 40.85 KB
23
+ CJS ⚡️ Build success in 1213ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mastra/pg
2
2
 
3
+ ## 0.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a06aadc]
8
+ - @mastra/core@0.8.2
9
+
10
+ ## 0.2.9-alpha.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [a06aadc]
15
+ - @mastra/core@0.8.2-alpha.0
16
+
3
17
  ## 0.2.8
4
18
 
5
19
  ### Patch Changes
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, value]) => {
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 [key, value] of Object.entries(filters)) {
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, value]) => {
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 [key, value] of Object.entries(filters)) {
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.8",
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.1"
26
+ "@mastra/core": "^0.8.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.52.1",
@@ -144,7 +144,7 @@ export class PostgresStore extends MastraStorage {
144
144
  }
145
145
 
146
146
  if (filters) {
147
- Object.entries(filters).forEach(([key, value]) => {
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 [key, value] of Object.entries(filters)) {
169
+ for (const [, value] of Object.entries(filters)) {
170
170
  args.push(value);
171
171
  }
172
172
  }