tangled
alpha
login
or
join now
danabra.mov
/
inlay
42
fork
atom
social components
inlay-proto.up.railway.app/
atproto
components
sdui
42
fork
atom
overview
issues
pulls
pipelines
no need to error
danabra.mov
3 days ago
df1c42b6
ad750757
+2
-9
1 changed file
expand all
collapse all
unified
split
proto
src
resolver.ts
+2
-9
proto/src/resolver.ts
···
112
);
113
}
114
115
-
// Personalized: get service JWT, skip cache
116
if (params.personalized && viewerDid) {
117
const jwt = await getServiceJwt(viewerDid, params.did, params.nsid);
118
-
const value = await callXrpc(serviceUrl, params, jwt);
119
-
const response = value as ComponentResponse;
120
-
if (response.cache) {
121
-
throw new Error(
122
-
`Personalized component ${params.nsid} must not return cache metadata`
123
-
);
124
-
}
125
-
return value;
126
}
127
128
if (!params.componentUri || params.type === "query") {
···
112
);
113
}
114
115
+
// Personalized: get service JWT, skip server cache
116
if (params.personalized && viewerDid) {
117
const jwt = await getServiceJwt(viewerDid, params.did, params.nsid);
118
+
return callXrpc(serviceUrl, params, jwt);
0
0
0
0
0
0
0
119
}
120
121
if (!params.componentUri || params.type === "query") {