eip-1193 0.4.6 → 0.4.7

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 +3 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -18,16 +18,19 @@ type BaseEIP1193Transaction = {
18
18
  };
19
19
 
20
20
  export type EIP1193TransactionType0 = BaseEIP1193Transaction & {
21
+ type?: '0x0';
21
22
  gasPrice: EIP1193QUANTITY;
22
23
  };
23
24
 
24
25
  export type EIP1193TransactionType1 = BaseEIP1193Transaction & {
26
+ type: '0x1';
25
27
  gasPrice: EIP1193QUANTITY;
26
28
  chainId: EIP1193ChainId;
27
29
  accessList?: EIP1193AccessList;
28
30
  };
29
31
 
30
32
  export type EIP1193TransactionType2 = BaseEIP1193Transaction & {
33
+ type: '0x2';
31
34
  chainId: EIP1193ChainId;
32
35
  accessList?: EIP1193AccessList;
33
36
  maxFeePerGas: EIP1193QUANTITY;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eip-1193",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Types for EIP-1193 ethereum provider",
5
5
  "keywords": ["ethereum", "eip-1193"],
6
6
  "author": "Ronan Sandford",