@rbxts/app-forge 0.6.0-alpha.66 → 0.6.0-alpha.67

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.
@@ -10,7 +10,7 @@ export default class AppForge {
10
10
  set(name: AppNames, value: boolean, rules?: boolean): void;
11
11
  open(name: AppNames, rules?: boolean): void;
12
12
  close(name: AppNames, rules?: boolean): void;
13
- mount(node: Vide.Node[], target: Instance): void;
13
+ mount(callback: () => Vide.Node[], target: Instance): void;
14
14
  unMount(): void;
15
15
  toggle(name: AppNames, rules?: boolean): void;
16
16
  renderApp(props: Types.Props.Main): ScreenGui | Frame;
@@ -95,10 +95,8 @@ do
95
95
  end
96
96
  self:set(name, false, rules)
97
97
  end
98
- function AppForge:mount(node, target)
99
- self.innerMount = mount(function()
100
- return node
101
- end, target)
98
+ function AppForge:mount(callback, target)
99
+ self.innerMount = mount(callback, target)
102
100
  end
103
101
  function AppForge:unMount()
104
102
  self.innerMount()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/app-forge",
3
- "version": "0.6.0-alpha.66",
3
+ "version": "0.6.0-alpha.67",
4
4
  "description": "An App Manager for Vide",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",