@rbxts/humanoid-stat-manager 1.0.6 → 1.0.8

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,4 +1,5 @@
1
1
  import { Modifier } from './shared';
2
2
  export declare namespace HumanoidStatManager {
3
+ function init(): void;
3
4
  function addModifier(modifier: Omit<Modifier, 'startTime'>): () => void;
4
5
  }
package/out/client.luau CHANGED
@@ -53,6 +53,9 @@ RunService.Heartbeat:Connect(update)
53
53
  local HumanoidStatManager = {}
54
54
  do
55
55
  local _container = HumanoidStatManager
56
+ local function init()
57
+ end
58
+ _container.init = init
56
59
  local function addModifier(modifier)
57
60
  local internalModifier = createModifier(modifier)
58
61
  table.insert(modifiers, internalModifier)
package/out/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export {};
package/out/init.luau ADDED
@@ -0,0 +1,2 @@
1
+ -- Compiled with roblox-ts v3.0.0
2
+ return nil
package/out/server.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { Modifier } from './shared';
2
2
  export declare namespace HumanoidStatManager {
3
+ function init(): void;
3
4
  function addModifier(char: Model, modifier: Omit<Modifier, 'id' | 'startTime'>): () => void;
4
5
  }
package/out/server.luau CHANGED
@@ -33,6 +33,9 @@ end)
33
33
  local HumanoidStatManager = {}
34
34
  do
35
35
  local _container = HumanoidStatManager
36
+ local function init()
37
+ end
38
+ _container.init = init
36
39
  local function addModifier(char, modifier)
37
40
  local player = Players:GetPlayerFromCharacter(char)
38
41
  local id = HttpService:GenerateGUID(false)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/humanoid-stat-manager",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {