Skip to content

Commit 8f90135

Browse files
stephenpluspluscallmehiphop
authored andcommitted
datastore: update to v1 (#1508)
1 parent 499b5f3 commit 8f90135

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"concat-stream": "^1.5.0",
5555
"create-error-class": "^2.0.1",
5656
"extend": "^3.0.0",
57-
"@google-cloud/common": "^0.1.0",
57+
"@google-cloud/common": "^0.2.0",
5858
"is": "^3.0.1",
5959
"lodash.flatten": "^4.2.0",
6060
"modelo": "^4.2.0",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ function Datastore(options) {
323323
baseUrl: this.baseUrl_,
324324
customEndpoint: this.customEndpoint_,
325325
service: 'datastore',
326-
apiVersion: 'v1beta3',
326+
apiVersion: 'v1',
327327
scopes: ['https://www.googleapis.com/auth/datastore'],
328328
userAgent: PKG.name + '/' + PKG.version
329329
};

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ describe('Datastore', function() {
153153
assert.strictEqual(calledWith.baseUrl, datastore.baseUrl_);
154154
assert.strictEqual(calledWith.customEndpoint, datastore.customEndpoint_);
155155
assert.strictEqual(calledWith.service, 'datastore');
156-
assert.strictEqual(calledWith.apiVersion, 'v1beta3');
156+
assert.strictEqual(calledWith.apiVersion, 'v1');
157157
assert.deepEqual(calledWith.scopes, [
158158
'https://www.googleapis.com/auth/datastore'
159159
]);

0 commit comments

Comments
 (0)