Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: debug param should not be required (#592)
### **PR Type** Bug fix ___ ### **Description** - Made `debug` parameter optional in multiple functions across various components. - Updated functions in `fingerprint.ts`, `audio.ts`, `browser.ts`, `canvas.ts`, `fonts.ts`, `hardware.ts`, `locale.ts`, `screen.ts`, and `system.ts` to reflect this change. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Bug fix</strong></td><td><details><summary>9 files</summary><table> <tr> <td> <details> <summary><strong>fingerprint.ts</strong><dd><code>Make `debug` parameter optional in fingerprint functions</code> </dd></summary> <hr> packages/ui-fingerprint/src/common/fingerprint.ts <li>Made <code>debug</code> parameter optional in <code>getFingerprintData</code> and <br><code>getFingerprintHash</code> functions.<br> </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-2b944da987f50f2d3e783b6e102884ae859f65bc674688b542b5e26576b15ea3">+2/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>audio.ts</strong><dd><code>Make `debug` parameter optional in audio component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/audio.ts - Made `debug` parameter optional in `getAudio` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-e1b2946cdbd3ff235dcc8126fd4eadde7b5ac5f42a8cd43ccd13bf7d70b33212">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>browser.ts</strong><dd><code>Make `debug` parameter optional in browser component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/browser.ts - Made `debug` parameter optional in `getBrowser` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-bcb61015a33d02e92cbed739dabefd757655a24abcf8b9b8806b1d450ea5b9b8">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>canvas.ts</strong><dd><code>Make `debug` parameter optional in canvas component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/canvas.ts - Made `debug` parameter optional in `getCanvas` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-e4c67d9fc77cde065ec9ac0131bf83396251bff417924d7875146923e91e30c7">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>fonts.ts</strong><dd><code>Make `debug` parameter optional in fonts component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/fonts.ts - Made `debug` parameter optional in `getFonts` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-13f70fac3638c4dc5491645c3af8f92cb6b47f6ad41c88bc72b8cb1435068333">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>hardware.ts</strong><dd><code>Make `debug` parameter optional in hardware component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/hardware.ts - Made `debug` parameter optional in `getHardware` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-1b1eb6d2074b49c52af3d132cdcf455748bc626a92ee0e8d011300d5bfce1417">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>locale.ts</strong><dd><code>Make `debug` parameter optional in locale component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/locale.ts - Made `debug` parameter optional in `getLocales` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-eb4d5e99e954b49b148925d879f2432c7f8f2c7694d017208b5c808503001f28">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>screen.ts</strong><dd><code>Make `debug` parameter optional in screen component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/screen.ts - Made `debug` parameter optional in `getScreen` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-455cb14eded0cfbcf2ef3e1ac4db2bd2a13f6f20770711b91b6c068bbcacb95d">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>system.ts</strong><dd><code>Make `debug` parameter optional in system component</code> </dd></summary> <hr> packages/ui-fingerprint/src/components/system.ts - Made `debug` parameter optional in `getSystem` function. </details> </td> <td><a href="https://github.com/aversini/ui-components/pull/592/files#diff-cc9ee437d754149edddb45d314cd597f79cbc662e06b7152f65708b7120f3f80">+1/-1</a> </td> </tr> </table></details></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
- Loading branch information