@stryke/capnp 0.8.1 → 0.8.3
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 +7 -22
- package/bin/capnpc.js +7 -22
- package/dist/{chunk-5DFHSVPM.js → chunk-FEGBNCWN.js} +6 -6
- package/dist/{chunk-RHONKZU7.cjs → chunk-R5CS6CYK.cjs} +6 -6
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/rpc.cjs +2 -2
- package/dist/rpc.js +1 -1
- package/package.json +2 -2
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=
|
|
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
|
|
875
875
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
876
876
|
|
|
877
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
2941
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_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=
|
|
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
|
|
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=
|
|
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
|
|
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.";
|
|
@@ -7790,21 +7790,11 @@ async function compileAll(codeGenRequest, opts) {
|
|
|
7790
7790
|
const req = new Message(codeGenRequest, false).getRoot(
|
|
7791
7791
|
CodeGeneratorRequest
|
|
7792
7792
|
);
|
|
7793
|
-
console.log(
|
|
7794
|
-
`
|
|
7795
|
-
Running capnpc for ${req.requestedFiles.length} capnp schema files
|
|
7796
|
-
`
|
|
7797
|
-
);
|
|
7798
7793
|
const ctx = new CodeGeneratorContext();
|
|
7799
7794
|
ctx.files = req.requestedFiles.map((file) => loadRequestedFile(req, file));
|
|
7800
7795
|
if (ctx.files.length === 0) {
|
|
7801
7796
|
throw new Error(GEN_NO_FILES);
|
|
7802
7797
|
}
|
|
7803
|
-
console.log(
|
|
7804
|
-
`
|
|
7805
|
-
Compiling ${ctx.files.length} files: ${ctx.files.map((f) => f.tsPath).join(", ")}
|
|
7806
|
-
`
|
|
7807
|
-
);
|
|
7808
7798
|
const files = new Map(
|
|
7809
7799
|
ctx.files.map((file) => [file.tsPath, compileFile(file)])
|
|
7810
7800
|
);
|
|
@@ -7812,11 +7802,6 @@ Compiling ${ctx.files.length} files: ${ctx.files.map((f) => f.tsPath).join(", ")
|
|
|
7812
7802
|
throw new Error(GEN_NO_FILES);
|
|
7813
7803
|
}
|
|
7814
7804
|
if (opts?.dts === true || opts?.js === true) {
|
|
7815
|
-
console.log(
|
|
7816
|
-
`
|
|
7817
|
-
TypeScript Compiling ${files.size} files: ${[...files.keys()].join(", ")}
|
|
7818
|
-
`
|
|
7819
|
-
);
|
|
7820
7805
|
tsCompile(files, opts?.dts === true, opts?.js === true, opts?.tsconfig);
|
|
7821
7806
|
}
|
|
7822
7807
|
if (!opts?.ts) {
|
|
@@ -7917,7 +7902,7 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
7917
7902
|
}
|
|
7918
7903
|
__name(tsCompile, "tsCompile");
|
|
7919
7904
|
|
|
7920
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
7905
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
|
|
7921
7906
|
var import_typescript2 = require("typescript");
|
|
7922
7907
|
|
|
7923
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=
|
|
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
|
|
844
844
|
import ts from "typescript";
|
|
845
845
|
|
|
846
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
2910
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_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=
|
|
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
|
|
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=
|
|
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
|
|
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.";
|
|
@@ -7759,21 +7759,11 @@ async function compileAll(codeGenRequest, opts) {
|
|
|
7759
7759
|
const req = new Message(codeGenRequest, false).getRoot(
|
|
7760
7760
|
CodeGeneratorRequest
|
|
7761
7761
|
);
|
|
7762
|
-
console.log(
|
|
7763
|
-
`
|
|
7764
|
-
Running capnpc for ${req.requestedFiles.length} capnp schema files
|
|
7765
|
-
`
|
|
7766
|
-
);
|
|
7767
7762
|
const ctx = new CodeGeneratorContext();
|
|
7768
7763
|
ctx.files = req.requestedFiles.map((file) => loadRequestedFile(req, file));
|
|
7769
7764
|
if (ctx.files.length === 0) {
|
|
7770
7765
|
throw new Error(GEN_NO_FILES);
|
|
7771
7766
|
}
|
|
7772
|
-
console.log(
|
|
7773
|
-
`
|
|
7774
|
-
Compiling ${ctx.files.length} files: ${ctx.files.map((f) => f.tsPath).join(", ")}
|
|
7775
|
-
`
|
|
7776
|
-
);
|
|
7777
7767
|
const files = new Map(
|
|
7778
7768
|
ctx.files.map((file) => [file.tsPath, compileFile(file)])
|
|
7779
7769
|
);
|
|
@@ -7781,11 +7771,6 @@ Compiling ${ctx.files.length} files: ${ctx.files.map((f) => f.tsPath).join(", ")
|
|
|
7781
7771
|
throw new Error(GEN_NO_FILES);
|
|
7782
7772
|
}
|
|
7783
7773
|
if (opts?.dts === true || opts?.js === true) {
|
|
7784
|
-
console.log(
|
|
7785
|
-
`
|
|
7786
|
-
TypeScript Compiling ${files.size} files: ${[...files.keys()].join(", ")}
|
|
7787
|
-
`
|
|
7788
|
-
);
|
|
7789
7774
|
tsCompile(files, opts?.dts === true, opts?.js === true, opts?.tsconfig);
|
|
7790
7775
|
}
|
|
7791
7776
|
if (!opts?.ts) {
|
|
@@ -7886,7 +7871,7 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
7886
7871
|
}
|
|
7887
7872
|
__name(tsCompile, "tsCompile");
|
|
7888
7873
|
|
|
7889
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
7874
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
|
|
7890
7875
|
import "typescript";
|
|
7891
7876
|
|
|
7892
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=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
3712
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_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=
|
|
6232
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_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");
|
|
@@ -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=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
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
|
|
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=
|
|
3712
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_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=
|
|
6232
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=7463167e804b0de68590abc75ecd140ea81bfe80a4326b8f6dd9fdd8bec7ed2d_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");
|
package/dist/index.cjs
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _chunkR5CS6CYKcjs = require('./chunk-R5CS6CYK.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 =
|
|
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;
|
package/dist/index.js
CHANGED
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
|
|
4
|
+
var _chunkR5CS6CYKcjs = require('./chunk-R5CS6CYK.cjs');
|
|
5
5
|
require('./chunk-USNT2KNT.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.CapnpRPC =
|
|
9
|
+
exports.CapnpRPC = _chunkR5CS6CYKcjs.CapnpRPC; exports.MessageChannelTransport = _chunkR5CS6CYKcjs.MessageChannelTransport;
|
package/dist/rpc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stryke/capnp",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package to assist in running the Cap'n Proto compiler and creating Cap'n Proto serialization protocol schemas.",
|
|
6
6
|
"repository": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"peerDependencies": { "typescript": ">=4.0.0" },
|
|
116
116
|
"peerDependenciesMeta": { "typescript": { "optional": false } },
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@stryke/fs": "^0.21.
|
|
118
|
+
"@stryke/fs": "^0.21.3",
|
|
119
119
|
"@stryke/path": "^0.8.0",
|
|
120
120
|
"hex2dec": "^1.1.2"
|
|
121
121
|
},
|