@promptbook/components 0.104.0-12 → 0.104.0-13

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/esm/index.es.js CHANGED
@@ -35,7 +35,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
35
35
  * @generated
36
36
  * @see https://github.com/webgptorg/promptbook
37
37
  */
38
- const PROMPTBOOK_ENGINE_VERSION = '0.104.0-12';
38
+ const PROMPTBOOK_ENGINE_VERSION = '0.104.0-13';
39
39
  /**
40
40
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
41
41
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -4182,9 +4182,7 @@ class DictionaryCommitmentDefinition extends BaseCommitmentDefinition {
4182
4182
  // Get existing dictionary entries from metadata
4183
4183
  const existingDictionary = ((_a = requirements.metadata) === null || _a === void 0 ? void 0 : _a.DICTIONARY) || '';
4184
4184
  // Merge the new dictionary entry with existing entries
4185
- const mergedDictionary = existingDictionary
4186
- ? `${existingDictionary}\n${trimmedContent}`
4187
- : trimmedContent;
4185
+ const mergedDictionary = existingDictionary ? `${existingDictionary}\n${trimmedContent}` : trimmedContent;
4188
4186
  // Store the merged dictionary in metadata for debugging and inspection
4189
4187
  const updatedMetadata = {
4190
4188
  ...requirements.metadata,