@contentauth/c2pa-js
    Preparing search index...
    • Resolves settings by resolving any embedded trust-anchor URLs, then serializing the result for consumption by the core native SDK. settings is merged on top of this package's default settings (see withDefaultSettings). To combine more than one Settings source, merge them with mergeSettings first and pass the single result in here.

      Concurrent trust-resource requests using the global fetch and the same policy are shared. Custom fetch implementations are isolated because their request context may be mutable. Each trust-resource fetch has a 30-second deadline covering retries and body consumption; a timeout aborts the request, rejects all waiting resolutions, and permits a later retry. Completed responses are not cached.

      Parameters

      • settings: Settings | undefined

        Settings to resolve.

      • Optionaloptions: TrustFetchOptions

        Optional configurations for fetch-with-retry.

      Returns Promise<string>

      A JSON-serialized string containing all resolved settings values, ready to be consumed by the core native SDK.