diff --git a/Cargo.lock b/Cargo.lock index f92e3dc..4590b44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -100,7 +100,7 @@ checksum = "53c76489afcdd3a2c348e0484922c8c3df380bfc8d3fa20f1d2250751c9eb75a" [[package]] name = "valet" -version = "0.8.1" +version = "0.8.2" dependencies = [ "libbutler", "log", diff --git a/release/version.js b/release/version.js index 5f72209..a710e7c 100644 --- a/release/version.js +++ b/release/version.js @@ -26,14 +26,16 @@ async function main(args) { if (!foundVersion) { throw new Error("Could not find version line in Cargo.toml!"); } - info("Cargo checking..."); - $(`cargo check`); contents = lines.join("\n"); writeFileSync("Cargo.toml", contents, { encoding: "utf8" }); + info("Cargo checking..."); + $(`cargo check`); + info("Generating JSON-RPC typings..."); $(`npm run generate-typings`); + info("Compiling TypeScript code..."); $(`npm run ts`); diff --git a/ts/index.ts b/ts/index.ts index 33f0b2d..a10ca15 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,7 +1,7 @@ export * from "./support"; export * from "./client"; export * from "./conversation"; -export * as messages from "./messages"; +export * from "./messages"; export interface InitOpts { /** path to DB file */