@rbxts/app-forge 0.3.5 → 0.3.7

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.
Files changed (2) hide show
  1. package/out/rules.luau +7 -1
  2. package/package.json +1 -1
package/out/rules.luau CHANGED
@@ -49,7 +49,13 @@ do
49
49
  local allNames = Object.keys(AppRegistry)
50
50
  -- ▼ ReadonlyArray.forEach ▼
51
51
  local _callback = function(n)
52
- if not (n ~= "" and n) or n == name then
52
+ local _condition = not (n ~= "" and n) or n == name
53
+ if not _condition then
54
+ local _loaded = self.appManager.loaded
55
+ local _n = n
56
+ _condition = _loaded[_n]
57
+ end
58
+ if _condition then
53
59
  return nil
54
60
  end
55
61
  local _n = n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "An App Manager for react",
5
5
  "main": "out/init.lua",
6
6
  "packageManager": "bun@1.3.1",