@mayanfinance/blink-sdk 0.1.9 → 0.2.0

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.
@@ -0,0 +1,182 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=js"
2
+ // @generated from file blink/signer/v1/signer.proto (package blink.signer.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ /**
6
+ * Describes the file blink/signer/v1/signer.proto.
7
+ */
8
+ export const file_blink_signer_v1_signer = /*@__PURE__*/ fileDesc("ChxibGluay9zaWduZXIvdjEvc2lnbmVyLnByb3RvEg9ibGluay5zaWduZXIudjEiZgoLU2lnblJlcXVlc3QSDAoEa2V5cxgBIAMoCRINCgVjaGFpbhgCIAEoCRIpCgdwYXlsb2FkGAMgASgLMhguYmxpbmsuc2lnbmVyLnYxLlBheWxvYWQSDwoHY29udGV4dBgEIAEoDCKTAQoHUGF5bG9hZBIZCg9ldm1fdHJhbnNhY3Rpb24YASABKAxIABIYCg5ldm1fdHlwZWRfZGF0YRgCIAEoDEgAEhUKC3N2bV9tZXNzYWdlGAMgASgMSAASGQoPc3VpX3RyYW5zYWN0aW9uGAQgASgMSAASGQoPZWQyNTUxOV9tZXNzYWdlGAUgASgMSABCBgoEa2luZCJBCgxTaWduUmVzcG9uc2USMQoKc2lnbmF0dXJlcxgBIAMoCzIdLmJsaW5rLnNpZ25lci52MS5LZXlTaWduYXR1cmUiLgoMS2V5U2lnbmF0dXJlEgsKA2tleRgBIAEoCRIRCglzaWduYXR1cmUYAiABKAwiWQoQQ3JlYXRlS2V5UmVxdWVzdBIOCgZmYW1pbHkYASABKAkSDAoEa2luZBgCIAEoCRIRCgl0aHJlc2hvbGQYAyABKA0SFAoMcGFydGljaXBhbnRzGAQgAygJIiUKF0tleVJlcXVlc3RTdGF0dXNSZXF1ZXN0EgoKAmlkGAEg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aXN0S2V5c1JlcXVlc3QaIS5ibGluay5zaWduZXIudjEuTGlzdEtleXNSZXNwb25zZRJSCglMaXN0Tm9kZXMSIS5ibGluay5zaWduZXIudjEuTGlzdE5vZGVzUmVxdWVzdBoiLmJsaW5rLnNpZ25lci52MS5MaXN0Tm9kZXNSZXNwb25zZTLgAQoETm9kZRJGCgVIZWxsbxIdLmJsaW5rLnNpZ25lci52MS5IZWxsb1JlcXVlc3QaHi5ibGluay5zaWduZXIudjEuSGVsbG9SZXNwb25zZRJDCgRWb3RlEhwuYmxpbmsuc2lnbmVyLnYxLlZvdGVSZXF1ZXN0Gh0uYmxpbmsuc2lnbmVyLnYxLlZvdGVSZXNwb25zZRJLCgdTZXNzaW9uEh0uYmxpbmsuc2lnbmVyLnYxLlNlc3Npb25GcmFtZRodLmJsaW5rLnNpZ25lci52MS5TZXNzaW9uRnJhbWUoATABYgZwcm90bzM");
9
+ /**
10
+ * Describes the message blink.signer.v1.SignRequest.
11
+ * Use `create(SignRequestSchema)` to create a new message.
12
+ */
13
+ export const SignRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 0);
14
+ /**
15
+ * Describes the message blink.signer.v1.Payload.
16
+ * Use `create(PayloadSchema)` to create a new message.
17
+ */
18
+ export const PayloadSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 1);
19
+ /**
20
+ * Describes the message blink.signer.v1.SignResponse.
21
+ * Use `create(SignResponseSchema)` to create a new message.
22
+ */
23
+ export const SignResponseSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 2);
24
+ /**
25
+ * Describes the message blink.signer.v1.KeySignature.
26
+ * Use `create(KeySignatureSchema)` to create a new message.
27
+ */
28
+ export const KeySignatureSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 3);
29
+ /**
30
+ * Describes the message blink.signer.v1.CreateKeyRequest.
31
+ * Use `create(CreateKeyRequestSchema)` to create a new message.
32
+ */
33
+ export const CreateKeyRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 4);
34
+ /**
35
+ * Describes the message blink.signer.v1.KeyRequestStatusRequest.
36
+ * Use `create(KeyRequestStatusRequestSchema)` to create a new message.
37
+ */
38
+ export const KeyRequestStatusRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 5);
39
+ /**
40
+ * Describes the message blink.signer.v1.KeyRequest.
41
+ * Use `create(KeyRequestSchema)` to create a new message.
42
+ */
43
+ export const KeyRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 6);
44
+ /**
45
+ * Describes the message blink.signer.v1.SignerKey.
46
+ * Use `create(SignerKeySchema)` to create a new message.
47
+ */
48
+ export const SignerKeySchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 7);
49
+ /**
50
+ * Describes the message blink.signer.v1.ListKeysRequest.
51
+ * Use `create(ListKeysRequestSchema)` to create a new message.
52
+ */
53
+ export const ListKeysRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 8);
54
+ /**
55
+ * Describes the message blink.signer.v1.ListKeysResponse.
56
+ * Use `create(ListKeysResponseSchema)` to create a new message.
57
+ */
58
+ export const ListKeysResponseSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 9);
59
+ /**
60
+ * Describes the message blink.signer.v1.ListNodesRequest.
61
+ * Use `create(ListNodesRequestSchema)` to create a new message.
62
+ */
63
+ export const ListNodesRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 10);
64
+ /**
65
+ * Describes the message blink.signer.v1.ListNodesResponse.
66
+ * Use `create(ListNodesResponseSchema)` to create a new message.
67
+ */
68
+ export const ListNodesResponseSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 11);
69
+ /**
70
+ * Describes the message blink.signer.v1.NodeStatus.
71
+ * Use `create(NodeStatusSchema)` to create a new message.
72
+ */
73
+ export const NodeStatusSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 12);
74
+ /**
75
+ * Describes the message blink.signer.v1.HelloRequest.
76
+ * Use `create(HelloRequestSchema)` to create a new message.
77
+ */
78
+ export const HelloRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 13);
79
+ /**
80
+ * Describes the message blink.signer.v1.HelloResponse.
81
+ * Use `create(HelloResponseSchema)` to create a new message.
82
+ */
83
+ export const HelloResponseSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 14);
84
+ /**
85
+ * Describes the message blink.signer.v1.VoteRequest.
86
+ * Use `create(VoteRequestSchema)` to create a new message.
87
+ */
88
+ export const VoteRequestSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 15);
89
+ /**
90
+ * Describes the message blink.signer.v1.VoteResponse.
91
+ * Use `create(VoteResponseSchema)` to create a new message.
92
+ */
93
+ export const VoteResponseSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 16);
94
+ /**
95
+ * Describes the message blink.signer.v1.SessionFrame.
96
+ * Use `create(SessionFrameSchema)` to create a new message.
97
+ */
98
+ export const SessionFrameSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 17);
99
+ /**
100
+ * Describes the message blink.signer.v1.SessionOpen.
101
+ * Use `create(SessionOpenSchema)` to create a new message.
102
+ */
103
+ export const SessionOpenSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 18);
104
+ /**
105
+ * Describes the message blink.signer.v1.Ceremony.
106
+ * Use `create(CeremonySchema)` to create a new message.
107
+ */
108
+ export const CeremonySchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 19);
109
+ /**
110
+ * Describes the message blink.signer.v1.SignCeremony.
111
+ * Use `create(SignCeremonySchema)` to create a new message.
112
+ */
113
+ export const SignCeremonySchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 20);
114
+ /**
115
+ * Describes the message blink.signer.v1.PresignCeremony.
116
+ * Use `create(PresignCeremonySchema)` to create a new message.
117
+ */
118
+ export const PresignCeremonySchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 21);
119
+ /**
120
+ * Describes the message blink.signer.v1.KeygenCeremony.
121
+ * Use `create(KeygenCeremonySchema)` to create a new message.
122
+ */
123
+ export const KeygenCeremonySchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 22);
124
+ /**
125
+ * Describes the message blink.signer.v1.SessionMessage.
126
+ * Use `create(SessionMessageSchema)` to create a new message.
127
+ */
128
+ export const SessionMessageSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 23);
129
+ /**
130
+ * Describes the message blink.signer.v1.SessionOutcome.
131
+ * Use `create(SessionOutcomeSchema)` to create a new message.
132
+ */
133
+ export const SessionOutcomeSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 24);
134
+ /**
135
+ * Describes the message blink.signer.v1.SessionOutcomes.
136
+ * Use `create(SessionOutcomesSchema)` to create a new message.
137
+ */
138
+ export const SessionOutcomesSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 25);
139
+ /**
140
+ * Describes the message blink.signer.v1.SessionDone.
141
+ * Use `create(SessionDoneSchema)` to create a new message.
142
+ */
143
+ export const SessionDoneSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 26);
144
+ /**
145
+ * Describes the message blink.signer.v1.SessionSigned.
146
+ * Use `create(SessionSignedSchema)` to create a new message.
147
+ */
148
+ export const SessionSignedSchema = /*@__PURE__*/ messageDesc(file_blink_signer_v1_signer, 27);
149
+ /**
150
+ * @generated from enum blink.signer.v1.Vote
151
+ */
152
+ export var Vote;
153
+ (function (Vote) {
154
+ /**
155
+ * @generated from enum value: VOTE_UNSPECIFIED = 0;
156
+ */
157
+ Vote[Vote["UNSPECIFIED"] = 0] = "UNSPECIFIED";
158
+ /**
159
+ * @generated from enum value: VOTE_APPROVE = 1;
160
+ */
161
+ Vote[Vote["APPROVE"] = 1] = "APPROVE";
162
+ /**
163
+ * @generated from enum value: VOTE_REFUSE = 2;
164
+ */
165
+ Vote[Vote["REFUSE"] = 2] = "REFUSE";
166
+ /**
167
+ * @generated from enum value: VOTE_UNSETTLED = 3;
168
+ */
169
+ Vote[Vote["UNSETTLED"] = 3] = "UNSETTLED";
170
+ })(Vote || (Vote = {}));
171
+ /**
172
+ * Describes the enum blink.signer.v1.Vote.
173
+ */
174
+ export const VoteSchema = /*@__PURE__*/ enumDesc(file_blink_signer_v1_signer, 0);
175
+ /**
176
+ * @generated from service blink.signer.v1.Coordinator
177
+ */
178
+ export const Coordinator = /*@__PURE__*/ serviceDesc(file_blink_signer_v1_signer, 0);
179
+ /**
180
+ * @generated from service blink.signer.v1.Node
181
+ */
182
+ export const Node = /*@__PURE__*/ serviceDesc(file_blink_signer_v1_signer, 1);