@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.
- package/bin/migration-scripts/0.14.891.js +16 -0
- package/bundle/bundle.umd.js +1 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +0 -7
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.example.json +0 -7
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +0 -1
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +0 -1
|
@@ -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
|
+
}
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -11640,7 +11640,7 @@
|
|
|
11640
11640
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
11641
11641
|
});
|
|
11642
11642
|
|
|
11643
|
-
const packageVersion = "0.14.
|
|
11643
|
+
const packageVersion = "0.14.891";
|
|
11644
11644
|
|
|
11645
11645
|
exports.Blocks = Blocks;
|
|
11646
11646
|
exports.ContentPage = ContentPage;
|