@codebolt/codeboltjs 1.1.50 → 1.1.51

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.
@@ -24,12 +24,12 @@ class cbws {
24
24
  }
25
25
  getUniqueConnectionId() {
26
26
  try {
27
- let fileContents = fs_1.default.readFileSync('./codeboltagent.yml', 'utf8');
27
+ let fileContents = fs_1.default.readFileSync('./codeboltagent.yaml', 'utf8');
28
28
  let data = js_yaml_1.default.load(fileContents);
29
29
  return data.unique_connectionid;
30
30
  }
31
31
  catch (e) {
32
- console.error('Unable to locate codeboltagent.yml file.');
32
+ console.error('Unable to locate codeboltagent.yaml file.');
33
33
  return '';
34
34
  }
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebolt/codeboltjs",
3
- "version": "1.1.50",
3
+ "version": "1.1.51",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -22,11 +22,11 @@ class cbws {
22
22
  }
23
23
  private getUniqueConnectionId(): string {
24
24
  try {
25
- let fileContents = fs.readFileSync('./codeboltagent.yml', 'utf8');
25
+ let fileContents = fs.readFileSync('./codeboltagent.yaml', 'utf8');
26
26
  let data: any = yaml.load(fileContents);
27
27
  return data.unique_connectionid;
28
28
  } catch (e) {
29
- console.error('Unable to locate codeboltagent.yml file.');
29
+ console.error('Unable to locate codeboltagent.yaml file.');
30
30
  return '';
31
31
  }
32
32
  }