@rbxts/humanoid-stat-manager 1.0.23 → 1.0.25

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/client.d.ts CHANGED
@@ -1,5 +1 @@
1
- import { Modifier } from './shared';
2
- export declare namespace HumanoidStatManager {
3
- function init(): void;
4
- function addModifier(modifier: Omit<Modifier, 'startTime'>): () => void;
5
- }
1
+ export {};
package/out/client.luau CHANGED
@@ -50,6 +50,7 @@ observeCharacters(function(char, player)
50
50
  end
51
51
  end)
52
52
  RunService.Heartbeat:Connect(update)
53
+ --* @internal
53
54
  local HumanoidStatManager = {}
54
55
  do
55
56
  local _container = HumanoidStatManager
package/out/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
+ import { HumanoidStatManager as HumanoidStatManagerServer } from './server';
2
+ import { HumanoidStatManager as HumanoidStatManagerClient } from './client';
1
3
  export declare namespace HumanoidStatManager {
2
- type ClientImpl = typeof import("./client")["HumanoidStatManager"];
3
- type ServerImpl = typeof import("./server")["HumanoidStatManager"];
4
- const Client: ClientImpl;
5
- const Server: ServerImpl;
4
+ const Server: typeof HumanoidStatManagerServer;
5
+ const Client: typeof HumanoidStatManagerClient;
6
6
  }
package/out/init.luau CHANGED
@@ -1,20 +1,17 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
- -- import { HumanoidStatManager as HumanoidStatManagerClient } from './client';
4
- -- import { HumanoidStatManager as HumanoidStatManagerServer } from './server';
5
3
  local RunService = game:GetService("RunService")
6
4
  local HumanoidStatManager = {}
7
5
  do
8
6
  local _container = HumanoidStatManager
9
- -- Types (type-only, no runtime import):
10
- local Client = if RunService:IsClient() then TS.Promise.new(function(resolve)
11
- resolve(TS.import(script, script, "client"))
12
- end):expect().HumanoidStatManager else nil
13
- _container.Client = Client
14
7
  local Server = if RunService:IsServer() then TS.Promise.new(function(resolve)
15
8
  resolve(TS.import(script, script, "server"))
16
9
  end):expect().HumanoidStatManager else nil
17
10
  _container.Server = Server
11
+ local Client = if RunService:IsClient() then TS.Promise.new(function(resolve)
12
+ resolve(TS.import(script, script, "client"))
13
+ end):expect().HumanoidStatManager else nil
14
+ _container.Client = Client
18
15
  end
19
16
  return {
20
17
  HumanoidStatManager = HumanoidStatManager,
package/out/server.d.ts CHANGED
@@ -1,5 +1 @@
1
- import { Modifier } from './shared';
2
- export declare namespace HumanoidStatManager {
3
- function init(): void;
4
- function addModifier(char: Model, modifier: Omit<Modifier, 'id' | 'startTime'>): () => void;
5
- }
1
+ export {};
package/out/server.luau CHANGED
@@ -30,6 +30,7 @@ RunService.Heartbeat:Connect(function()
30
30
  humanoid.JumpHeight = calculateStat("JumpHeight", modifiers)
31
31
  end
32
32
  end)
33
+ --* @internal
33
34
  local HumanoidStatManager = {}
34
35
  do
35
36
  local _container = HumanoidStatManager
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/humanoid-stat-manager",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {