eip-1193 0.0.4 → 0.0.5

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
@@ -403,8 +403,12 @@ export type EIP1193Request =
403
403
  | EIP1193ChainIdRequest
404
404
  | EIP1193RequestAccountsRequest
405
405
  | ERIP1193SwitchChainRequest
406
- | ERIP1193AddChainRequest
407
- | EIP1193GenericRequest;
406
+ | ERIP1193AddChainRequest;
407
+
408
+ export type EIP1193GenericRequest = {
409
+ method: string;
410
+ params?: any[];
411
+ };
408
412
 
409
413
  export interface EIP1193ProviderRpcError extends Error {
410
414
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eip-1193",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Types for EIP-1193",
5
5
  "keywords": [],
6
6
  "author": "",