Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tough-boats-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@abstract-foundation/agw-client": patch
---

fix: export CreateAbstractClientParameters and CreateSessionClientParameters types
2 changes: 1 addition & 1 deletion packages/agw-client/src/clients/abstractClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
* Parameters for creating an AbstractClient instance.
* @interface CreateAbstractClientParameters
*/
interface CreateAbstractClientParameters {
export interface CreateAbstractClientParameters {
/**
* The account used for signing AGW transactions.
* @type {Account}
Expand Down
2 changes: 1 addition & 1 deletion packages/agw-client/src/clients/sessionClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type GetNonceManagerParameter<account extends Account | Address = Address> =
? { nonceManager?: never }
: { nonceManager?: NonceManager };

type CreateSessionClientParameters<
export type CreateSessionClientParameters<
account extends Account | Address = Address,
> = {
account: account;
Expand Down
1 change: 1 addition & 0 deletions packages/agw-client/src/exports/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export { deployAccount } from '../actions/deployAccount.js';
export {
type AbstractClient,
type CreateAbstractClientParameters,
createAbstractClient,
} from '../clients/abstractClient.js';
export { linkablePublicActions } from '../clients/decorators/linkablePublic.js';
Expand Down
2 changes: 2 additions & 0 deletions packages/agw-client/src/exports/sessions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { SessionKeyValidatorAbi } from '../abis/SessionKeyValidator.js';
import { prepareCreateSessionCall } from '../actions/createSession.js';
import {
type CreateSessionClientParameters,
createSessionClient,
type SessionClient,
toSessionClient,
Expand All @@ -27,6 +28,7 @@ export {
type CallPolicy,
type Constraint,
ConstraintCondition,
type CreateSessionClientParameters,
createSessionClient,
encodeSession,
getSessionHash,
Expand Down
Loading