@7h3laughingman/pf2e-helpers 7.10.5 → 7.10.6

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.
@@ -1,4 +1,4 @@
1
- import { ActorPF2e, UserPF2e } from "@7h3laughingman/pf2e-types";
1
+ import { ActorPF2e, ScenePF2e, TokenDocumentPF2e, TokenPF2e, UserPF2e } from "@7h3laughingman/pf2e-types";
2
2
  declare module "@7h3laughingman/foundry-helpers/utilities" {
3
3
  function getCurrentUser(): UserPF2e;
4
4
  function userIsGM(user?: UserPF2e): boolean;
@@ -6,6 +6,7 @@ declare module "@7h3laughingman/foundry-helpers/utilities" {
6
6
  function isPrimaryUpdater(actor: ActorPF2e, user?: UserPF2e): boolean;
7
7
  function primaryPlayerOwner(actor: ActorPF2e): UserPF2e | null;
8
8
  function isPrimaryOwner(actor: ActorPF2e, user?: UserPF2e): boolean;
9
+ function getTargets(user?: UserPF2e): TokenPF2e<TokenDocumentPF2e<ScenePF2e>>[];
9
10
  }
10
11
  export * from "@7h3laughingman/foundry-helpers/utilities";
11
12
  export * from "./check.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7h3laughingman/pf2e-helpers",
3
- "version": "7.10.5",
3
+ "version": "7.10.6",
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": {