eip-1193 0.3.2 → 0.3.3

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -36,14 +36,18 @@ export type EIP1193LegacyTransactionData = BaseEIP1193TransactionData & {
36
36
  export type EIP1193TransactionDataOfType1 = BaseEIP1193TransactionData & {
37
37
  type: "0x1",
38
38
  chainId?: EIP1193ChainId;
39
- accessList?: EIP1193Account[];
39
+ accessList?: EIP1193AccessList;
40
40
  gasPrice?: EIP1193QUANTITY;
41
41
  }
42
42
 
43
+
44
+ export type EIP1193AccessListEntry = { address: EIP1193Account; storageKeys: EIP1193DATA[] };
45
+ export type EIP1193AccessList = EIP1193AccessListEntry[];
46
+
43
47
  export type EIP1193TransactionDataOfType2 = BaseEIP1193TransactionData & {
44
48
  type: "0x2",
45
49
  chainId?: EIP1193ChainId;
46
- accessList?: EIP1193Account[];
50
+ accessList?: EIP1193AccessList;
47
51
  maxFeePerGas?: EIP1193QUANTITY;
48
52
  maxPriorityFeePerGas?: EIP1193QUANTITY
49
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eip-1193",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Types for EIP-1193",
5
5
  "keywords": [],
6
6
  "author": "",