@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.
- package/bin/capnpc.cjs +12 -12
- package/bin/capnpc.mjs +12 -12
- package/bin/capnpc.mjs.map +1 -1
- package/dist/{capnp-es.BHkXHvyK-B3-d8RNu.d.mts → capnp-es.BHkXHvyK-CDB5f6dc.d.mts} +1 -1
- package/dist/{capnp-es.BHkXHvyK-B3-d8RNu.d.mts.map → capnp-es.BHkXHvyK-CDB5f6dc.d.mts.map} +1 -1
- package/dist/{capnp-es.GpvEvMIK-CH8kq1KS.mjs → capnp-es.GpvEvMIK-DhNjvLVf.mjs} +1 -1
- package/dist/{capnp-es.GpvEvMIK-CH8kq1KS.mjs.map → capnp-es.GpvEvMIK-DhNjvLVf.mjs.map} +1 -1
- package/dist/chunk-DIR5cmvx.cjs +60 -0
- package/dist/chunk-DbXXkPD9.mjs +45 -0
- package/dist/{compile-BaKiSOxH.cjs → compile-B0IAAPCE.cjs} +15 -4
- package/dist/{compile-WsDhcWcc.mjs → compile-pokJNYrI.mjs} +9 -4
- package/dist/{compile-WsDhcWcc.mjs.map → compile-pokJNYrI.mjs.map} +1 -1
- package/dist/compile.cjs +1 -1
- package/dist/compile.d.mts +1 -1
- package/dist/compile.mjs +1 -1
- package/dist/compile.test.cjs +12 -0
- package/dist/compile.test.d.cts +1 -0
- package/dist/compile.test.d.mts +1 -0
- package/dist/compile.test.mjs +14 -0
- package/dist/compile.test.mjs.map +1 -0
- package/dist/{dist-VMGxvENY.cjs → dist-B4Hj5LOz.cjs} +1 -1
- package/dist/{dist-DQ7xmzRT.mjs → dist-DodkoxUk.mjs} +2 -2
- package/dist/{dist-DQ7xmzRT.mjs.map → dist-DodkoxUk.mjs.map} +1 -1
- package/dist/{helpers-CAjBYVF6.mjs → helpers-DGLnZDYv.mjs} +12 -40
- package/dist/{helpers-CAjBYVF6.mjs.map → helpers-DGLnZDYv.mjs.map} +1 -1
- package/dist/{helpers-BPRG71g-.cjs → helpers-DKdtJdpX.cjs} +23 -49
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/helpers.mjs +1 -1
- package/dist/helpers.test.cjs +12 -0
- package/dist/helpers.test.d.cts +1 -0
- package/dist/helpers.test.d.mts +1 -0
- package/dist/helpers.test.mjs +14 -0
- package/dist/helpers.test.mjs.map +1 -0
- package/dist/{index-LYXu6eWz.d.mts → index-DLVKIbjL.d.mts} +2 -2
- package/dist/{index-LYXu6eWz.d.mts.map → index-DLVKIbjL.d.mts.map} +1 -1
- package/dist/index.cjs +76 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +72 -4
- package/dist/index.mjs.map +1 -0
- package/dist/index.test.cjs +12 -0
- package/dist/index.test.d.cts +1 -0
- package/dist/index.test.d.mts +1 -0
- package/dist/index.test.mjs +14 -0
- package/dist/index.test.mjs.map +1 -0
- package/dist/magic-string.es-DNGukRib.cjs +1014 -0
- package/dist/magic-string.es-DgyxG5Z0.mjs +1014 -0
- package/dist/magic-string.es-DgyxG5Z0.mjs.map +1 -0
- package/dist/rpc-helpers.cjs +14 -4
- package/dist/rpc-helpers.d.mts +2 -2
- package/dist/rpc-helpers.mjs +8 -3
- package/dist/rpc-helpers.mjs.map +1 -1
- package/dist/rpc-helpers.test.cjs +12 -0
- package/dist/rpc-helpers.test.d.cts +1 -0
- package/dist/rpc-helpers.test.d.mts +1 -0
- package/dist/rpc-helpers.test.mjs +14 -0
- package/dist/rpc-helpers.test.mjs.map +1 -0
- package/dist/test.DNmyFkvJ-BEyBESND.mjs +13766 -0
- package/dist/test.DNmyFkvJ-BEyBESND.mjs.map +1 -0
- package/dist/test.DNmyFkvJ-NmRZglFv.cjs +13783 -0
- package/dist/{types-CVzMn-TI.d.mts → types-OZlfJNQI.d.mts} +2 -2
- package/dist/{types-CVzMn-TI.d.mts.map → types-OZlfJNQI.d.mts.map} +1 -1
- package/dist/types.cjs +9 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +4 -1
- package/dist/types.mjs.map +1 -1
- package/dist/types.test.cjs +12 -0
- package/dist/types.test.d.cts +1 -0
- package/dist/types.test.d.mts +1 -0
- package/dist/types.test.mjs +14 -0
- package/dist/types.test.mjs.map +1 -0
- package/package.json +7 -7
- /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-
|
|
2
|
+
const require_compile = require('./compile-B0IAAPCE.cjs');
|
|
3
3
|
|
|
4
4
|
exports.capnpc = require_compile.capnpc;
|
|
5
5
|
exports.compile = require_compile.compile;
|
package/dist/compile.d.mts
CHANGED
|
@@ -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-
|
|
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
|
@@ -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-
|
|
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-
|
|
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-
|
|
4062
|
+
//# sourceMappingURL=dist-DodkoxUk.mjs.map
|