leafrelay 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -5,11 +5,11 @@ import {
5
5
  daemonStatus,
6
6
  daemonStop,
7
7
  serve
8
- } from "./chunk-J46L4Q2T.js";
8
+ } from "./chunk-UO7Z3BQN.js";
9
9
  import {
10
10
  configPath,
11
11
  normalizeServerUrl
12
- } from "./chunk-PRWBFOB2.js";
12
+ } from "./chunk-Q3R5N4YE.js";
13
13
 
14
14
  // src/cli.ts
15
15
  import { Command } from "commander";
@@ -48,7 +48,7 @@ async function login(server, options) {
48
48
  }
49
49
 
50
50
  // src/cli.ts
51
- var program = new Command().name("leafrelay").description("Keep a local directory synchronized with an Overleaf project.").version("0.2.0");
51
+ var program = new Command().name("leafrelay").description("Keep a local directory synchronized with an Overleaf project.").version("0.2.1");
52
52
  program.command("login").description("Authenticate to Overleaf and save the session in ~/.leafrelay/config.json.").argument("[server]", "Overleaf server URL", "https://www.overleaf.com/").option("--cookie <cookie>", "Overleaf browser cookie").option("--email <email>", "Overleaf account email").option("--password <password>", "Overleaf account password").action(login);
53
53
  program.command("serve").description("Synchronize the current directory with its configured Overleaf project.").argument("[directory]", "Local replica directory", process.cwd()).action(serve);
54
54
  var daemon = program.command("daemon").description("Inspect or control the shared LeafRelay daemon.");
package/dist/daemon.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  saveServerSession,
14
14
  serverKey,
15
15
  startServe
16
- } from "./chunk-PRWBFOB2.js";
16
+ } from "./chunk-Q3R5N4YE.js";
17
17
 
18
18
  // ../daemon/src/server.ts
19
19
  import { randomBytes } from "crypto";
@@ -680,7 +680,7 @@ function createSocketRpcConnection(socket) {
680
680
  // ../daemon/src/server.ts
681
681
  var IDLE_EXIT_MS = 6e4;
682
682
  var REPLICA_ALREADY_ACTIVE = -32010;
683
- var daemonVersion = true ? "0.2.0" : "development";
683
+ var daemonVersion = true ? "0.2.1" : "development";
684
684
  var LeafRelayDaemonServer = class {
685
685
  constructor(options = {}) {
686
686
  this.options = options;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startServe
3
- } from "./chunk-J46L4Q2T.js";
3
+ } from "./chunk-UO7Z3BQN.js";
4
4
  export {
5
5
  startServe
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leafrelay",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Reliable two-way synchronization between Overleaf and a local directory.",
5
5
  "keywords": [
6
6
  "overleaf",
@@ -59,9 +59,9 @@
59
59
  "vscode-jsonrpc": "9.0.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@leafrelay/core": "0.2.0",
63
- "@leafrelay/protocol": "0.1.7",
64
- "@leafrelay/daemon": "0.1.7"
62
+ "@leafrelay/core": "0.2.1",
63
+ "@leafrelay/daemon": "0.1.7",
64
+ "@leafrelay/protocol": "0.1.7"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "tsup",