@rbxts/humanoid-stat-manager 1.0.22 → 1.0.24

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,6 +1,6 @@
1
- import { HumanoidStatManager as HumanoidStatManagerClient } from './client';
2
- import { HumanoidStatManager as HumanoidStatManagerServer } from './server';
3
1
  export declare namespace HumanoidStatManager {
4
- let Client: typeof HumanoidStatManagerClient;
5
- let Server: typeof HumanoidStatManagerServer;
2
+ type ClientImpl = typeof import('./client')['HumanoidStatManager'];
3
+ type ServerImpl = typeof import('./server')['HumanoidStatManager'];
4
+ const Client: ClientImpl;
5
+ const Server: ServerImpl;
6
6
  }
package/out/init.luau CHANGED
@@ -1,17 +1,17 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
- local HumanoidStatManagerClient = TS.import(script, script, "client").HumanoidStatManager
4
- local HumanoidStatManagerServer = TS.import(script, script, "server").HumanoidStatManager
5
3
  local RunService = game:GetService("RunService")
6
4
  local HumanoidStatManager = {}
7
5
  do
8
6
  local _container = HumanoidStatManager
9
- end
10
- if RunService:IsClient() then
11
- HumanoidStatManager.Client = HumanoidStatManagerClient
12
- end
13
- if RunService:IsServer() then
14
- HumanoidStatManager.Server = HumanoidStatManagerServer
7
+ local Client = if RunService:IsClient() then TS.Promise.new(function(resolve)
8
+ resolve(TS.import(script, script, "client"))
9
+ end):expect().HumanoidStatManager else nil
10
+ _container.Client = Client
11
+ local Server = if RunService:IsServer() then TS.Promise.new(function(resolve)
12
+ resolve(TS.import(script, script, "server"))
13
+ end):expect().HumanoidStatManager else nil
14
+ _container.Server = Server
15
15
  end
16
16
  return {
17
17
  HumanoidStatManager = HumanoidStatManager,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/humanoid-stat-manager",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {