@credal/actions 0.2.73 → 0.2.74

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.
@@ -37,7 +37,7 @@ const getSalesforceRecordsByQuery = (_a) => __awaiter(void 0, [_a], void 0, func
37
37
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
38
38
  const recordsWithUrl = (_b = response.data.records) === null || _b === void 0 ? void 0 : _b.map((record) => {
39
39
  const recordId = record.Id;
40
- const webUrl = recordId ? `${baseUrl}/lightning/${recordId}` : undefined;
40
+ const webUrl = recordId ? `${baseUrl}/lightning/r/${recordId}/view` : undefined;
41
41
  return Object.assign(Object.assign({}, record), { webUrl });
42
42
  });
43
43
  return {
@@ -47,7 +47,7 @@ const searchSalesforceRecords = (_a) => __awaiter(void 0, [_a], void 0, function
47
47
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
48
  const recordsWithUrl = response.data.searchRecords.map((record) => {
49
49
  const recordId = record.Id;
50
- const webUrl = recordId ? `${baseUrl}/lightning/${recordId}` : undefined;
50
+ const webUrl = recordId ? `${baseUrl}/lightning/r/${recordId}/view` : undefined;
51
51
  return Object.assign(Object.assign({}, record), { webUrl });
52
52
  });
53
53
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@credal/actions",
3
- "version": "0.2.73",
3
+ "version": "0.2.74",
4
4
  "type": "module",
5
5
  "description": "AI Actions by Credal AI",
6
6
  "sideEffects": false,