warnIfRawCreds
fun warnIfRawCreds(chainId: String, options: Map<String, Any?>, providerInstance: Any, log: Logger = logger)
Scans options for any raw-credential keys and logs a single WARN per provider instance.
The check is case-insensitive on the option key and matches whole-key equality only (a key called "privateKeyRef" or "encryptedSeed" is not a raw credential and is ignored). Idempotency is keyed on (chainId, provider-instance-identity, set-of-matched-keys).
Parameters
chainId
CAIP-2 chain id (used only for context in the log line)
options
provider configuration map
providerInstance
the provider object emitting the warning; used to scope idempotency to a single instance so re-creation by tests still warns once each
log
optional override for the logger (defaults to this object's logger)