google-ads-api 16.0.0-rest-beta1 → 16.0.0-rest-beta2

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.
@@ -481,8 +481,6 @@ class Customer extends serviceFactory_1.default {
481
481
  headers: {
482
482
  Authorization: `Bearer ${accessToken}`,
483
483
  ...this.callHeaders,
484
- "developer-token": this.clientOptions.developer_token ?? "",
485
- "login-customer-id": this.credentials.login_customer_id ?? "",
486
484
  },
487
485
  ...extra,
488
486
  };
@@ -21,7 +21,7 @@ const serviceCache = new ttlcache_1.default({
21
21
  await service.close();
22
22
  },
23
23
  });
24
- // A global access token cache used by REST calls. Issued tokens expire after 1 hour.
24
+ // A global access token cache used by REST calls. Issued tokens expire after 1 hour, so we cache them for 50 minutes.
25
25
  const accessTokenCache = new ttlcache_1.default({
26
26
  max: 100_000,
27
27
  ttl: 50 * 60 * 1000, // 50 minutes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-ads-api",
3
- "version": "16.0.0-rest-beta1",
3
+ "version": "16.0.0-rest-beta2",
4
4
  "description": "Google Ads API Client Library for Node.js",
5
5
  "repository": "https://github.com/Opteo/google-ads-api",
6
6
  "main": "build/src/index.js",