custom user-agent string for attestation API reqs
Signed-off-by: Brian DeHamer <bdehamer@github.com>
This commit is contained in:
1 parent
ffb908d9df
commit
704a110a55
4 files changed
+34
-3
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// This file exists as a CommonJS module to read the version from package.json.
|
||||
// In an ESM package, using `require()` directly in .ts files requires disabling
|
||||
// ESLint rules and doesn't work reliably across all Node.js versions.
|
||||
// By keeping this as a .cjs file, we can use require() naturally and export
|
||||
// the version for the ESM modules to import.
|
||||
const packageJson = require('../package.json')
|
||||
module.exports = {version: packageJson.version}
|
||||
Reference in new issue
Block a user