@wayward/types 2.12.1-beta.dev.20221015.1 → 2.12.1-beta.dev.20221016.1

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.
@@ -121,14 +121,11 @@ export default class InGameScreen extends BaseScreen {
121
121
  clampDialogs(): void;
122
122
  getItemClass(item?: Item, itemType?: ItemType): string;
123
123
  createItemString(itemType: ItemType, item?: Item, extraClass?: string): string;
124
- private readonly itemElementsIds;
125
- private readonly itemElementsCollections;
126
- getItemElements(item: Item | number): HTMLCollectionOf<HTMLElement>;
127
124
  syncItemElements(itemIds: number | number[], forceSyncDecay?: boolean): void;
128
125
  private readonly SYMBOL_LAST_NEARLY_DESTROYED;
129
126
  private readonly SYMBOL_LAST_NEARLY_DECAYED;
130
127
  private readonly SYMBOL_LAST_DECAY;
131
- syncDecayBar(item: Item, force?: boolean, elements?: HTMLCollectionOf<HTMLElement>): void;
128
+ syncDecayBar(item: Item, force?: boolean, element?: HTMLElement | null): void;
132
129
  addItemToContainer(item: Item, container: IContainer, _internal?: boolean, isAddingMultipleItems?: boolean, updateTables?: boolean): void;
133
130
  insertItemStringToContainer(itemElement: string | JQuery, containerElement: JQuery): void;
134
131
  onAddItemsToContainer(containerElement: JQuery, containerDialogElement: JQuery | undefined, isInventoryContainer: boolean, updateTables?: boolean): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wayward/types",
3
3
  "description": "TypeScript declarations for Wayward, used for modding.",
4
- "version": "2.12.1-beta.dev.20221015.1",
4
+ "version": "2.12.1-beta.dev.20221016.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",