rm subpath imports

This commit is contained in:
Samuel Newman
2026-05-19 14:41:17 +03:00
parent 1c62e9bdde
commit 440c343768
+2 -5
View File
@@ -8,10 +8,7 @@ import {
type Did, type Did,
type Un$Typed, type Un$Typed,
} from '@atproto/api' } from '@atproto/api'
import {type FetchHandler} from '@atproto/api/dist/agent'
import {type SessionManager} from '@atproto/api/dist/session-manager'
import {TID} from '@atproto/common-web' import {TID} from '@atproto/common-web'
import {type FetchHandlerOptions} from '@atproto/xrpc'
import {networkRetry} from '#/lib/async/retry' import {networkRetry} from '#/lib/async/retry'
import { import {
@@ -336,9 +333,9 @@ export function sessionAccountToSession(
export class Agent extends BaseAgent { export class Agent extends BaseAgent {
constructor( constructor(
proxyHeader: ProxyHeaderValue | null, proxyHeader: ProxyHeaderValue | null,
options: SessionManager | FetchHandler | FetchHandlerOptions, ...options: ConstructorParameters<typeof BaseAgent>
) { ) {
super(options) super(...options)
if (proxyHeader) { if (proxyHeader) {
this.configureProxy(proxyHeader) this.configureProxy(proxyHeader)
} }