@medusajs/js-sdk 2.19.0 → 2.19.1-preview-20260813160157

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.
@@ -16,9 +16,9 @@ export declare class Search {
16
16
  */
17
17
  constructor(client: Client);
18
18
  /**
19
- * This method searches across entities. When the Search Module is enabled,
20
- * results come from its indexes; otherwise each entity is queried with the
21
- * same free-text `q` filter the list endpoints support.
19
+ * This method searches across entities. Per entity, results come from the
20
+ * Search Module when that entity is indexed; otherwise each entity is queried
21
+ * with the same free-text `q` filter the list endpoints support.
22
22
  *
23
23
  * Results are grouped per entity and paginated independently.
24
24
  *
@@ -33,7 +33,7 @@ export declare class Search {
33
33
  * })
34
34
  *
35
35
  * @tags search
36
- * @since 2.18.1
36
+ * @since 2.19.0
37
37
  */
38
38
  list(query?: HttpTypes.AdminSearchParams, headers?: ClientHeaders): Promise<HttpTypes.AdminSearchResponse<Record<string, unknown>>>;
39
39
  }
@@ -14,9 +14,9 @@ class Search {
14
14
  this.client = client;
15
15
  }
16
16
  /**
17
- * This method searches across entities. When the Search Module is enabled,
18
- * results come from its indexes; otherwise each entity is queried with the
19
- * same free-text `q` filter the list endpoints support.
17
+ * This method searches across entities. Per entity, results come from the
18
+ * Search Module when that entity is indexed; otherwise each entity is queried
19
+ * with the same free-text `q` filter the list endpoints support.
20
20
  *
21
21
  * Results are grouped per entity and paginated independently.
22
22
  *
@@ -31,7 +31,7 @@ class Search {
31
31
  * })
32
32
  *
33
33
  * @tags search
34
- * @since 2.18.1
34
+ * @since 2.19.0
35
35
  */
36
36
  async list(query, headers) {
37
37
  return await this.client.fetch(`/admin/search`, {
@@ -16,9 +16,9 @@ export declare class Search {
16
16
  */
17
17
  constructor(client: Client);
18
18
  /**
19
- * This method searches across entities. When the Search Module is enabled,
20
- * results come from its indexes; otherwise each entity is queried with the
21
- * same free-text `q` filter the list endpoints support.
19
+ * This method searches across entities. Per entity, results come from the
20
+ * Search Module when that entity is indexed; otherwise each entity is queried
21
+ * with the same free-text `q` filter the list endpoints support.
22
22
  *
23
23
  * Results are grouped per entity and paginated independently.
24
24
  *
@@ -33,7 +33,7 @@ export declare class Search {
33
33
  * })
34
34
  *
35
35
  * @tags search
36
- * @since 2.18.1
36
+ * @since 2.19.0
37
37
  */
38
38
  list(query?: HttpTypes.AdminSearchParams, headers?: ClientHeaders): Promise<HttpTypes.AdminSearchResponse<Record<string, unknown>>>;
39
39
  }
@@ -20,9 +20,9 @@ export class Search {
20
20
  this.client = client;
21
21
  }
22
22
  /**
23
- * This method searches across entities. When the Search Module is enabled,
24
- * results come from its indexes; otherwise each entity is queried with the
25
- * same free-text `q` filter the list endpoints support.
23
+ * This method searches across entities. Per entity, results come from the
24
+ * Search Module when that entity is indexed; otherwise each entity is queried
25
+ * with the same free-text `q` filter the list endpoints support.
26
26
  *
27
27
  * Results are grouped per entity and paginated independently.
28
28
  *
@@ -37,7 +37,7 @@ export class Search {
37
37
  * })
38
38
  *
39
39
  * @tags search
40
- * @since 2.18.1
40
+ * @since 2.19.0
41
41
  */
42
42
  list(query, headers) {
43
43
  return __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/js-sdk",
3
- "version": "2.19.0",
3
+ "version": "2.19.1-preview-20260813160157",
4
4
  "description": "SDK for the Medusa API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -32,7 +32,7 @@
32
32
  "author": "Medusa",
33
33
  "license": "SEE LICENSE IN LICENSE",
34
34
  "devDependencies": {
35
- "@medusajs/types": "2.19.0"
35
+ "@medusajs/types": "2.19.1-preview-20260813160157"
36
36
  },
37
37
  "dependencies": {
38
38
  "fetch-event-stream": "^0.1.5",