diff --git a/src/utils.ts b/src/utils.ts index 24e250daa..dd13e694c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -6,8 +6,10 @@ import { version } from './version.js'; export const generateClientInfo = () => ({ name: 'node-auth0', version: version, - env: { + env: 'version' in process ? { node: process.version.replace('v', ''), + } : { + edge: true, }, });