rm subpath imports
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user