Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Nov 29, 2024
1 parent e7380c6 commit f470167
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/drift/src/cache/ClientCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export class ClientCache<T extends SimpleCache = SimpleCache>

// Required due to incompatibility between the conditional `FunctionArgsParam`
// type and `Partial` type.
export interface PartialReadParams<
interface PartialReadParams<
TAbi extends Abi = Abi,
TFunctionName extends FunctionName<TAbi> = FunctionName<TAbi>,
> extends ContractParams<TAbi>,
Expand Down
4 changes: 2 additions & 2 deletions packages/drift/src/client/drift/MockDrift.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Abi } from "abitype";
import type { MockAdapter } from "src/adapter/MockAdapter";
import type { ContractParams } from "src/adapter/types/Adapter";
import type { SimpleCache } from "src/cache/types";
import { MockClient } from "src/client/MockClient";
import type { ContractOptions } from "src/client/contract/Contract";
import { MockContract } from "src/client/contract/MockContract";
import type { Drift } from "src/client/drift/Drift";
import { ZERO_ADDRESS } from "src/constants";
Expand All @@ -17,7 +17,7 @@ export class MockDrift<
contract<TAbi extends Abi>({
abi,
address = ZERO_ADDRESS,
}: ContractOptions<TAbi>) {
}: ContractParams<TAbi>) {
return new MockContract<
TAbi,
TAdapter,
Expand Down
10 changes: 5 additions & 5 deletions packages/drift/src/exports/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ export type {
} from "src/adapter/types/Abi";
export type {
Adapter,
FunctionArgsParam,
ContractParams,
DecodeFunctionDataParams,
EncodeFunctionDataParams,
FunctionArgsParam,
GetEventsParams,
ReadParams,
SimulateWriteParams,
WriteParams,
OnMinedParam,
ReadAdapter,
ReadParams,
ReadWriteAdapter,
SimulateWriteParams,
WriteAdapter,
WriteParams,
} from "src/adapter/types/Adapter";
export type {
BlockBase,
Expand Down Expand Up @@ -112,7 +113,6 @@ export {
type ReadContract,
type ReadWriteContract,
type ContractClientOptions,
type ContractOptions,
type ContractSimulateWriteArgs,
} from "src/client/contract/Contract";

Expand Down

0 comments on commit f470167

Please sign in to comment.