@usebitl/cli 0.1.18 → 0.1.19
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/adapters/dist/core.mjs +1 -1
- package/dist/chunks/{chunk-23NYC33C.mjs → chunk-HCTJI7SG.mjs} +2 -2
- package/dist/chunks/{src-TY4KKGFY.mjs → src-G47EZDT6.mjs} +1 -1
- package/dist/cli.mjs +4 -4
- package/package.json +1 -1
- package/web/assets/index-CeZRN4fB.js +9 -0
- package/web/assets/index-D8RniJ63.css +2 -0
- package/web/index.html +2 -2
- package/web/sw.js +1 -1
- package/web/assets/index-DzXTukPu.js +0 -9
- package/web/assets/index-wQxeOFPu.css +0 -2
package/adapters/dist/core.mjs
CHANGED
|
@@ -20062,7 +20062,7 @@ function removeCloudLogin(home = bitlHome()) {
|
|
|
20062
20062
|
rmSync(cloudKeyPath(home), { force: true });
|
|
20063
20063
|
}
|
|
20064
20064
|
function clientVersionHeader() {
|
|
20065
|
-
const v = "0.1.
|
|
20065
|
+
const v = "0.1.19";
|
|
20066
20066
|
return v ? { "x-bitl-client": v } : {};
|
|
20067
20067
|
}
|
|
20068
20068
|
function resolveTarget(home = bitlHome()) {
|
|
@@ -20119,7 +20119,7 @@ async function latestVersion(home, now) {
|
|
|
20119
20119
|
return latest;
|
|
20120
20120
|
}
|
|
20121
20121
|
var updateCommand = (install = process.env.BITL_INSTALL) => install === "npx" ? "npx @usebitl/cli@latest start" : "npm i -g @usebitl/cli";
|
|
20122
|
-
async function checkCliUpdate(current = "0.1.
|
|
20122
|
+
async function checkCliUpdate(current = "0.1.19", opts = {}) {
|
|
20123
20123
|
if (!current || process.env.BITL_NO_UPDATE_CHECK === "1") return void 0;
|
|
20124
20124
|
const latest = await latestVersion(opts.home ?? bitlHome(), opts.now ?? Date.now());
|
|
20125
20125
|
if (!latest || compareVersions(latest, current) <= 0) return void 0;
|
package/dist/cli.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
unwrapMasterKey,
|
|
22
22
|
verifyPublicKey,
|
|
23
23
|
wrapMasterKey
|
|
24
|
-
} from "./chunks/chunk-
|
|
24
|
+
} from "./chunks/chunk-HCTJI7SG.mjs";
|
|
25
25
|
|
|
26
26
|
// ../src/index.ts
|
|
27
27
|
import { homedir as homedir2 } from "node:os";
|
|
@@ -453,7 +453,7 @@ async function logout() {
|
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
// ../src/update.ts
|
|
456
|
-
async function updateNotice(current = "0.1.
|
|
456
|
+
async function updateNotice(current = "0.1.19") {
|
|
457
457
|
const u = await checkCliUpdate(current);
|
|
458
458
|
return u && `${t("update.available", { ...u })}
|
|
459
459
|
${t("update.changelog")}`;
|
|
@@ -609,7 +609,7 @@ async function main(argv) {
|
|
|
609
609
|
if (String(typeof warning === "string" ? warning : warning.message).startsWith("SQLite is an experimental feature")) return;
|
|
610
610
|
emitWarning(warning, ...rest2);
|
|
611
611
|
});
|
|
612
|
-
const { startServer } = await import("./chunks/src-
|
|
612
|
+
const { startServer } = await import("./chunks/src-G47EZDT6.mjs");
|
|
613
613
|
await startServer();
|
|
614
614
|
console.log(t("start.pair", { url: localPairUrl() }));
|
|
615
615
|
return;
|
|
@@ -631,7 +631,7 @@ async function main(argv) {
|
|
|
631
631
|
case "--version":
|
|
632
632
|
case "-v":
|
|
633
633
|
case "version":
|
|
634
|
-
console.log("0.1.
|
|
634
|
+
console.log("0.1.19");
|
|
635
635
|
return;
|
|
636
636
|
case "remote":
|
|
637
637
|
case "away":
|
package/package.json
CHANGED