@smartmemory/sdk-js 1.4.88 → 1.4.91

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.
@@ -641,9 +641,8 @@ class H {
641
641
  * @param {object} [options]
642
642
  * @param {number} [options.limit=50]
643
643
  * @param {number} [options.offset=0]
644
- * @param {string|null} [options.type=null] - NOTE: sent as `memory_type`, which the
645
- * `/memory/list` route does not declare and therefore ignores. Pre-existing; kept as-is
646
- * so nothing silently changes behaviour for callers already passing it.
644
+ * @param {string|null} [options.type=null] - Exact memory type filter, applied
645
+ * server-side before pagination and counting (sent as `memory_type`).
647
646
  * @param {string|null} [options.metadataKey=null] - GRAPH-API-1l. Metadata key to filter
648
647
  * on. Nested keys use dot syntax (`profile.tier`). Must be paired with `metadataValue`;
649
648
  * sending only one half is a 422.
@@ -659,7 +658,7 @@ class H {
659
658
  metadataValue: r = null
660
659
  } = {}) {
661
660
  const i = new URLSearchParams({ limit: e, offset: t });
662
- return n && i.append("memory_type", n), s != null && i.append("metadata_key", s), r != null && i.append("metadata_value", r), this.api.get(`/memory/list?${i}`);
661
+ return n != null && i.append("memory_type", n), s != null && i.append("metadata_key", s), r != null && i.append("metadata_value", r), this.api.get(`/memory/list?${i}`);
663
662
  }
664
663
  /**
665
664
  * Search for memory items.
package/dist/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e, a as r, d as A, e as I, B as P, D as o, f as n, I as t, M as g, O as i, j as m, q as M, r as h, l as f, m as l, T as S, o as p, U as u } from "./core-l0p31h_c.js";
1
+ import { A as e, a as r, d as A, e as I, B as P, D as o, f as n, I as t, M as g, O as i, j as m, q as M, r as h, l as f, m as l, T as S, o as p, U as u } from "./core-D8pAeiLz.js";
2
2
  export {
3
3
  e as APIError,
4
4
  r as AgentAPI,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as f, a as u, b as A, c as P, d as b, e as h, D as I, E as g, G as x, f as p, I as w, L as m, M as k, O as v, g as T, P as B, h as y, i as C, j as S, R as E, k as R, S as F, l as L, m as M, T as O, n as G, o as U, p as $, U as D, V, Z } from "./core-l0p31h_c.js";
1
+ import { A as f, a as u, b as A, c as P, d as b, e as h, D as I, E as g, G as x, f as p, I as w, L as m, M as k, O as v, g as T, P as B, h as y, i as C, j as S, R as E, k as R, S as F, l as L, m as M, T as O, n as G, o as U, p as $, U as D, V, Z } from "./core-D8pAeiLz.js";
2
2
  const i = {
3
3
  variables: {
4
4
  colorBackground: "transparent",
package/dist/react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import h, { createContext as d, useRef as S, useState as p, useEffect as C, useCallback as c, useContext as g } from "react";
2
- import { l as y } from "./core-l0p31h_c.js";
2
+ import { l as y } from "./core-D8pAeiLz.js";
3
3
  const m = d(null), f = d(null);
4
4
  function b({ children: e, ...r }) {
5
5
  const n = S(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartmemory/sdk-js",
3
- "version": "1.4.88",
3
+ "version": "1.4.91",
4
4
  "description": "Unified JavaScript SDK for SmartMemory API — auth + API client for all frontends",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",