Commit Graph

78 Commits

Author SHA1 Message Date
trezor-ci
45c2211e42 npm-prerelease: @trezor/protocol 1.2.8-beta.1 2025-07-07 09:54:48 +02:00
trezor-ci
377bdbcb53 npm-release: @trezor/protocol 1.2.7 2025-06-25 06:44:23 +02:00
Jan Václavík
1a1786a1ab chore(suite): Update tsx 2025-06-24 15:52:19 +02:00
Szymon Lesisz
990ba54344 feat(protocol): add ThpState.sync and getExpectedHeaders functions 2025-06-24 14:06:19 +02:00
Szymon Lesisz
dddcb76000 fix(protocol): throw decode error if bytes.length < header size
PROTOCOL_MALFORMED instead of  "Attempt to access memory outside buffer bounds"
2025-06-24 14:05:09 +02:00
trezor-ci
381415fe44 npm-prerelease: @trezor/protocol 1.2.7-beta.1 2025-06-12 14:03:52 +02:00
Szymon Lesisz
b5cb747767 feat(protocol): add THP protobuf definitions and types 2025-06-04 20:04:46 +02:00
Szymon Lesisz
b893516894 chore(protocol): rename getChunkHeader to getHeaders and return [header, chunkHeader] 2025-06-04 13:42:30 +02:00
Szymon Lesisz
b3056f54d2 feat(protocol): add THP cryptography
Co-authored-by: Ondřej Vejpustek <ondrej.vejpustek@satoshilabs.com>

following: https://github.com/trezor/trezor-firmware/pull/3435
2025-05-26 09:49:51 +02:00
Szymon Lesisz
b33b491b40 feat(protocol): add THP encoding/decoding logic
- only one message exchange is supported ThpCreateChannelRequest > ThpCreateChannelResponse
- without cryptography module. will be added in the next commit
2025-05-23 14:52:42 +02:00
Szymon Lesisz
c883e604c1 feat(protocol): add credentials to ThpState 2025-05-23 14:52:42 +02:00
trezor-ci
a81dd382d4 npm-release: @trezor/protocol 1.2.6 2025-05-15 12:04:22 +02:00
trezor-ci
14db93b8d9 npm-prerelease: @trezor/protocol 1.2.6-beta.1 2025-05-08 11:20:10 +02:00
Tomas Martykan
eb758acea9 chore: apply latest prettier 2025-05-05 13:51:36 +02:00
Szymon Lesisz
5838888e83 feat(protocol): add THP protobuf types and state 2025-04-24 11:17:27 +02:00
trezor-ci
de08ac129b npm-release: @trezor/protocol 1.2.5 2025-03-19 10:59:15 +01:00
trezor-ci
fe8f4dc278 npm-prerelease: @trezor/protocol 1.2.5-beta.1 2025-03-18 17:35:52 +01:00
trezor-ci
1e55745a8d npm-release: @trezor/protocol 1.2.4 2025-03-13 17:09:47 +01:00
trezor-ci
5ea9011fdb npm-prerelease: @trezor/protocol 1.2.4-beta.2 2025-03-11 16:18:02 +01:00
Trezor Bot
3d7542843b npm-release: @trezor/connect 9.5.2-beta.1 (#17529)
* npm-prerelease: @trezor/connect-plugin-stellar 9.1.2-beta.1

* npm-prerelease: @trezor/blockchain-link 2.4.2-beta.1

* npm-prerelease: @trezor/blockchain-link-types 1.3.2-beta.1

* npm-prerelease: @trezor/blockchain-link-utils 1.3.2-beta.1

* npm-prerelease: @trezor/connect-analytics 1.3.1-beta.1

* npm-prerelease: @trezor/connect-common 0.3.2-beta.1

* npm-prerelease: @trezor/transport 1.4.2-beta.1

* npm-prerelease: @trezor/protobuf 1.3.2-beta.1

* npm-prerelease: @trezor/protocol 1.2.4-beta.1

* npm-prerelease: @trezor/utils 9.3.2-beta.1

* npm-release: @trezor/connect 9.5.2-beta.1

* chore(connect): changlog for 9.5.2-beta.2

---------

Co-authored-by: Martin Varmuza <mvarmuza@gmail.com>
2025-03-11 09:25:42 +01:00
Szymon Lesisz
7ff4f19571 feat(protocol): add protocol-v2 2025-03-10 12:12:57 +01:00
trezor-ci
f714f42e0b npm-release: @trezor/protocol 1.2.3 2025-03-06 12:37:30 +01:00
trezor-ci
71c1cd7ee3 npm-prerelease: @trezor/protocol 1.2.3-beta.1 2025-03-03 14:55:33 +01:00
Daniel Suchý
a13f269b99 fix(repo): fix generate package script (#17300) 2025-02-28 10:12:02 +00:00
trezor-ci
01a74bae44 npm-release: @trezor/protocol 1.2.2 2024-11-26 12:36:13 +01:00
trezor-ci
7bfeed7f69 npm-prerelease: @trezor/protocol 1.2.2-beta.1 2024-11-21 14:24:35 +01:00
Peter Sanderson
abb41f8033 chore: remove glboal nx/workspace link scripts (it shall be run only globally) + resolve ugly igonores for devDependencies in import/no-extraneous-dependencies 2024-11-13 10:36:38 +01:00
trezor-ci
76ccf1b8ea npm-release: @trezor/protocol 1.2.1 2024-09-23 12:24:13 +02:00
trezor-ci
52acb3950c npm-prerelease: @trezor/protocol 1.2.1-beta.1 2024-09-20 09:50:16 +02:00
Szymon Lesisz
5bf4c0138e feat(protocol): add name to TransportProtocol 2024-09-06 10:20:19 +02:00
trezor-ci
43f775c212 npm-release: @trezor/protocol 1.2.0 2024-08-22 10:30:30 +02:00
trezor-ci
cdd837ba2b npm-prerelease: @trezor/protocol 1.1.1-beta.1 2024-08-02 14:01:19 +02:00
Carlos Garcia Ortiz karliatto
59c856fd0f chore: update txs from 4.7.0 to 4.16.2
chore: update tsx from 4.16.2 to 4.16.3
2024-08-02 10:58:23 +02:00
Szymon Lesisz
858837bb2a chore(protocol): accept Buffer in decode function 2024-07-30 12:30:29 +02:00
trezor-ci
ae94295259 npm-release: @trezor/protocol 1.1.0 2024-07-02 14:52:14 +02:00
trezor-ci
f75305eb95 npm-release: @trezor/protocol 1.0.10-beta.2 2024-06-26 11:19:07 +02:00
Petr Knetl
2206f19f2e chore(suite): depcheck enabled 2024-06-18 13:07:58 +02:00
trezor-ci
cbd8b87c91 npm-release: @trezor/protocol 1.0.10-beta.1 2024-06-06 17:49:27 +02:00
Martin Varmuza
c5dd5749a7 chore(protocol): add a logging message in case of empty buffer 2024-06-05 17:45:37 +02:00
Carlos Garcia Ortiz karliatto
c7ba277fce npm-release: @trezor/protocol 1.0.9 2024-05-28 16:46:30 +02:00
trezor-ci
3cf9226737 npm-release: @trezor/protocol 1.0.9-beta.1 2024-05-15 12:45:37 +02:00
trezor-ci
d858881806 npm-release: @trezor/protocol 1.0.8 2024-05-02 10:39:35 +02:00
Szymon Lesisz
2f445ba734 feat(protocol): separate chunking from encoding 2024-04-19 08:52:36 +02:00
Szymon Lesisz
ae3211ab6a feat(protocol): encode/decode messageType as string
possible values: messageId (number) or messageName (string)
2024-04-15 14:21:24 +02:00
Szymon Lesisz
1db2916fed chore(protocol): rename decode response fields
- `typeId` => `messageType`
- `buffer` => `payload`
2024-04-15 14:21:24 +02:00
trezor-ci
a9c14159ae npm-release: @trezor/protocol 1.0.7 2024-03-28 16:23:19 +01:00
Daniel Suchý
4d857722fe chore: TS project references for build:libs + buildless utxo-lib (#11526)
* chore(repo): buildless utxo-lib

* chore: use project references for build:libs too

* chore: reformat tsconfig.lib.json
2024-03-11 10:33:29 +01:00
Daniel Suchý
637ad88dcf chore(repo): mostly buildless monorepo (#11464)
* chore: buildless blockchain link

* chore: buildless connect

* chore: buildless connect-webextension

* chore: buildless transport

* chore: replace few imports from lib

* fix: icons linter error

* chore: adjust tooling to buildless setup

* fix: connect overrides

* chore: replace all imports from @trezor/*/src

* chore(lint): ban imports from @trezor/*/lib

* fix: replace imports on Linux

* chore: add safety check to replace imports script

* chore: reorder entries
2024-03-07 08:31:02 +01:00
trezor-ci
635dbdbb08 npm-release: @trezor/protocol 1.0.6 2024-02-28 23:02:11 +01:00
Carlos Garcia Ortiz karliatto
d21d698b29 fix: from g:tsx to local tsx in prepublish script
- The usage of g:tsx was causing issues in the npm relase process since
  the required env variable "process.env.npm_package_name" was set to
trezor-suite instead of @trezor/<package-name> that is expected by
prepublish.js script.
2024-02-28 17:30:09 +01:00