{"_id":"@aleworm/hw-transport-node-hid-noevents","_rev":"2-464be4c8ee7b14918089f9ad443c8511","name":"@aleworm/hw-transport-node-hid-noevents","dist-tags":{"latest":"5.51.2"},"versions":{"5.51.1":{"name":"@aleworm/hw-transport-node-hid-noevents","version":"5.51.1","description":"Ledger Hardware Wallet Node implementation of the communication layer, using node-hid. without usb events","keywords":["Ledger","LedgerWallet","hid","node-hid","NanoS","Blue","Hardware Wallet"],"repository":{"type":"git","url":"git+https://github.com/LedgerHQ/ledgerjs.git"},"bugs":{"url":"https://github.com/LedgerHQ/ledgerjs/issues"},"homepage":"https://github.com/LedgerHQ/ledgerjs","publishConfig":{"access":"public"},"main":"lib/TransportNodeHid.js","module":"lib-es/TransportNodeHid.js","license":"Apache-2.0","dependencies":{"@aleworm/node-hid":"^2.1.1","@ledgerhq/devices":"^5.51.1","@ledgerhq/errors":"^5.50.0","@ledgerhq/hw-transport":"^5.51.1","@ledgerhq/logs":"^5.50.0"},"devDependencies":{"flow-bin":"^0.149.0"},"scripts":{"flow":"flow","clean":"bash ../../script/clean.sh","build":"bash ../../script/build.sh","watch":"bash ../../script/watch.sh","doc":"bash ../../script/doc.sh"},"gitHead":"fca2c7ce74fdb88df4d59dca4cc0e668410d66af","_id":"@aleworm/hw-transport-node-hid-noevents@5.51.1","_nodeVersion":"15.5.0","_npmVersion":"7.3.0","dist":{"integrity":"sha512-+f+iilRQIzj4AXQ2N6STOeV2zmYVrpkvV/qZpLe5ms6Ogiq0dtq69g2I4oqF25WlzC4nUYwrc4nWgd3oHhgz8g==","shasum":"a4e3d9d86d1e4972c5cb3aa7eb7058edb94083bd","tarball":"https://registry.npmjs.org/@aleworm/hw-transport-node-hid-noevents/-/hw-transport-node-hid-noevents-5.51.1.tgz","fileCount":10,"unpackedSize":47541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzMeNCRA9TVsSAnZWagAA/44P/330oiRfZRYagWGtXlfb\nn7RQCbxSGNHlHu6gbyFDCgm4kf18K8mUhMcbop6kAGNknHVbgzE748b2+GjO\n4jAYsaboRh2YgM6oNIygxWHyly9TjnHx6azyniRpIXg9miefzQJUQ7+CZeci\nkqmYl8N+66qy+XbXNQUF7jZG12/AvsioytgIGlum+GF0hQlidARhq5m3Sw6v\nKz+OkUqNnit3cZxh6BhVbQlXqpOPiHjJxemtLu7sa46pEJ/SGHmeS88G1/h1\noMlclPTp5kDE3UREwSnbScFA/KJ2hJgsGLPaS6v9bT5p6CT5vfKG4Cm0eoRX\nDuUKYoUWo+tDnbeAob+9FY31Wuq2rIat/ARfSbTriRgqJwdNLj+jAdf/VglB\nw/qSfEoyOY0RNYMwYl160AJeakfrTQWazCyoCVAfUAM9IbKxgqARSoVEFKTn\nKeDkssotyZ4FCI1B1FOjE+Xx5Dy3Nk7HonuyxGdLx68L8irs1xTyWbXB8afd\nANy8ahJb2yslNkRW6l4F78Y0+yGzHOQGapu2SG5+kH5LR0hY5tdkb9iRiDTN\nC/LRJ2mwRBZz79BoPz4JoVaIb3S4Fm5BbZOm6V+J0TckyoKE9jgHzF567zVz\nNN/BK6098vGBa8NMOzWftRNDTS74OExlbH8I0FOmACNs+aw092P9LZxpktjB\n1ix2\r\n=Tw7u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw1al8rNocrRVnKI8p/VTvtH38oUsh1tlj0Egrv7612QIgeOE/WlMPJj7voUozeuJxrKzV4v1ffjoBNyz6yWbHTug="}]},"_npmUser":{"name":"aleworm","email":"alexander.wormbs@gmail.com"},"directories":{},"maintainers":[{"name":"aleworm","email":"alexander.wormbs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hw-transport-node-hid-noevents_5.51.1_1624033164991_0.21527295249020462"},"_hasShrinkwrap":false},"5.51.2":{"name":"@aleworm/hw-transport-node-hid-noevents","version":"5.51.2","description":"Ledger Hardware Wallet Node implementation of the communication layer, using node-hid. without usb events","keywords":["Ledger","LedgerWallet","hid","node-hid","NanoS","Blue","Hardware Wallet"],"repository":{"type":"git","url":"git+https://github.com/LedgerHQ/ledgerjs.git"},"bugs":{"url":"https://github.com/LedgerHQ/ledgerjs/issues"},"homepage":"https://github.com/LedgerHQ/ledgerjs","publishConfig":{"access":"public"},"main":"lib/TransportNodeHid.js","module":"lib-es/TransportNodeHid.js","license":"Apache-2.0","dependencies":{"@aleworm/node-hid":"^2.1.2","@ledgerhq/devices":"^5.51.1","@ledgerhq/errors":"^5.50.0","@ledgerhq/hw-transport":"^5.51.1","@ledgerhq/logs":"^5.50.0"},"devDependencies":{"flow-bin":"^0.149.0"},"scripts":{"flow":"flow","clean":"bash ../../script/clean.sh","build":"bash ../../script/build.sh","watch":"bash ../../script/watch.sh","doc":"bash ../../script/doc.sh"},"gitHead":"fca2c7ce74fdb88df4d59dca4cc0e668410d66af","_id":"@aleworm/hw-transport-node-hid-noevents@5.51.2","_nodeVersion":"15.5.0","_npmVersion":"7.3.0","dist":{"integrity":"sha512-9bCKbLX4XyN4KjtqM+DqznDiH5pBzp6v8Jfisei/fEi2jpBSU9ovdOplMZSgGMg5Hk/L9z+K5K5KYCbJvwas5Q==","shasum":"adfa13cc368f2262dfee969ad4a8274d1c3ab1d9","tarball":"https://registry.npmjs.org/@aleworm/hw-transport-node-hid-noevents/-/hw-transport-node-hid-noevents-5.51.2.tgz","fileCount":10,"unpackedSize":47541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0KrqCRA9TVsSAnZWagAAWNIQAIJt8jpCoh2x/mzbKT6A\n46uVelrFtNPaugUNurb2hHIqWmI2u0m+ext6jJXE+bFB3m7ms53xAmhmLjkw\n3/DcrisUHlosAN5UJ0XGXQxgJnJmL6eC1s9tKGUTej8lgM/8rM39MSvuz6G7\n13KSeyu9qOKKAwVKFseaersBpCsA/tCO3bAiXQHdexnBhcGMPWuseBWHgPwx\nf1EcOpZitFE2D7gmathccT7iN0t5GflFFTzIS+dqpIzDtsS7jOio5HKXkMom\nf1uddwp5yXc7aUOMM0OfYmOCLaoyx0ETRq3lVFdViUYFo3wJIwAXjvEhXOwq\n8naAmuKeImHOwnnRdG5BlRtaMU9IIJ2aM2K9LdKHE7MLLD97Zyrpzqp1Rxb4\n2rC0Nr1NC7EQsDXxdWTvQOEkoXSB97sDyMa/2jvbxeZ1lq57KnUgo9TYdwhx\nJgg1mlEvVScMZOVvRsnXQNUITqGgC2FISnPqdMYcF6op9MKvSa4G6GToLzMX\nAdi9p8GCkQemh2U564S3WF+GuXoR0pyzkf72rVHc9IMYuHyPx8pfKO+iDDwb\nBoOoUeW/uXffuowMCZCVOwT7woqi4yqnnS602dTPfOhi0At+4szJyAu7xp1t\nUJ6JeCtAKtOZmpOflrvaZWffodmVNtA1JsmfoZHkiaiekqQ+ft0DirpaLlZG\n+EW5\r\n=3Sqg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICq/SvCw2RJ7VkZ7BnUFtgvPZBPx5fdb5foTzZwUFt8gAiEA2GRjzqhaZ1tH3iTUcVSPQzZwgdL+s1bLX3fhOLZETBQ="}]},"_npmUser":{"name":"aleworm","email":"alexander.wormbs@gmail.com"},"directories":{},"maintainers":[{"name":"aleworm","email":"alexander.wormbs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hw-transport-node-hid-noevents_5.51.2_1624287974935_0.19833929726472777"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-18T16:19:24.940Z","5.51.1":"2021-06-18T16:19:25.105Z","modified":"2022-04-04T12:38:15.337Z","5.51.2":"2021-06-21T15:06:15.209Z"},"maintainers":[{"name":"aleworm","email":"alexander.wormbs@gmail.com"}],"description":"Ledger Hardware Wallet Node implementation of the communication layer, using node-hid. without usb events","homepage":"https://github.com/LedgerHQ/ledgerjs","keywords":["Ledger","LedgerWallet","hid","node-hid","NanoS","Blue","Hardware Wallet"],"repository":{"type":"git","url":"git+https://github.com/LedgerHQ/ledgerjs.git"},"bugs":{"url":"https://github.com/LedgerHQ/ledgerjs/issues"},"license":"Apache-2.0","readme":"<img src=\"https://user-images.githubusercontent.com/211411/34776833-6f1ef4da-f618-11e7-8b13-f0697901d6a8.png\" height=\"100\" />\n\n[Github](https://github.com/LedgerHQ/ledgerjs/),\n[Ledger Devs Slack](https://ledger-dev.slack.com/)\n\n## @ledgerhq/hw-transport-node-hid-noevents\n\nAllows to communicate with Ledger Hardware Wallets.\n\n**[Node]**/Electron **(HID)** – uses **only** `node-hid`. Does not provide USB events.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [TransportNodeHidNoEvents](#transportnodehidnoevents)\n    -   [Parameters](#parameters)\n    -   [Examples](#examples)\n    -   [exchange](#exchange)\n        -   [Parameters](#parameters-1)\n    -   [close](#close)\n    -   [isSupported](#issupported)\n    -   [list](#list)\n    -   [listen](#listen)\n        -   [Parameters](#parameters-2)\n    -   [open](#open)\n        -   [Parameters](#parameters-3)\n\n### TransportNodeHidNoEvents\n\n**Extends Transport**\n\nnode-hid Transport minimal implementation\n\n#### Parameters\n\n-   `device` **HID.HID** \n\n#### Examples\n\n```javascript\nimport TransportNodeHid from \"@ledgerhq/hw-transport-node-hid-noevents\";\n...\nTransportNodeHid.create().then(transport => ...)\n```\n\n#### exchange\n\nExchange with the device using APDU protocol.\n\n##### Parameters\n\n-   `apdu` **[Buffer](https://nodejs.org/api/buffer.html)** \n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Buffer](https://nodejs.org/api/buffer.html)>** a promise of apdu response\n\n#### close\n\nrelease the USB device.\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;void>** \n\n#### isSupported\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** \n\n#### list\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?>>** \n\n#### listen\n\n##### Parameters\n\n-   `observer` **Observer&lt;DescriptorEvent&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?>>** \n\nReturns **Subscription** \n\n#### open\n\nif path=\"\" is not provided, the library will take the first device\n\n##### Parameters\n\n-   `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** \n","readmeFilename":"README.md"}