@quenty/settings-inputkeymap 10.25.3 → 10.25.4-canary.11a5dcf.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.25.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@10.25.3...@quenty/settings-inputkeymap@10.25.4-canary.11a5dcf.0) (2025-05-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [10.25.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/settings-inputkeymap@10.25.2...@quenty/settings-inputkeymap@10.25.3) (2025-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/settings-inputkeymap
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/settings-inputkeymap",
3
- "version": "10.25.3",
3
+ "version": "10.25.4-canary.11a5dcf.0",
4
4
  "description": "Input key map setting saving for players",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,17 +28,17 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@quenty/baseobject": "^10.8.3",
32
- "@quenty/enumutils": "^3.4.2",
33
- "@quenty/inputkeymaputils": "^14.23.3",
34
- "@quenty/inputmode": "^13.18.3",
35
- "@quenty/jsonutils": "^10.10.4",
36
- "@quenty/loader": "^10.8.3",
37
- "@quenty/maid": "^3.4.3",
38
- "@quenty/servicebag": "^11.11.4",
39
- "@quenty/settings": "^11.23.3",
40
- "@quenty/string": "^3.3.3",
41
- "@quenty/table": "^3.7.4"
31
+ "@quenty/baseobject": "10.8.4-canary.11a5dcf.0",
32
+ "@quenty/enumutils": "3.4.2",
33
+ "@quenty/inputkeymaputils": "14.23.4-canary.11a5dcf.0",
34
+ "@quenty/inputmode": "13.18.4-canary.11a5dcf.0",
35
+ "@quenty/jsonutils": "10.10.5-canary.11a5dcf.0",
36
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
37
+ "@quenty/maid": "3.4.4-canary.11a5dcf.0",
38
+ "@quenty/servicebag": "11.11.5-canary.11a5dcf.0",
39
+ "@quenty/settings": "11.23.4-canary.11a5dcf.0",
40
+ "@quenty/string": "3.3.3",
41
+ "@quenty/table": "3.7.5-canary.11a5dcf.0"
42
42
  },
43
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
43
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
44
44
  }
@@ -5,9 +5,9 @@
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
7
  local BaseObject = require("BaseObject")
8
+ local InputKeyMapSettingConstants = require("InputKeyMapSettingConstants")
8
9
  local InputKeyMapSettingUtils = require("InputKeyMapSettingUtils")
9
10
  local SettingsServiceClient = require("SettingsServiceClient")
10
- local InputKeyMapSettingConstants = require("InputKeyMapSettingConstants")
11
11
 
12
12
  local InputKeyMapSettingClient = setmetatable({}, BaseObject)
13
13
  InputKeyMapSettingClient.ClassName = "InputKeyMapSettingClient"
@@ -47,10 +47,20 @@ function InputKeyMapSettingClient.new(serviceBag, inputKeyMapList)
47
47
  if decoded then
48
48
  inputKeyMap:SetInputTypesList(decoded)
49
49
  else
50
- warn(string.format("[InputKeyMapSettingClient] - Failed to decode setting value from %q", tostring(currentValue)))
50
+ warn(
51
+ string.format(
52
+ "[InputKeyMapSettingClient] - Failed to decode setting value from %q",
53
+ tostring(currentValue)
54
+ )
55
+ )
51
56
  end
52
57
  else
53
- warn(string.format("[InputKeyMapSettingClient] - Failed to decode setting value from %q", tostring(currentValue)))
58
+ warn(
59
+ string.format(
60
+ "[InputKeyMapSettingClient] - Failed to decode setting value from %q",
61
+ tostring(currentValue)
62
+ )
63
+ )
54
64
  end
55
65
  end))
56
66
 
@@ -69,4 +79,4 @@ function InputKeyMapSettingClient.new(serviceBag, inputKeyMapList)
69
79
  return self
70
80
  end
71
81
 
72
- return InputKeyMapSettingClient
82
+ return InputKeyMapSettingClient
@@ -4,14 +4,14 @@
4
4
 
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
- local Maid = require("Maid")
8
7
  local InputKeyMapSettingClient = require("InputKeyMapSettingClient")
9
- local _ServiceBag = require("ServiceBag")
8
+ local Maid = require("Maid")
9
+ local ServiceBag = require("ServiceBag")
10
10
 
11
11
  local SettingsInputKeyMapServiceClient = {}
12
12
  SettingsInputKeyMapServiceClient.ServiceName = "SettingsInputKeyMapServiceClient"
13
13
 
14
- function SettingsInputKeyMapServiceClient:Init(serviceBag: _ServiceBag.ServiceBag)
14
+ function SettingsInputKeyMapServiceClient:Init(serviceBag: ServiceBag.ServiceBag)
15
15
  assert(not self._serviceBag, "Already initialized")
16
16
  self._serviceBag = assert(serviceBag, "No serviceBag")
17
17
  self._maid = Maid.new()
@@ -39,4 +39,4 @@ function SettingsInputKeyMapServiceClient:Destroy()
39
39
  self._maid:DoCleaning()
40
40
  end
41
41
 
42
- return SettingsInputKeyMapServiceClient
42
+ return SettingsInputKeyMapServiceClient
@@ -6,8 +6,8 @@
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local BaseObject = require("BaseObject")
9
- local InputKeyMapSettingUtils = require("InputKeyMapSettingUtils")
10
9
  local InputKeyMapSettingConstants = require("InputKeyMapSettingConstants")
10
+ local InputKeyMapSettingUtils = require("InputKeyMapSettingUtils")
11
11
  local SettingDefinition = require("SettingDefinition")
12
12
  local SettingsDataService = require("SettingsDataService")
13
13
 
@@ -41,4 +41,4 @@ function InputKeyMapSetting.new(serviceBag, inputKeyMapList)
41
41
  return self
42
42
  end
43
43
 
44
- return InputKeyMapSetting
44
+ return InputKeyMapSetting
@@ -4,14 +4,14 @@
4
4
 
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
- local Maid = require("Maid")
8
7
  local InputKeyMapSetting = require("InputKeyMapSetting")
9
- local _ServiceBag = require("ServiceBag")
8
+ local Maid = require("Maid")
9
+ local ServiceBag = require("ServiceBag")
10
10
 
11
11
  local SettingsInputKeyMapService = {}
12
12
  SettingsInputKeyMapService.ServiceName = "SettingsInputKeyMapService"
13
13
 
14
- function SettingsInputKeyMapService:Init(serviceBag: _ServiceBag.ServiceBag)
14
+ function SettingsInputKeyMapService:Init(serviceBag: ServiceBag.ServiceBag)
15
15
  assert(not self._serviceBag, "Already initialized")
16
16
  self._serviceBag = assert(serviceBag, "No serviceBag")
17
17
  self._maid = Maid.new()
@@ -19,7 +19,6 @@ function SettingsInputKeyMapService:Init(serviceBag: _ServiceBag.ServiceBag)
19
19
  -- External
20
20
  self._serviceBag:GetService(require("SettingsService"))
21
21
  self._inputKeyMapRegistry = self._serviceBag:GetService(require("InputKeyMapRegistryServiceShared"))
22
-
23
22
  end
24
23
 
25
24
  function SettingsInputKeyMapService:Start()
@@ -39,4 +38,4 @@ function SettingsInputKeyMapService:Destroy()
39
38
  self._maid:DoCleaning()
40
39
  end
41
40
 
42
- return SettingsInputKeyMapService
41
+ return SettingsInputKeyMapService
@@ -7,5 +7,5 @@ local require = require(script.Parent.loader).load(script)
7
7
  local Table = require("Table")
8
8
 
9
9
  return Table.readonly({
10
- DEFAULT_VALUE = "default";
11
- })
10
+ DEFAULT_VALUE = "default",
11
+ })
@@ -8,8 +8,8 @@ local require = require(script.Parent.loader).load(script)
8
8
  local HttpService = game:GetService("HttpService")
9
9
 
10
10
  local EnumUtils = require("EnumUtils")
11
- local JSONUtils = require("JSONUtils")
12
11
  local InputTypeUtils = require("InputTypeUtils")
12
+ local JSONUtils = require("JSONUtils")
13
13
  local String = require("String")
14
14
 
15
15
  local InputKeyMapSettingUtils = {}
@@ -85,4 +85,4 @@ function InputKeyMapSettingUtils.decodeInputTypeList(encoded)
85
85
  return decodedList
86
86
  end
87
87
 
88
- return InputKeyMapSettingUtils
88
+ return InputKeyMapSettingUtils
@@ -9,18 +9,18 @@ serviceBag:GetService(require("SettingsInputKeyMapServiceClient"))
9
9
  serviceBag:Init()
10
10
  serviceBag:Start()
11
11
 
12
+ local InputKeyMap = require("InputKeyMap")
12
13
  local InputKeyMapList = require("InputKeyMapList")
13
14
  local InputModeTypes = require("InputModeTypes")
14
- local InputKeyMap = require("InputKeyMap")
15
15
  local SlottedTouchButtonUtils = require("SlottedTouchButtonUtils")
16
16
 
17
17
  local inputKeyMapList = InputKeyMapList.new("JUMP", {
18
- InputKeyMap.new(InputModeTypes.KeyboardAndMouse, { Enum.KeyCode.Q });
19
- InputKeyMap.new(InputModeTypes.Gamepads, { Enum.KeyCode.ButtonY });
20
- InputKeyMap.new(InputModeTypes.Touch, { SlottedTouchButtonUtils.createSlottedTouchButton("primary3") });
18
+ InputKeyMap.new(InputModeTypes.KeyboardAndMouse, { Enum.KeyCode.Q }),
19
+ InputKeyMap.new(InputModeTypes.Gamepads, { Enum.KeyCode.ButtonY }),
20
+ InputKeyMap.new(InputModeTypes.Touch, { SlottedTouchButtonUtils.createSlottedTouchButton("primary3") }),
21
21
  }, {
22
- bindingName = "Jump";
23
- rebindable = true;
22
+ bindingName = "Jump",
23
+ rebindable = true,
24
24
  })
25
25
 
26
- serviceBag:GetService(require("SettingsInputKeyMapServiceClient")):AddInputKeyMapList(inputKeyMapList)
26
+ serviceBag:GetService(require("SettingsInputKeyMapServiceClient")):AddInputKeyMapList(inputKeyMapList)