chayns-api 2.2.3 → 2.2.4

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.
@@ -28,7 +28,7 @@ const getDeviceInfo = (userAgent, acceptHeader, {
28
28
  appName = _IChaynsReact.AppName.David;
29
29
  } else if (match) {
30
30
  appName = _IChaynsReact.AppName.Location;
31
- } else if (/dface|h96pp|h96max|jabiru|chaynsterminal|wayter|odroidn2p/i.test(userAgent)) {
31
+ } else if (/dface|h96pp|h96max|jabiru|chaynsterminal|wayter|odroidn2p|chayns-runtime-custom/i.test(userAgent)) {
32
32
  appName = _IChaynsReact.AppName.ChaynsLauncher;
33
33
  }
34
34
  let appVersion = match !== null && match !== void 0 && match.groups ? Number.parseInt(match.groups.version, 10) : NaN;
@@ -23,7 +23,7 @@ const getDeviceInfo = function (userAgent, acceptHeader) {
23
23
  appName = AppName.David;
24
24
  } else if (match) {
25
25
  appName = AppName.Location;
26
- } else if (/dface|h96pp|h96max|jabiru|chaynsterminal|wayter|odroidn2p/i.test(userAgent)) {
26
+ } else if (/dface|h96pp|h96max|jabiru|chaynsterminal|wayter|odroidn2p|chayns-runtime-custom/i.test(userAgent)) {
27
27
  appName = AppName.ChaynsLauncher;
28
28
  }
29
29
  let appVersion = match !== null && match !== void 0 && match.groups ? Number.parseInt(match.groups.version, 10) : NaN;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",