@kvbox/server 0.6.7 → 0.6.8
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/kvbox-server.js +2 -2
- package/dist/kvbox-server.js.map +1 -1
- package/package.json +1 -1
package/dist/kvbox-server.js
CHANGED
|
@@ -5720,7 +5720,7 @@ async function socketOf(ref, p) {
|
|
|
5720
5720
|
var OUTPUT_BASE = "v0.16.0";
|
|
5721
5721
|
var outdated = (ref, err, needs = "v0.15.0") => {
|
|
5722
5722
|
if (isUnknownOp(err)) throw new BoxOutdatedError(`box ${shown(ref)} runs on an image from before ${needs === OUTPUT_BASE ? "reading a command's output" : "commands"} (it needs base ${needs} or later)`);
|
|
5723
|
-
if (isNoAgent(err)) throw new
|
|
5723
|
+
if (isNoAgent(err)) throw new AgentNotAnsweringError(`box ${shown(ref)} did not take the request: its kvbox-agent is not answering (${err.message}); ask again`);
|
|
5724
5724
|
throw err;
|
|
5725
5725
|
};
|
|
5726
5726
|
var AgentNotAnsweringError = class extends KvboxError {
|
|
@@ -6225,7 +6225,7 @@ function versionOf(srcFileUrl, injected) {
|
|
|
6225
6225
|
}
|
|
6226
6226
|
|
|
6227
6227
|
// src/version.ts
|
|
6228
|
-
var VERSION = versionOf(import.meta.url, true ? "0.6.
|
|
6228
|
+
var VERSION = versionOf(import.meta.url, true ? "0.6.8" : void 0);
|
|
6229
6229
|
|
|
6230
6230
|
// src/caller.ts
|
|
6231
6231
|
import { createHash as createHash3, timingSafeEqual } from "node:crypto";
|