@contrast/config 1.8.0 → 1.9.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/lib/index.d.ts CHANGED
@@ -49,6 +49,8 @@ export interface Config {
49
49
  agent: {
50
50
  polling: {
51
51
  app_activity_ms: number;
52
+ app_settings_ms: number;
53
+ server_settings_ms: number;
52
54
  };
53
55
 
54
56
  reporters: {
package/lib/options.js CHANGED
@@ -371,6 +371,20 @@ const agent = [
371
371
  fn: parseNum,
372
372
  desc: 'how often (in ms), application activity messages are sent',
373
373
  },
374
+ {
375
+ name: 'agent.polling.app_settings_ms',
376
+ arg: '<ms>',
377
+ default: 30000,
378
+ fn: parseNum,
379
+ desc: 'how often (in ms), application settings polls are sent',
380
+ },
381
+ {
382
+ name: 'agent.polling.server_settings_ms',
383
+ arg: '<ms>',
384
+ default: 30000,
385
+ fn: parseNum,
386
+ desc: 'how often (in ms), server settings polls are sent',
387
+ }
374
388
  ];
375
389
 
376
390
  const application = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/config",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "An API for discovering Contrast agent configuration data",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -17,7 +17,7 @@
17
17
  "test": "../scripts/test.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@contrast/common": "1.6.0",
21
- "yaml": "^2.0.1"
20
+ "@contrast/common": "1.7.0",
21
+ "yaml": "^2.2.2"
22
22
  }
23
23
  }