@open-tender/utils 0.5.53 → 0.5.54

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.
@@ -200,6 +200,7 @@ export declare const makeSimpleCart: <C extends {
200
200
  }, K extends {
201
201
  id: number;
202
202
  quantity: number;
203
+ pos_ext_id?: string | null | undefined;
203
204
  groups: T[];
204
205
  }>(cart: C) => {
205
206
  id: number;
@@ -680,6 +680,7 @@ const makeSimpleGroups = (groups) => {
680
680
  .map(o => ({
681
681
  id: o.id,
682
682
  quantity: o.quantity,
683
+ pos_ext_id: o.pos_ext_id,
683
684
  groups: makeSimpleGroups(o.groups || [])
684
685
  }));
685
686
  return { id: g.id, options: options };
@@ -200,6 +200,7 @@ export declare const makeSimpleCart: <C extends {
200
200
  }, K extends {
201
201
  id: number;
202
202
  quantity: number;
203
+ pos_ext_id?: string | null | undefined;
203
204
  groups: T[];
204
205
  }>(cart: C) => {
205
206
  id: number;
@@ -645,6 +645,7 @@ const makeSimpleGroups = (groups) => {
645
645
  .map(o => ({
646
646
  id: o.id,
647
647
  quantity: o.quantity,
648
+ pos_ext_id: o.pos_ext_id,
648
649
  groups: makeSimpleGroups(o.groups || [])
649
650
  }));
650
651
  return { id: g.id, options: options };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.5.53",
3
+ "version": "0.5.54",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",