diff --git a/samples/http_example/package.json b/samples/http_example/package.json index 69172f10..7d9cd060 100644 --- a/samples/http_example/package.json +++ b/samples/http_example/package.json @@ -23,7 +23,7 @@ "retry-request": "^4.0.0", "uuid": "^8.0.0", "yargs": "^15.0.0", - "@google-cloud/pubsub": "^1.0.0", + "@google-cloud/pubsub": "^2.0.0", "googleapis": "^51.0.0" } } diff --git a/samples/manager/package.json b/samples/manager/package.json index bb998050..49c554c7 100644 --- a/samples/manager/package.json +++ b/samples/manager/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@google-cloud/iot": "^2.0.0", - "@google-cloud/pubsub": "^1.2.0", + "@google-cloud/pubsub": "^2.0.0", "googleapis": "^51.0.0", "mocha": "^7.1.1", "uuid": "^8.0.0", diff --git a/samples/mqtt_example/package.json b/samples/mqtt_example/package.json index c6fd6f0c..36830d13 100644 --- a/samples/mqtt_example/package.json +++ b/samples/mqtt_example/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@google-cloud/iot": "^2.0.0", - "@google-cloud/pubsub": "^1.0.0", + "@google-cloud/pubsub": "^2.0.0", "jsonwebtoken": "^8.5.0", "mocha": "^7.0.0", "mqtt": "^4.0.0", diff --git a/samples/package.json b/samples/package.json index 4268bb4d..36f7b8c2 100644 --- a/samples/package.json +++ b/samples/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@google-cloud/iot": "^2.0.1", - "@google-cloud/pubsub": "^1.6.0", + "@google-cloud/pubsub": "^2.0.0", "googleapis": "^51.0.0", "util.promisify": "^1.0.1" }, diff --git a/samples/scripts/package.json b/samples/scripts/package.json index 742d3e5e..c65318ff 100644 --- a/samples/scripts/package.json +++ b/samples/scripts/package.json @@ -8,6 +8,6 @@ "node": ">=8.0.0" }, "dependencies": { - "@google-cloud/pubsub": "^1.0.0" + "@google-cloud/pubsub": "^2.0.0" } }