diff --git a/src/v3/translation_service_client.ts b/src/v3/translation_service_client.ts index 3cb89bba..6607ff1b 100644 --- a/src/v3/translation_service_client.ts +++ b/src/v3/translation_service_client.ts @@ -19,11 +19,10 @@ import * as gax from 'google-gax'; import * as path from 'path'; -import * as packageJson from '../../package.json'; import * as protosTypes from '../../protos/protos'; import * as gapicConfig from './translation_service_client_config.json'; -const version = packageJson.version; +const version = require('../../../package.json').version; export interface ClientOptions extends gax.GrpcClientOptions, gax.GoogleAuthOptions {