@builder.io/sdk-react-nextjs 0.7.0 → 0.7.1-1

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.
Files changed (43) hide show
  1. package/lib/browser/USE_CLIENT_BUNDLE-34ca6573.js +23 -0
  2. package/lib/browser/USE_CLIENT_BUNDLE-35cf57f2.mjs +657 -0
  3. package/lib/browser/USE_SERVER_BUNDLE-5f0752b4.mjs +11 -0
  4. package/lib/{edge/USE_SERVER_BUNDLE-105e9ef3.js → browser/USE_SERVER_BUNDLE-da1cf240.js} +1 -1
  5. package/lib/browser/{bundle-3b073b16.mjs → bundle-f0e86750.mjs} +680 -663
  6. package/lib/browser/bundle-fa4c07cb.js +76 -0
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +7 -7
  9. package/lib/edge/USE_CLIENT_BUNDLE-2841cf29.js +23 -0
  10. package/lib/edge/USE_CLIENT_BUNDLE-aeac6d00.mjs +657 -0
  11. package/lib/edge/USE_SERVER_BUNDLE-015ab545.mjs +11 -0
  12. package/lib/{node/USE_SERVER_BUNDLE-d8c698c8.js → edge/USE_SERVER_BUNDLE-ef1618a6.js} +1 -1
  13. package/lib/edge/{bundle-ed178c62.mjs → bundle-3c711a0f.mjs} +2053 -2008
  14. package/lib/edge/bundle-bfbd5fa6.js +96 -0
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +7 -7
  17. package/lib/node/USE_CLIENT_BUNDLE-a30d8b97.js +23 -0
  18. package/lib/node/USE_CLIENT_BUNDLE-fc82531c.mjs +657 -0
  19. package/lib/node/USE_SERVER_BUNDLE-25e36fa7.mjs +11 -0
  20. package/lib/{browser/USE_SERVER_BUNDLE-d8c698c8.js → node/USE_SERVER_BUNDLE-b26e79d4.js} +1 -1
  21. package/lib/node/bundle-23b73f20.js +116 -0
  22. package/lib/node/{bundle-3b073b16.mjs → bundle-4a8d8d92.mjs} +895 -781
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +7 -7
  25. package/package.json +4 -3
  26. package/types/blocks/image/image.d.ts +1 -1
  27. package/types/constants/sdk-version.d.ts +1 -1
  28. package/types/functions/evaluate/choose-eval.d.ts +6 -0
  29. package/types/functions/evaluate/evaluate.d.ts +1 -5
  30. package/types/functions/evaluate/helpers.d.ts +7 -1
  31. package/types/functions/get-content/types.d.ts +94 -3
  32. package/lib/browser/USE_CLIENT_BUNDLE-3a41b1ba.js +0 -23
  33. package/lib/browser/USE_CLIENT_BUNDLE-fc8c1bc0.mjs +0 -618
  34. package/lib/browser/USE_SERVER_BUNDLE-226a15ac.mjs +0 -11
  35. package/lib/browser/bundle-0fae602b.js +0 -76
  36. package/lib/edge/USE_CLIENT_BUNDLE-0e9f8e67.mjs +0 -618
  37. package/lib/edge/USE_CLIENT_BUNDLE-d48583e8.js +0 -23
  38. package/lib/edge/USE_SERVER_BUNDLE-f6a1e321.mjs +0 -11
  39. package/lib/edge/bundle-0c1d9099.js +0 -96
  40. package/lib/node/USE_CLIENT_BUNDLE-3a41b1ba.js +0 -23
  41. package/lib/node/USE_CLIENT_BUNDLE-fc8c1bc0.mjs +0 -618
  42. package/lib/node/USE_SERVER_BUNDLE-226a15ac.mjs +0 -11
  43. package/lib/node/bundle-0fae602b.js +0 -76
@@ -0,0 +1,11 @@
1
+ "use server";
2
+ import { p as s } from "./bundle-f0e86750.mjs";
3
+ async function n({
4
+ key: t,
5
+ value: r
6
+ }) {
7
+ return s(), globalThis._BUILDER_PREVIEW_LRU_CACHE.set(t, r), { [t]: r };
8
+ }
9
+ export {
10
+ n as p
11
+ };
@@ -1 +1 @@
1
- "use server";"use strict";const n=require("./bundle-0c1d9099.js");async function s({key:e,value:t}){return n.init(),globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e,t),{[e]:t}}exports.postPreviewContent=s;
1
+ "use server";"use strict";const n=require("./bundle-fa4c07cb.js");async function s({key:e,value:t}){return n.init(),globalThis._BUILDER_PREVIEW_LRU_CACHE.set(e,t),{[e]:t}}exports.postPreviewContent=s;