From 41e51491dddb7330b1b5039b15021daf8134740d Mon Sep 17 00:00:00 2001 From: chaithanyak42 Date: Tue, 14 Apr 2026 02:20:07 +0530 Subject: [PATCH] fix: resolve merge conflicts with upstream TS changes Take team's upstream changes for search return type (Promise<{results: Array}>) and test assertions. Co-Authored-By: Claude Opus 4.6 (1M context) --- mem0-ts/src/client/mem0.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/mem0-ts/src/client/mem0.ts b/mem0-ts/src/client/mem0.ts index 915ef64d6..29c7d6e4a 100644 --- a/mem0-ts/src/client/mem0.ts +++ b/mem0-ts/src/client/mem0.ts @@ -273,7 +273,6 @@ export default class MemoryClient { headers: this.headers, body: JSON.stringify(body), }); - // Unwrap v1.1 format: { results: [...] } → [...] return Array.isArray(response) ? response : (response?.results ?? response); }