From 14e7b2fcef432478a572ce7ce0bd2fdbc4056f69 Mon Sep 17 00:00:00 2001 From: Udit Date: Fri, 24 Mar 2023 00:50:01 +0530 Subject: [PATCH] Bump runtime version to 0.0.12, include runtime logger path --- src/commands/function/interfaces.ts | 1 + src/commands/function/shared.ts | 1 + src/lib/binaries.ts | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/function/interfaces.ts b/src/commands/function/interfaces.ts index 9b03693..c8294bd 100644 --- a/src/commands/function/interfaces.ts +++ b/src/commands/function/interfaces.ts @@ -52,6 +52,7 @@ export interface IManifest { name: string; description: string; fs_root_path: string; + runtime_logger: string; drivers_root_path: string; limited_fuel?: number; limited_memory?: number; diff --git a/src/commands/function/shared.ts b/src/commands/function/shared.ts index f6a917d..c808834 100644 --- a/src/commands/function/shared.ts +++ b/src/commands/function/shared.ts @@ -102,6 +102,7 @@ export const createWasmManifest = ( hooks: [], description: "", fs_root_path: "./", + runtime_logger: 'runtime.log', drivers_root_path: `${store.system.homedir}/.bls/extensions`, entry, runtime: { diff --git a/src/lib/binaries.ts b/src/lib/binaries.ts index 1e08b47..22bcc9b 100644 --- a/src/lib/binaries.ts +++ b/src/lib/binaries.ts @@ -9,7 +9,7 @@ import { store } from "../store" import { https } from "follow-redirects" import fs from "fs" -const RUNTIME_BUILD_VERSION = "v0.0.8" +const RUNTIME_BUILD_VERSION = "v0.0.12" const NETWORKING_BUILD_VERSION = "v0.0.1" export const download = function (url: any, dest: any): Promise {