Skip to content

Commit 58a8238

Browse files
committed
renamed
1 parent 90d3d72 commit 58a8238

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ import { CustomEventTarget, type CustomEventListenerOrCustomEventListenerObject
1111
/**
1212
* Options for the JsonRpcClient.
1313
*/
14-
interface JsonRpcClientOptions {
14+
interface ClientOptions {
1515
token? : string
1616
}
1717

1818
/**
1919
* @template Schema OpenRPC document schema
2020
*/
21-
export class JsonRpcClient<Schema extends OpenRpcDocument> extends CustomEventTarget {
21+
export class Client<Schema extends OpenRpcDocument> extends CustomEventTarget {
2222
private readonly ws : WebSocket;
2323
private readonly schema : Schema;
2424
private requestId : number = 0;
2525

2626
constructor(
2727
url : string,
2828
schema : ValidatedOpenRpcDocument<Schema>,
29-
options? : JsonRpcClientOptions
29+
options? : ClientOptions
3030
) {
3131
super();
3232

0 commit comments

Comments
 (0)