{"_id":"@1tokenfe/hd-transport-lowlevel","name":"@1tokenfe/hd-transport-lowlevel","dist-tags":{"latest":"1.1.15"},"versions":{"1.1.15":{"name":"@1tokenfe/hd-transport-lowlevel","version":"1.1.15","homepage":"https://github.com/OneTokenHQ/hardware-js-sdk#readme","license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/OneTokenHQ/hardware-js-sdk.git"},"scripts":{"dev":"rimraf dist && rollup -c ../../build/rollup.config.js -w","build":"rimraf dist && rollup -c ../../build/rollup.config.js","lint":"eslint .","lint:fix":"eslint . --fix"},"dependencies":{"@1tokenfe/hd-shared":"1.1.15","@1tokenfe/hd-transport":"1.1.15"},"gitHead":"0bb0c034bc0624d12a704a11b8825fb5038b7246","description":"`@1tokenfe/hd-transport-http` is a library that implements transport communication using http.","bugs":{"url":"https://github.com/OneTokenHQ/hardware-js-sdk/issues"},"_id":"@1tokenfe/hd-transport-lowlevel@1.1.15","_nodeVersion":"22.17.0","_npmVersion":"lerna/4.0.0/node@v22.17.0+arm64 (darwin)","dist":{"integrity":"sha512-/dXSAMFkjIDyF5ogGKMf3Q9Eo/udRsvrrxgSPVxk5CqqpQO7K2nhg5bhhaOM3U2crEglfG1vaa/aEaU5AueMvw==","shasum":"e2d51e31518f1c454b2e46ed4c0e7ad318e9f5ea","tarball":"https://registry.npmjs.org/@1tokenfe/hd-transport-lowlevel/-/hd-transport-lowlevel-1.1.15.tgz","fileCount":10,"unpackedSize":12603,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEw9bNqiPXRZeJZMs8//5ulwOXOegpuQhVhsn4iM7rYrAiEA9N6yM/XCaOJB3ap2RiUNOJ6wGYrRNUlzSVUONaL0230="}]},"_npmUser":{"name":"vici1573","email":"vici1573@outlook.com"},"directories":{},"maintainers":[{"name":"vici1573","email":"vici1573@outlook.com"},{"name":"onetokenwallet","email":"yf860412@gmail.com"},{"name":"dihuase0411","email":"dihuase0411@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hd-transport-lowlevel_1.1.15_1763359453211_0.22108168741549683"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-17T06:04:12.789Z","1.1.15":"2025-11-17T06:04:13.403Z","modified":"2025-11-17T06:04:13.725Z"},"maintainers":[{"name":"vici1573","email":"vici1573@outlook.com"},{"name":"onetokenwallet","email":"yf860412@gmail.com"},{"name":"dihuase0411","email":"dihuase0411@gmail.com"}],"description":"`@1tokenfe/hd-transport-http` is a library that implements transport communication using http.","homepage":"https://github.com/OneTokenHQ/hardware-js-sdk#readme","repository":{"type":"git","url":"git+https://github.com/OneTokenHQ/hardware-js-sdk.git"},"bugs":{"url":"https://github.com/OneTokenHQ/hardware-js-sdk/issues"},"license":"MIT","readme":"# `@1tokenfe/hd-transport-lowlevel`\n\n`@1tokenfe/hd-transport-http` is a library that implements transport communication using http.\n\n## What is the purpose\n\n- translate JSON payloads to binary messages using protobuf definitions comprehensible to OneToken devices\n- chunking and reading chunked messages according to the [OneToken protocol](./protocol.md)\n- exposing single API for various transport methods:\n  - Http Transport\n  - React Native Transport\n  - WebUSB\n- Create and expose typescript definitions based on protobuf definitions.\n\n### The short version\n\nIn order to be able to use new features of onetoken-firmware you need to update protobuf definitions.\n\n1. `git submodule update --init --recursive` to initialize git submodules.\n1. `yarn update-submodules` to update firmware submodule\n1. `yarn update:protobuf` to generate new `./messages.json` and `./src/types/messages.ts`\n\ngit submodule update --init --recursive to initialize firmware submodule\nyarn update-submodules to update firmware submodule\nyarn update:protobuf to generate new ./messages.json and ./src/types/messages.ts\n\n## Docs\n\nDocumentation is available [hardware-js-sdk](https://developer.onetoken.so/connect-to-hardware/hardware-sdk/start)\n","readmeFilename":"README.md","_rev":"1-09da8d9469fa405b011b7428055f15f7"}