mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-24 12:24:01 +02:00
Follow the yaak-web to yaak-wasm rename
Rebased onto main after #572 merged. The wasm crate moved to crates/yaak-wasm and crates-server/yaak-web is now the server, so the render_template export, the regenerated pkg/ and the proxy/server wording move with them.
This commit is contained in:
@@ -202,7 +202,7 @@ export class WorkerConnection {
|
||||
return this.request<T>((id) => ({ type: "prepare_http_send", id, payload }));
|
||||
}
|
||||
|
||||
/** See `render_template` in crates/yaak-web. */
|
||||
/** See `render_template` in crates/yaak-wasm. */
|
||||
renderTemplate(payload: unknown): Promise<string> {
|
||||
return this.request<string>((id) => ({ type: "render_template", id, payload }));
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -60,12 +60,12 @@ interface PreparedHttpSend {
|
||||
}
|
||||
|
||||
/**
|
||||
* The desktop applies auth to the sendable request; here the proxy builds that,
|
||||
* so the plugin's answer goes onto the model and the proxy folds it in. Same
|
||||
* The desktop applies auth to the sendable request; here the server builds that,
|
||||
* so the plugin's answer goes onto the model and the server folds it in. Same
|
||||
* bytes for a method that sets a header, which is every one that runs here.
|
||||
*
|
||||
* Not the same for one that *signs*, since the plugin sees the request before
|
||||
* the proxy assembles it. AWS SigV4 and OAuth 1.0 are refused rather than
|
||||
* the server assembles it. AWS SigV4 and OAuth 1.0 are refused rather than
|
||||
* mis-signed; see the sandbox README.
|
||||
*/
|
||||
async function applyAuthentication(
|
||||
|
||||
Reference in New Issue
Block a user