@builder.io/sdk-qwik 0.4.2 → 0.4.3
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/lib/index.qwik.cjs
CHANGED
|
@@ -2654,7 +2654,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
2654
2654
|
}
|
|
2655
2655
|
};
|
|
2656
2656
|
};
|
|
2657
|
-
const SDK_VERSION = "0.4.
|
|
2657
|
+
const SDK_VERSION = "0.4.3";
|
|
2658
2658
|
const registry = {};
|
|
2659
2659
|
function register(type, info) {
|
|
2660
2660
|
let typeList = registry[type];
|
|
@@ -2888,7 +2888,8 @@ function bldrCntntScrpt(variantContentId, defaultContentId, isHydrationTarget2)
|
|
|
2888
2888
|
}
|
|
2889
2889
|
return;
|
|
2890
2890
|
}
|
|
2891
|
-
const
|
|
2891
|
+
const getIsHydrationTarget = (target) => target === "react" || target === "reactNative" || target === "vue3" || target === "vue2";
|
|
2892
|
+
const isHydrationTarget = getIsHydrationTarget(TARGET);
|
|
2892
2893
|
const AB_TEST_FN_NAME = "bldrAbTest";
|
|
2893
2894
|
const CONTENT_FN_NAME = "bldrCntntScrpt";
|
|
2894
2895
|
const getVariantsScriptString = (variants, contentId) => {
|
package/lib/index.qwik.mjs
CHANGED
|
@@ -2652,7 +2652,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
};
|
|
2654
2654
|
};
|
|
2655
|
-
const SDK_VERSION = "0.4.
|
|
2655
|
+
const SDK_VERSION = "0.4.3";
|
|
2656
2656
|
const registry = {};
|
|
2657
2657
|
function register(type, info) {
|
|
2658
2658
|
let typeList = registry[type];
|
|
@@ -2886,7 +2886,8 @@ function bldrCntntScrpt(variantContentId, defaultContentId, isHydrationTarget2)
|
|
|
2886
2886
|
}
|
|
2887
2887
|
return;
|
|
2888
2888
|
}
|
|
2889
|
-
const
|
|
2889
|
+
const getIsHydrationTarget = (target) => target === "react" || target === "reactNative" || target === "vue3" || target === "vue2";
|
|
2890
|
+
const isHydrationTarget = getIsHydrationTarget(TARGET);
|
|
2890
2891
|
const AB_TEST_FN_NAME = "bldrAbTest";
|
|
2891
2892
|
const CONTENT_FN_NAME = "bldrCntntScrpt";
|
|
2892
2893
|
const getVariantsScriptString = (variants, contentId) => {
|
package/package.json
CHANGED
|
@@ -4,14 +4,5 @@ type Props = {
|
|
|
4
4
|
block: BuilderBlock;
|
|
5
5
|
repeatContext: BuilderContextInterface;
|
|
6
6
|
};
|
|
7
|
-
/**
|
|
8
|
-
* We can't make this a generic `ProvideContext` function because Vue 2 won't support root slots, e.g.
|
|
9
|
-
*
|
|
10
|
-
* ```vue
|
|
11
|
-
* <template>
|
|
12
|
-
* <slot></slot>
|
|
13
|
-
* </template>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
7
|
export declare const RenderRepeatedBlock: import("@builder.io/qwik").Component<Props>;
|
|
17
8
|
export default RenderRepeatedBlock;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.4.
|
|
1
|
+
export declare const SDK_VERSION = "0.4.3";
|