diff --git a/document-ai/snippets/package.json b/document-ai/snippets/package.json index 4624513890a..157f22a9f63 100644 --- a/document-ai/snippets/package.json +++ b/document-ai/snippets/package.json @@ -13,7 +13,7 @@ "test": "mocha test/*.js" }, "dependencies": { - "@google-cloud/document-ai": "^1.0.0" + "@google-cloud/documentai": "^0.0.1" }, "devDependencies": { "chai": "^4.2.0", diff --git a/document-ai/snippets/quickstart.js b/document-ai/snippets/quickstart.js index 3a544c8c9c3..f4b6afac5cf 100644 --- a/document-ai/snippets/quickstart.js +++ b/document-ai/snippets/quickstart.js @@ -24,7 +24,7 @@ async function main() { async function batchProcessDocument() { const { DocumentUnderstandingServiceClient, - } = require('@google-cloud/document'); + } = require('@google-cloud/documentai'); const client = new DocumentUnderstandingServiceClient(); // TODO: write sample here that demonstrates batch processing of documents. console.info(client);