@freedomofpress/cometbft 0.1.0 → 0.1.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/dist/commit.d.ts +7 -0
- package/dist/commit.js +175 -0
- package/dist/commit.js.map +1 -0
- package/dist/encoding.d.ts +4 -0
- package/dist/encoding.js +31 -0
- package/dist/encoding.js.map +1 -0
- package/dist/lightclient.d.ts +17 -0
- package/dist/lightclient.js +275 -0
- package/dist/lightclient.js.map +1 -0
- package/dist/proto/cometbft/crypto/v1/keys.d.ts +28 -0
- package/dist/proto/cometbft/crypto/v1/keys.js +110 -0
- package/dist/proto/cometbft/crypto/v1/keys.js.map +1 -0
- package/dist/proto/cometbft/crypto/v1/proof.d.ts +60 -0
- package/dist/proto/cometbft/crypto/v1/proof.js +416 -0
- package/dist/proto/cometbft/crypto/v1/proof.js.map +1 -0
- package/dist/proto/cometbft/types/v1/canonical.d.ts +85 -0
- package/dist/proto/cometbft/types/v1/canonical.js +586 -0
- package/dist/proto/cometbft/types/v1/canonical.js.map +1 -0
- package/dist/proto/cometbft/types/v1/types.d.ts +206 -0
- package/dist/proto/cometbft/types/v1/types.js +1794 -0
- package/dist/proto/cometbft/types/v1/types.js.map +1 -0
- package/dist/proto/cometbft/types/v1/validator.d.ts +64 -0
- package/dist/proto/cometbft/types/v1/validator.js +382 -0
- package/dist/proto/cometbft/types/v1/validator.js.map +1 -0
- package/dist/proto/cometbft/version/v1/types.d.ts +41 -0
- package/dist/proto/cometbft/version/v1/types.js +154 -0
- package/dist/proto/cometbft/version/v1/types.js.map +1 -0
- package/dist/proto/gogoproto/gogo.d.ts +1 -0
- package/dist/proto/gogoproto/gogo.js +8 -0
- package/dist/proto/gogoproto/gogo.js.map +1 -0
- package/dist/proto/google/protobuf/descriptor.d.ts +1228 -0
- package/dist/proto/google/protobuf/descriptor.js +5056 -0
- package/dist/proto/google/protobuf/descriptor.js.map +1 -0
- package/dist/proto/google/protobuf/timestamp.d.ts +128 -0
- package/dist/proto/google/protobuf/timestamp.js +83 -0
- package/dist/proto/google/protobuf/timestamp.js.map +1 -0
- package/dist/tests/commit.test.d.ts +1 -0
- package/dist/tests/commit.test.js +219 -0
- package/dist/tests/commit.test.js.map +1 -0
- package/dist/tests/encoding.test.d.ts +1 -0
- package/dist/tests/encoding.test.js +31 -0
- package/dist/tests/encoding.test.js.map +1 -0
- package/dist/tests/fixtures/commit-12.json +64 -0
- package/dist/tests/fixtures/validators-12.json +41 -0
- package/dist/tests/fixtures/webcat.json +71 -0
- package/dist/tests/lightclient.test.d.ts +1 -0
- package/dist/tests/lightclient.test.js +234 -0
- package/dist/tests/lightclient.test.js.map +1 -0
- package/dist/tests/validators.test.d.ts +1 -0
- package/dist/tests/validators.test.js +184 -0
- package/dist/tests/validators.test.js.map +1 -0
- package/dist/tests/webcat.test.d.ts +1 -0
- package/dist/tests/webcat.test.js +52 -0
- package/dist/tests/webcat.test.js.map +1 -0
- package/dist/types.d.ts +62 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/validators.d.ts +6 -0
- package/dist/validators.js +55 -0
- package/dist/validators.js.map +1 -0
- package/package.json +5 -5
- package/src/lightclient.ts +176 -0
- package/src/tests/lightclient.test.ts +20 -5
- package/src/tests/webcat.test.ts +17 -47
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "cometbft.version.v1";
|
|
3
|
+
/**
|
|
4
|
+
* App includes the protocol and software version for the application.
|
|
5
|
+
* This information is included in ResponseInfo. The App.Protocol can be
|
|
6
|
+
* updated in ResponseEndBlock.
|
|
7
|
+
*/
|
|
8
|
+
export interface App {
|
|
9
|
+
protocol: bigint;
|
|
10
|
+
software: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Consensus captures the consensus rules for processing a block in the blockchain,
|
|
14
|
+
* including all blockchain data structures and the rules of the application's
|
|
15
|
+
* state transition machine.
|
|
16
|
+
*/
|
|
17
|
+
export interface Consensus {
|
|
18
|
+
block: bigint;
|
|
19
|
+
app: bigint;
|
|
20
|
+
}
|
|
21
|
+
export declare const App: MessageFns<App>;
|
|
22
|
+
export declare const Consensus: MessageFns<Consensus>;
|
|
23
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
24
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
25
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
26
|
+
} : Partial<T>;
|
|
27
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
28
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
29
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
30
|
+
} & {
|
|
31
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
32
|
+
};
|
|
33
|
+
export interface MessageFns<T> {
|
|
34
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
35
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
36
|
+
fromJSON(object: any): T;
|
|
37
|
+
toJSON(message: T): unknown;
|
|
38
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
39
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.6.1
|
|
4
|
+
// protoc unknown
|
|
5
|
+
// source: cometbft/version/v1/types.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
8
|
+
export const protobufPackage = "cometbft.version.v1";
|
|
9
|
+
function createBaseApp() {
|
|
10
|
+
return { protocol: 0n, software: "" };
|
|
11
|
+
}
|
|
12
|
+
export const App = {
|
|
13
|
+
encode(message, writer = new BinaryWriter()) {
|
|
14
|
+
if (message.protocol !== 0n) {
|
|
15
|
+
if (BigInt.asUintN(64, message.protocol) !== message.protocol) {
|
|
16
|
+
throw new globalThis.Error("value provided for field message.protocol of type uint64 too large");
|
|
17
|
+
}
|
|
18
|
+
writer.uint32(8).uint64(message.protocol);
|
|
19
|
+
}
|
|
20
|
+
if (message.software !== "") {
|
|
21
|
+
writer.uint32(18).string(message.software);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseApp();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1: {
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.protocol = reader.uint64();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
case 2: {
|
|
40
|
+
if (tag !== 18) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
message.software = reader.string();
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
reader.skip(tag & 7);
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
fromJSON(object) {
|
|
55
|
+
return {
|
|
56
|
+
protocol: isSet(object.protocol) ? BigInt(object.protocol) : 0n,
|
|
57
|
+
software: isSet(object.software) ? globalThis.String(object.software) : "",
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
toJSON(message) {
|
|
61
|
+
const obj = {};
|
|
62
|
+
if (message.protocol !== 0n) {
|
|
63
|
+
obj.protocol = message.protocol.toString();
|
|
64
|
+
}
|
|
65
|
+
if (message.software !== "") {
|
|
66
|
+
obj.software = message.software;
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
},
|
|
70
|
+
create(base) {
|
|
71
|
+
return App.fromPartial(base ?? {});
|
|
72
|
+
},
|
|
73
|
+
fromPartial(object) {
|
|
74
|
+
const message = createBaseApp();
|
|
75
|
+
message.protocol = object.protocol ?? 0n;
|
|
76
|
+
message.software = object.software ?? "";
|
|
77
|
+
return message;
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
function createBaseConsensus() {
|
|
81
|
+
return { block: 0n, app: 0n };
|
|
82
|
+
}
|
|
83
|
+
export const Consensus = {
|
|
84
|
+
encode(message, writer = new BinaryWriter()) {
|
|
85
|
+
if (message.block !== 0n) {
|
|
86
|
+
if (BigInt.asUintN(64, message.block) !== message.block) {
|
|
87
|
+
throw new globalThis.Error("value provided for field message.block of type uint64 too large");
|
|
88
|
+
}
|
|
89
|
+
writer.uint32(8).uint64(message.block);
|
|
90
|
+
}
|
|
91
|
+
if (message.app !== 0n) {
|
|
92
|
+
if (BigInt.asUintN(64, message.app) !== message.app) {
|
|
93
|
+
throw new globalThis.Error("value provided for field message.app of type uint64 too large");
|
|
94
|
+
}
|
|
95
|
+
writer.uint32(16).uint64(message.app);
|
|
96
|
+
}
|
|
97
|
+
return writer;
|
|
98
|
+
},
|
|
99
|
+
decode(input, length) {
|
|
100
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
101
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
102
|
+
const message = createBaseConsensus();
|
|
103
|
+
while (reader.pos < end) {
|
|
104
|
+
const tag = reader.uint32();
|
|
105
|
+
switch (tag >>> 3) {
|
|
106
|
+
case 1: {
|
|
107
|
+
if (tag !== 8) {
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
message.block = reader.uint64();
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
case 2: {
|
|
114
|
+
if (tag !== 16) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
message.app = reader.uint64();
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
reader.skip(tag & 7);
|
|
125
|
+
}
|
|
126
|
+
return message;
|
|
127
|
+
},
|
|
128
|
+
fromJSON(object) {
|
|
129
|
+
return { block: isSet(object.block) ? BigInt(object.block) : 0n, app: isSet(object.app) ? BigInt(object.app) : 0n };
|
|
130
|
+
},
|
|
131
|
+
toJSON(message) {
|
|
132
|
+
const obj = {};
|
|
133
|
+
if (message.block !== 0n) {
|
|
134
|
+
obj.block = message.block.toString();
|
|
135
|
+
}
|
|
136
|
+
if (message.app !== 0n) {
|
|
137
|
+
obj.app = message.app.toString();
|
|
138
|
+
}
|
|
139
|
+
return obj;
|
|
140
|
+
},
|
|
141
|
+
create(base) {
|
|
142
|
+
return Consensus.fromPartial(base ?? {});
|
|
143
|
+
},
|
|
144
|
+
fromPartial(object) {
|
|
145
|
+
const message = createBaseConsensus();
|
|
146
|
+
message.block = object.block ?? 0n;
|
|
147
|
+
message.app = object.app ?? 0n;
|
|
148
|
+
return message;
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
function isSet(value) {
|
|
152
|
+
return value !== null && value !== undefined;
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/proto/cometbft/version/v1/types.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,gCAAgC;AAChC,iCAAiC;AACjC,0CAA0C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K,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const protobufPackage = "gogoproto";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gogo.js","sourceRoot":"","sources":["../../../src/proto/gogoproto/gogo.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,gCAAgC;AAChC,iCAAiC;AACjC,+BAA+B;AAE/B,oBAAoB;AAEpB,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC"}
|