Add immutable param to add method and bump version (#3022)
This commit is contained in:
@@ -409,6 +409,11 @@ mode: "wide"
|
|||||||
|
|
||||||
<Tab title="TypeScript">
|
<Tab title="TypeScript">
|
||||||
|
|
||||||
|
<Update label="2025-06-24" description="v2.1.33">
|
||||||
|
**Improvement :**
|
||||||
|
- **Client:** Added `immutable` param to `add` method.
|
||||||
|
</Update>
|
||||||
|
|
||||||
<Update label="2025-06-20" description="v2.1.32">
|
<Update label="2025-06-20" description="v2.1.32">
|
||||||
**Improvement :**
|
**Improvement :**
|
||||||
- **Client:** Made `api_version` V2 as default.
|
- **Client:** Made `api_version` V2 as default.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mem0ai",
|
"name": "mem0ai",
|
||||||
"version": "2.1.32",
|
"version": "2.1.33",
|
||||||
"description": "The Memory Layer For Your AI Apps",
|
"description": "The Memory Layer For Your AI Apps",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
@@ -98,17 +98,17 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@anthropic-ai/sdk": "^0.40.1",
|
"@anthropic-ai/sdk": "^0.40.1",
|
||||||
|
"@cloudflare/workers-types": "^4.20250504.0",
|
||||||
"@google/genai": "^1.2.0",
|
"@google/genai": "^1.2.0",
|
||||||
|
"@langchain/core": "^0.3.44",
|
||||||
"@mistralai/mistralai": "^1.5.2",
|
"@mistralai/mistralai": "^1.5.2",
|
||||||
"@qdrant/js-client-rest": "1.13.0",
|
"@qdrant/js-client-rest": "1.13.0",
|
||||||
"@supabase/supabase-js": "^2.49.1",
|
"@supabase/supabase-js": "^2.49.1",
|
||||||
"@types/jest": "29.5.14",
|
"@types/jest": "29.5.14",
|
||||||
"@types/pg": "8.11.0",
|
"@types/pg": "8.11.0",
|
||||||
"@types/sqlite3": "3.1.11",
|
"@types/sqlite3": "3.1.11",
|
||||||
"groq-sdk": "0.3.0",
|
|
||||||
"@langchain/core": "^0.3.44",
|
|
||||||
"cloudflare": "^4.2.0",
|
"cloudflare": "^4.2.0",
|
||||||
"@cloudflare/workers-types": "^4.20250504.0",
|
"groq-sdk": "0.3.0",
|
||||||
"neo4j-driver": "^5.28.1",
|
"neo4j-driver": "^5.28.1",
|
||||||
"ollama": "^0.5.14",
|
"ollama": "^0.5.14",
|
||||||
"pg": "8.11.3",
|
"pg": "8.11.3",
|
||||||
@@ -121,5 +121,11 @@
|
|||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b"
|
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b",
|
||||||
|
"pnpm": {
|
||||||
|
"onlyBuiltDependencies": [
|
||||||
|
"esbuild",
|
||||||
|
"sqlite3"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ export interface MemoryOptions {
|
|||||||
output_format?: string | OutputFormat;
|
output_format?: string | OutputFormat;
|
||||||
async_mode?: boolean;
|
async_mode?: boolean;
|
||||||
filter_memories?: boolean;
|
filter_memories?: boolean;
|
||||||
|
immutable?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProjectOptions {
|
export interface ProjectOptions {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
import type { TelemetryClient, TelemetryOptions } from "./telemetry.types";
|
import type { TelemetryClient, TelemetryOptions } from "./telemetry.types";
|
||||||
|
|
||||||
let version = "2.1.32";
|
let version = "2.1.33";
|
||||||
|
|
||||||
// Safely check for process.env in different environments
|
// Safely check for process.env in different environments
|
||||||
let MEM0_TELEMETRY = true;
|
let MEM0_TELEMETRY = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user