cardus 0.0.27 → 0.0.28

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.
package/dist/index.js CHANGED
@@ -120,7 +120,7 @@ class IntegrationManager {
120
120
  return 0;
121
121
  }
122
122
  else {
123
- return +user.priority; // 1 o 0
123
+ return +user.priority_defecto;
124
124
  }
125
125
  });
126
126
  const insertOrdersResult = new this.executionManager({
package/index.ts CHANGED
@@ -106,7 +106,7 @@ export class IntegrationManager {
106
106
  if (!esPotencialmentePriority) {
107
107
  return 0;
108
108
  } else {
109
- return +user.priority; // 1 o 0
109
+ return +user.priority_defecto;
110
110
  }
111
111
  };
112
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/types/index.ts CHANGED
@@ -246,7 +246,7 @@ type User = {
246
246
  id_usuario: number;
247
247
  tipo_cliente: number;
248
248
  id_comercial: number;
249
- priority: number;
249
+ priority_defecto: number;
250
250
  };
251
251
 
252
252
  export type ConfigurationService = {