@open-tender/utils 0.4.98 → 0.4.99
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/cjs/utils/cart.js +2 -0
- package/dist/esm/utils/cart.js +2 -0
- package/package.json +1 -1
package/dist/cjs/utils/cart.js
CHANGED
|
@@ -901,6 +901,8 @@ const prepareOrder = (data) => {
|
|
|
901
901
|
order.save = data.save;
|
|
902
902
|
if (data.token)
|
|
903
903
|
order.token = data.token;
|
|
904
|
+
if (data.kount_device_session_id)
|
|
905
|
+
order.kount_device_session_id = data.kount_device_session_id;
|
|
904
906
|
return order;
|
|
905
907
|
};
|
|
906
908
|
exports.prepareOrder = prepareOrder;
|
package/dist/esm/utils/cart.js
CHANGED
|
@@ -863,6 +863,8 @@ export const prepareOrder = (data) => {
|
|
|
863
863
|
order.save = data.save;
|
|
864
864
|
if (data.token)
|
|
865
865
|
order.token = data.token;
|
|
866
|
+
if (data.kount_device_session_id)
|
|
867
|
+
order.kount_device_session_id = data.kount_device_session_id;
|
|
866
868
|
return order;
|
|
867
869
|
};
|
|
868
870
|
export const checkAmountRemaining = (total, tenders) => {
|
package/package.json
CHANGED