@builder.io/sdk-react 0.12.4 → 0.12.6

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.
@@ -537,8 +537,8 @@ export {
537
537
  a as j,
538
538
  tt as k,
539
539
  L as l,
540
- l as m,
541
- d as n,
540
+ d as m,
541
+ l as n,
542
542
  dt as o,
543
543
  $t as p,
544
544
  mt as q,
@@ -1,4 +1,4 @@
1
- import { _ as t, c as a, h as r, f as i, b as n, g, e as o, d as c, i as d, a as f, r as h, s as l, t as p } from "./server-entry-9aa733e8.js";
1
+ import { _ as t, c as a, h as r, f as i, b as n, g, e as o, d as c, i as d, a as f, r as h, s as l, t as p } from "./server-entry-0457c4c8.js";
2
2
  export {
3
3
  t as _processContentResult,
4
4
  a as createRegisterComponentMessage,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-react",
3
3
  "description": "Builder.io SDK for React",
4
- "version": "0.12.4",
4
+ "version": "0.12.6",
5
5
  "homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/react",
6
6
  "type": "module",
7
7
  "repository": {
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.12.4";
1
+ export declare const SDK_VERSION = "0.12.6";
@@ -1,4 +1,8 @@
1
1
  import type { BuilderRenderState } from '../../../context/types.js';
2
2
  import type { ExecutorArgs } from '../helpers.js';
3
3
  export declare const runInBrowser: ({ code, builder, context, event, localState, rootSetState, rootState }: ExecutorArgs) => any;
4
- export declare function flattenState(rootState: Record<string | symbol, any>, localState: Record<string | symbol, any> | undefined, rootSetState: ((rootState: BuilderRenderState) => void) | undefined): BuilderRenderState;
4
+ export declare function flattenState({ rootState, localState, rootSetState }: {
5
+ rootState: Record<string | symbol, any>;
6
+ localState: Record<string | symbol, any> | undefined;
7
+ rootSetState: ((rootState: BuilderRenderState) => void) | undefined;
8
+ }): BuilderRenderState;
@@ -0,0 +1 @@
1
+ export declare const shouldForceBrowserRuntimeInNode: () => boolean;