@pitcher/canvas-ui 2025.12.17-132036-beta → 2025.12.17-201215-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 CHANGED
@@ -88053,7 +88053,10 @@ function convertSoqlToSmartQuery(soqlQuery) {
88053
88053
  if (!primaryObject) {
88054
88054
  return soqlQuery;
88055
88055
  }
88056
- normalizedQuery = normalizedQuery.replace(/\bFIELDS\s*\(\s*(ALL|STANDARD|CUSTOM)\s*\)/gi, "__FIELDS_ALL_PLACEHOLDER__");
88056
+ normalizedQuery = normalizedQuery.replace(
88057
+ /\bFIELDS\s*\(\s*(ALL|STANDARD|CUSTOM)\s*\)/gi,
88058
+ "__FIELDS_ALL_PLACEHOLDER__"
88059
+ );
88057
88060
  const selectMatch = normalizedQuery.match(/SELECT\s+([\s\S]+?)\s+FROM\s+/i);
88058
88061
  if (!selectMatch) {
88059
88062
  return soqlQuery;
@@ -88232,7 +88235,7 @@ function crmSmartQuery(payload) {
88232
88235
  if (!query2 || typeof query2 !== "string") {
88233
88236
  return Promise.reject(new Error("Query is required and must be a string"));
88234
88237
  }
88235
- const smartStorePattern = /\{[^}]+:[^}]+\}/;
88238
+ const smartStorePattern = /\{[^}]+:[^}]+}/;
88236
88239
  if (!smartStorePattern.test(query2.trim())) {
88237
88240
  return Promise.reject(
88238
88241
  new Error(