@pitcher/canvas-ui 2026.1.15-101627-beta → 2026.1.15-141335-beta
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 +2 -2
- package/canvas-ui.js.map +1 -1
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +9 -0
- package/lib/composables/useSmartStore.d.ts +1 -1
- package/lib/sdk/api/modules/query.d.ts +3 -3
- package/lib/types/instanceSettings.types.d.ts +1 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +1 -0
- package/package.json +1 -1
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?.
|
|
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?.
|
|
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);
|