A repository for a FoundryVTT plugin for Kingmaker homebrew.

Fixing some issues with loading socketlib

+7 -5
+3 -2
src/main.ts
··· 1 1 import KingdomSheet from "./kingdom-sheet"; 2 2 import preloadTemplates from "./preloadTemplates"; 3 - import { socketlib } from "./utils"; 4 - import type { Socket } from "./utils"; 3 + import type { Socket, isocketlib } from "./utils"; 4 + 5 + declare var socketlib: isocketlib; 5 6 6 7 let socket: Socket; 7 8
+3
src/templateMap.json
··· 1 + { 2 + "kmhb-sheet": "modules/kingdom-homebrew/templates/sheet.hbs" 3 + }
+1 -3
src/utils.ts
··· 11 11 executeForEveryone: (handler: string, ...args: any[]) => Promise<any>, 12 12 executeForOthers: (handler: string, ...args: any[]) => Promise<any>, 13 13 executeForUsers: (handler: string, recipients: string[], ...parameters: any[]) => Promise<any> 14 - } 15 - 16 - export declare var socketlib: isocketlib; 14 + }