@xiboplayer/xmds 0.6.0 → 0.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiboplayer/xmds",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "XMDS SOAP client for Xibo CMS communication",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -12,7 +12,7 @@
12
12
  "./schedule-parser": "./src/schedule-parser.js"
13
13
  },
14
14
  "dependencies": {
15
- "@xiboplayer/utils": "0.6.0"
15
+ "@xiboplayer/utils": "0.6.1"
16
16
  },
17
17
  "devDependencies": {
18
18
  "vitest": "^2.0.0"
@@ -215,7 +215,7 @@ export class RestClient {
215
215
 
216
216
  const json = await this.restSend('POST', '/displays', {
217
217
  displayName: this.config.displayName,
218
- clientType: this.config.clientType || 'chromeOS',
218
+ clientType: this.config.clientType || 'linux',
219
219
  clientVersion: this.config.clientVersion || '0.1.0',
220
220
  clientCode: this.config.clientCode || 1,
221
221
  operatingSystem: os,
@@ -150,7 +150,7 @@ export class XmdsClient {
150
150
  serverKey: this.config.cmsKey,
151
151
  hardwareKey: this.config.hardwareKey,
152
152
  displayName: this.config.displayName,
153
- clientType: this.config.clientType || 'chromeOS',
153
+ clientType: this.config.clientType || 'linux',
154
154
  clientVersion: this.config.clientVersion || '0.1.0',
155
155
  clientCode: this.config.clientCode || '1',
156
156
  operatingSystem: os,
package/src/xmds.test.js CHANGED
@@ -31,7 +31,7 @@ describe('XmdsClient - RegisterDisplay', () => {
31
31
  serverKey: 'test-server-key',
32
32
  hardwareKey: 'test-hardware-key',
33
33
  displayName: 'Test Display',
34
- clientType: 'chromeOS',
34
+ clientType: 'linux',
35
35
  clientVersion: '0.1.0',
36
36
  clientCode: '1',
37
37
  operatingSystem: 'test',
@@ -57,7 +57,7 @@ describe('XmdsClient - RegisterDisplay', () => {
57
57
  serverKey: 'test-server-key',
58
58
  hardwareKey: 'test-hardware-key',
59
59
  displayName: 'Test Display',
60
- clientType: 'chromeOS',
60
+ clientType: 'linux',
61
61
  clientVersion: '0.1.0',
62
62
  clientCode: '1',
63
63
  operatingSystem: 'test',