@redneckz/wildless-cms-uni-blocks 0.14.890 → 0.14.892

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.
@@ -0,0 +1,16 @@
1
+ import { traversePageBlocks } from '../utils.js';
2
+
3
+ export const description = 'v0.14.891';
4
+
5
+ export default traversePageBlocks(adjustEndpoint);
6
+
7
+ function adjustEndpoint(block) {
8
+ const content = block?.content;
9
+
10
+ if (
11
+ block?.type === 'ApplicationForm' &&
12
+ (content?.typeForm === 'ACQR' || content?.typeForm === 'DPST')
13
+ ) {
14
+ content.endpoint = 'initcorporatelead';
15
+ }
16
+ }
@@ -11640,7 +11640,7 @@
11640
11640
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11641
11641
  });
11642
11642
 
11643
- const packageVersion = "0.14.889";
11643
+ const packageVersion = "0.14.891";
11644
11644
 
11645
11645
  exports.Blocks = Blocks;
11646
11646
  exports.ContentPage = ContentPage;