(options = {})
| 53 | } |
| 54 | |
| 55 | function resolveSigningKey(options = {}) { |
| 56 | return options.hmacKey || process.env.CITADEL_TELEMETRY_HMAC_KEY || null; |
| 57 | } |
| 58 | |
| 59 | function signRecord(record, options = {}) { |
| 60 | const key = resolveSigningKey(options); |
no outgoing calls
no test coverage detected