@quenty/inputmode 8.5.0 → 8.5.1-canary.439.4c654fa.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,14 @@
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
+ ## [8.5.1-canary.439.4c654fa.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@8.5.0...@quenty/inputmode@8.5.1-canary.439.4c654fa.0) (2024-02-12)
7
+
8
+ **Note:** Version bump only for package @quenty/inputmode
9
+
10
+
11
+
12
+
13
+
6
14
  # [8.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/inputmode@8.4.0...@quenty/inputmode@8.5.0) (2024-01-08)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/inputmode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/inputmode",
3
- "version": "8.5.0",
3
+ "version": "8.5.1-canary.439.4c654fa.0",
4
4
  "description": "Trace input mode state and trigger changes correctly",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,16 +25,17 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/loader": "^7.3.0",
29
- "@quenty/maid": "^2.6.0",
30
- "@quenty/rx": "^8.4.0",
31
- "@quenty/servicebag": "^7.2.0",
32
- "@quenty/signal": "^3.2.0",
33
- "@quenty/table": "^3.4.0",
34
- "@quenty/valueobject": "^8.4.0"
28
+ "@quenty/ducktype": "2.2.1-canary.439.4c654fa.0",
29
+ "@quenty/loader": "7.3.1-canary.439.4c654fa.0",
30
+ "@quenty/maid": "2.6.1-canary.439.4c654fa.0",
31
+ "@quenty/rx": "8.4.1-canary.439.4c654fa.0",
32
+ "@quenty/servicebag": "7.2.1-canary.439.4c654fa.0",
33
+ "@quenty/signal": "3.2.1-canary.439.4c654fa.0",
34
+ "@quenty/table": "3.4.0",
35
+ "@quenty/valueobject": "8.4.1-canary.439.4c654fa.0"
35
36
  },
36
37
  "publishConfig": {
37
38
  "access": "public"
38
39
  },
39
- "gitHead": "075fb03a03f12ade8758f667767ba738204e0c4b"
40
+ "gitHead": "4c654faf9c66c5c9bcb277a24bf13c70719d3531"
40
41
  }
@@ -8,6 +8,7 @@
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
10
  local Signal = require("Signal")
11
+ local DuckTypeUtils = require("DuckTypeUtils")
11
12
 
12
13
  --[=[
13
14
  Fires off when the mode is enabled
@@ -50,7 +51,7 @@ end
50
51
  @return boolean
51
52
  ]=]
52
53
  function InputMode.isInputMode(value)
53
- return type(value) == "table" and getmetatable(value) == InputMode
54
+ return DuckTypeUtils.isImplementation(InputMode, value)
54
55
  end
55
56
 
56
57
  --[=[
@@ -4,6 +4,10 @@
4
4
  @class InputModeType
5
5
  ]=]
6
6
 
7
+ local require = require(script.Parent.loader).load(script)
8
+
9
+ local DuckTypeUtils = require("DuckTypeUtils")
10
+
7
11
  local InputModeType = {}
8
12
  InputModeType.ClassName = "InputModeType"
9
13
  InputModeType.__index = InputModeType
@@ -33,7 +37,7 @@ end
33
37
  @return boolean
34
38
  ]=]
35
39
  function InputModeType.isInputModeType(value)
36
- return type(value) == "table" and getmetatable(value) == InputModeType
40
+ return DuckTypeUtils.isImplementation(InputModeType, value)
37
41
  end
38
42
 
39
43
  --[=[