prismarine-windows 2.4.3 → 2.4.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.
package/HISTORY.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.4.4
2
+ * update mcdata
3
+
1
4
  ## 2.4.3
2
5
  * fixed typescript typings
3
6
 
package/index.d.ts CHANGED
@@ -129,7 +129,7 @@ export class Window extends EventEmitter {
129
129
  * Return the id of the first empty slot in the inventory, start looking in the hotbar first if the flag is set
130
130
  * @param hotbarFirst DEFAULT: true
131
131
  */
132
- firstEmptyInventorySlot(hotbarFirst: boolean): number | null;
132
+ firstEmptyInventorySlot(hotbarFirst?: boolean): number | null;
133
133
 
134
134
  /**
135
135
  * Returns how many item you have of the given type, between slots start and end
@@ -237,4 +237,4 @@ export type WindowName =
237
237
  'minecraft:smithing' |
238
238
  'minecraft:smoker' |
239
239
  'minecraft:cartography' |
240
- 'minecraft:stonecutter'
240
+ 'minecraft:stonecutter'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prismarine-windows",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "Represent minecraft windows",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,11 +13,11 @@
13
13
  "url": "git+ssh://git@github.com/PrismarineJS/prismarine-windows.git"
14
14
  },
15
15
  "dependencies": {
16
- "minecraft-data": "^2.74.0",
16
+ "minecraft-data": "^3.0.0",
17
17
  "prismarine-item": "^1.5.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@types/node": "^16.0.0",
20
+ "@types/node": "^17.0.4",
21
21
  "standard": "^16.0.3"
22
22
  },
23
23
  "keywords": [