isaacscript-common 2.0.1 → 2.0.2

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.
@@ -29,3 +29,4 @@ export declare function isMoveActionTriggeredOnAnyInput(): boolean;
29
29
  export declare function isShootAction(buttonAction: ButtonAction): boolean;
30
30
  export declare function isShootActionPressedOnAnyInput(): boolean;
31
31
  export declare function isShootActionTriggeredOnAnyInput(): boolean;
32
+ export declare function keyboardToString(keyboard: Keyboard): string;
@@ -100,4 +100,7 @@ function ____exports.isShootActionTriggeredOnAnyInput(self)
100
100
  function(____, shootAction) return ____exports.isActionTriggeredOnAnyInput(nil, shootAction) end
101
101
  )
102
102
  end
103
+ function ____exports.keyboardToString(self, keyboard)
104
+ return Keyboard[keyboard] or "unknown"
105
+ end
103
106
  return ____exports
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",