@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.
@@ -4105,6 +4105,9 @@ var provideBuilderContext = (block, context) => {
4105
4105
  };
4106
4106
  return {};
4107
4107
  };
4108
+ var generateKey = (index) => {
4109
+ return index.toString();
4110
+ };
4108
4111
 
4109
4112
  // src/components/block/components/block-styles.tsx
4110
4113
  import { Show as Show2, createMemo } from "solid-js";
@@ -4412,9 +4415,12 @@ function InteractiveElement(props) {
4412
4415
  })
4413
4416
  } : {};
4414
4417
  });
4418
+ const targetWrapperProps = createMemo2(() => {
4419
+ return props.wrapperProps;
4420
+ });
4415
4421
  return <><Show3
4416
4422
  fallback={<Dynamic2
4417
- {...props.wrapperProps}
4423
+ {...targetWrapperProps()}
4418
4424
  attributes={attributes()}
4419
4425
  component={props.Wrapper}
4420
4426
  >{props.children}</Dynamic2>}
@@ -4510,9 +4516,16 @@ function ComponentRef(props) {
4510
4516
  var Component_ref_default = ComponentRef;
4511
4517
 
4512
4518
  // src/components/block/components/repeated-block.tsx
4513
- import { createSignal as createSignal4 } from "solid-js";
4519
+ import { on as on2, createEffect as createEffect2, createMemo as createMemo4, createSignal as createSignal4 } from "solid-js";
4514
4520
  function RepeatedBlock(props) {
4515
4521
  const [store, setStore] = createSignal4(props.repeatContext);
4522
+ const onUpdateFn_0_props_repeatContext = createMemo4(
4523
+ () => props.repeatContext
4524
+ );
4525
+ function onUpdateFn_0() {
4526
+ setStore(props.repeatContext);
4527
+ }
4528
+ createEffect2(on2(() => [onUpdateFn_0_props_repeatContext()], onUpdateFn_0));
4516
4529
  return <><builder_context_default.Provider value={store()}><Block_default
4517
4530
  block={props.block}
4518
4531
  context={store()}
@@ -4617,7 +4630,7 @@ function Block(props) {
4617
4630
  fallback={<For2 each={repeatItem()}>{(data, _index) => {
4618
4631
  const index = _index();
4619
4632
  return <Repeated_block_default
4620
- key={index}
4633
+ key={generateKey(index)}
4621
4634
  repeatContext={data.context}
4622
4635
  block={data.block}
4623
4636
  registeredComponents={props.registeredComponents}
@@ -4641,7 +4654,7 @@ function Block(props) {
4641
4654
  fallback={<For2 each={repeatItem()}>{(data, _index) => {
4642
4655
  const index = _index();
4643
4656
  return <Repeated_block_default
4644
- key={index}
4657
+ key={generateKey(index)}
4645
4658
  repeatContext={data.context}
4646
4659
  block={data.block}
4647
4660
  registeredComponents={props.registeredComponents}
@@ -4681,7 +4694,7 @@ function Block(props) {
4681
4694
  var Block_default = Block;
4682
4695
 
4683
4696
  // src/components/blocks/blocks-wrapper.tsx
4684
- import { onMount as onMount3, on as on3, createEffect as createEffect3, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4697
+ import { onMount as onMount3, on as on4, createEffect as createEffect4, createMemo as createMemo6, createSignal as createSignal6 } from "solid-js";
4685
4698
  import { Dynamic as Dynamic4 } from "solid-js/web";
4686
4699
  function BlocksWrapper(props) {
4687
4700
  const [shouldUpdate, setShouldUpdate] = createSignal6(false);
@@ -4734,7 +4747,7 @@ function BlocksWrapper(props) {
4734
4747
  const onUpdateFn_0_props_blocks = createMemo6(() => props.blocks);
4735
4748
  function onUpdateFn_0() {
4736
4749
  }
4737
- createEffect3(on3(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4750
+ createEffect4(on4(() => [onUpdateFn_0_props_blocks()], onUpdateFn_0));
4738
4751
  return <>
4739
4752
  <Dynamic4
4740
4753
  class={className() + " dynamic-023c60f2"}
@@ -4959,7 +4972,7 @@ function FragmentComponent(props) {
4959
4972
  var fragment_default = FragmentComponent;
4960
4973
 
4961
4974
  // src/blocks/image/image.tsx
4962
- import { Show as Show8, createMemo as createMemo8 } from "solid-js";
4975
+ import { Show as Show8, onMount as onMount4, createMemo as createMemo8 } from "solid-js";
4963
4976
 
4964
4977
  // src/blocks/image/image.helpers.ts
4965
4978
  function removeProtocol(path) {
@@ -5048,12 +5061,14 @@ function Image(props) {
5048
5061
  const out = props.aspectRatio ? aspectRatioStyles : void 0;
5049
5062
  return out;
5050
5063
  });
5064
+ onMount4(() => {
5065
+ });
5051
5066
  return <>
5052
5067
  <>
5053
5068
  <picture>
5054
5069
  <Show8 when={webpSrcSet()}><source type="image/webp" srcset={webpSrcSet()} /></Show8>
5055
5070
  <img
5056
- class={"builder-image" + (props.className ? " " + props.className : "") + " img-040e729e"}
5071
+ class={"builder-image" + (props.className ? " " + props.className : "") + " img-5f381e78"}
5057
5072
  loading={props.highPriority ? "eager" : "lazy"}
5058
5073
  fetchpriority={props.highPriority ? "high" : "auto"}
5059
5074
  alt={props.altText}
@@ -5072,22 +5087,22 @@ function Image(props) {
5072
5087
  <Show8
5073
5088
  when={props.aspectRatio && !(props.builderBlock?.children?.length && props.fitContent)}
5074
5089
  ><div
5075
- class="builder-image-sizer div-040e729e"
5090
+ class="builder-image-sizer div-5f381e78"
5076
5091
  style={{
5077
5092
  "padding-top": props.aspectRatio * 100 + "%"
5078
5093
  }}
5079
5094
  /></Show8>
5080
5095
  <Show8 when={props.builderBlock?.children?.length && props.fitContent}>{props.children}</Show8>
5081
- <Show8 when={!props.fitContent && props.builderBlock?.children?.length}><div class="div-040e729e-2">{props.children}</div></Show8>
5096
+ <Show8 when={!props.fitContent && props.builderBlock?.children?.length}><div class="div-5f381e78-2">{props.children}</div></Show8>
5082
5097
  </>
5083
- <style>{`.img-040e729e {
5098
+ <style>{`.img-5f381e78 {
5084
5099
  opacity: 1;
5085
5100
  transition: opacity 0.2s ease-in-out;
5086
- }.div-040e729e {
5101
+ }.div-5f381e78 {
5087
5102
  width: 100%;
5088
5103
  pointer-events: none;
5089
5104
  font-size: 0;
5090
- }.div-040e729e-2 {
5105
+ }.div-5f381e78-2 {
5091
5106
  display: flex;
5092
5107
  flex-direction: column;
5093
5108
  align-items: stretch;
@@ -5123,10 +5138,10 @@ function SectionComponent(props) {
5123
5138
  var section_default = SectionComponent;
5124
5139
 
5125
5140
  // src/blocks/symbol/symbol.tsx
5126
- import { onMount as onMount9, on as on7, createEffect as createEffect7, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5141
+ import { onMount as onMount10, on as on8, createEffect as createEffect8, createMemo as createMemo20, createSignal as createSignal20 } from "solid-js";
5127
5142
 
5128
5143
  // src/components/content-variants/content-variants.tsx
5129
- import { Show as Show16, For as For9, onMount as onMount8, createSignal as createSignal19, createMemo as createMemo19 } from "solid-js";
5144
+ import { Show as Show16, For as For9, onMount as onMount9, createSignal as createSignal19, createMemo as createMemo19 } from "solid-js";
5130
5145
 
5131
5146
  // src/helpers/url.ts
5132
5147
  var getTopLevelDomain = (host) => {
@@ -6107,7 +6122,7 @@ var componentInfo6 = {
6107
6122
  };
6108
6123
 
6109
6124
  // src/blocks/personalization-container/personalization-container.tsx
6110
- import { Show as Show10, For as For6, onMount as onMount4, createSignal as createSignal10, createMemo as createMemo10 } from "solid-js";
6125
+ import { Show as Show10, For as For6, onMount as onMount5, createSignal as createSignal10, createMemo as createMemo10 } from "solid-js";
6111
6126
 
6112
6127
  // src/components/inlined-script.tsx
6113
6128
  function InlinedScript(props) {
@@ -6372,7 +6387,7 @@ function PersonalizationContainer(props) {
6372
6387
  ).join("");
6373
6388
  });
6374
6389
  let rootRef;
6375
- onMount4(() => {
6390
+ onMount5(() => {
6376
6391
  setIsHydrated(true);
6377
6392
  const unsub = userAttributesService.subscribeOnUserAttributesChange(
6378
6393
  (attrs) => {
@@ -6774,10 +6789,10 @@ var tabs_default = Tabs;
6774
6789
 
6775
6790
  // src/blocks/text/component-info.ts
6776
6791
  var componentInfo11 = {
6777
- shouldReceiveBuilderProps: {
6778
- builderBlock: TARGET === "reactNative" ? true : false,
6792
+ shouldReceiveBuilderProps: TARGET === "reactNative" ? {
6793
+ builderBlock: true,
6779
6794
  builderContext: true
6780
- },
6795
+ } : {},
6781
6796
  name: "Text",
6782
6797
  static: true,
6783
6798
  isRSC: true,
@@ -6835,7 +6850,7 @@ var componentInfo12 = {
6835
6850
  };
6836
6851
 
6837
6852
  // src/blocks/custom-code/custom-code.tsx
6838
- import { onMount as onMount5, on as on4, createEffect as createEffect4, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6853
+ import { onMount as onMount6, on as on5, createEffect as createEffect5, createMemo as createMemo12, createSignal as createSignal12 } from "solid-js";
6839
6854
  function CustomCode(props) {
6840
6855
  const [scriptsInserted, setScriptsInserted] = createSignal12([]);
6841
6856
  const [scriptsRun, setScriptsRun] = createSignal12([]);
@@ -6876,7 +6891,7 @@ function CustomCode(props) {
6876
6891
  }
6877
6892
  }
6878
6893
  let elementRef;
6879
- onMount5(() => {
6894
+ onMount6(() => {
6880
6895
  runScripts();
6881
6896
  });
6882
6897
  const onUpdateFn_0_props_code = createMemo12(() => props.code);
@@ -6885,7 +6900,7 @@ function CustomCode(props) {
6885
6900
  runScripts();
6886
6901
  }
6887
6902
  }
6888
- createEffect4(on4(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6903
+ createEffect5(on5(() => [onUpdateFn_0_props_code()], onUpdateFn_0));
6889
6904
  return <><div
6890
6905
  class={"builder-custom-code" + (props.replaceNodes ? " replace-nodes" : "")}
6891
6906
  ref={elementRef}
@@ -6913,7 +6928,7 @@ var componentInfo13 = {
6913
6928
  };
6914
6929
 
6915
6930
  // src/blocks/embed/embed.tsx
6916
- import { on as on5, createEffect as createEffect5, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6931
+ import { on as on6, createEffect as createEffect6, createMemo as createMemo13, createSignal as createSignal13 } from "solid-js";
6917
6932
 
6918
6933
  // src/blocks/embed/helpers.ts
6919
6934
  var SCRIPT_MIME_TYPES = ["text/javascript", "application/javascript", "application/ecmascript"];
@@ -6955,8 +6970,8 @@ function Embed(props) {
6955
6970
  findAndRunScripts();
6956
6971
  }
6957
6972
  }
6958
- createEffect5(
6959
- on5(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6973
+ createEffect6(
6974
+ on6(() => [onUpdateFn_0_elem(), onUpdateFn_0_ranInitFn__()], onUpdateFn_0)
6960
6975
  );
6961
6976
  return <><div class="builder-embed" ref={elem} innerHTML={props.content} /></>;
6962
6977
  }
@@ -7788,7 +7803,7 @@ var componentInfo20 = {
7788
7803
  };
7789
7804
 
7790
7805
  // src/blocks/video/video.tsx
7791
- import { Show as Show13, onMount as onMount6, createSignal as createSignal15, createMemo as createMemo15 } from "solid-js";
7806
+ import { Show as Show13, onMount as onMount7, createSignal as createSignal15, createMemo as createMemo15 } from "solid-js";
7792
7807
  function Video(props) {
7793
7808
  const [lazyVideoObserver, setLazyVideoObserver] = createSignal15(void 0);
7794
7809
  const videoProps = createMemo15(() => {
@@ -7816,7 +7831,7 @@ function Video(props) {
7816
7831
  };
7817
7832
  });
7818
7833
  let videoRef;
7819
- onMount6(() => {
7834
+ onMount7(() => {
7820
7835
  if (props.lazyLoad) {
7821
7836
  const oberver = new IntersectionObserver(function(entries) {
7822
7837
  entries.forEach(function(entry) {
@@ -8046,9 +8061,9 @@ var getUpdateVariantVisibilityScript = ({
8046
8061
  // src/components/content/components/enable-editor.tsx
8047
8062
  import {
8048
8063
  Show as Show14,
8049
- onMount as onMount7,
8050
- on as on6,
8051
- createEffect as createEffect6,
8064
+ onMount as onMount8,
8065
+ on as on7,
8066
+ createEffect as createEffect7,
8052
8067
  createMemo as createMemo16,
8053
8068
  createSignal as createSignal16
8054
8069
  } from "solid-js";
@@ -8060,7 +8075,7 @@ function getPreviewContent(_searchParams) {
8060
8075
  }
8061
8076
 
8062
8077
  // src/constants/sdk-version.ts
8063
- var SDK_VERSION = "4.0.6";
8078
+ var SDK_VERSION = "4.0.7";
8064
8079
 
8065
8080
  // src/helpers/sdk-headers.ts
8066
8081
  var getSdkHeaders = () => ({
@@ -9064,7 +9079,7 @@ function EnableEditor(props) {
9064
9079
  let elementRef;
9065
9080
  runHttpRequests();
9066
9081
  emitStateUpdate();
9067
- onMount7(() => {
9082
+ onMount8(() => {
9068
9083
  if (isBrowser()) {
9069
9084
  if (isEditing() && !props.isNestedRender) {
9070
9085
  window.addEventListener("message", processMessage);
@@ -9145,15 +9160,15 @@ function EnableEditor(props) {
9145
9160
  mergeNewContent(props.content);
9146
9161
  }
9147
9162
  }
9148
- createEffect6(on6(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9163
+ createEffect7(on7(() => [onUpdateFn_0_props_content()], onUpdateFn_0));
9149
9164
  const onUpdateFn_1_props_builderContextSignal_rootState = createMemo16(
9150
9165
  () => props.builderContextSignal.rootState
9151
9166
  );
9152
9167
  function onUpdateFn_1() {
9153
9168
  emitStateUpdate();
9154
9169
  }
9155
- createEffect6(
9156
- on6(
9170
+ createEffect7(
9171
+ on7(
9157
9172
  () => [onUpdateFn_1_props_builderContextSignal_rootState()],
9158
9173
  onUpdateFn_1
9159
9174
  )
@@ -9164,7 +9179,7 @@ function EnableEditor(props) {
9164
9179
  mergeNewRootState(props.data);
9165
9180
  }
9166
9181
  }
9167
- createEffect6(on6(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9182
+ createEffect7(on7(() => [onUpdateFn_2_props_data()], onUpdateFn_2));
9168
9183
  const onUpdateFn_3_props_locale = createMemo16(() => props.locale);
9169
9184
  function onUpdateFn_3() {
9170
9185
  if (props.locale) {
@@ -9173,7 +9188,7 @@ function EnableEditor(props) {
9173
9188
  });
9174
9189
  }
9175
9190
  }
9176
- createEffect6(on6(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9191
+ createEffect7(on7(() => [onUpdateFn_3_props_locale()], onUpdateFn_3));
9177
9192
  return <><builder_context_default.Provider value={props.builderContextSignal}><Show14
9178
9193
  when={props.builderContextSignal.content || needsElementRefDivForEditing()}
9179
9194
  ><Dynamic5
@@ -9415,7 +9430,7 @@ function ContentVariants(props) {
9415
9430
  canTrack: getDefaultCanTrack(props.canTrack)
9416
9431
  });
9417
9432
  });
9418
- onMount8(() => {
9433
+ onMount9(() => {
9419
9434
  setShouldRenderVariants(false);
9420
9435
  });
9421
9436
  return <><>
@@ -9545,13 +9560,13 @@ function Symbol2(props) {
9545
9560
  }
9546
9561
  });
9547
9562
  }
9548
- onMount9(() => {
9563
+ onMount10(() => {
9549
9564
  });
9550
9565
  const onUpdateFn_0_props_symbol = createMemo20(() => props.symbol);
9551
9566
  function onUpdateFn_0() {
9552
9567
  setContent();
9553
9568
  }
9554
- createEffect7(on7(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9569
+ createEffect8(on8(() => [onUpdateFn_0_props_symbol()], onUpdateFn_0));
9555
9570
  return <><div class={className()} {...{}} {...props.attributes} {...{}}><Content_variants_default
9556
9571
  nonce={props.builderContext.nonce}
9557
9572
  isNestedRender={true}
package/lib/node/dev.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
  import { createRequire } from 'node:module';
4
4
 
5
5
  // src/blocks/button/button.tsx
@@ -1105,6 +1105,9 @@ var provideBuilderContext = (block, context) => {
1105
1105
  };
1106
1106
  return {};
1107
1107
  };
1108
+ var generateKey = (index) => {
1109
+ return index.toString();
1110
+ };
1108
1111
 
1109
1112
  // src/constants/device-sizes.ts
1110
1113
  var SIZES = {
@@ -1399,9 +1402,12 @@ function InteractiveElement(props) {
1399
1402
  })
1400
1403
  } : {};
1401
1404
  });
1405
+ const targetWrapperProps = createMemo(() => {
1406
+ return props.wrapperProps;
1407
+ });
1402
1408
  return createComponent(Show, {
1403
1409
  get fallback() {
1404
- return createComponent(Dynamic, mergeProps(() => props.wrapperProps, {
1410
+ return createComponent(Dynamic, mergeProps(targetWrapperProps, {
1405
1411
  get attributes() {
1406
1412
  return attributes();
1407
1413
  },
@@ -1531,6 +1537,11 @@ function ComponentRef(props) {
1531
1537
  var component_ref_default = ComponentRef;
1532
1538
  function RepeatedBlock(props) {
1533
1539
  const [store, setStore] = createSignal(props.repeatContext);
1540
+ const onUpdateFn_0_props_repeatContext = createMemo(() => props.repeatContext);
1541
+ function onUpdateFn_0() {
1542
+ setStore(props.repeatContext);
1543
+ }
1544
+ createEffect(on(() => [onUpdateFn_0_props_repeatContext()], onUpdateFn_0));
1534
1545
  return createComponent(builder_context_default.Provider, {
1535
1546
  get value() {
1536
1547
  return store();
@@ -1657,7 +1668,9 @@ function Block(props) {
1657
1668
  children: (data, _index) => {
1658
1669
  const index = _index();
1659
1670
  return createComponent(repeated_block_default, {
1660
- key: index,
1671
+ get key() {
1672
+ return generateKey(index);
1673
+ },
1661
1674
  get repeatContext() {
1662
1675
  return data.context;
1663
1676
  },
@@ -1723,7 +1736,9 @@ function Block(props) {
1723
1736
  children: (data, _index) => {
1724
1737
  const index = _index();
1725
1738
  return createComponent(repeated_block_default, {
1726
- key: index,
1739
+ get key() {
1740
+ return generateKey(index);
1741
+ },
1727
1742
  get repeatContext() {
1728
1743
  return data.context;
1729
1744
  },
@@ -2219,16 +2234,16 @@ function getSrcSet(url) {
2219
2234
  // src/blocks/image/image.tsx
2220
2235
  var _tmpl$5 = /* @__PURE__ */ template(`<source type=image/webp>`);
2221
2236
  var _tmpl$23 = /* @__PURE__ */ template(`<picture><img>`);
2222
- var _tmpl$32 = /* @__PURE__ */ template(`<div class="builder-image-sizer div-040e729e">`);
2223
- var _tmpl$42 = /* @__PURE__ */ template(`<div class=div-040e729e-2>`);
2224
- var _tmpl$52 = /* @__PURE__ */ template(`<style>.img-040e729e {
2237
+ var _tmpl$32 = /* @__PURE__ */ template(`<div class="builder-image-sizer div-5f381e78">`);
2238
+ var _tmpl$42 = /* @__PURE__ */ template(`<div class=div-5f381e78-2>`);
2239
+ var _tmpl$52 = /* @__PURE__ */ template(`<style>.img-5f381e78 {
2225
2240
  opacity: 1;
2226
2241
  transition: opacity 0.2s ease-in-out;
2227
- }.div-040e729e {
2242
+ }.div-5f381e78 {
2228
2243
  width: 100%;
2229
2244
  pointer-events: none;
2230
2245
  font-size: 0;
2231
- }.div-040e729e-2 {
2246
+ }.div-5f381e78-2 {
2232
2247
  display: flex;
2233
2248
  flex-direction: column;
2234
2249
  align-items: stretch;
@@ -2278,6 +2293,8 @@ function Image(props) {
2278
2293
  const out = props.aspectRatio ? aspectRatioStyles : void 0;
2279
2294
  return out;
2280
2295
  });
2296
+ onMount(() => {
2297
+ });
2281
2298
  return [[(() => {
2282
2299
  const _el$ = _tmpl$23(), _el$3 = _el$.firstChild;
2283
2300
  insert(_el$, createComponent(Show, {
@@ -2291,7 +2308,7 @@ function Image(props) {
2291
2308
  }
2292
2309
  }), _el$3);
2293
2310
  effect((_p$) => {
2294
- 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 = {
2311
+ 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 = {
2295
2312
  "object-position": props.backgroundPosition || "center",
2296
2313
  "object-fit": props.backgroundSize || "cover",
2297
2314
  ...aspectRatioCss()
@@ -4127,10 +4144,10 @@ delegateEvents(["click"]);
4127
4144
 
4128
4145
  // src/blocks/text/component-info.ts
4129
4146
  var componentInfo11 = {
4130
- shouldReceiveBuilderProps: {
4131
- builderBlock: TARGET === "reactNative" ? true : false,
4147
+ shouldReceiveBuilderProps: TARGET === "reactNative" ? {
4148
+ builderBlock: true,
4132
4149
  builderContext: true
4133
- },
4150
+ } : {},
4134
4151
  name: "Text",
4135
4152
  static: true,
4136
4153
  isRSC: true,
@@ -5528,7 +5545,7 @@ function getPreviewContent(_searchParams) {
5528
5545
  }
5529
5546
 
5530
5547
  // src/constants/sdk-version.ts
5531
- var SDK_VERSION = "4.0.6";
5548
+ var SDK_VERSION = "4.0.7";
5532
5549
 
5533
5550
  // src/helpers/sdk-headers.ts
5534
5551
  var getSdkHeaders = () => ({