@quenty/tie 4.1.0 → 4.2.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
+ # [4.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@4.1.0...@quenty/tie@4.2.0) (2022-10-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Rx switch maps would lead to multiple brios alive against a single switched observable. ([cd25a22](https://github.com/Quenty/NevermoreEngine/commit/cd25a220a2096fe1c3093deec7f9bc4e83815924))
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/tie@4.0.0...@quenty/tie@4.1.0) (2022-10-11)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/tie",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Tie allows interfaces to be defined between Lua OOP and Roblox objects.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "69c2153865684748d0a8d6806f1ff999685c2e55"
51
+ "gitHead": "f167412233d2a0bcb7f91bdc6aa2f3c754bdbe79"
52
52
  }
@@ -190,7 +190,8 @@ function TieDefinition:ObserveLastImplementationBrio(adornee: Instance)
190
190
  :Pipe({
191
191
  RxBrioUtils.switchMapBrio(function(folder)
192
192
  return self:_observeImplementation(folder)
193
- end)
193
+ end);
194
+ RxBrioUtils.onlyLastBrioSurvives();
194
195
  })
195
196
  end
196
197
 
@@ -228,6 +228,7 @@ function TiePropertyInterface:_observeValueBaseBrio()
228
228
  RxBrioUtils.switchMapBrio(function(folder)
229
229
  return self:_observeFromFolder(folder)
230
230
  end);
231
+ RxBrioUtils.onlyLastBrioSurvives();
231
232
  })
232
233
  end
233
234
 
@@ -64,6 +64,7 @@ function TieSignalConnection:_observeBindableEvent()
64
64
  RxBrioUtils.switchMapBrio(function(folder)
65
65
  return RxInstanceUtils.observeLastNamedChildBrio(folder, "BindableEvent", name)
66
66
  end);
67
+ RxBrioUtils.onlyLastBrioSurvives();
67
68
  })
68
69
  end
69
70