@pitcher/canvas-ui 2026.1.15-101627-beta → 2026.1.15-85318

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/canvas-ui.js CHANGED
@@ -88214,7 +88214,7 @@ async function crmQueryAdaptive(payload) {
88214
88214
  try {
88215
88215
  const env = await highLevelApi.API.request("get_env");
88216
88216
  const isIos = env?.mode === "IOS";
88217
- const isSfdcSyncEnabled = env?.launch_darkly?.sfdc_offline_enabled === true;
88217
+ const isSfdcSyncEnabled = env?.pitcher?.instance?.settings?.enable_sfdc_sync === true;
88218
88218
  useSmartStore = isIos && isSfdcSyncEnabled;
88219
88219
  } catch {
88220
88220
  useSmartStore = false;
@@ -181989,7 +181989,7 @@ function useSmartStore(env) {
181989
181989
  return false;
181990
181990
  }
181991
181991
  const isIos = envValue?.mode === "IOS";
181992
- const isSfdcSyncEnabled = envValue?.launch_darkly?.sfdc_offline_enabled === true;
181992
+ const isSfdcSyncEnabled = envValue?.pitcher?.instance?.settings?.enable_sfdc_sync === true;
181993
181993
  return isIos && isSfdcSyncEnabled;
181994
181994
  } catch (error) {
181995
181995
  console.error("[useSmartStore] Error checking SmartStore availability:", error);