@google-cloud/nodejs-common 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/nodejs-common",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "A NodeJs common library for solutions based on Cloud Functions",
5
5
  "author": "Google Inc.",
6
6
  "license": "Apache-2.0",
@@ -16,24 +16,24 @@
16
16
  },
17
17
  "homepage": "https://github.com/GoogleCloudPlatform/cloud-for-marketing/blob/master/marketing-analytics/activation/common-libs/nodejs-common/README.md",
18
18
  "dependencies": {
19
- "@google-cloud/aiplatform": "^3.10.0",
19
+ "@google-cloud/aiplatform": "^3.17.0",
20
20
  "@google-cloud/automl": "^4.0.1",
21
- "@google-cloud/bigquery": "^7.3.0",
22
- "@google-cloud/datastore": "^8.4.0",
23
- "@google-cloud/firestore": "^7.2.0",
21
+ "@google-cloud/bigquery": "^7.5.2",
22
+ "@google-cloud/datastore": "^8.6.0",
23
+ "@google-cloud/firestore": "^7.5.0",
24
24
  "@google-cloud/logging-winston": "^6.0.0",
25
- "@google-cloud/pubsub": "^4.1.1",
26
- "@google-cloud/storage": "^7.7.0",
27
- "@google-cloud/scheduler": "^4.0.1",
28
- "@google-cloud/secret-manager": "^5.0.1",
29
- "gaxios": "^6.1.1",
25
+ "@google-cloud/pubsub": "^4.3.3",
26
+ "@google-cloud/storage": "^7.9.0",
27
+ "@google-cloud/scheduler": "^4.1.0",
28
+ "@google-cloud/secret-manager": "^5.2.0",
29
+ "gaxios": "^6.3.0",
30
30
  "google-ads-nodejs-client": "16.0.0",
31
31
  "google-ads-api": "^14.1.0",
32
32
  "google-ads-node": "^12.0.2",
33
- "google-auth-library": "^9.4.2",
34
- "googleapis": "^131.0.0",
35
- "winston": "^3.10.0",
36
- "@grpc/grpc-js": "1.9.14",
33
+ "google-auth-library": "^9.7.0",
34
+ "googleapis": "^134.0.0",
35
+ "winston": "^3.13.0",
36
+ "@grpc/grpc-js": "^1.10.5",
37
37
  "lodash": "^4.17.21"
38
38
  },
39
39
  "devDependencies": {
@@ -1100,7 +1100,7 @@ class GoogleAdsApi {
1100
1100
  */
1101
1101
  buildCustomerMatchUserListMetadata_(config) {
1102
1102
  const { customerId, listId, customerMatchUserListMetadata } = config;
1103
- const resourceName = `customers/${customerId}/userLists/${listId}`;
1103
+ const resourceName = `customers/${getCleanCid(customerId)}/userLists/${listId}`;
1104
1104
  return new CustomerMatchUserListMetadata(Object.assign({
1105
1105
  userList: resourceName,
1106
1106
  }, customerMatchUserListMetadata));
@@ -1521,7 +1521,7 @@ const buildConversionJsonList = (lines, config, conversionFields,
1521
1521
  conversion.customVariables = variables.map((variable) => {
1522
1522
  return new CustomVariable({
1523
1523
  conversionCustomVariable:
1524
- `customers/${customerId}/conversionCustomVariables/${customVariables[variable]}`,
1524
+ `customers/${getCleanCid(customerId)}/conversionCustomVariables/${customVariables[variable]}`,
1525
1525
  value: record[variable],
1526
1526
  });
1527
1527
  });