Skip to content

Commit fee4fb3

Browse files
committed
fix: rename rpc provider
1 parent 34db683 commit fee4fb3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/provider/default.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
} from '../types';
1717
import { BigNumberish } from '../utils/number';
1818
import { ProviderInterface } from './interface';
19-
import { RPCProvider, RpcProviderOptions } from './rpc';
19+
import { RpcProvider, RpcProviderOptions } from './rpc';
2020
import { SequencerProvider, SequencerProviderOptions } from './sequencer';
2121
import { BlockIdentifier } from './utils';
2222

@@ -32,7 +32,7 @@ export class Provider implements ProviderInterface {
3232
if (providerOrOptions instanceof Provider) {
3333
this.provider = providerOrOptions;
3434
} else if (providerOrOptions && providerOrOptions.rpc) {
35-
this.provider = new RPCProvider(providerOrOptions.rpc);
35+
this.provider = new RpcProvider(providerOrOptions.rpc);
3636
} else {
3737
this.provider = new SequencerProvider(providerOrOptions?.sequencer);
3838
}

src/provider/rpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import { BlockIdentifier } from './utils';
3434

3535
export type RpcProviderOptions = { nodeUrl: string };
3636

37-
export class RPCProvider implements ProviderInterface {
37+
export class RpcProvider implements ProviderInterface {
3838
public nodeUrl: string;
3939

4040
public chainId!: StarknetChainId;

0 commit comments

Comments
 (0)