@salesforce/lds-adapters-service-einstein-copilot-bot 1.360.0 → 1.361.0

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.
@@ -1399,7 +1399,7 @@ function validate$k(obj, path = 'ConversationRuntimeProxyRepresentation') {
1399
1399
  for (let i = 0; i < obj_messages.length; i++) {
1400
1400
  const obj_messages_item = obj_messages[i];
1401
1401
  const path_messages_item = path_messages + '[' + i + ']';
1402
- if (typeof obj_messages_item !== 'object') {
1402
+ if (typeof obj_messages_item !== 'object' || Array.isArray(obj_messages_item)) {
1403
1403
  return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
1404
1404
  }
1405
1405
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-einstein-copilot-bot",
3
- "version": "1.360.0",
3
+ "version": "1.361.0",
4
4
  "description": "Einstein Copilot Bot API Family",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-einstein-copilot-bot.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.360.0"
43
+ "@salesforce/lds-bindings": "^1.361.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.360.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.361.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -4352,7 +4352,7 @@ function validate$1(obj, path = 'ConversationRuntimeProxyRepresentation') {
4352
4352
  for (let i = 0; i < obj_messages.length; i++) {
4353
4353
  const obj_messages_item = obj_messages[i];
4354
4354
  const path_messages_item = path_messages + '[' + i + ']';
4355
- if (typeof obj_messages_item !== 'object') {
4355
+ if (typeof obj_messages_item !== 'object' || Array.isArray(obj_messages_item)) {
4356
4356
  return new TypeError('Expected "object" but received "' + typeof obj_messages_item + '" (at "' + path_messages_item + '")');
4357
4357
  }
4358
4358
  }
@@ -4938,4 +4938,4 @@ withDefaultLuvio((luvio) => {
4938
4938
  });
4939
4939
 
4940
4940
  export { getAgents, getAgents_imperative, getBotId, getBotId_imperative, getCopilotObjects, getCopilotObjects_imperative, getFollowUpActions, getFollowUpActions_imperative, getRecommendedActions, getRecommendedActions_imperative, getRecommendedPlanTemplates, getRecommendedPlanTemplates_imperative, getRecommendedUtterances, getRecommendedUtterances_imperative, getWelcomeUtterances, getWelcomeUtterances_imperative, sendMessage, submitFeedback };
4941
- // version: 1.360.0-3cf173d4f8
4941
+ // version: 1.361.0-eb406138cb