@redneckz/wildless-cms-uni-blocks 0.14.639 → 0.14.640

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.
@@ -1,7 +1,7 @@
1
1
  export declare type SignalType = 'CREATE_APPLICATION_SHORT_SIGNAL' | 'CREATE_APPLICATION_LOAN_V3_SIGNAL' | 'KILL_DRAFT_PROCESS_SIGNAL';
2
2
  interface SendSignalToProcess {
3
3
  signalType: SignalType;
4
- taskId: number;
4
+ taskId: number | null;
5
5
  }
6
6
  interface SendSignalToProcessResponse {
7
7
  statusCd: string;
@@ -5975,9 +5975,10 @@
5975
5975
  ];
5976
5976
  const CreditFormStatusTracker = JSX(() => {
5977
5977
  const [status, setStatus] = useState(STATUS_TYPE.process);
5978
+ const [taskId] = useLocalStorage('taskId');
5978
5979
  useEffect(() => {
5979
5980
  for (const signalType of SIGNAL_TYPES) {
5980
- sendSignalToProcess({ signalType, taskId: TASK_ID });
5981
+ sendSignalToProcess({ signalType, taskId });
5981
5982
  }
5982
5983
  const trackStatus = () => getTaskStatus({ taskId: TASK_ID }).then((res) => {
5983
5984
  if (res.statusCd && res.statusCd !== STATUS_TYPE.process) {
@@ -8818,7 +8819,7 @@
8818
8819
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
8819
8820
  });
8820
8821
 
8821
- const packageVersion = "0.14.638";
8822
+ const packageVersion = "0.14.639";
8822
8823
 
8823
8824
  exports.Blocks = Blocks;
8824
8825
  exports.ContentPage = ContentPage;