@rbxts/humanoid-stat-manager 1.0.28 → 1.0.29

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/out/index.d.ts CHANGED
@@ -1,7 +1,3 @@
1
- import { HumanoidStatManagerClient } from './client';
2
- import { HumanoidStatManagerServer } from './server';
3
- declare const _default: {
4
- HumanoidStatManagerServer: typeof import("./server") | typeof HumanoidStatManagerServer;
5
- HumanoidStatManagerClient: typeof import("./client") | typeof HumanoidStatManagerClient;
6
- };
7
- export = _default;
1
+ type MergedExports = typeof import('./server') & typeof import('./client');
2
+ declare const res: MergedExports;
3
+ export = res;
package/out/init.luau CHANGED
@@ -1,11 +1,13 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  local RunService = game:GetService("RunService")
4
- return {
5
- HumanoidStatManagerServer = if RunService:IsServer() then TS.Promise.new(function(resolve)
6
- resolve(TS.import(script, script, "server"))
7
- end):expect() else nil,
8
- HumanoidStatManagerClient = if RunService:IsClient() then TS.Promise.new(function(resolve)
9
- resolve(TS.import(script, script, "client"))
10
- end):expect() else nil,
11
- }
4
+ local res = {}
5
+ local currentModule = if RunService:IsServer() then TS.Promise.new(function(resolve)
6
+ resolve(TS.import(script, script, "server"))
7
+ end):expect() else TS.Promise.new(function(resolve)
8
+ resolve(TS.import(script, script, "client"))
9
+ end):expect()
10
+ for i, v in pairs(currentModule) do
11
+ res[i] = v
12
+ end
13
+ return res
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/humanoid-stat-manager",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {