import { RaijinLabsLucidAiCore } from "raijin-labs-lucid-ai/core.js";
import { webhooksLucidReceiveDeploymentWebhook } from "raijin-labs-lucid-ai/funcs/webhooksLucidReceiveDeploymentWebhook.js";
// Use `RaijinLabsLucidAiCore` for best tree-shaking performance.
// You can create one instance of it to use across an application.
const raijinLabsLucidAi = new RaijinLabsLucidAiCore();
async function run() {
const res = await webhooksLucidReceiveDeploymentWebhook(raijinLabsLucidAi, {
provider: "railway",
body: {
"key": "<value>",
"key1": "<value>",
},
});
if (res.ok) {
const { value: result } = res;
console.log(result);
} else {
console.log("webhooksLucidReceiveDeploymentWebhook failed:", res.error);
}
}
run();