@builder.io/sdk-solid 4.0.6 → 4.0.7

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/edge/dev.jsx CHANGED
@@ -4112,6 +4112,9 @@ var provideBuilderContext = (block, context) => {
4112
4112
  };
4113
4113
  return {};
4114
4114
  };
4115
+ var generateKey = (index) => {
4116
+ return index.toString();
4117
+ };
4115
4118
 
4116
4119
  // src/components/block/components/block-styles.tsx
4117
4120
  import { Show as Show2, createMemo } from "solid-js";
@@ -4419,9 +4422,12 @@ function InteractiveElement(props) {
4419
4422
  })
4420
4423
  } : {};
4421
4424
  });
4425
+ const targetWrapperProps = createMemo2(() => {
4426
+ return props.wrapperProps;
4427
+ });
4422
4428
  return <><Show3
4423
4429
  fallback={<Dynamic2
4424
- {...props.wrapperProps}
4430
+ {...targetWrapperProps()}
4425
4431
  attributes={attributes()}
4426
4432
  component={props.Wrapper}
4427
4433
  >{props.children}</Dynamic2>}
@@ -4517,9 +4523,16 @@ function ComponentRef(props) {
4517
4523
  var Component_ref_default = ComponentRef;
4518
4524
 
4519
4525
  // src/components/block/components/repeated-block.tsx
4520
- import { createSignal as createSignal4 } from "solid-js";
4526
+ import { on as on2, createEffect as createEffect2, createMemo as createMemo4, createSignal as createSignal4 } from "solid-js";
4521
4527
  function RepeatedBlock(props) {
4522
4528
  const [store, setStore] = createSignal4(props.repeatContext);
4529
+ const onUpdateFn_0_props_repeatContext = createMemo4(
4530
+ () => props.repeatContext
4531
+ );
4532
+ function onUpdateFn_0() {
4533
+ setStore(props.repeatContext);
4534
+ }
4535
+ createEffect2(on2(() => [onUpdateFn_0_props_repeatContext()], onUpdateFn_0));
4523
4536
  return <><builder_context_default.Provider value={store()}><Block_default
4524
4537
  block={props.block}
4525
4538
  context={store()}
@@ -4624,7 +4637,7 @@ function Block(props) {
4624
4637
  fallback={<For2 each={repeatItem()}>{(data, _index) => {
4625
4638
  const index = _index();
4626
4639
  return <Repeated_block_default
4627
- key={index}
4640
+ key={generateKey(index)}
4628
4641
  repeatContext={data.context}
4629
4642
  block={data.block}
4630
4643
  registeredComponents={props.registeredComponents}
@@ -4648,7 +4661,7 @@ function Block(props) {
4648
4661
  fallback={<For2 each={repeatItem()}>{(data, _index) => {
4649
4662
  const index = _index();
4650
4663
  return <Repeated_block_default
4651
- key={index}
4664
+ key={generateKey(index)}
4652
4665
  repeatContext={data.context}
4653
4666
  block={data.block}
4654
4667
  registeredComponents={props.registeredComponents}
@@ -4688,7 +4701,7 @@ function Block(props) {
4688
4701
  var Block_default = Block;
4689
4702
 
4690
4703
  // src/components/blocks/blocks-wrapper.tsx
4691
- import { onMount as onMount3, on as on3, createEffect as createEffect3, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4704
+ import { onMount as onMount3, on as on4, createEffect as createEffect4, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4692
4705
  import { Dynamic as Dynamic4 } from "solid-js/web";
4693
4706
  function BlocksWrapper(props) {
4694
4707
  const [shouldUpdate, setShouldUpdate] = createSignal6(false);
@@ -4741,7 +4754,7 @@ function BlocksWrapper(props) {
4741
4754
  const onUpdateFn_0_props_blocks = createMemo6(() => props.blocks);
4742
4755
  function onUpdateFn_0() {
4743
4756
  }
4744
- createEffect3(on3(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4757
+ createEffect4(on4(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4745
4758
  return <>
4746
4759
  <Dynamic4
4747
4760
  class={className() + " dynamic-023c60f2"}
@@ -4966,7 +4979,7 @@ function FragmentComponent(props) {
4966
4979
  var fragment_default = FragmentComponent;
4967
4980
 
4968
4981
  // src/blocks/image/image.tsx
4969
- import { Show as Show8, createMemo as createMemo8 } from "solid-js";
4982
+ import { Show as Show8, onMount as onMount4, createMemo as createMemo8 } from "solid-js";
4970
4983
 
4971
4984
  // src/blocks/image/image.helpers.ts
4972
4985
  function removeProtocol(path) {
@@ -5056,12 +5069,14 @@ function Image(props) {
5056
5069
  const out = props.aspectRatio ? aspectRatioStyles : void 0;
5057
5070
  return out;
5058
5071
  });
5072
+ onMount4(() => {
5073
+ });
5059
5074
  return <>
5060
5075
  <>
5061
5076
  <picture>
5062
5077
  <Show8 when={webpSrcSet()}><source type="image/webp" srcset={webpSrcSet()} /></Show8>
5063
5078
  <img
5064
- class={"builder-image" + (props.className ? " " + props.className : "") + " img-040e729e"}
5079
+ class={"builder-image" + (props.className ? " " + props.className : "") + " img-5f381e78"}
5065
5080
  loading={props.highPriority ? "eager" : "lazy"}
5066
5081
  fetchpriority={props.highPriority ? "high" : "auto"}
5067
5082
  alt={props.altText}
@@ -5080,22 +5095,22 @@ function Image(props) {
5080
5095
  <Show8
5081
5096
  when={props.aspectRatio && !(props.builderBlock?.children?.length && props.fitContent)}
5082
5097
  ><div
5083
- class="builder-image-sizer div-040e729e"
5098
+ class="builder-image-sizer div-5f381e78"
5084
5099
  style={{
5085
5100
  "padding-top": props.aspectRatio * 100 + "%"
5086
5101
  }}
5087
5102
  /></Show8>
5088
5103
  <Show8 when={props.builderBlock?.children?.length && props.fitContent}>{props.children}</Show8>
5089
- <Show8 when={!props.fitContent && props.builderBlock?.children?.length}><div class="div-040e729e-2">{props.children}</div></Show8>
5104
+ <Show8 when={!props.fitContent && props.builderBlock?.children?.length}><div class="div-5f381e78-2">{props.children}</div></Show8>
5090
5105
  </>
5091
- <style>{`.img-040e729e {
5106
+ <style>{`.img-5f381e78 {
5092
5107
  opacity: 1;
5093
5108
  transition: opacity 0.2s ease-in-out;
5094
- }.div-040e729e {
5109
+ }.div-5f381e78 {
5095
5110
  width: 100%;
5096
5111
  pointer-events: none;
5097
5112
  font-size: 0;
5098
- }.div-040e729e-2 {
5113
+ }.div-5f381e78-2 {
5099
5114
  display: flex;
5100
5115
  flex-direction: column;
5101
5116
  align-items: stretch;
@@ -5131,10 +5146,10 @@ function SectionComponent(props) {
5131
5146
  var section_default = SectionComponent;
5132
5147
 
5133
5148
  // src/blocks/symbol/symbol.tsx
5134
- import { onMount as onMount9, on as on7, createEffect as createEffect7, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5149
+ import { onMount as onMount10, on as on8, createEffect as createEffect8, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5135
5150
 
5136
5151
  // src/components/content-variants/content-variants.tsx
5137
- import { Show as Show16, For as For9, onMount as onMount8, createSignal as createSignal19, createMemo as createMemo19 } from "solid-js";
5152
+ import { Show as Show16, For as For9, onMount as onMount9, createSignal as createSignal19, createMemo as createMemo19 } from "solid-js";
5138
5153
 
5139
5154
  // src/helpers/url.ts
5140
5155
  var getTopLevelDomain = (host) => {
@@ -6116,7 +6131,7 @@ var componentInfo6 = {
6116
6131
  };
6117
6132
 
6118
6133
  // src/blocks/personalization-container/personalization-container.tsx
6119
- import { Show as Show10, For as For6, onMount as onMount4, createSignal as createSignal10, createMemo as createMemo10 } from "solid-js";
6134
+ import { Show as Show10, For as For6, onMount as onMount5, createSignal as createSignal10, createMemo as createMemo10 } from "solid-js";
6120
6135
 
6121
6136
  // src/components/inlined-script.tsx
6122
6137
  function InlinedScript(props) {
@@ -6381,7 +6396,7 @@ function PersonalizationContainer(props) {
6381
6396
  ).join("");
6382
6397
  });
6383
6398
  let rootRef;
6384
- onMount4(() => {
6399
+ onMount5(() => {
6385
6400
  setIsHydrated(true);
6386
6401
  const unsub = userAttributesService.subscribeOnUserAttributesChange(
6387
6402
  (attrs) => {
@@ -6783,10 +6798,10 @@ var tabs_default = Tabs;
6783
6798
 
6784
6799
  // src/blocks/text/component-info.ts
6785
6800
  var componentInfo11 = {
6786
- shouldReceiveBuilderProps: {
6787
- builderBlock: TARGET === "reactNative" ? true : false,
6801
+ shouldReceiveBuilderProps: TARGET === "reactNative" ? {
6802
+ builderBlock: true,
6788
6803
  builderContext: true
6789
- },
6804
+ } : {},
6790
6805
  name: "Text",
6791
6806
  static: true,
6792
6807
  isRSC: true,
@@ -6844,7 +6859,7 @@ var componentInfo12 = {
6844
6859
  };
6845
6860
 
6846
6861
  // src/blocks/custom-code/custom-code.tsx
6847
- import { onMount as onMount5, on as on4, createEffect as createEffect4, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6862
+ import { onMount as onMount6, on as on5, createEffect as createEffect5, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6848
6863
  function CustomCode(props) {
6849
6864
  const [scriptsInserted, setScriptsInserted] = createSignal12([]);
6850
6865
  const [scriptsRun, setScriptsRun] = createSignal12([]);
@@ -6885,7 +6900,7 @@ function CustomCode(props) {
6885
6900
  }
6886
6901
  }
6887
6902
  let elementRef;
6888
- onMount5(() => {
6903
+ onMount6(() => {
6889
6904
  runScripts();
6890
6905
  });
6891
6906
  const onUpdateFn_0_props_code = createMemo12(() => props.code);
@@ -6894,7 +6909,7 @@ function CustomCode(props) {
6894
6909
  runScripts();
6895
6910
  }
6896
6911
  }
6897
- createEffect4(on4(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6912
+ createEffect5(on5(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6898
6913
  return <><div
6899
6914
  class={"builder-custom-code" + (props.replaceNodes ? " replace-nodes" : "")}
6900
6915
  ref={elementRef}
@@ -6922,7 +6937,7 @@ var componentInfo13 = {
6922
6937
  };
6923
6938
 
6924
6939
  // src/blocks/embed/embed.tsx
6925
- import { on as on5, createEffect as createEffect5, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6940
+ import { on as on6, createEffect as createEffect6, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6926
6941
 
6927
6942
  // src/blocks/embed/helpers.ts
6928
6943
  var SCRIPT_MIME_TYPES = ["text/javascript", "application/javascript", "application/ecmascript"];
@@ -6964,8 +6979,8 @@ function Embed(props) {
6964
6979
  findAndRunScripts();
6965
6980
  }
6966
6981
  }
6967
- createEffect5(
6968
- on5(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6982
+ createEffect6(
6983
+ on6(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6969
6984
  );
6970
6985
  return <><div class="builder-embed" ref={elem} innerHTML={props.content} /></>;
6971
6986
  }
@@ -7797,7 +7812,7 @@ var componentInfo20 = {
7797
7812
  };
7798
7813
 
7799
7814
  // src/blocks/video/video.tsx
7800
- import { Show as Show13, onMount as onMount6, createSignal as createSignal15, createMemo as createMemo15 } from "solid-js";
7815
+ import { Show as Show13, onMount as onMount7, createSignal as createSignal15, createMemo as createMemo15 } from "solid-js";
7801
7816
  function Video(props) {
7802
7817
  const [lazyVideoObserver, setLazyVideoObserver] = createSignal15(void 0);
7803
7818
  const videoProps = createMemo15(() => {
@@ -7825,7 +7840,7 @@ function Video(props) {
7825
7840
  };
7826
7841
  });
7827
7842
  let videoRef;
7828
- onMount6(() => {
7843
+ onMount7(() => {
7829
7844
  if (props.lazyLoad) {
7830
7845
  const oberver = new IntersectionObserver(function(entries) {
7831
7846
  entries.forEach(function(entry) {
@@ -8056,9 +8071,9 @@ var getUpdateVariantVisibilityScript = ({
8056
8071
  // src/components/content/components/enable-editor.tsx
8057
8072
  import {
8058
8073
  Show as Show14,
8059
- onMount as onMount7,
8060
- on as on6,
8061
- createEffect as createEffect6,
8074
+ onMount as onMount8,
8075
+ on as on7,
8076
+ createEffect as createEffect7,
8062
8077
  createMemo as createMemo16,
8063
8078
  createSignal as createSignal16
8064
8079
  } from "solid-js";
@@ -8070,7 +8085,7 @@ function getPreviewContent(_searchParams) {
8070
8085
  }
8071
8086
 
8072
8087
  // src/constants/sdk-version.ts
8073
- var SDK_VERSION = "4.0.6";
8088
+ var SDK_VERSION = "4.0.7";
8074
8089
 
8075
8090
  // src/helpers/sdk-headers.ts
8076
8091
  var getSdkHeaders = () => ({
@@ -9081,7 +9096,7 @@ function EnableEditor(props) {
9081
9096
  let elementRef;
9082
9097
  runHttpRequests();
9083
9098
  emitStateUpdate();
9084
- onMount7(() => {
9099
+ onMount8(() => {
9085
9100
  if (isBrowser()) {
9086
9101
  if (isEditing() && !props.isNestedRender) {
9087
9102
  window.addEventListener("message", processMessage);
@@ -9162,15 +9177,15 @@ function EnableEditor(props) {
9162
9177
  mergeNewContent(props.content);
9163
9178
  }
9164
9179
  }
9165
- createEffect6(on6(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9180
+ createEffect7(on7(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9166
9181
  const onUpdateFn_1_props_builderContextSignal_rootState = createMemo16(
9167
9182
  () => props.builderContextSignal.rootState
9168
9183
  );
9169
9184
  function onUpdateFn_1() {
9170
9185
  emitStateUpdate();
9171
9186
  }
9172
- createEffect6(
9173
- on6(
9187
+ createEffect7(
9188
+ on7(
9174
9189
  () => [onUpdateFn_1_props_builderContextSignal_rootState()],
9175
9190
  onUpdateFn_1
9176
9191
  )
@@ -9181,7 +9196,7 @@ function EnableEditor(props) {
9181
9196
  mergeNewRootState(props.data);
9182
9197
  }
9183
9198
  }
9184
- createEffect6(on6(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9199
+ createEffect7(on7(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9185
9200
  const onUpdateFn_3_props_locale = createMemo16(() => props.locale);
9186
9201
  function onUpdateFn_3() {
9187
9202
  if (props.locale) {
@@ -9190,7 +9205,7 @@ function EnableEditor(props) {
9190
9205
  });
9191
9206
  }
9192
9207
  }
9193
- createEffect6(on6(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9208
+ createEffect7(on7(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9194
9209
  return <><builder_context_default.Provider value={props.builderContextSignal}><Show14
9195
9210
  when={props.builderContextSignal.content || needsElementRefDivForEditing()}
9196
9211
  ><Dynamic5
@@ -9432,7 +9447,7 @@ function ContentVariants(props) {
9432
9447
  canTrack: getDefaultCanTrack(props.canTrack)
9433
9448
  });
9434
9449
  });
9435
- onMount8(() => {
9450
+ onMount9(() => {
9436
9451
  setShouldRenderVariants(false);
9437
9452
  });
9438
9453
  return <><>
@@ -9562,13 +9577,13 @@ function Symbol2(props) {
9562
9577
  }
9563
9578
  });
9564
9579
  }
9565
- onMount9(() => {
9580
+ onMount10(() => {
9566
9581
  });
9567
9582
  const onUpdateFn_0_props_symbol = createMemo20(() => props.symbol);
9568
9583
  function onUpdateFn_0() {
9569
9584
  setContent();
9570
9585
  }
9571
- createEffect7(on7(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9586
+ createEffect8(on8(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9572
9587
  return <><div class={className()} {...{}} {...props.attributes} {...{}}><Content_variants_default
9573
9588
  nonce={props.builderContext.nonce}
9574
9589
  isNestedRender={true}
package/lib/edge/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { delegateEvents, createComponent, spread, mergeProps, insert, effect, setAttribute, className, style, template, use, Dynamic, memo } from 'solid-js/web';
2
- import { createContext, useContext, Show, For, createMemo, createSignal, onMount, createEffect, on } from 'solid-js';
2
+ import { createContext, useContext, Show, For, createMemo, onMount, createSignal, createEffect, on } from 'solid-js';
3
3
 
4
4
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
5
5
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
@@ -4108,6 +4108,9 @@ var provideBuilderContext = (block, context) => {
4108
4108
  };
4109
4109
  return {};
4110
4110
  };
4111
+ var generateKey = (index) => {
4112
+ return index.toString();
4113
+ };
4111
4114
 
4112
4115
  // src/constants/device-sizes.ts
4113
4116
  var SIZES = {
@@ -4402,9 +4405,12 @@ function InteractiveElement(props) {
4402
4405
  })
4403
4406
  } : {};
4404
4407
  });
4408
+ const targetWrapperProps = createMemo(() => {
4409
+ return props.wrapperProps;
4410
+ });
4405
4411
  return createComponent(Show, {
4406
4412
  get fallback() {
4407
- return createComponent(Dynamic, mergeProps(() => props.wrapperProps, {
4413
+ return createComponent(Dynamic, mergeProps(targetWrapperProps, {
4408
4414
  get attributes() {
4409
4415
  return attributes();
4410
4416
  },
@@ -4534,6 +4540,11 @@ function ComponentRef(props) {
4534
4540
  var component_ref_default = ComponentRef;
4535
4541
  function RepeatedBlock(props) {
4536
4542
  const [store, setStore] = createSignal(props.repeatContext);
4543
+ const onUpdateFn_0_props_repeatContext = createMemo(() => props.repeatContext);
4544
+ function onUpdateFn_0() {
4545
+ setStore(props.repeatContext);
4546
+ }
4547
+ createEffect(on(() => [onUpdateFn_0_props_repeatContext()], onUpdateFn_0));
4537
4548
  return createComponent(builder_context_default.Provider, {
4538
4549
  get value() {
4539
4550
  return store();
@@ -4660,7 +4671,9 @@ function Block(props) {
4660
4671
  children: (data, _index) => {
4661
4672
  const index = _index();
4662
4673
  return createComponent(repeated_block_default, {
4663
- key: index,
4674
+ get key() {
4675
+ return generateKey(index);
4676
+ },
4664
4677
  get repeatContext() {
4665
4678
  return data.context;
4666
4679
  },
@@ -4726,7 +4739,9 @@ function Block(props) {
4726
4739
  children: (data, _index) => {
4727
4740
  const index = _index();
4728
4741
  return createComponent(repeated_block_default, {
4729
- key: index,
4742
+ get key() {
4743
+ return generateKey(index);
4744
+ },
4730
4745
  get repeatContext() {
4731
4746
  return data.context;
4732
4747
  },
@@ -5222,16 +5237,16 @@ function getSrcSet(url) {
5222
5237
  // src/blocks/image/image.tsx
5223
5238
  var _tmpl$5 = /* @__PURE__ */ template(`<source type=image/webp>`);
5224
5239
  var _tmpl$23 = /* @__PURE__ */ template(`<picture><img>`);
5225
- var _tmpl$32 = /* @__PURE__ */ template(`<div class="builder-image-sizer div-040e729e">`);
5226
- var _tmpl$42 = /* @__PURE__ */ template(`<div class=div-040e729e-2>`);
5227
- var _tmpl$52 = /* @__PURE__ */ template(`<style>.img-040e729e {
5240
+ var _tmpl$32 = /* @__PURE__ */ template(`<div class="builder-image-sizer div-5f381e78">`);
5241
+ var _tmpl$42 = /* @__PURE__ */ template(`<div class=div-5f381e78-2>`);
5242
+ var _tmpl$52 = /* @__PURE__ */ template(`<style>.img-5f381e78 {
5228
5243
  opacity: 1;
5229
5244
  transition: opacity 0.2s ease-in-out;
5230
- }.div-040e729e {
5245
+ }.div-5f381e78 {
5231
5246
  width: 100%;
5232
5247
  pointer-events: none;
5233
5248
  font-size: 0;
5234
- }.div-040e729e-2 {
5249
+ }.div-5f381e78-2 {
5235
5250
  display: flex;
5236
5251
  flex-direction: column;
5237
5252
  align-items: stretch;
@@ -5280,6 +5295,8 @@ function Image(props) {
5280
5295
  const out = props.aspectRatio ? aspectRatioStyles : void 0;
5281
5296
  return out;
5282
5297
  });
5298
+ onMount(() => {
5299
+ });
5283
5300
  return [[(() => {
5284
5301
  const _el$ = _tmpl$23(), _el$3 = _el$.firstChild;
5285
5302
  insert(_el$, createComponent(Show, {
@@ -5293,7 +5310,7 @@ function Image(props) {
5293
5310
  }
5294
5311
  }), _el$3);
5295
5312
  effect((_p$) => {
5296
- const _v$ = "builder-image" + (props.className ? " " + props.className : "") + " img-040e729e", _v$2 = props.highPriority ? "eager" : "lazy", _v$3 = props.highPriority ? "high" : "auto", _v$4 = props.altText, _v$5 = props.title, _v$6 = props.altText ? void 0 : "presentation", _v$7 = {
5313
+ const _v$ = "builder-image" + (props.className ? " " + props.className : "") + " img-5f381e78", _v$2 = props.highPriority ? "eager" : "lazy", _v$3 = props.highPriority ? "high" : "auto", _v$4 = props.altText, _v$5 = props.title, _v$6 = props.altText ? void 0 : "presentation", _v$7 = {
5297
5314
  "object-position": props.backgroundPosition || "center",
5298
5315
  "object-fit": props.backgroundSize || "cover",
5299
5316
  ...aspectRatioCss()
@@ -7128,10 +7145,10 @@ delegateEvents(["click"]);
7128
7145
 
7129
7146
  // src/blocks/text/component-info.ts
7130
7147
  var componentInfo11 = {
7131
- shouldReceiveBuilderProps: {
7132
- builderBlock: TARGET === "reactNative" ? true : false,
7148
+ shouldReceiveBuilderProps: TARGET === "reactNative" ? {
7149
+ builderBlock: true,
7133
7150
  builderContext: true
7134
- },
7151
+ } : {},
7135
7152
  name: "Text",
7136
7153
  static: true,
7137
7154
  isRSC: true,
@@ -8528,7 +8545,7 @@ function getPreviewContent(_searchParams) {
8528
8545
  }
8529
8546
 
8530
8547
  // src/constants/sdk-version.ts
8531
- var SDK_VERSION = "4.0.6";
8548
+ var SDK_VERSION = "4.0.7";
8532
8549
 
8533
8550
  // src/helpers/sdk-headers.ts
8534
8551
  var getSdkHeaders = () => ({