@stryke/capnp 0.8.2 → 0.9.0

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/bin/capnpc.cjs CHANGED
@@ -871,10 +871,10 @@ var import_commander = require("commander");
871
871
  var import_promises5 = require("fs/promises");
872
872
  var import_typescript3 = __toESM(require("typescript"), 1);
873
873
 
874
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
874
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
875
875
  var import_typescript = __toESM(require("typescript"), 1);
876
876
 
877
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
877
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
878
878
  var ListElementSize = /* @__PURE__ */ ((ListElementSize2) => {
879
879
  ListElementSize2[ListElementSize2["VOID"] = 0] = "VOID";
880
880
  ListElementSize2[ListElementSize2["BIT"] = 1] = "BIT";
@@ -2867,7 +2867,7 @@ function checkDataBounds(byteOffset, byteLength, s) {
2867
2867
  }
2868
2868
  __name(checkDataBounds, "checkDataBounds");
2869
2869
 
2870
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
2870
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
2871
2871
  function CompositeList(CompositeClass) {
2872
2872
  return class extends List {
2873
2873
  static _capnp = {
@@ -2938,7 +2938,7 @@ var getUint8Mask = _makePrimitiveMaskFn(
2938
2938
  DataView.prototype.setUint8
2939
2939
  );
2940
2940
 
2941
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/capnp/schema.mjs
2941
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/capnp/schema.mjs
2942
2942
  var _capnpFileId = BigInt("0xa93fc509624c72d9");
2943
2943
  var Node_Parameter = class extends Struct {
2944
2944
  static {
@@ -5598,7 +5598,7 @@ CodeGeneratorRequest._Nodes = CompositeList(Node);
5598
5598
  CodeGeneratorRequest._SourceInfo = CompositeList(Node_SourceInfo);
5599
5599
  CodeGeneratorRequest._RequestedFiles = CompositeList(CodeGeneratorRequest_RequestedFile);
5600
5600
 
5601
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
5601
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
5602
5602
  var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
5603
5603
  ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
5604
5604
  ArenaKind2[ArenaKind2["MULTI_SEGMENT"] = 1] = "MULTI_SEGMENT";
@@ -6595,7 +6595,7 @@ function copy(m) {
6595
6595
  }
6596
6596
  __name(copy, "copy");
6597
6597
 
6598
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
6598
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
6599
6599
  var GEN_EXPLICIT_DEFAULT_NON_PRIMITIVE = "CAPNP-ES000 Don't know how to generate a %s field with an explicit default value.";
6600
6600
  var GEN_FIELD_NON_INLINE_STRUCT_LIST = "CAPNP-ES001 Don't know how to generate non-inline struct lists.";
6601
6601
  var GEN_NODE_LOOKUP_FAIL = "CAPNP-ES002 Failed to look up node id %s.";
@@ -7902,7 +7902,7 @@ function tsCompile(files, dts, js, tsconfig) {
7902
7902
  }
7903
7903
  __name(tsCompile, "tsCompile");
7904
7904
 
7905
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
7905
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
7906
7906
  var import_typescript2 = require("typescript");
7907
7907
 
7908
7908
  // src/compile.ts
package/bin/capnpc.js CHANGED
@@ -840,10 +840,10 @@ import { Command, Option } from "commander";
840
840
  import { writeFile as writeFile2 } from "node:fs/promises";
841
841
  import ts2 from "typescript";
842
842
 
843
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
843
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
844
844
  import ts from "typescript";
845
845
 
846
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
846
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
847
847
  var ListElementSize = /* @__PURE__ */ ((ListElementSize2) => {
848
848
  ListElementSize2[ListElementSize2["VOID"] = 0] = "VOID";
849
849
  ListElementSize2[ListElementSize2["BIT"] = 1] = "BIT";
@@ -2836,7 +2836,7 @@ function checkDataBounds(byteOffset, byteLength, s) {
2836
2836
  }
2837
2837
  __name(checkDataBounds, "checkDataBounds");
2838
2838
 
2839
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
2839
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
2840
2840
  function CompositeList(CompositeClass) {
2841
2841
  return class extends List {
2842
2842
  static _capnp = {
@@ -2907,7 +2907,7 @@ var getUint8Mask = _makePrimitiveMaskFn(
2907
2907
  DataView.prototype.setUint8
2908
2908
  );
2909
2909
 
2910
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/capnp/schema.mjs
2910
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/capnp/schema.mjs
2911
2911
  var _capnpFileId = BigInt("0xa93fc509624c72d9");
2912
2912
  var Node_Parameter = class extends Struct {
2913
2913
  static {
@@ -5567,7 +5567,7 @@ CodeGeneratorRequest._Nodes = CompositeList(Node);
5567
5567
  CodeGeneratorRequest._SourceInfo = CompositeList(Node_SourceInfo);
5568
5568
  CodeGeneratorRequest._RequestedFiles = CompositeList(CodeGeneratorRequest_RequestedFile);
5569
5569
 
5570
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
5570
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
5571
5571
  var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
5572
5572
  ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
5573
5573
  ArenaKind2[ArenaKind2["MULTI_SEGMENT"] = 1] = "MULTI_SEGMENT";
@@ -6564,7 +6564,7 @@ function copy(m) {
6564
6564
  }
6565
6565
  __name(copy, "copy");
6566
6566
 
6567
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
6567
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
6568
6568
  var GEN_EXPLICIT_DEFAULT_NON_PRIMITIVE = "CAPNP-ES000 Don't know how to generate a %s field with an explicit default value.";
6569
6569
  var GEN_FIELD_NON_INLINE_STRUCT_LIST = "CAPNP-ES001 Don't know how to generate non-inline struct lists.";
6570
6570
  var GEN_NODE_LOOKUP_FAIL = "CAPNP-ES002 Failed to look up node id %s.";
@@ -7871,7 +7871,7 @@ function tsCompile(files, dts, js, tsconfig) {
7871
7871
  }
7872
7872
  __name(tsCompile, "tsCompile");
7873
7873
 
7874
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
7874
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
7875
7875
  import "typescript";
7876
7876
 
7877
7877
  // src/compile.ts
@@ -2,7 +2,7 @@ import {
2
2
  __name
3
3
  } from "./chunk-SHUYVCID.js";
4
4
 
5
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
5
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
6
6
  var ListElementSize = /* @__PURE__ */ ((ListElementSize2) => {
7
7
  ListElementSize2[ListElementSize2["VOID"] = 0] = "VOID";
8
8
  ListElementSize2[ListElementSize2["BIT"] = 1] = "BIT";
@@ -2089,7 +2089,7 @@ function checkDataBounds(byteOffset, byteLength, s) {
2089
2089
  }
2090
2090
  __name(checkDataBounds, "checkDataBounds");
2091
2091
 
2092
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
2092
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
2093
2093
  var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
2094
2094
  ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
2095
2095
  ArenaKind2[ArenaKind2["MULTI_SEGMENT"] = 1] = "MULTI_SEGMENT";
@@ -3086,7 +3086,7 @@ function copy(m) {
3086
3086
  }
3087
3087
  __name(copy, "copy");
3088
3088
 
3089
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
3089
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
3090
3090
  function CompositeList(CompositeClass) {
3091
3091
  return class extends List {
3092
3092
  static _capnp = {
@@ -3166,7 +3166,7 @@ function getBitMask(value, bitOffset) {
3166
3166
  }
3167
3167
  __name(getBitMask, "getBitMask");
3168
3168
 
3169
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
3169
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
3170
3170
  var Interface = class extends Pointer {
3171
3171
  static {
3172
3172
  __name(this, "Interface");
@@ -3709,7 +3709,7 @@ var Server = class {
3709
3709
  }
3710
3710
  };
3711
3711
 
3712
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/capnp/rpc.mjs
3712
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/capnp/rpc.mjs
3713
3713
  var _capnpFileId = BigInt("0xb312981b2552a250");
3714
3714
  var Message_Which = {
3715
3715
  /**
@@ -6229,7 +6229,7 @@ var Exception = class extends Struct {
6229
6229
  Payload._CapTable = CompositeList(CapDescriptor);
6230
6230
  PromisedAnswer._Transform = CompositeList(PromisedAnswer_Op);
6231
6231
 
6232
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
6232
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
6233
6233
  var Void = class extends Struct {
6234
6234
  static {
6235
6235
  __name(this, "Void");
@@ -7779,7 +7779,9 @@ var CapnpRPC = class {
7779
7779
  * This class is used to manage connections and accept incoming connections using the {@link MessageChannel} API.
7780
7780
  */
7781
7781
  connect(id = 0) {
7782
- if (this.connections[id] !== void 0) return this.connections[id];
7782
+ if (this.connections[id] !== void 0) {
7783
+ return this.connections[id];
7784
+ }
7783
7785
  const ch = new MessageChannel();
7784
7786
  const conn = new Conn(new MessageChannelTransport(ch.port1));
7785
7787
  const accept = this.acceptQueue.pop();
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
4
4
 
5
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
5
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
6
6
  var ListElementSize = /* @__PURE__ */ ((ListElementSize2) => {
7
7
  ListElementSize2[ListElementSize2["VOID"] = 0] = "VOID";
8
8
  ListElementSize2[ListElementSize2["BIT"] = 1] = "BIT";
@@ -2089,7 +2089,7 @@ function checkDataBounds(byteOffset, byteLength, s) {
2089
2089
  }
2090
2090
  _chunkUSNT2KNTcjs.__name.call(void 0, checkDataBounds, "checkDataBounds");
2091
2091
 
2092
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
2092
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
2093
2093
  var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
2094
2094
  ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
2095
2095
  ArenaKind2[ArenaKind2["MULTI_SEGMENT"] = 1] = "MULTI_SEGMENT";
@@ -3086,7 +3086,7 @@ function copy(m) {
3086
3086
  }
3087
3087
  _chunkUSNT2KNTcjs.__name.call(void 0, copy, "copy");
3088
3088
 
3089
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
3089
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
3090
3090
  function CompositeList(CompositeClass) {
3091
3091
  return (_class10 = class extends List {
3092
3092
  static __initStatic23() {this._capnp = {
@@ -3166,7 +3166,7 @@ function getBitMask(value, bitOffset) {
3166
3166
  }
3167
3167
  _chunkUSNT2KNTcjs.__name.call(void 0, getBitMask, "getBitMask");
3168
3168
 
3169
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
3169
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
3170
3170
  var Interface = (_class11 = class extends Pointer {
3171
3171
  static {
3172
3172
  _chunkUSNT2KNTcjs.__name.call(void 0, this, "Interface");
@@ -3709,7 +3709,7 @@ var Server = class {
3709
3709
  }
3710
3710
  };
3711
3711
 
3712
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/capnp/rpc.mjs
3712
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/capnp/rpc.mjs
3713
3713
  var _capnpFileId = BigInt("0xb312981b2552a250");
3714
3714
  var Message_Which = {
3715
3715
  /**
@@ -6229,7 +6229,7 @@ var Exception = (_class34 = class extends Struct {
6229
6229
  Payload._CapTable = CompositeList(CapDescriptor);
6230
6230
  PromisedAnswer._Transform = CompositeList(PromisedAnswer_Op);
6231
6231
 
6232
- // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
6232
+ // ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=54f3f30cc103ee00da951a56a326a2e2b656731d51269adc413474efb33259a4_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
6233
6233
  var Void = (_class35 = class extends Struct {
6234
6234
  static {
6235
6235
  _chunkUSNT2KNTcjs.__name.call(void 0, this, "Void");
@@ -7779,7 +7779,9 @@ var CapnpRPC = (_class55 = class {constructor() { _class55.prototype.__init30.ca
7779
7779
  * This class is used to manage connections and accept incoming connections using the {@link MessageChannel} API.
7780
7780
  */
7781
7781
  connect(id = 0) {
7782
- if (this.connections[id] !== void 0) return this.connections[id];
7782
+ if (this.connections[id] !== void 0) {
7783
+ return this.connections[id];
7784
+ }
7783
7785
  const ch = new (0, _worker_threads.MessageChannel)();
7784
7786
  const conn = new Conn(new MessageChannelTransport(ch.port1));
7785
7787
  const accept = this.acceptQueue.pop();
package/dist/index.cjs CHANGED
@@ -59,7 +59,7 @@
59
59
 
60
60
 
61
61
 
62
- var _chunkR5CS6CYKcjs = require('./chunk-R5CS6CYK.cjs');
62
+ var _chunkXQV7WBWMcjs = require('./chunk-XQV7WBWM.cjs');
63
63
 
64
64
 
65
65
  var _chunkR2JXWA7Qcjs = require('./chunk-R2JXWA7Q.cjs');
@@ -126,4 +126,4 @@ require('./chunk-USNT2KNT.cjs');
126
126
 
127
127
 
128
128
 
129
- exports.AnyPointerList = _chunkR5CS6CYKcjs.AnyPointerList; exports.BoolList = _chunkR5CS6CYKcjs.BoolList; exports.CapnpRPC = _chunkR5CS6CYKcjs.CapnpRPC; exports.CodeGeneratorContext = _chunkR2JXWA7Qcjs.CodeGeneratorContext; exports.CompositeList = _chunkR5CS6CYKcjs.CompositeList; exports.Conn = _chunkR5CS6CYKcjs.Conn; exports.Data = _chunkR5CS6CYKcjs.Data; exports.DataList = _chunkR5CS6CYKcjs.DataList; exports.Deferred = _chunkR5CS6CYKcjs.Deferred; exports.DeferredTransport = _chunkR5CS6CYKcjs.DeferredTransport; exports.ErrorClient = _chunkR5CS6CYKcjs.ErrorClient; exports.Float32List = _chunkR5CS6CYKcjs.Float32List; exports.Float64List = _chunkR5CS6CYKcjs.Float64List; exports.Int16List = _chunkR5CS6CYKcjs.Int16List; exports.Int32List = _chunkR5CS6CYKcjs.Int32List; exports.Int64List = _chunkR5CS6CYKcjs.Int64List; exports.Int8List = _chunkR5CS6CYKcjs.Int8List; exports.Interface = _chunkR5CS6CYKcjs.Interface; exports.InterfaceList = _chunkR5CS6CYKcjs.InterfaceList; exports.List = _chunkR5CS6CYKcjs.List; exports.ListElementSize = _chunkR5CS6CYKcjs.ListElementSize; exports.Message = _chunkR5CS6CYKcjs.Message; exports.MessageChannelTransport = _chunkR5CS6CYKcjs.MessageChannelTransport; exports.ObjectSize = _chunkR5CS6CYKcjs.ObjectSize; exports.Orphan = _chunkR5CS6CYKcjs.Orphan; exports.Pipeline = _chunkR5CS6CYKcjs.Pipeline; exports.Pointer = _chunkR5CS6CYKcjs.Pointer; exports.PointerList = _chunkR5CS6CYKcjs.PointerList; exports.PointerType = _chunkR5CS6CYKcjs.PointerType; exports.Registry = _chunkR5CS6CYKcjs.Registry; exports.Server = _chunkR5CS6CYKcjs.Server; exports.Struct = _chunkR5CS6CYKcjs.Struct; exports.Text = _chunkR5CS6CYKcjs.Text; exports.TextList = _chunkR5CS6CYKcjs.TextList; exports.Uint16List = _chunkR5CS6CYKcjs.Uint16List; exports.Uint32List = _chunkR5CS6CYKcjs.Uint32List; exports.Uint64List = _chunkR5CS6CYKcjs.Uint64List; exports.Uint8List = _chunkR5CS6CYKcjs.Uint8List; exports.Void = _chunkR5CS6CYKcjs.Void; exports.VoidList = _chunkR5CS6CYKcjs.VoidList; exports.answerPipelineClient = _chunkR5CS6CYKcjs.answerPipelineClient; exports.clientFromResolution = _chunkR5CS6CYKcjs.clientFromResolution; exports.clientOrNull = _chunkR5CS6CYKcjs.clientOrNull; exports.copyCall = _chunkR5CS6CYKcjs.copyCall; exports.getBitMask = _chunkR5CS6CYKcjs.getBitMask; exports.getFloat32Mask = _chunkR5CS6CYKcjs.getFloat32Mask; exports.getFloat64Mask = _chunkR5CS6CYKcjs.getFloat64Mask; exports.getInt16Mask = _chunkR5CS6CYKcjs.getInt16Mask; exports.getInt32Mask = _chunkR5CS6CYKcjs.getInt32Mask; exports.getInt64Mask = _chunkR5CS6CYKcjs.getInt64Mask; exports.getInt8Mask = _chunkR5CS6CYKcjs.getInt8Mask; exports.getUint16Mask = _chunkR5CS6CYKcjs.getUint16Mask; exports.getUint32Mask = _chunkR5CS6CYKcjs.getUint32Mask; exports.getUint64Mask = _chunkR5CS6CYKcjs.getUint64Mask; exports.getUint8Mask = _chunkR5CS6CYKcjs.getUint8Mask; exports.isDataCall = _chunkR5CS6CYKcjs.isDataCall; exports.isFuncCall = _chunkR5CS6CYKcjs.isFuncCall; exports.isSameClient = _chunkR5CS6CYKcjs.isSameClient; exports.placeParams = _chunkR5CS6CYKcjs.placeParams; exports.readRawPointer = _chunkR5CS6CYKcjs.readRawPointer; exports.utils = _chunkR5CS6CYKcjs.utils;
129
+ exports.AnyPointerList = _chunkXQV7WBWMcjs.AnyPointerList; exports.BoolList = _chunkXQV7WBWMcjs.BoolList; exports.CapnpRPC = _chunkXQV7WBWMcjs.CapnpRPC; exports.CodeGeneratorContext = _chunkR2JXWA7Qcjs.CodeGeneratorContext; exports.CompositeList = _chunkXQV7WBWMcjs.CompositeList; exports.Conn = _chunkXQV7WBWMcjs.Conn; exports.Data = _chunkXQV7WBWMcjs.Data; exports.DataList = _chunkXQV7WBWMcjs.DataList; exports.Deferred = _chunkXQV7WBWMcjs.Deferred; exports.DeferredTransport = _chunkXQV7WBWMcjs.DeferredTransport; exports.ErrorClient = _chunkXQV7WBWMcjs.ErrorClient; exports.Float32List = _chunkXQV7WBWMcjs.Float32List; exports.Float64List = _chunkXQV7WBWMcjs.Float64List; exports.Int16List = _chunkXQV7WBWMcjs.Int16List; exports.Int32List = _chunkXQV7WBWMcjs.Int32List; exports.Int64List = _chunkXQV7WBWMcjs.Int64List; exports.Int8List = _chunkXQV7WBWMcjs.Int8List; exports.Interface = _chunkXQV7WBWMcjs.Interface; exports.InterfaceList = _chunkXQV7WBWMcjs.InterfaceList; exports.List = _chunkXQV7WBWMcjs.List; exports.ListElementSize = _chunkXQV7WBWMcjs.ListElementSize; exports.Message = _chunkXQV7WBWMcjs.Message; exports.MessageChannelTransport = _chunkXQV7WBWMcjs.MessageChannelTransport; exports.ObjectSize = _chunkXQV7WBWMcjs.ObjectSize; exports.Orphan = _chunkXQV7WBWMcjs.Orphan; exports.Pipeline = _chunkXQV7WBWMcjs.Pipeline; exports.Pointer = _chunkXQV7WBWMcjs.Pointer; exports.PointerList = _chunkXQV7WBWMcjs.PointerList; exports.PointerType = _chunkXQV7WBWMcjs.PointerType; exports.Registry = _chunkXQV7WBWMcjs.Registry; exports.Server = _chunkXQV7WBWMcjs.Server; exports.Struct = _chunkXQV7WBWMcjs.Struct; exports.Text = _chunkXQV7WBWMcjs.Text; exports.TextList = _chunkXQV7WBWMcjs.TextList; exports.Uint16List = _chunkXQV7WBWMcjs.Uint16List; exports.Uint32List = _chunkXQV7WBWMcjs.Uint32List; exports.Uint64List = _chunkXQV7WBWMcjs.Uint64List; exports.Uint8List = _chunkXQV7WBWMcjs.Uint8List; exports.Void = _chunkXQV7WBWMcjs.Void; exports.VoidList = _chunkXQV7WBWMcjs.VoidList; exports.answerPipelineClient = _chunkXQV7WBWMcjs.answerPipelineClient; exports.clientFromResolution = _chunkXQV7WBWMcjs.clientFromResolution; exports.clientOrNull = _chunkXQV7WBWMcjs.clientOrNull; exports.copyCall = _chunkXQV7WBWMcjs.copyCall; exports.getBitMask = _chunkXQV7WBWMcjs.getBitMask; exports.getFloat32Mask = _chunkXQV7WBWMcjs.getFloat32Mask; exports.getFloat64Mask = _chunkXQV7WBWMcjs.getFloat64Mask; exports.getInt16Mask = _chunkXQV7WBWMcjs.getInt16Mask; exports.getInt32Mask = _chunkXQV7WBWMcjs.getInt32Mask; exports.getInt64Mask = _chunkXQV7WBWMcjs.getInt64Mask; exports.getInt8Mask = _chunkXQV7WBWMcjs.getInt8Mask; exports.getUint16Mask = _chunkXQV7WBWMcjs.getUint16Mask; exports.getUint32Mask = _chunkXQV7WBWMcjs.getUint32Mask; exports.getUint64Mask = _chunkXQV7WBWMcjs.getUint64Mask; exports.getUint8Mask = _chunkXQV7WBWMcjs.getUint8Mask; exports.isDataCall = _chunkXQV7WBWMcjs.isDataCall; exports.isFuncCall = _chunkXQV7WBWMcjs.isFuncCall; exports.isSameClient = _chunkXQV7WBWMcjs.isSameClient; exports.placeParams = _chunkXQV7WBWMcjs.placeParams; exports.readRawPointer = _chunkXQV7WBWMcjs.readRawPointer; exports.utils = _chunkXQV7WBWMcjs.utils;
package/dist/index.js CHANGED
@@ -59,7 +59,7 @@ import {
59
59
  placeParams,
60
60
  readRawPointer,
61
61
  utils
62
- } from "./chunk-FEGBNCWN.js";
62
+ } from "./chunk-SYR4C2FT.js";
63
63
  import {
64
64
  CodeGeneratorContext
65
65
  } from "./chunk-CCU32X36.js";
package/dist/rpc.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkR5CS6CYKcjs = require('./chunk-R5CS6CYK.cjs');
4
+ var _chunkXQV7WBWMcjs = require('./chunk-XQV7WBWM.cjs');
5
5
  require('./chunk-USNT2KNT.cjs');
6
6
 
7
7
 
8
8
 
9
- exports.CapnpRPC = _chunkR5CS6CYKcjs.CapnpRPC; exports.MessageChannelTransport = _chunkR5CS6CYKcjs.MessageChannelTransport;
9
+ exports.CapnpRPC = _chunkXQV7WBWMcjs.CapnpRPC; exports.MessageChannelTransport = _chunkXQV7WBWMcjs.MessageChannelTransport;
package/dist/rpc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CapnpRPC,
3
3
  MessageChannelTransport
4
- } from "./chunk-FEGBNCWN.js";
4
+ } from "./chunk-SYR4C2FT.js";
5
5
  import "./chunk-SHUYVCID.js";
6
6
  export {
7
7
  CapnpRPC,