@zauru-sdk/services 2.6.0 → 2.7.0

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.
@@ -215,7 +215,9 @@ export async function getVariablesByName(headers, session, names) {
215
215
  if (response.error) {
216
216
  throw new Error(`${response.userMsg} - ${response.msg}`);
217
217
  }
218
- session.set("variables", response.data);
218
+ session.set("variables", response.data?.map((x) => {
219
+ return { id: x.id, name: x.name, value: x.value };
220
+ }));
219
221
  await commitSession(session);
220
222
  variables = response.data ?? [];
221
223
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -25,12 +25,12 @@
25
25
  "dependencies": {
26
26
  "@remix-run/node": "^2.8.1",
27
27
  "@upstash/redis": "^1.34.5",
28
- "@zauru-sdk/common": "^2.6.0",
28
+ "@zauru-sdk/common": "^2.7.0",
29
29
  "@zauru-sdk/config": "^2.0.220",
30
30
  "@zauru-sdk/graphql": "^2.4.0",
31
- "@zauru-sdk/types": "^2.6.0",
31
+ "@zauru-sdk/types": "^2.7.0",
32
32
  "axios": "^1.6.7",
33
33
  "chalk": "5.3.0"
34
34
  },
35
- "gitHead": "1e62bcdd79a02fbed8405445d5722627ac9299d8"
35
+ "gitHead": "c70383dc66de3eab8d0812fae1526358d4caa3c6"
36
36
  }