@mentaproject/client 0.1.16 → 0.1.17

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.
@@ -4,6 +4,7 @@
4
4
  import { Hex, TransactionReceipt, Transaction as RawTransaction } from "@mentaproject/core";
5
5
  import { Account } from "../structures";
6
6
  import { BlockData } from "./Block";
7
+ import { JSONAccount } from "./Account";
7
8
  /**
8
9
  * Defines the direction of a transaction relative to an account.
9
10
  * "in" for incoming transactions, "out" for outgoing transactions.
@@ -32,6 +33,8 @@ export type TransactionCall = {
32
33
  callType: string;
33
34
  };
34
35
  export type JSONTransaction = RawTransaction & {
36
+ from: JSONAccount;
37
+ to?: JSONAccount;
35
38
  block: BlockData;
36
39
  receipt: TransactionReceipt;
37
40
  calls?: TransactionCall[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentaproject/client",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "High level EVM library used into the Menta App to facilitate Blockchain interactions. ",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",