Skip to content

add additional check for softwareAgent#187

Open
PercheEtienne wants to merge 1 commit into
contentauth:mainfrom
digimarc-corp:fix-display-issue-ai-tool-used
Open

add additional check for softwareAgent#187
PercheEtienne wants to merge 1 commit into
contentauth:mainfrom
digimarc-corp:fix-display-issue-ai-tool-used

Conversation

@PercheEtienne
Copy link
Copy Markdown

Changes in this pull request

I add an extra condition in the selectGenerativeSoftwareAgents, when the object is empty (because the field softwareAgent is not in the manifest) we return null and it prevents the display of the string: '[object Object]'

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • All applicable changes have been documented
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment

Link to the issue I posted:
https://github.com/contentauth/c2pa-js/issues/186

@emensch emensch force-pushed the main branch 2 times, most recently from f0bbd4e to d61dff1 Compare August 16, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant