From 22ee5c8f79a7dfdfb487f5384f65f24aa66e2138 Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Tue, 28 Nov 2017 13:41:17 -0800 Subject: [PATCH] Version bump to 0.13.0 (#7) --- README.md | 14 +------------- package.json | 2 +- samples/package.json | 2 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 9646eba0..50f9d32e 100644 --- a/README.md +++ b/README.md @@ -69,21 +69,9 @@ const vision = require('@google-cloud/vision'); // Creates a client const client = new vision.ImageAnnotatorClient(); -// The name of the image file to annotate -const fileName = './resources/wakeupcat.jpg'; - -// Prepare the request object -const request = { - image: { - source: { - filename: fileName, - }, - }, -}; - // Performs label detection on the image file client - .labelDetection(request) + .labelDetection('./resources/wakeupcat.jpg') .then(results => { const labels = results[0].labelAnnotations; diff --git a/package.json b/package.json index 65a2fb60..7d9e994b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/vision", "description": "Google Cloud Vision API client for Node.js", - "version": "0.12.0", + "version": "0.13.0", "license": "Apache-2.0", "author": "Google Inc", "engines": { diff --git a/samples/package.json b/samples/package.json index b61683f5..371adc20 100644 --- a/samples/package.json +++ b/samples/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@google-cloud/storage": "1.4.0", - "@google-cloud/vision": "0.12.0", + "@google-cloud/vision": "0.13.0", "async": "2.5.0", "natural": "0.5.4", "redis": "2.8.0",