simple-keyboard 3.5.25 → 3.5.27

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.
@@ -99,7 +99,7 @@ declare class Utilities {
99
99
  * @param {object} display The provided display option
100
100
  * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.
101
101
  */
102
- getButtonDisplayName(button: string, display: KeyboardOptions["display"], mergeDisplay: boolean): string;
102
+ getButtonDisplayName(button: string, display: KeyboardOptions["display"], mergeDisplay?: boolean): string;
103
103
  /**
104
104
  * Returns the updated input resulting from clicking a given button
105
105
  *
@@ -109,7 +109,7 @@ declare class Utilities {
109
109
  * @param {number} caretPosEnd The cursor's current end position
110
110
  * @param {boolean} moveCaret Whether to update simple-keyboard's cursor
111
111
  */
112
- getUpdatedInput(button: string, input: string, caretPos: number, caretPosEnd?: number, moveCaret?: boolean): string;
112
+ getUpdatedInput(button: string, input: string, caretPos: any, caretPosEnd?: any, moveCaret?: boolean): string;
113
113
  /**
114
114
  * Moves the cursor position by a given amount
115
115
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-keyboard",
3
- "version": "3.5.25",
3
+ "version": "3.5.27",
4
4
  "description": "On-screen Javascript Virtual Keyboard",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -46,7 +46,7 @@
46
46
  "@babel/polyfill": "^7.12.1",
47
47
  "@babel/preset-env": "^7.20.2",
48
48
  "@types/jest": "^27.5.0",
49
- "@typescript-eslint/eslint-plugin": "^5.51.0",
49
+ "@typescript-eslint/eslint-plugin": "^5.54.0",
50
50
  "@typescript-eslint/parser": "^5.52.0",
51
51
  "autoprefixer": "^10.4.13",
52
52
  "babel-eslint": "^10.1.0",