@t2000/engine 0.46.0 → 0.46.1
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1018,8 +1018,8 @@ function parseRpcTx(tx, address) {
|
|
|
1018
1018
|
try {
|
|
1019
1019
|
const data = tx.transaction?.data;
|
|
1020
1020
|
const inner = data?.transaction;
|
|
1021
|
-
const commands = inner?.commands;
|
|
1022
|
-
if (commands) {
|
|
1021
|
+
const commands = inner?.commands ?? inner?.transactions;
|
|
1022
|
+
if (Array.isArray(commands)) {
|
|
1023
1023
|
for (const cmd of commands) {
|
|
1024
1024
|
if (cmd.MoveCall) {
|
|
1025
1025
|
const mc = cmd.MoveCall;
|