@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.browser.min.js +1 -1
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2927,7 +2927,7 @@ function renderMap(containerId, props = {}) {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
|
|
2929
2929
|
// package.json
|
|
2930
|
-
var version = "0.2.
|
|
2930
|
+
var version = "0.2.3";
|
|
2931
2931
|
|
|
2932
2932
|
// src/sdk.ts
|
|
2933
2933
|
function deepFreeze(obj) {
|
|
@@ -3867,7 +3867,7 @@ var SDKProvider = ({
|
|
|
3867
3867
|
const value = useMemo6(() => ({ isMocked }), [isMocked]);
|
|
3868
3868
|
const content = /* @__PURE__ */ jsxs13(Fragment5, { children: [
|
|
3869
3869
|
children,
|
|
3870
|
-
debug && /* @__PURE__ */ jsx17(DebugConsole, {})
|
|
3870
|
+
(debug || isMocked) && /* @__PURE__ */ jsx17(DebugConsole, {})
|
|
3871
3871
|
] });
|
|
3872
3872
|
if (isMocked) {
|
|
3873
3873
|
return /* @__PURE__ */ jsx17(SDKContext.Provider, { value, children: /* @__PURE__ */ jsx17(BridgeMocker, { ...mockerProps, children: content }) });
|