apify-client 2.23.5-beta.24 → 2.23.5-beta.25

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.
@@ -122,7 +122,7 @@ class HttpClient {
122
122
  this.axios.defaults.httpsAgent = this.httpsAgent;
123
123
  // Works only in Node. Cannot be set in browser
124
124
  const isAtHome = !!process.env[consts_1.APIFY_ENV_VARS.IS_AT_HOME];
125
- let userAgent = `ApifyClient/${version} (${os.type()}; Node/${process.version}); isAtHome/${isAtHome}`;
125
+ let userAgent = `ApifyClient/${version} (${os.platform()}; Node/${process.version}); isAtHome/${isAtHome}`;
126
126
  if (this.userAgentSuffix) {
127
127
  userAgent += `; ${(0, utils_1.asArray)(this.userAgentSuffix).join('; ')}`;
128
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-client",
3
- "version": "2.23.5-beta.24",
3
+ "version": "2.23.5-beta.25",
4
4
  "description": "Apify API client for JavaScript",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",