applesauce-sqlite 0.0.0-next-20250916120818 → 0.0.0-next-20250918142212

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.
@@ -18,7 +18,7 @@ export function buildFilterConditions(filter) {
18
18
  // Handle NIP-50 search filter
19
19
  if (filter.search && filter.search.trim()) {
20
20
  conditions.push(`events_search MATCH ?`);
21
- params.push(filter.search.trim());
21
+ params.push('"' + filter.search.replace(/"/g, '""') + '"');
22
22
  search = true;
23
23
  }
24
24
  // Handle IDs filter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applesauce-sqlite",
3
- "version": "0.0.0-next-20250916120818",
3
+ "version": "0.0.0-next-20250918142212",
4
4
  "description": "sqlite event databases for applesauce",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -82,7 +82,7 @@
82
82
  }
83
83
  },
84
84
  "dependencies": {
85
- "applesauce-core": "0.0.0-next-20250916120818"
85
+ "applesauce-core": "0.0.0-next-20250918142212"
86
86
  },
87
87
  "optionalDependencies": {
88
88
  "better-sqlite3": "^12.2.0",
@@ -91,9 +91,8 @@
91
91
  "devDependencies": {
92
92
  "@hirez_io/observer-spy": "^2.2.0",
93
93
  "@types/better-sqlite3": "^7.6.13",
94
- "@types/bun": "^1.2.22",
95
94
  "@types/ws": "^8.5.13",
96
- "applesauce-signers": "0.0.0-next-20250916120818",
95
+ "applesauce-signers": "0.0.0-next-20250918142212",
97
96
  "typescript": "^5.7.3",
98
97
  "vitest": "^3.2.4",
99
98
  "vitest-websocket-mock": "^0.5.0",