@quenty/tie 4.7.0 → 4.8.1-canary.330.de4a2f4.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,25 @@
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
+ ## [4.8.1-canary.330.de4a2f4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@4.8.0...@quenty/tie@4.8.1-canary.330.de4a2f4.0) (2023-02-27)
7
+
8
+ **Note:** Version bump only for package @quenty/tie
9
+
10
+
11
+
12
+
13
+
14
+ # [4.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@4.7.0...@quenty/tie@4.8.0) (2023-02-21)
15
+
16
+
17
+ ### Features
18
+
19
+ * Add TieDefinition:ObserveLastImplementation(adornee) ([a690651](https://github.com/Quenty/NevermoreEngine/commit/a690651423e6e953654277e21f04c921bcb24fb3))
20
+
21
+
22
+
23
+
24
+
6
25
  # [4.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@4.6.0...@quenty/tie@4.7.0) (2023-01-17)
7
26
 
8
27
  **Note:** Version bump only for package @quenty/tie
package/README.md CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  Tie allows interfaces to be defined between Lua OOP and Roblox objects. This is designed in part to replace BinderGroups, which were a way to previously allow systems to interface with each other in a generic way. Instead, an object may implement a TieInterface, which is basically bindable functions/events.
15
15
 
16
- <div align="center"><a href="https://quenty.github.io/NevermoreEngine/api/Tie">View docs →</a></div>
16
+ <div align="center"><a href="https://quenty.github.io/NevermoreEngine/api/Action">View docs →</a></div>
17
17
 
18
18
  ## Installation
19
19
  ```
@@ -31,4 +31,4 @@ This package does two things. First of all, it basically automates the creation
31
31
  1. Ensure you can ad-hoc create a tie (low-level scripting)
32
32
  1. Support tagged ties with
33
33
  1. Ensure ties can be queried via CollectionService
34
- 1. Allow client implementation of server-based ties
34
+ 1. Allow client implementation of server-based ties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/tie",
3
- "version": "4.7.0",
3
+ "version": "4.8.1-canary.330.de4a2f4.0",
4
4
  "description": "Tie allows interfaces to be defined between Lua OOP and Roblox objects.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,25 +28,25 @@
28
28
  "Quenty"
29
29
  ],
30
30
  "dependencies": {
31
- "@quenty/attributeutils": "^8.5.0",
32
- "@quenty/baseobject": "^6.0.1",
33
- "@quenty/brio": "^8.4.0",
34
- "@quenty/instanceutils": "^7.5.0",
35
- "@quenty/loader": "^6.0.1",
36
- "@quenty/maid": "^2.4.0",
37
- "@quenty/rx": "^7.4.0",
38
- "@quenty/string": "^3.0.0",
39
- "@quenty/symbol": "^2.1.0",
40
- "@quenty/table": "^3.1.0",
41
- "@quenty/valuebaseutils": "^7.5.0",
42
- "@quenty/valueobject": "^7.4.0"
31
+ "@quenty/attributeutils": "8.6.1-canary.330.de4a2f4.0",
32
+ "@quenty/baseobject": "6.1.0",
33
+ "@quenty/brio": "8.5.1-canary.330.de4a2f4.0",
34
+ "@quenty/instanceutils": "7.6.1-canary.330.de4a2f4.0",
35
+ "@quenty/loader": "6.1.0",
36
+ "@quenty/maid": "2.4.0",
37
+ "@quenty/rx": "7.5.1-canary.330.de4a2f4.0",
38
+ "@quenty/string": "3.1.0",
39
+ "@quenty/symbol": "2.2.0",
40
+ "@quenty/table": "3.2.0",
41
+ "@quenty/valuebaseutils": "7.6.1-canary.330.de4a2f4.0",
42
+ "@quenty/valueobject": "7.5.1-canary.330.de4a2f4.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@quenty/promise": "^6.0.1",
46
- "@quenty/signal": "^2.3.0"
45
+ "@quenty/promise": "6.1.1-canary.330.de4a2f4.0",
46
+ "@quenty/signal": "2.3.0"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "a89a3f27cad25767cd645b91cdc2a2881afeecd5"
51
+ "gitHead": "de4a2f4cacbb79bb0d35e3de34c24552ac5470cb"
52
52
  }
@@ -12,6 +12,7 @@ local Observable = require("Observable")
12
12
  local Rx = require("Rx")
13
13
  local RxBrioUtils = require("RxBrioUtils")
14
14
  local RxInstanceUtils = require("RxInstanceUtils")
15
+ local RxStateStackUtils = require("RxStateStackUtils")
15
16
  local String = require("String")
16
17
  local Symbol = require("Symbol")
17
18
  local Table = require("Table")
@@ -195,6 +196,21 @@ function TieDefinition:ObserveLastImplementationBrio(adornee: Instance)
195
196
  })
196
197
  end
197
198
 
199
+ --[=[
200
+ Observes a valid implementation if it exists, or nil
201
+
202
+ @param adornee Instance
203
+ @return Observable<TieImplementation<T> | nil>>
204
+ ]=]
205
+ function TieDefinition:ObserveLastImplementation(adornee: Instance)
206
+ assert(typeof(adornee) == "Instance", "Bad adornee")
207
+
208
+ return self:ObserveLastImplementationBrio(adornee):Pipe({
209
+ RxStateStackUtils.topOfStack();
210
+ })
211
+ end
212
+
213
+
198
214
  --[=[
199
215
  Observes valid implementations wrapped in a brio if it exists.
200
216
  @param adornee Instance