@7h3laughingman/pf2e-helpers 7.10.2 → 7.10.4

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.
@@ -0,0 +1 @@
1
+ import "@7h3laughingman/foundry-helpers/socketlib";
@@ -1,10 +1,5 @@
1
- import { ActorPF2e, ItemPF2e, MacroPF2e, ScenePF2e, UserPF2e } from "@7h3laughingman/pf2e-types";
2
- import CompendiumCollection = foundry.documents.collections.CompendiumCollection;
1
+ import { ActorPF2e, UserPF2e } from "@7h3laughingman/pf2e-types";
3
2
  declare module "@7h3laughingman/foundry-helpers/utilities" {
4
- function isCompendiumPack<T extends ActorPF2e<null>>(pack: unknown, type: "Actor"): pack is CompendiumCollection<T>;
5
- function isCompendiumPack<T extends ItemPF2e<null>>(pack: unknown, type: "Item"): pack is CompendiumCollection<T>;
6
- function isCompendiumPack<T extends MacroPF2e>(pack: unknown, type: "Macro"): pack is CompendiumCollection<T>;
7
- function isCompendiumPack<T extends ScenePF2e>(pack: unknown, type: "Scene"): pack is CompendiumCollection<T>;
8
3
  function getCurrentUser(): UserPF2e;
9
4
  function userIsGM(user?: UserPF2e): boolean;
10
5
  function getPrimaryUpdater(actor: ActorPF2e): UserPF2e | null;
@@ -13,4 +8,7 @@ declare module "@7h3laughingman/foundry-helpers/utilities" {
13
8
  function isPrimaryOwner(actor: ActorPF2e, user?: UserPF2e): boolean;
14
9
  }
15
10
  export * from "@7h3laughingman/foundry-helpers/utilities";
11
+ export * from "./check.js";
16
12
  export * from "./damage.js";
13
+ export * from "./roll.js";
14
+ export * from "./system.js";
@@ -1,2 +1,5 @@
1
1
  export * from "@7h3laughingman/foundry-helpers/utilities";
2
+ export * from "./check.js";
2
3
  export * from "./damage.js";
4
+ export * from "./roll.js";
5
+ export * from "./system.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7h3laughingman/pf2e-helpers",
3
- "version": "7.10.2",
3
+ "version": "7.10.4",
4
4
  "description": "Basic helpers used for developed modules for the PF2e/SF2e system.",
5
5
  "homepage": "https://github.com/7H3LaughingMan/pf2e-helpers#readme",
6
6
  "bugs": {
@@ -15,6 +15,7 @@
15
15
  "type": "module",
16
16
  "exports": {
17
17
  "./lib-wrapper": "./dist/lib-wrapper/index.d.ts",
18
+ "./socketlib": "./dist/socketlib/index.d.ts",
18
19
  "./utilities": "./dist/utilities/index.js"
19
20
  },
20
21
  "files": [
@@ -34,17 +35,17 @@
34
35
  "remeda": "^2.33.6"
35
36
  },
36
37
  "devDependencies": {
37
- "@eslint/js": "^9.39.2",
38
- "@eslint/json": "^0.14.0",
38
+ "@eslint/js": "^10.0.1",
39
+ "@eslint/json": "^1.0.1",
39
40
  "copyfiles": "^2.4.1",
40
- "eslint": "^9.39.2",
41
+ "eslint": "^10.0.0",
41
42
  "eslint-config-prettier": "^10.1.8",
42
43
  "eslint-plugin-prettier": "^5.5.5",
43
44
  "husky": "^9.1.7",
44
45
  "lint-staged": "^16.2.7",
45
46
  "prettier-plugin-organize-imports": "^4.3.0",
46
47
  "typescript": "5.9.3",
47
- "typescript-eslint": "^8.55.0"
48
+ "typescript-eslint": "^8.56.0"
48
49
  },
49
50
  "engines": {
50
51
  "node": ">=24"