donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
23 lines • 814 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequestContext = void 0;
/**
* The API request context. Highly sensitive since it handles Supabase API tokens.
*/
class RequestContext {
constructor(
/**
* The Supabase access token associated with this request. May be null if the
* request is unauthenticated. This value can be trusted since even if someone hacks the
* code, they will not be able to fake a valid value for this token since it is
* authenticated by Supabase when performing requests with Supabase.
*/
accessToken) {
this.accessToken = accessToken;
}
toString() {
return 'RequestContext[accessToken=*****]';
}
}
exports.RequestContext = RequestContext;
//# sourceMappingURL=RequestContext.js.map