Skip to content

Commit

Permalink
fix(type): rename all type implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Feb 22, 2024
1 parent 1c23cb3 commit 5959045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/types/arns-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
ArNSNameData,
Balances,
Gateway,
WieghtedObserver,
WeightedObserver,
} from './arns-state.js';

export type EvaluatedContractState<ContractState> =
Expand Down Expand Up @@ -52,7 +52,7 @@ export type BalancesResponse = ArNSStateResponse<'balances', Balances>;

export type ObserversResponse = ArNSStateResponse<
'result',
Record<string, WieghtedObserver[]>
Record<string, WeightedObserver[]>
>;

export interface ArIONetworkContract {
Expand Down
2 changes: 1 addition & 1 deletion src/types/arns-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export type GatewayStats = {

// Observations

export type WieghtedObserver = {
export type WeightedObserver = {
gatewayAddress: WalletAddress;
observerAddress: WalletAddress;
stake: number;
Expand Down

0 comments on commit 5959045

Please sign in to comment.