http://witchsky.app/profile/did:plc:q7suwaz53ztc4mbiqyygbn43/post/3mcnu54wgks2x http://localhost:19006/profile/did:plc:q7suwaz53ztc4mbiqyygbn43/post/3mcnu54wgks2x
+3
src/state/session/agent.ts
+3
src/state/session/agent.ts
···
465
465
* other PDS-specific operations like preferences.
466
466
*/
467
467
export function pdsAgent<T extends BaseAgent>(agent: T): T {
468
+
if ('cloneWithoutProxy' in agent && typeof agent.cloneWithoutProxy === 'function') {
469
+
return agent.cloneWithoutProxy() as T
470
+
}
468
471
const clone = agent.clone() as T
469
472
clone.configureProxy(null)
470
473
return clone