@onekeyfe/hwk-ledger-adapter 1.1.26-alpha.104 → 1.1.26-alpha.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2337,8 +2337,14 @@ var LedgerConnectorBase = class {
2337
2337
  return tronGetAddress(this._ctx, sessionId, params);
2338
2338
  case "tronSignTransaction":
2339
2339
  return tronSignTransaction(this._ctx, sessionId, params);
2340
- case "tronSignMessage":
2341
- return tronSignMessage(this._ctx, sessionId, params);
2340
+ case "tronSignMessage": {
2341
+ const p = params;
2342
+ const internalParams = {
2343
+ path: p.path,
2344
+ messageHex: p.messageHex
2345
+ };
2346
+ return tronSignMessage(this._ctx, sessionId, internalParams);
2347
+ }
2342
2348
  default:
2343
2349
  throw new Error(`LedgerConnector: unknown method "${method}"`);
2344
2350
  }