@enact/webos 4.9.2 → 4.9.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  The following is a curated list of changes in the Enact webos module, newest changes on the top.
4
4
 
5
+ ## [4.9.4] - 2024-11-19
6
+
7
+ No significant changes.
8
+
9
+ ## [4.9.3] - 2024-10-29
10
+
11
+ No significant changes.
12
+
5
13
  ## [4.9.2] - 2024-09-26
6
14
 
7
15
  No significant changes.
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.requestLastInputType = exports["default"] = void 0;
7
7
  var _LS2Request = _interopRequireDefault(require("../LS2Request"));
8
- var _platform = _interopRequireDefault(require("../platform"));
9
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
9
  /**
11
10
  * Exports a method for calling `surfacemanager` service through LS2Request and returns `lastInputType`
@@ -17,15 +16,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
17
16
  var requestLastInputType = exports.requestLastInputType = function requestLastInputType(_ref) {
18
17
  var onSuccess = _ref.onSuccess,
19
18
  onFailure = _ref.onFailure;
20
- if (_platform["default"].tv) {
21
- return new _LS2Request["default"]().send({
22
- service: 'luna://com.webos.surfacemanager',
23
- method: 'getLastInputType',
24
- subscribe: true,
25
- onSuccess: onSuccess,
26
- onFailure: onFailure
27
- });
28
- }
29
- return null;
19
+ return new _LS2Request["default"]().send({
20
+ service: 'luna://com.webos.surfacemanager',
21
+ method: 'getLastInputType',
22
+ subscribe: true,
23
+ onSuccess: onSuccess,
24
+ onFailure: onFailure
25
+ });
30
26
  };
31
27
  var _default = exports["default"] = requestLastInputType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/webos",
3
- "version": "4.9.2",
3
+ "version": "4.9.4",
4
4
  "description": "webOS support library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@enact/core": "^4.9.2",
35
+ "@enact/core": "^4.9.4",
36
36
  "prop-types": "^15.8.1",
37
37
  "react": "^18.3.1",
38
38
  "react-dom": "^18.3.1"