From 5ec4b8856959b3e387ca34875f84d8fbabc3246f Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 26 Aug 2023 15:26:20 +0200 Subject: [PATCH] pin approval to 1.158.2+ --- frontend/src/lib/script_helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/script_helpers.ts b/frontend/src/lib/script_helpers.ts index 5485d2e69c..1b3b383919 100644 --- a/frontend/src/lib/script_helpers.ts +++ b/frontend/src/lib/script_helpers.ts @@ -251,13 +251,13 @@ func main() (interface{}, error) { } ` -export const DENO_INIT_CODE_APPROVAL = `import * as wmill from "npm:windmill-client@1" +export const DENO_INIT_CODE_APPROVAL = `import * as wmill from "npm:windmill-client@^1.158.2" export async function main(approver?: string) { return wmill.getResumeUrls(approver) }` -export const BUN_INIT_CODE_APPROVAL = `import * as wmill from "windmill-client@1" +export const BUN_INIT_CODE_APPROVAL = `import * as wmill from "windmill-client@^1.158.2" export async function main(approver?: string) { return wmill.getResumeUrls(approver)