eip-1193 0.6.2 → 0.6.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 +8 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -259,7 +259,12 @@ type Listener<Message> = (message: Message) => unknown | Promise<unknown>;
259
259
  // REQUEST TYPES
260
260
  // ------------------------------------------------------------------------------------------------
261
261
 
262
- export type Methods = ReadMethods & NodeOnlyReadMethods & WriteMethods & SignerMethods & WalletOnlyMethods;
262
+ export type Methods = ReadMethods &
263
+ NodeOnlyReadMethods &
264
+ WriteMethods &
265
+ SignerMethods &
266
+ ConnectedAccountMethods &
267
+ WalletOnlyMethods;
263
268
 
264
269
  export type NodeOnlyReadMethods = {
265
270
  web3_clientVersion: {result: string};
@@ -287,7 +292,7 @@ export type ReadMethods = {
287
292
  eth_getBlockTransactionCountByHash: {params: [EIP1193DATA]; result: EIP1193QUANTITY};
288
293
  eth_getBlockTransactionCountByNumber: {params: [EIP1193BlockTag]; result: EIP1193QUANTITY};
289
294
  eth_getUncleCountByBlockHash: {params: [EIP1193DATA]; result: EIP1193QUANTITY};
290
- eth_getUncleCountByBlockNumber: {params: [EIP1193BlockTag]; resu; t: EIP1193QUANTITY};
295
+ eth_getUncleCountByBlockNumber: {params: [EIP1193BlockTag]; result: EIP1193QUANTITY};
291
296
  eth_getCode: {params: [EIP1193Account] | [EIP1193Account, EIP1898BlockTag]; result: EIP1193DATA};
292
297
 
293
298
  eth_call: {params: [EIP1193CallParam] | [EIP1193CallParam, EIP1898BlockTag]; result: EIP1193DATA};
@@ -364,7 +369,7 @@ export type DebugOnlyMethods = {
364
369
  debug_traceTransaction: {params: [EIP1193DATA]; result: EIP1193TracedTransaction};
365
370
  };
366
371
 
367
- export type WalletMethods = ReadMethods & SignerMethods & ConnectedAccountMethods & WalletOnlyMethods;
372
+ export type WalletMethods = ReadMethods & WriteMethods & SignerMethods & ConnectedAccountMethods & WalletOnlyMethods;
368
373
 
369
374
  export type EIP1193TypedSignatureParam = {[field: string]: any}; // TODO
370
375
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eip-1193",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Types for EIP-1193 ethereum provider",
5
5
  "keywords": ["ethereum", "eip-1193"],
6
6
  "author": "Ronan Sandford",