(ownerKey?: string)
| 328 | } |
| 329 | |
| 330 | function normalizeOwnerKey(ownerKey?: string): string { |
| 331 | if (!ownerKey) return 'anonymous' |
| 332 | const normalized = ownerKey.trim() |
| 333 | return normalized || 'anonymous' |
| 334 | } |
| 335 | |
| 336 | function normalizeOwnerWeight(ownerWeight?: number): number { |
| 337 | if (!Number.isFinite(ownerWeight) || ownerWeight === undefined) return 1 |
no outgoing calls
no test coverage detected