@quenty/inputmode 7.0.0 → 7.0.1-canary.293.c1c91bd.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,18 @@
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
+ ## [7.0.1-canary.293.c1c91bd.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@7.0.0...@quenty/inputmode@7.0.1-canary.293.c1c91bd.0) (2022-10-11)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix package dependencies ([06467b6](https://github.com/Quenty/NevermoreEngine/commit/06467b6bcbea4f0e33f3ecd6ea56424850824aef))
12
+ * InputModeService actually responds to changes ([9028eaf](https://github.com/Quenty/NevermoreEngine/commit/9028eaf3369ddbfc380e6d59c06d8c239f106e70))
13
+
14
+
15
+
16
+
17
+
6
18
  # [7.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@6.1.0...@quenty/inputmode@7.0.0) (2022-09-27)
7
19
 
8
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/inputmode",
3
- "version": "7.0.0",
3
+ "version": "7.0.1-canary.293.c1c91bd.0",
4
4
  "description": "Trace input mode state and trigger changes correctly",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,14 +25,15 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/loader": "^6.0.0",
29
- "@quenty/maid": "^2.4.0",
30
- "@quenty/signal": "^2.3.0",
31
- "@quenty/table": "^3.1.0",
32
- "@quenty/valueobject": "^7.0.0"
28
+ "@quenty/loader": "6.0.0",
29
+ "@quenty/maid": "2.4.0",
30
+ "@quenty/servicebag": "6.0.0",
31
+ "@quenty/signal": "2.3.0",
32
+ "@quenty/table": "3.1.0",
33
+ "@quenty/valueobject": "7.0.1-canary.293.c1c91bd.0"
33
34
  },
34
35
  "publishConfig": {
35
36
  "access": "public"
36
37
  },
37
- "gitHead": "cbbe2a3e91f0d1e337bb33652b4e32bec685bb76"
38
+ "gitHead": "c1c91bd797aeee5cd167d614890f0999809a9a93"
38
39
  }
@@ -84,7 +84,7 @@ end
84
84
  Enables the mode
85
85
  ]=]
86
86
  function InputMode:Enable()
87
- self._lastEnabled = tick()
87
+ self._lastEnabled = os.clock()
88
88
  self.Enabled:Fire()
89
89
  end
90
90
 
@@ -61,6 +61,7 @@ function InputModeServiceClient:GetInputMode(inputModeType)
61
61
  end
62
62
 
63
63
  local inputMode = InputMode.new(inputModeType)
64
+ self._inputModeProcessor:AddInputMode(inputMode)
64
65
  self._maid:GiveTask(inputMode)
65
66
 
66
67
  self._inputModes[inputModeType] = inputMode
@@ -64,6 +64,8 @@ function InputModeType:_addValidTypesFromTable(keys)
64
64
  self._valid[key] = true
65
65
  elseif InputModeType.isInputModeType(key) then
66
66
  self:_addInputModeType(key)
67
+ else
68
+ warn("invalid key", key)
67
69
  end
68
70
  end
69
71
  end