@cloudparse/up-miniapps-sdk 0.2.2 → 0.2.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/dist/index.cjs CHANGED
@@ -3144,7 +3144,7 @@ var RoutingService = {
3144
3144
  };
3145
3145
 
3146
3146
  // package.json
3147
- var version = "0.2.2";
3147
+ var version = "0.2.3";
3148
3148
 
3149
3149
  // src/sdk.ts
3150
3150
  function deepFreeze(obj) {
@@ -4084,7 +4084,7 @@ var SDKProvider = ({
4084
4084
  const value = (0, import_react13.useMemo)(() => ({ isMocked }), [isMocked]);
4085
4085
  const content = /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
4086
4086
  children,
4087
- debug && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DebugConsole, {})
4087
+ (debug || isMocked) && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(DebugConsole, {})
4088
4088
  ] });
4089
4089
  if (isMocked) {
4090
4090
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SDKContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BridgeMocker, { ...mockerProps, children: content }) });