@ai-ecoverse/slicc-kernel 1.178.0 → 1.178.2

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.
@@ -226,6 +226,9 @@ function kindsOf(hook) {
226
226
  );
227
227
  }
228
228
 
229
+ // src/kernel/net/transport.ts
230
+ var FORBIDDEN_HEADER = "forbidden-header";
231
+
229
232
  // src/kernel/net/ws-queue.ts
230
233
  var INBOUND_LIMIT = 16 * 1024 * 1024;
231
234
  var MESSAGE_LIMIT = 64 * 1024 * 1024;
@@ -303,7 +306,7 @@ var TransportError = class extends Error {
303
306
  super(message);
304
307
  this.status = status;
305
308
  this.code = code;
306
- this.detail = detail === "transport" ? detail : void 0;
309
+ this.detail = detail === "transport" || detail === FORBIDDEN_HEADER ? detail : void 0;
307
310
  }
308
311
  };
309
312
  function unfollowed(redirect) {