@smvtech/x-flux 1.0.10 → 1.0.12
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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -326,6 +326,7 @@ var formatApplicationFromResponse = (application) => {
|
|
|
326
326
|
application_status: application.application_status,
|
|
327
327
|
tags: application.tags,
|
|
328
328
|
absconding_metadata: application.absconding_metadata,
|
|
329
|
+
validations: application.validations || [],
|
|
329
330
|
created_at: application.created_at,
|
|
330
331
|
updated_at: application.updated_at
|
|
331
332
|
};
|
|
@@ -866,6 +867,7 @@ var EDCFlowProvider = ({ children, orderId }) => {
|
|
|
866
867
|
try {
|
|
867
868
|
setError(null);
|
|
868
869
|
const { data } = await runAllValidations(orderId);
|
|
870
|
+
console.log("data", data);
|
|
869
871
|
if (data.order) {
|
|
870
872
|
setOrder(data.order);
|
|
871
873
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -300,6 +300,7 @@ var formatApplicationFromResponse = (application) => {
|
|
|
300
300
|
application_status: application.application_status,
|
|
301
301
|
tags: application.tags,
|
|
302
302
|
absconding_metadata: application.absconding_metadata,
|
|
303
|
+
validations: application.validations || [],
|
|
303
304
|
created_at: application.created_at,
|
|
304
305
|
updated_at: application.updated_at
|
|
305
306
|
};
|
|
@@ -840,6 +841,7 @@ var EDCFlowProvider = ({ children, orderId }) => {
|
|
|
840
841
|
try {
|
|
841
842
|
setError(null);
|
|
842
843
|
const { data } = await runAllValidations(orderId);
|
|
844
|
+
console.log("data", data);
|
|
843
845
|
if (data.order) {
|
|
844
846
|
setOrder(data.order);
|
|
845
847
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smvtech/x-flux",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "x-flux - A powerful React package for managing effective document collection flows, visa questionnaires, travellers, and applications",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|