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.
- package/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/http_client.js +1 -1
- package/package.json +1 -1
package/dist/http_client.js
CHANGED
|
@@ -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.
|
|
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
|
}
|