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.
- package/dist/cjs/decode.js +1 -1
- package/dist/esm/decode.js +1 -1
- package/package.json +1 -1
package/dist/cjs/decode.js
CHANGED
@@ -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);
|
package/dist/esm/decode.js
CHANGED
@@ -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);
|