Commit 4fc7c7a
committed
fix: address PR review feedback
- TonSignData: restore getVersionRange(). With strictCheckDeviceSupport=true
the core consults this method's version matrix; an empty range causes
every device to be classified as unsupported and the TonSignData typedCall
is rejected before run() ever fires. Aligned with TonSignMessage's
getFixInitStateErrorVersionRange — bump when the firmware ships TonSignData.
- LedgerConnectorBase.call: stop logging full call params via
JSON.stringify(params). Now that debugLog flows through onSdkEvent into
the host's defaultLogger pipeline, sensitive payloads (serializedTx,
psbt, rawTxHex, messageHex, typed data) would propagate to telemetry /
persistent stores. Replaced with summarizeCallParams() which surfaces
only path, length-of-payload, and harmless flags.1 parent a89f674 commit 4fc7c7a
2 files changed
Lines changed: 41 additions & 1 deletion
File tree
- packages
- core/src/api/ton
- hwk-ledger-adapter/src/connector
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
50 | 66 | | |
51 | 67 | | |
52 | 68 | | |
| |||
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
91 | 115 | | |
92 | 116 | | |
93 | 117 | | |
| |||
381 | 405 | | |
382 | 406 | | |
383 | 407 | | |
384 | | - | |
| 408 | + | |
385 | 409 | | |
386 | 410 | | |
387 | 411 | | |
| |||
0 commit comments