@ai-ecoverse/slicc-kernel 1.169.0 → 1.170.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/README.md +2 -2
- package/dist/driver-worker.js +4 -2
- package/dist/driver-worker.js.map +2 -2
- package/dist/index.js +9 -5
- package/dist/index.js.map +2 -2
- package/dist/kernel-worker.js +12 -7
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-driver-worker.js +4 -2
- package/dist/node-driver-worker.js.map +2 -2
- package/dist/node-process-worker.cjs +6 -4
- package/dist/node-process-worker.cjs.map +2 -2
- package/dist/node-process-worker.js +6 -4
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +14 -8
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +6 -4
- package/dist/process-worker.js.map +2 -2
- package/dist/types/kernel/net/remote-transport.d.ts +3 -1
- package/dist/types/process/js/js-kernel.d.ts +1 -0
- package/dist/types/realm/sync-fs-wire.d.ts +1 -0
- package/package.json +4 -4
|
@@ -297,10 +297,12 @@ var MessageQueue = class {
|
|
|
297
297
|
var TransportError = class extends Error {
|
|
298
298
|
status;
|
|
299
299
|
code;
|
|
300
|
-
|
|
300
|
+
detail;
|
|
301
|
+
constructor(message, status, code, detail) {
|
|
301
302
|
super(message);
|
|
302
303
|
this.status = status;
|
|
303
304
|
this.code = code;
|
|
305
|
+
this.detail = detail === "transport" ? detail : void 0;
|
|
304
306
|
}
|
|
305
307
|
};
|
|
306
308
|
var RemoteTransport = class {
|
|
@@ -326,7 +328,7 @@ var RemoteTransport = class {
|
|
|
326
328
|
if (!waiter) return;
|
|
327
329
|
this.waiting.delete(reply.nid);
|
|
328
330
|
if (reply.net === "error") {
|
|
329
|
-
waiter.reject(new TransportError(reply.message, reply.status, reply.code));
|
|
331
|
+
waiter.reject(new TransportError(reply.message, reply.status, reply.code, reply.detail));
|
|
330
332
|
} else waiter.resolve(reply);
|
|
331
333
|
}
|
|
332
334
|
toSocket(reply, socket) {
|