diff --git a/packages/google-cloud-webrisk/package.json b/packages/google-cloud-webrisk/package.json index 3b804435a6d..3b8bc729dbb 100644 --- a/packages/google-cloud-webrisk/package.json +++ b/packages/google-cloud-webrisk/package.json @@ -23,7 +23,7 @@ "Web Risk API" ], "dependencies": { - "google-gax": "^3.0.1" + "google-gax": "^3.3.0" }, "devDependencies": { "@types/chai": "^4.2.7", diff --git a/packages/google-cloud-webrisk/protos/protos.d.ts b/packages/google-cloud-webrisk/protos/protos.d.ts index 4835859a82e..94f5162a3f5 100644 --- a/packages/google-cloud-webrisk/protos/protos.d.ts +++ b/packages/google-cloud-webrisk/protos/protos.d.ts @@ -13,7 +13,7 @@ // limitations under the License. import Long = require("long"); -import {protobuf as $protobuf} from "google-gax"; +import type {protobuf as $protobuf} from "google-gax"; /** Namespace google. */ export namespace google { diff --git a/packages/google-cloud-webrisk/protos/protos.js b/packages/google-cloud-webrisk/protos/protos.js index 5b779784014..88f0e49e792 100644 --- a/packages/google-cloud-webrisk/protos/protos.js +++ b/packages/google-cloud-webrisk/protos/protos.js @@ -19,7 +19,7 @@ define(["protobufjs/minimal"], factory); /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports) - module.exports = factory(require("google-gax").protobufMinimal); + module.exports = factory(require("google-gax/build/src/protobuf").protobufMinimal); })(this, function($protobuf) { "use strict";