Skip to content

Commit

Permalink
fix(build): remove redundant exported type
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed Mar 18, 2024
1 parent 77235ce commit 134319b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/common/ar-io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
ArIOState,
ArNSAuctionData,
ArNSNameData,
ContractConfiguration,
EpochDistributionData,
EvaluationOptions,
EvaluationParameters,
Expand All @@ -30,15 +31,6 @@ import {
} from '../types.js';
import { RemoteContract } from './contracts/remote-contract.js';

// TODO: append this with other configuration options (e.g. local vs. remote evaluation)
export type ContractConfiguration =
| {
contract?: SmartWeaveContract<unknown>;
}
| {
contractTxId: string;
};

function isContractConfiguration<T>(
config: ContractConfiguration,
): config is { contract: SmartWeaveContract<T> } {
Expand Down

0 comments on commit 134319b

Please sign in to comment.