@zauru-sdk/services 2.0.101 → 2.0.102

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.
@@ -1,8 +1,7 @@
1
1
  import { AxiosUtilsResponse } from "@zauru-sdk/types";
2
2
  /**
3
3
  * getCMSGeneralQuery
4
- * @param headers
5
- * @param queryKey - clave dinámica para acceder a los datos en la respuesta (ej. 'purchase_orders', 'users')
4
+ * @param query
6
5
  * @returns
7
6
  */
8
7
  export declare const getCMSGeneralQuery: <T>(query: string) => Promise<AxiosUtilsResponse<T[]>>;
@@ -1,10 +1,9 @@
1
1
  import { handlePossibleAxiosErrors } from "@zauru-sdk/common";
2
2
  import { getCMSHeaders } from "../common.js";
3
- import { httpCMSAPI } from "~/zauru/httpCMS.js";
3
+ import { httpCMSAPI } from "../zauru/httpCMS.js";
4
4
  /**
5
5
  * getCMSGeneralQuery
6
- * @param headers
7
- * @param queryKey - clave dinámica para acceder a los datos en la respuesta (ej. 'purchase_orders', 'users')
6
+ * @param query
8
7
  * @returns
9
8
  */
10
9
  export const getCMSGeneralQuery = async (query) => {
package/dist/esm/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./common.js";
2
2
  export * from "./graphql/index.js";
3
+ export * from "./cms/index.js";
3
4
  export * from "./sessions/sessions.js";
4
5
  export * from "./sessions/upstash.js";
5
6
  export * from "./zauru/httpCMS.js";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./common.js";
2
2
  export * from "./graphql/index.js";
3
+ export * from "./cms/index.js";
3
4
  export * from "./sessions/sessions.js";
4
5
  export * from "./sessions/upstash.js";
5
6
  export * from "./zauru/httpCMS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.101",
3
+ "version": "2.0.102",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -31,5 +31,5 @@
31
31
  "axios": "^1.6.7",
32
32
  "chalk": "5.3.0"
33
33
  },
34
- "gitHead": "600c804405b61d0b07ebc19ecb4f02d25ba1e28b"
34
+ "gitHead": "d954c2af263e8cfe9fe92c72ac80d73cff626c1a"
35
35
  }