@lark-apaas/client-toolkit-lite 1.1.39 → 1.1.40-alpha.20261104064740

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
@@ -2195,6 +2195,10 @@ var import_network_idle = require("network-idle");
2195
2195
  function usePageScreenshot() {
2196
2196
  (0, import_react9.useEffect)(() => {
2197
2197
  if (process.env.NODE_ENV !== "development") return;
2198
+ try {
2199
+ if (process.env.MIAODA_APP_CREATED_VIA === "workmate") return;
2200
+ } catch {
2201
+ }
2198
2202
  let cancelled = false;
2199
2203
  const basePath = normalizeBasePath(process.env.CLIENT_BASE_PATH);
2200
2204
  const id = (0, import_network_idle.networkIdleCallback)(() => {