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.
- package/index.d.ts +6 -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
|
-
|
|
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;
|