Skip to content

Commit

Permalink
Export messages non-namespaced
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed May 20, 2020
1 parent 249f17f commit b1f14d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions release/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);

Expand Down
2 changes: 1 addition & 1 deletion ts/index.ts
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down

0 comments on commit b1f14d5

Please sign in to comment.