near-safe 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ const safe_message_1 = require("./lib/safe-message");
19
19
  function decodeTxData({ evmMessage, chainId, }) {
20
20
  const data = evmMessage;
21
21
  if ((0, safe_message_1.isRlpHex)(evmMessage)) {
22
- decodeRlpHex(chainId, evmMessage);
22
+ return decodeRlpHex(chainId, evmMessage);
23
23
  }
24
24
  if ((0, safe_message_1.isTransactionSerializable)(data)) {
25
25
  return decodeTransactionSerializable(chainId, data);
@@ -12,7 +12,7 @@ import { isRlpHex, isTransactionSerializable } from "./lib/safe-message";
12
12
  export function decodeTxData({ evmMessage, chainId, }) {
13
13
  const data = evmMessage;
14
14
  if (isRlpHex(evmMessage)) {
15
- decodeRlpHex(chainId, evmMessage);
15
+ return decodeRlpHex(chainId, evmMessage);
16
16
  }
17
17
  if (isTransactionSerializable(data)) {
18
18
  return decodeTransactionSerializable(chainId, data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "near-safe",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "license": "MIT",
5
5
  "description": "An SDK for controlling Ethereum Smart Accounts via ERC4337 from a Near Account.",
6
6
  "author": "bh2smith",