Skip to content

Commit 3e3bfe4

Browse files
Version bump to 0.13.0 (#7)
1 parent 3eaa0fe commit 3e3bfe4

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

packages/google-cloud-vision/README.md

+1-13
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,9 @@ const vision = require('@google-cloud/vision');
6969
// Creates a client
7070
const client = new vision.ImageAnnotatorClient();
7171

72-
// The name of the image file to annotate
73-
const fileName = './resources/wakeupcat.jpg';
74-
75-
// Prepare the request object
76-
const request = {
77-
image: {
78-
source: {
79-
filename: fileName,
80-
},
81-
},
82-
};
83-
8472
// Performs label detection on the image file
8573
client
86-
.labelDetection(request)
74+
.labelDetection('./resources/wakeupcat.jpg')
8775
.then(results => {
8876
const labels = results[0].labelAnnotations;
8977

packages/google-cloud-vision/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@google-cloud/vision",
33
"description": "Google Cloud Vision API client for Node.js",
4-
"version": "0.12.0",
4+
"version": "0.13.0",
55
"license": "Apache-2.0",
66
"author": "Google Inc",
77
"engines": {

packages/google-cloud-vision/samples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@google-cloud/storage": "1.4.0",
16-
"@google-cloud/vision": "0.12.0",
16+
"@google-cloud/vision": "0.13.0",
1717
"async": "2.5.0",
1818
"natural": "0.5.4",
1919
"redis": "2.8.0",

0 commit comments

Comments
 (0)