@stryke/capnp 0.12.105 → 0.12.106

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.
Files changed (73) hide show
  1. package/bin/capnpc.cjs +12 -12
  2. package/bin/capnpc.mjs +12 -12
  3. package/bin/capnpc.mjs.map +1 -1
  4. package/dist/{capnp-es.BHkXHvyK-B3-d8RNu.d.mts → capnp-es.BHkXHvyK-CDB5f6dc.d.mts} +1 -1
  5. package/dist/{capnp-es.BHkXHvyK-B3-d8RNu.d.mts.map → capnp-es.BHkXHvyK-CDB5f6dc.d.mts.map} +1 -1
  6. package/dist/{capnp-es.GpvEvMIK-CH8kq1KS.mjs → capnp-es.GpvEvMIK-DhNjvLVf.mjs} +1 -1
  7. package/dist/{capnp-es.GpvEvMIK-CH8kq1KS.mjs.map → capnp-es.GpvEvMIK-DhNjvLVf.mjs.map} +1 -1
  8. package/dist/chunk-DIR5cmvx.cjs +60 -0
  9. package/dist/chunk-DbXXkPD9.mjs +45 -0
  10. package/dist/{compile-BaKiSOxH.cjs → compile-B0IAAPCE.cjs} +15 -4
  11. package/dist/{compile-WsDhcWcc.mjs → compile-pokJNYrI.mjs} +9 -4
  12. package/dist/{compile-WsDhcWcc.mjs.map → compile-pokJNYrI.mjs.map} +1 -1
  13. package/dist/compile.cjs +1 -1
  14. package/dist/compile.d.mts +1 -1
  15. package/dist/compile.mjs +1 -1
  16. package/dist/compile.test.cjs +12 -0
  17. package/dist/compile.test.d.cts +1 -0
  18. package/dist/compile.test.d.mts +1 -0
  19. package/dist/compile.test.mjs +14 -0
  20. package/dist/compile.test.mjs.map +1 -0
  21. package/dist/{dist-VMGxvENY.cjs → dist-B4Hj5LOz.cjs} +1 -1
  22. package/dist/{dist-DQ7xmzRT.mjs → dist-DodkoxUk.mjs} +2 -2
  23. package/dist/{dist-DQ7xmzRT.mjs.map → dist-DodkoxUk.mjs.map} +1 -1
  24. package/dist/{helpers-CAjBYVF6.mjs → helpers-DGLnZDYv.mjs} +12 -40
  25. package/dist/{helpers-CAjBYVF6.mjs.map → helpers-DGLnZDYv.mjs.map} +1 -1
  26. package/dist/{helpers-BPRG71g-.cjs → helpers-DKdtJdpX.cjs} +23 -49
  27. package/dist/helpers.cjs +1 -1
  28. package/dist/helpers.d.mts +1 -1
  29. package/dist/helpers.mjs +1 -1
  30. package/dist/helpers.test.cjs +12 -0
  31. package/dist/helpers.test.d.cts +1 -0
  32. package/dist/helpers.test.d.mts +1 -0
  33. package/dist/helpers.test.mjs +14 -0
  34. package/dist/helpers.test.mjs.map +1 -0
  35. package/dist/{index-LYXu6eWz.d.mts → index-DLVKIbjL.d.mts} +2 -2
  36. package/dist/{index-LYXu6eWz.d.mts.map → index-DLVKIbjL.d.mts.map} +1 -1
  37. package/dist/index.cjs +76 -3
  38. package/dist/index.d.mts +3 -3
  39. package/dist/index.mjs +72 -4
  40. package/dist/index.mjs.map +1 -0
  41. package/dist/index.test.cjs +12 -0
  42. package/dist/index.test.d.cts +1 -0
  43. package/dist/index.test.d.mts +1 -0
  44. package/dist/index.test.mjs +14 -0
  45. package/dist/index.test.mjs.map +1 -0
  46. package/dist/magic-string.es-DNGukRib.cjs +1014 -0
  47. package/dist/magic-string.es-DgyxG5Z0.mjs +1014 -0
  48. package/dist/magic-string.es-DgyxG5Z0.mjs.map +1 -0
  49. package/dist/rpc-helpers.cjs +14 -4
  50. package/dist/rpc-helpers.d.mts +2 -2
  51. package/dist/rpc-helpers.mjs +8 -3
  52. package/dist/rpc-helpers.mjs.map +1 -1
  53. package/dist/rpc-helpers.test.cjs +12 -0
  54. package/dist/rpc-helpers.test.d.cts +1 -0
  55. package/dist/rpc-helpers.test.d.mts +1 -0
  56. package/dist/rpc-helpers.test.mjs +14 -0
  57. package/dist/rpc-helpers.test.mjs.map +1 -0
  58. package/dist/test.DNmyFkvJ-BEyBESND.mjs +13766 -0
  59. package/dist/test.DNmyFkvJ-BEyBESND.mjs.map +1 -0
  60. package/dist/test.DNmyFkvJ-NmRZglFv.cjs +13783 -0
  61. package/dist/{types-CVzMn-TI.d.mts → types-OZlfJNQI.d.mts} +2 -2
  62. package/dist/{types-CVzMn-TI.d.mts.map → types-OZlfJNQI.d.mts.map} +1 -1
  63. package/dist/types.cjs +9 -1
  64. package/dist/types.d.mts +1 -1
  65. package/dist/types.mjs +4 -1
  66. package/dist/types.mjs.map +1 -1
  67. package/dist/types.test.cjs +12 -0
  68. package/dist/types.test.d.cts +1 -0
  69. package/dist/types.test.d.mts +1 -0
  70. package/dist/types.test.mjs +14 -0
  71. package/dist/types.test.mjs.map +1 -0
  72. package/package.json +7 -7
  73. /package/dist/{capnp-es.GpvEvMIK-CZ5ZimCD.cjs → capnp-es.GpvEvMIK-ftrDCVpO.cjs} +0 -0
package/dist/compile.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_compile = require('./compile-BaKiSOxH.cjs');
2
+ const require_compile = require('./compile-B0IAAPCE.cjs');
3
3
 
4
4
  exports.capnpc = require_compile.capnpc;
5
5
  exports.compile = require_compile.compile;
@@ -1,4 +1,4 @@
1
- import { c as CodeGeneratorRequest_RequestedFile, d as Node, i as CapnpcResult, l as CodeGeneratorRequest_RequestedFile_Import, n as CapnpcOptions, r as CapnpcResolvedOptions, s as CodeGeneratorRequest, u as Field } from "./types-CVzMn-TI.mjs";
1
+ import { c as CodeGeneratorRequest_RequestedFile, d as Node, i as CapnpcResult, l as CodeGeneratorRequest_RequestedFile_Import, n as CapnpcOptions, r as CapnpcResolvedOptions, s as CodeGeneratorRequest, u as Field } from "./types-OZlfJNQI.mjs";
2
2
  import { Buffer } from "node:buffer";
3
3
 
4
4
  //#region src/compile.d.ts
package/dist/compile.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { n as compile, t as capnpc } from "./compile-WsDhcWcc.mjs";
1
+ import { n as compile, t as capnpc } from "./compile-pokJNYrI.mjs";
2
2
 
3
3
  export { capnpc, compile };
@@ -0,0 +1,12 @@
1
+ const require_test_DNmyFkvJ = require('./test.DNmyFkvJ-NmRZglFv.cjs');
2
+ const require_compile = require('./compile-B0IAAPCE.cjs');
3
+
4
+ //#region src/compile.test.ts
5
+ require_test_DNmyFkvJ.describe("compile.ts exports", () => {
6
+ require_test_DNmyFkvJ.it("loads module exports", () => {
7
+ require_test_DNmyFkvJ.globalExpect(require_compile.compile_exports).toBeDefined();
8
+ require_test_DNmyFkvJ.globalExpect(typeof require_compile.compile_exports).toBe("object");
9
+ });
10
+ });
11
+
12
+ //#endregion
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,14 @@
1
+ import { n as describe, r as it, t as globalExpect } from "./test.DNmyFkvJ-BEyBESND.mjs";
2
+ import { r as compile_exports } from "./compile-pokJNYrI.mjs";
3
+
4
+ //#region src/compile.test.ts
5
+ describe("compile.ts exports", () => {
6
+ it("loads module exports", () => {
7
+ globalExpect(compile_exports).toBeDefined();
8
+ globalExpect(typeof compile_exports).toBe("object");
9
+ });
10
+ });
11
+
12
+ //#endregion
13
+ export { };
14
+ //# sourceMappingURL=compile.test.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compile.test.mjs","names":["moduleExports"],"sources":["../../src/compile.test.ts"],"sourcesContent":["import { describe, expect, it } from \"vitest\";\nimport * as moduleExports from \"./compile.ts\";\n\ndescribe(\"compile.ts exports\", () => {\n it(\"loads module exports\", () => {\n expect(moduleExports).toBeDefined();\n expect(typeof moduleExports).toBe(\"object\");\n });\n});\n"],"mappings":";;;;AAGA,SAAS,4BAA4B;AACnC,IAAG,8BAA8B;AAC/B,eAAOA,gBAAc,CAAC,aAAa;AACnC,eAAO,OAAOA,gBAAc,CAAC,KAAK,SAAS;GAC3C;EACF"}
@@ -1,4 +1,4 @@
1
- const require_capnp_es_GpvEvMIK = require('./capnp-es.GpvEvMIK-CZ5ZimCD.cjs');
1
+ const require_capnp_es_GpvEvMIK = require('./capnp-es.GpvEvMIK-ftrDCVpO.cjs');
2
2
 
3
3
  //#region ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@6.0.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
4
4
  var Interface = class extends require_capnp_es_GpvEvMIK.Pointer {
@@ -1,4 +1,4 @@
1
- import { $t as initData, A as RPC_BAD_TARGET, At as getListElementSize, B as RPC_QUESTION_ID_REUSED, Bt as getStructPointerLength, C as MAX_DEPTH, Cn as setUint64, Ct as getInt8, D as Pointer, Dn as validate, Dt as getList, En as trackPointerAllocation, Et as getInterfacePointer, F as RPC_IMPORT_CLOSED, Ft as getPointerSection, G as RPC_UNKNOWN_EXPORT_ID, Gt as getTargetListLength, H as RPC_RETURN_FOR_UNKNOWN_QUESTION, Ht as getTargetCompositeListSize, I as RPC_METHOD_ERROR, It as getPointerType, J as Text, Jt as getText, K as RPC_ZERO_REF, Kt as getTargetPointerType, L as RPC_METHOD_NOT_IMPLEMENTED, Lt as getSize, M as RPC_ERROR, Mt as getOffsetWords, N as RPC_FINISH_UNKNOWN_ANSWER, Nt as getPointer, O as PointerAllocationResult, Ot as getListByteLength, P as RPC_FULFILL_ALREADY_CALLED, Pt as getPointerAs, Q as checkPointerBounds, Qt as getUint8, R as RPC_NO_MAIN_INTERFACE, Rt as getStruct, S as ListElementSize, Sn as setUint32, St as getInt64, T as ObjectSize, Tn as testWhich, Tt as getInterfaceClientOrNullAt, U as RPC_UNKNOWN_ANSWER_ID, Ut as getTargetCompositeListTag, V as RPC_QUEUE_CALL_CANCEL, Vt as getStructSize, W as RPC_UNKNOWN_CAP_DESCRIPTOR, Wt as getTargetListElementSize, X as adopt, Xt as getUint32, Y as add, Yt as getUint16, Z as checkDataBounds, Zt as getUint64, _ as ErrorAnswer, _n as setInterfacePointer, _t as getFarSegmentId, an as isNull, at as dump, b as INVARIANT_UNREACHABLE_CODE, bn as setText, bt as getInt16, cn as resize, ct as followFar, dn as setFloat32, dt as getAs, en as initList, et as copyFrom, fn as setFloat64, ft as getBit, g as Data, gn as setInt8, gt as getDataSection, h as AnyStruct, hn as setInt64, ht as getData, i as getBitMask, in as isDoubleFar, it as disown, j as RPC_CALL_QUEUE_FULL, jt as getListLength, k as PointerType, kt as getListElementByteLength, ln as setBit, lt as followFars, m as getUint8Mask, mn as setInt32, mt as getContent, nn as initStruct, nt as copyFromList, ot as erase, pn as setInt16, pt as getCapabilityId, q as Struct, qt as getTargetStructSize, r as CompositeList, rn as initStructAt, rt as copyFromStruct, sn as relocateTo, st as erasePointer, t as Message$1, tn as initPointer, tt as copyFromInterface, un as setFarPointer, ut as format, v as ErrorClient, vn as setListPointer, vt as getFloat32, w as NOT_IMPLEMENTED, wn as setUint8, wt as getInterfaceClientOrNull, x as List, xn as setUint16, xt as getInt32, y as FixedAnswer, yn as setStructPointer, yt as getFloat64, z as RPC_NULL_CLIENT, zt as getStructDataWords } from "./capnp-es.GpvEvMIK-CH8kq1KS.mjs";
1
+ import { $t as initData, A as RPC_BAD_TARGET, At as getListElementSize, B as RPC_QUESTION_ID_REUSED, Bt as getStructPointerLength, C as MAX_DEPTH, Cn as setUint64, Ct as getInt8, D as Pointer, Dn as validate, Dt as getList, En as trackPointerAllocation, Et as getInterfacePointer, F as RPC_IMPORT_CLOSED, Ft as getPointerSection, G as RPC_UNKNOWN_EXPORT_ID, Gt as getTargetListLength, H as RPC_RETURN_FOR_UNKNOWN_QUESTION, Ht as getTargetCompositeListSize, I as RPC_METHOD_ERROR, It as getPointerType, J as Text, Jt as getText, K as RPC_ZERO_REF, Kt as getTargetPointerType, L as RPC_METHOD_NOT_IMPLEMENTED, Lt as getSize, M as RPC_ERROR, Mt as getOffsetWords, N as RPC_FINISH_UNKNOWN_ANSWER, Nt as getPointer, O as PointerAllocationResult, Ot as getListByteLength, P as RPC_FULFILL_ALREADY_CALLED, Pt as getPointerAs, Q as checkPointerBounds, Qt as getUint8, R as RPC_NO_MAIN_INTERFACE, Rt as getStruct, S as ListElementSize, Sn as setUint32, St as getInt64, T as ObjectSize, Tn as testWhich, Tt as getInterfaceClientOrNullAt, U as RPC_UNKNOWN_ANSWER_ID, Ut as getTargetCompositeListTag, V as RPC_QUEUE_CALL_CANCEL, Vt as getStructSize, W as RPC_UNKNOWN_CAP_DESCRIPTOR, Wt as getTargetListElementSize, X as adopt, Xt as getUint32, Y as add, Yt as getUint16, Z as checkDataBounds, Zt as getUint64, _ as ErrorAnswer, _n as setInterfacePointer, _t as getFarSegmentId, an as isNull, at as dump, b as INVARIANT_UNREACHABLE_CODE, bn as setText, bt as getInt16, cn as resize, ct as followFar, dn as setFloat32, dt as getAs, en as initList, et as copyFrom, fn as setFloat64, ft as getBit, g as Data, gn as setInt8, gt as getDataSection, h as AnyStruct, hn as setInt64, ht as getData, i as getBitMask, in as isDoubleFar, it as disown, j as RPC_CALL_QUEUE_FULL, jt as getListLength, k as PointerType, kt as getListElementByteLength, ln as setBit, lt as followFars, m as getUint8Mask, mn as setInt32, mt as getContent, nn as initStruct, nt as copyFromList, ot as erase, pn as setInt16, pt as getCapabilityId, q as Struct, qt as getTargetStructSize, r as CompositeList, rn as initStructAt, rt as copyFromStruct, sn as relocateTo, st as erasePointer, t as Message$1, tn as initPointer, tt as copyFromInterface, un as setFarPointer, ut as format, v as ErrorClient, vn as setListPointer, vt as getFloat32, w as NOT_IMPLEMENTED, wn as setUint8, wt as getInterfaceClientOrNull, x as List, xn as setUint16, xt as getInt32, y as FixedAnswer, yn as setStructPointer, yt as getFloat64, z as RPC_NULL_CLIENT, zt as getStructDataWords } from "./capnp-es.GpvEvMIK-DhNjvLVf.mjs";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@6.0.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
4
4
  var Interface = class extends Pointer {
@@ -4059,4 +4059,4 @@ var DeferredTransport = class {
4059
4059
 
4060
4060
  //#endregion
4061
4061
  export { copyCall as A, isSameClient as C, Pipeline as D, Interface as E, isFuncCall as M, placeParams as N, Registry as O, clientFromResolution as S, Deferred as T, Uint64List as _, DeferredTransport as a, VoidList as b, Int16List as c, Int8List as d, InterfaceList as f, Uint32List as g, Uint16List as h, DataList as i, isDataCall as j, Server as k, Int32List as l, TextList as m, BoolList as n, Float32List as o, PointerList as p, Conn as r, Float64List as s, AnyPointerList as t, Int64List as u, Uint8List as v, utils as w, answerPipelineClient as x, Void as y };
4062
- //# sourceMappingURL=dist-DQ7xmzRT.mjs.map
4062
+ //# sourceMappingURL=dist-DodkoxUk.mjs.map