Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

@google-cloud/translate v0.5.0

Compare
Choose a tag to compare
@lukesneeringer lukesneeringer released this 17 Oct 16:05
· 602 commits to main since this release

release level

Features

OAuth now supported!

This release now allows for users to authenticate via OAuth. Authentication via API key still works, so if you're not interested in this update, feel free to move along.

Before
var translate = require('@google-cloud/translate')({
  key: 'API_KEY',
});
After
var translate = require('@google-cloud/translate')({
  projectId: 'grape-spaceship-123',
  keyFilename: '/path/to/keyfile.json',
});