@stryke/capnp 0.6.0 → 0.6.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.
- package/bin/capnpc.cjs +8 -8
- package/bin/capnpc.js +8 -8
- package/dist/capnp.cjs +4 -119
- package/dist/capnp.d.cts +2 -1
- package/dist/capnp.d.ts +2 -1
- package/dist/capnp.js +5 -120
- package/dist/{chunk-5Y2STPPF.cjs → chunk-34UFVQ2X.cjs} +818 -818
- package/dist/{chunk-UHN7QD4F.js → chunk-7QZRCXNX.js} +3 -3
- package/dist/chunk-AHJJINE5.cjs +1 -0
- package/dist/{chunk-FNOKUFI5.js → chunk-FGRQLKDC.js} +6 -6
- package/dist/{chunk-IVTBYMMN.cjs → chunk-IJMQEVSJ.cjs} +3 -3
- package/dist/{chunk-I2TLOFS6.js → chunk-QVMMUK6E.js} +82 -35
- package/dist/chunk-TZHOQHWF.js +0 -0
- package/dist/{chunk-YOA3BS5Q.cjs → chunk-XNXRTQEO.cjs} +870 -823
- package/dist/compile.cjs +3 -3
- package/dist/compile.d.cts +1 -0
- package/dist/compile.d.ts +1 -0
- package/dist/compile.js +2 -2
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -7
- package/dist/rpc.cjs +10 -10
- package/dist/rpc.js +2 -2
- package/package.json +9 -1
- package/dist/capnp-DxRiMkXq.d.cts +0 -22
- package/dist/capnp-DxRiMkXq.d.ts +0 -22
- package/dist/chunk-NZGPVGFZ.js +0 -130
- package/dist/chunk-UNTMJSWJ.cjs +0 -130
|
@@ -5,7 +5,7 @@ var __export = (target, all) => {
|
|
|
5
5
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
8
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
|
|
9
9
|
var ListElementSize = /* @__PURE__ */ ((ListElementSize2) => {
|
|
10
10
|
ListElementSize2[ListElementSize2["VOID"] = 0] = "VOID";
|
|
11
11
|
ListElementSize2[ListElementSize2["BIT"] = 1] = "BIT";
|
|
@@ -2092,7 +2092,7 @@ function checkDataBounds(byteOffset, byteLength, s) {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
__name(checkDataBounds, "checkDataBounds");
|
|
2094
2094
|
|
|
2095
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
2095
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
|
|
2096
2096
|
var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
|
|
2097
2097
|
ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
|
|
2098
2098
|
ArenaKind2[ArenaKind2["MULTI_SEGMENT"] = 1] = "MULTI_SEGMENT";
|
|
@@ -3089,7 +3089,7 @@ function copy(m) {
|
|
|
3089
3089
|
}
|
|
3090
3090
|
__name(copy, "copy");
|
|
3091
3091
|
|
|
3092
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
3092
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
|
|
3093
3093
|
function CompositeList(CompositeClass) {
|
|
3094
3094
|
return class extends List {
|
|
3095
3095
|
static _capnp = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
setUint64,
|
|
45
45
|
setUint8,
|
|
46
46
|
testWhich
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-7QZRCXNX.js";
|
|
48
48
|
|
|
49
49
|
// ../path/src/exists.ts
|
|
50
50
|
import { existsSync as existsSyncFs } from "node:fs";
|
|
@@ -925,10 +925,10 @@ var writeFile = /* @__PURE__ */ __name(async (filePath, content = "", options =
|
|
|
925
925
|
return writeFileFs(filePath, content || "", options);
|
|
926
926
|
}, "writeFile");
|
|
927
927
|
|
|
928
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
928
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
|
|
929
929
|
import ts from "typescript";
|
|
930
930
|
|
|
931
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
931
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/capnp/schema.mjs
|
|
932
932
|
var _capnpFileId = BigInt("0xa93fc509624c72d9");
|
|
933
933
|
var Node_Parameter = class extends Struct {
|
|
934
934
|
static {
|
|
@@ -3588,7 +3588,7 @@ CodeGeneratorRequest._Nodes = CompositeList(Node);
|
|
|
3588
3588
|
CodeGeneratorRequest._SourceInfo = CompositeList(Node_SourceInfo);
|
|
3589
3589
|
CodeGeneratorRequest._RequestedFiles = CompositeList(CodeGeneratorRequest_RequestedFile);
|
|
3590
3590
|
|
|
3591
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
3591
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.CbTQkT9D.mjs
|
|
3592
3592
|
var GEN_EXPLICIT_DEFAULT_NON_PRIMITIVE = "CAPNP-ES000 Don't know how to generate a %s field with an explicit default value.";
|
|
3593
3593
|
var GEN_FIELD_NON_INLINE_STRUCT_LIST = "CAPNP-ES001 Don't know how to generate non-inline struct lists.";
|
|
3594
3594
|
var GEN_NODE_LOOKUP_FAIL = "CAPNP-ES002 Failed to look up node id %s.";
|
|
@@ -4831,6 +4831,7 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
4831
4831
|
const compileOptions = {
|
|
4832
4832
|
moduleResolution: ts.ModuleResolutionKind.Bundler,
|
|
4833
4833
|
target: ts.ScriptTarget.ESNext,
|
|
4834
|
+
...tsconfig,
|
|
4834
4835
|
noEmitOnError: false,
|
|
4835
4836
|
noFallthroughCasesInSwitch: true,
|
|
4836
4837
|
preserveConstEnums: true,
|
|
@@ -4841,7 +4842,6 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
4841
4842
|
skipLibCheck: true,
|
|
4842
4843
|
sourceMap: false,
|
|
4843
4844
|
strict: true,
|
|
4844
|
-
...tsconfig,
|
|
4845
4845
|
emitDeclarationOnly: dts && !js,
|
|
4846
4846
|
declaration: dts
|
|
4847
4847
|
};
|
|
@@ -4886,7 +4886,7 @@ function tsCompile(files, dts, js, tsconfig) {
|
|
|
4886
4886
|
}
|
|
4887
4887
|
__name(tsCompile, "tsCompile");
|
|
4888
4888
|
|
|
4889
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
4889
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/compiler/index.mjs
|
|
4890
4890
|
import "typescript";
|
|
4891
4891
|
|
|
4892
4892
|
// src/compile.ts
|
|
@@ -5,7 +5,7 @@ var __export = (target, all) => {
|
|
|
5
5
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
8
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs
|
|
9
9
|
var ListElementSize = /* @__PURE__ */ ((ListElementSize2) => {
|
|
10
10
|
ListElementSize2[ListElementSize2["VOID"] = 0] = "VOID";
|
|
11
11
|
ListElementSize2[ListElementSize2["BIT"] = 1] = "BIT";
|
|
@@ -2092,7 +2092,7 @@ function checkDataBounds(byteOffset, byteLength, s) {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
__name(checkDataBounds, "checkDataBounds");
|
|
2094
2094
|
|
|
2095
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
2095
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs
|
|
2096
2096
|
var ArenaKind = /* @__PURE__ */ ((ArenaKind2) => {
|
|
2097
2097
|
ArenaKind2[ArenaKind2["SINGLE_SEGMENT"] = 0] = "SINGLE_SEGMENT";
|
|
2098
2098
|
ArenaKind2[ArenaKind2["MULTI_SEGMENT"] = 1] = "MULTI_SEGMENT";
|
|
@@ -3089,7 +3089,7 @@ function copy(m) {
|
|
|
3089
3089
|
}
|
|
3090
3090
|
__name(copy, "copy");
|
|
3091
3091
|
|
|
3092
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
3092
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs
|
|
3093
3093
|
function CompositeList(CompositeClass) {
|
|
3094
3094
|
return (_class10 = class extends List {
|
|
3095
3095
|
static __initStatic23() {this._capnp = {
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
Message,
|
|
13
13
|
NOT_IMPLEMENTED,
|
|
14
14
|
ObjectSize,
|
|
15
|
+
Orphan,
|
|
15
16
|
Pointer,
|
|
16
17
|
PointerAllocationResult,
|
|
17
18
|
PointerType,
|
|
@@ -34,11 +35,13 @@ import {
|
|
|
34
35
|
RPC_ZERO_REF,
|
|
35
36
|
Struct,
|
|
36
37
|
Text,
|
|
38
|
+
__export,
|
|
37
39
|
__name,
|
|
38
40
|
add,
|
|
39
41
|
adopt,
|
|
40
42
|
checkDataBounds,
|
|
41
43
|
checkPointerBounds,
|
|
44
|
+
clientOrNull,
|
|
42
45
|
copyFrom,
|
|
43
46
|
copyFromInterface,
|
|
44
47
|
copyFromList,
|
|
@@ -59,11 +62,17 @@ import {
|
|
|
59
62
|
getDataSection,
|
|
60
63
|
getFarSegmentId,
|
|
61
64
|
getFloat32,
|
|
65
|
+
getFloat32Mask,
|
|
62
66
|
getFloat64,
|
|
67
|
+
getFloat64Mask,
|
|
63
68
|
getInt16,
|
|
69
|
+
getInt16Mask,
|
|
64
70
|
getInt32,
|
|
71
|
+
getInt32Mask,
|
|
65
72
|
getInt64,
|
|
73
|
+
getInt64Mask,
|
|
66
74
|
getInt8,
|
|
75
|
+
getInt8Mask,
|
|
67
76
|
getInterfaceClientOrNull,
|
|
68
77
|
getInterfaceClientOrNullAt,
|
|
69
78
|
getInterfacePointer,
|
|
@@ -90,8 +99,11 @@ import {
|
|
|
90
99
|
getTargetStructSize,
|
|
91
100
|
getText,
|
|
92
101
|
getUint16,
|
|
102
|
+
getUint16Mask,
|
|
93
103
|
getUint32,
|
|
104
|
+
getUint32Mask,
|
|
94
105
|
getUint64,
|
|
106
|
+
getUint64Mask,
|
|
95
107
|
getUint8,
|
|
96
108
|
getUint8Mask,
|
|
97
109
|
initData,
|
|
@@ -101,6 +113,7 @@ import {
|
|
|
101
113
|
initStructAt,
|
|
102
114
|
isDoubleFar,
|
|
103
115
|
isNull,
|
|
116
|
+
readRawPointer,
|
|
104
117
|
relocateTo,
|
|
105
118
|
resize,
|
|
106
119
|
setBit,
|
|
@@ -122,9 +135,9 @@ import {
|
|
|
122
135
|
testWhich,
|
|
123
136
|
trackPointerAllocation,
|
|
124
137
|
validate
|
|
125
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-7QZRCXNX.js";
|
|
126
139
|
|
|
127
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
140
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
|
|
128
141
|
var Interface = class extends Pointer {
|
|
129
142
|
static {
|
|
130
143
|
__name(this, "Interface");
|
|
@@ -667,7 +680,70 @@ var Server = class {
|
|
|
667
680
|
}
|
|
668
681
|
};
|
|
669
682
|
|
|
670
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
683
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
|
|
684
|
+
var dist_exports = {};
|
|
685
|
+
__export(dist_exports, {
|
|
686
|
+
AnyPointerList: () => AnyPointerList,
|
|
687
|
+
BoolList: () => BoolList,
|
|
688
|
+
CompositeList: () => CompositeList,
|
|
689
|
+
Conn: () => Conn,
|
|
690
|
+
Data: () => Data,
|
|
691
|
+
DataList: () => DataList,
|
|
692
|
+
Deferred: () => Deferred,
|
|
693
|
+
DeferredTransport: () => DeferredTransport,
|
|
694
|
+
ErrorClient: () => ErrorClient,
|
|
695
|
+
Float32List: () => Float32List,
|
|
696
|
+
Float64List: () => Float64List,
|
|
697
|
+
Int16List: () => Int16List,
|
|
698
|
+
Int32List: () => Int32List,
|
|
699
|
+
Int64List: () => Int64List,
|
|
700
|
+
Int8List: () => Int8List,
|
|
701
|
+
Interface: () => Interface,
|
|
702
|
+
InterfaceList: () => InterfaceList,
|
|
703
|
+
List: () => List,
|
|
704
|
+
ListElementSize: () => ListElementSize,
|
|
705
|
+
Message: () => Message,
|
|
706
|
+
ObjectSize: () => ObjectSize,
|
|
707
|
+
Orphan: () => Orphan,
|
|
708
|
+
Pipeline: () => Pipeline,
|
|
709
|
+
Pointer: () => Pointer,
|
|
710
|
+
PointerList: () => PointerList,
|
|
711
|
+
PointerType: () => PointerType,
|
|
712
|
+
Registry: () => Registry,
|
|
713
|
+
Server: () => Server,
|
|
714
|
+
Struct: () => Struct,
|
|
715
|
+
Text: () => Text,
|
|
716
|
+
TextList: () => TextList,
|
|
717
|
+
Uint16List: () => Uint16List,
|
|
718
|
+
Uint32List: () => Uint32List,
|
|
719
|
+
Uint64List: () => Uint64List,
|
|
720
|
+
Uint8List: () => Uint8List,
|
|
721
|
+
Void: () => Void,
|
|
722
|
+
VoidList: () => VoidList,
|
|
723
|
+
answerPipelineClient: () => answerPipelineClient,
|
|
724
|
+
clientFromResolution: () => clientFromResolution,
|
|
725
|
+
clientOrNull: () => clientOrNull,
|
|
726
|
+
copyCall: () => copyCall,
|
|
727
|
+
getBitMask: () => getBitMask,
|
|
728
|
+
getFloat32Mask: () => getFloat32Mask,
|
|
729
|
+
getFloat64Mask: () => getFloat64Mask,
|
|
730
|
+
getInt16Mask: () => getInt16Mask,
|
|
731
|
+
getInt32Mask: () => getInt32Mask,
|
|
732
|
+
getInt64Mask: () => getInt64Mask,
|
|
733
|
+
getInt8Mask: () => getInt8Mask,
|
|
734
|
+
getUint16Mask: () => getUint16Mask,
|
|
735
|
+
getUint32Mask: () => getUint32Mask,
|
|
736
|
+
getUint64Mask: () => getUint64Mask,
|
|
737
|
+
getUint8Mask: () => getUint8Mask,
|
|
738
|
+
isDataCall: () => isDataCall,
|
|
739
|
+
isFuncCall: () => isFuncCall,
|
|
740
|
+
isSameClient: () => isSameClient,
|
|
741
|
+
placeParams: () => placeParams,
|
|
742
|
+
readRawPointer: () => readRawPointer,
|
|
743
|
+
utils: () => utils
|
|
744
|
+
});
|
|
745
|
+
|
|
746
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/capnp/rpc.mjs
|
|
671
747
|
var _capnpFileId = BigInt("0xb312981b2552a250");
|
|
672
748
|
var Message_Which = {
|
|
673
749
|
/**
|
|
@@ -3187,7 +3263,7 @@ var Exception = class extends Struct {
|
|
|
3187
3263
|
Payload._CapTable = CompositeList(CapDescriptor);
|
|
3188
3264
|
PromisedAnswer._Transform = CompositeList(PromisedAnswer_Op);
|
|
3189
3265
|
|
|
3190
|
-
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=
|
|
3266
|
+
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=80802686e11e663486f933dfdd5c01c5f57e003c1be30d468e18dd25b995f95b_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
|
|
3191
3267
|
var Void = class extends Struct {
|
|
3192
3268
|
static {
|
|
3193
3269
|
__name(this, "Void");
|
|
@@ -4722,37 +4798,8 @@ var DeferredTransport = class {
|
|
|
4722
4798
|
};
|
|
4723
4799
|
|
|
4724
4800
|
export {
|
|
4725
|
-
Interface,
|
|
4726
|
-
isFuncCall,
|
|
4727
|
-
isDataCall,
|
|
4728
|
-
copyCall,
|
|
4729
|
-
placeParams,
|
|
4730
4801
|
Deferred,
|
|
4731
|
-
Pipeline,
|
|
4732
|
-
Registry,
|
|
4733
|
-
Server,
|
|
4734
|
-
Void,
|
|
4735
|
-
utils,
|
|
4736
|
-
PointerList,
|
|
4737
|
-
AnyPointerList,
|
|
4738
|
-
BoolList,
|
|
4739
|
-
DataList,
|
|
4740
|
-
Float32List,
|
|
4741
|
-
Float64List,
|
|
4742
|
-
Int8List,
|
|
4743
|
-
Int16List,
|
|
4744
|
-
Int32List,
|
|
4745
|
-
Int64List,
|
|
4746
|
-
InterfaceList,
|
|
4747
|
-
TextList,
|
|
4748
|
-
Uint8List,
|
|
4749
|
-
Uint16List,
|
|
4750
|
-
Uint32List,
|
|
4751
|
-
Uint64List,
|
|
4752
|
-
VoidList,
|
|
4753
|
-
isSameClient,
|
|
4754
|
-
clientFromResolution,
|
|
4755
4802
|
Conn,
|
|
4756
|
-
|
|
4757
|
-
|
|
4803
|
+
DeferredTransport,
|
|
4804
|
+
dist_exports
|
|
4758
4805
|
};
|
|
File without changes
|