@inco/js 0.3.2-alpha.0 → 0.4.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.
Files changed (376) hide show
  1. package/dist/cjs/advancedacl/session-key.d.ts +29 -0
  2. package/dist/cjs/advancedacl/session-key.js +167 -27
  3. package/dist/cjs/attestedcompute/attested-compute.d.ts +2 -0
  4. package/dist/cjs/attestedcompute/attested-compute.js +17 -9
  5. package/dist/cjs/attestedcompute/types.d.ts +3 -2
  6. package/dist/cjs/attesteddecrypt/attested-decrypt.d.ts +2 -0
  7. package/dist/cjs/attesteddecrypt/attested-decrypt.js +27 -11
  8. package/dist/cjs/attesteddecrypt/types.d.ts +3 -2
  9. package/dist/cjs/attestedreveal/attested-reveal.d.ts +21 -0
  10. package/dist/cjs/attestedreveal/attested-reveal.js +66 -0
  11. package/dist/cjs/attestedreveal/index.d.ts +1 -0
  12. package/dist/cjs/{fhevm → attestedreveal}/index.js +2 -2
  13. package/dist/cjs/attestedreveal/types.d.ts +7 -0
  14. package/dist/cjs/attestedreveal/types.js +16 -0
  15. package/dist/cjs/generated/abis/addTwo.d.ts +18 -0
  16. package/dist/cjs/generated/abis/addTwo.js +9 -1
  17. package/dist/cjs/generated/abis/lightning-preview.d.ts +48 -0
  18. package/dist/cjs/generated/abis/lightning-preview.js +29 -1
  19. package/dist/cjs/generated/abis/lightning.d.ts +34 -0
  20. package/dist/cjs/generated/abis/lightning.js +22 -1
  21. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
  22. package/dist/cjs/generated/es/inco/kms/lite/v1/kms_service_pb.js +17 -7
  23. package/dist/cjs/generated/lightning.d.ts +31 -10
  24. package/dist/cjs/generated/lightning.js +33 -11
  25. package/dist/cjs/lite/attested-compute.d.ts +5 -3
  26. package/dist/cjs/lite/attested-compute.js +5 -1
  27. package/dist/cjs/lite/attested-decrypt.d.ts +2 -0
  28. package/dist/cjs/lite/attested-decrypt.js +5 -1
  29. package/dist/cjs/lite/index.d.ts +4 -1
  30. package/dist/cjs/lite/index.js +3 -1
  31. package/dist/cjs/lite/lightning.d.ts +32 -0
  32. package/dist/cjs/lite/lightning.js +52 -44
  33. package/dist/cjs/lite/reencrypt.d.ts +0 -1
  34. package/dist/cjs/lite/reencrypt.js +8 -20
  35. package/dist/cjs/local/local-node.js +35 -3
  36. package/dist/cjs/reencryption/types.d.ts +1 -2
  37. package/dist/esm/advancedacl/session-key.d.ts +29 -0
  38. package/dist/esm/advancedacl/session-key.js +160 -22
  39. package/dist/esm/attestedcompute/attested-compute.d.ts +2 -0
  40. package/dist/esm/attestedcompute/attested-compute.js +14 -7
  41. package/dist/esm/attestedcompute/types.d.ts +3 -2
  42. package/dist/esm/attesteddecrypt/attested-decrypt.d.ts +2 -0
  43. package/dist/esm/attesteddecrypt/attested-decrypt.js +24 -9
  44. package/dist/esm/attesteddecrypt/types.d.ts +3 -2
  45. package/dist/esm/attestedreveal/attested-reveal.d.ts +21 -0
  46. package/dist/esm/attestedreveal/attested-reveal.js +63 -0
  47. package/dist/esm/attestedreveal/index.d.ts +1 -0
  48. package/dist/esm/attestedreveal/index.js +2 -0
  49. package/dist/esm/attestedreveal/types.d.ts +7 -0
  50. package/dist/esm/attestedreveal/types.js +12 -0
  51. package/dist/esm/generated/abis/addTwo.d.ts +18 -0
  52. package/dist/esm/generated/abis/addTwo.js +9 -1
  53. package/dist/esm/generated/abis/lightning-preview.d.ts +48 -0
  54. package/dist/esm/generated/abis/lightning-preview.js +29 -1
  55. package/dist/esm/generated/abis/lightning.d.ts +34 -0
  56. package/dist/esm/generated/abis/lightning.js +22 -1
  57. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
  58. package/dist/esm/generated/es/inco/kms/lite/v1/kms_service_pb.js +16 -6
  59. package/dist/esm/generated/lightning.d.ts +31 -10
  60. package/dist/esm/generated/lightning.js +33 -11
  61. package/dist/esm/lite/attested-compute.d.ts +5 -3
  62. package/dist/esm/lite/attested-compute.js +3 -2
  63. package/dist/esm/lite/attested-decrypt.d.ts +2 -0
  64. package/dist/esm/lite/attested-decrypt.js +3 -2
  65. package/dist/esm/lite/index.d.ts +4 -1
  66. package/dist/esm/lite/index.js +3 -1
  67. package/dist/esm/lite/lightning.d.ts +32 -0
  68. package/dist/esm/lite/lightning.js +53 -45
  69. package/dist/esm/lite/reencrypt.d.ts +0 -1
  70. package/dist/esm/lite/reencrypt.js +9 -20
  71. package/dist/esm/local/local-node.js +35 -3
  72. package/dist/esm/reencryption/types.d.ts +1 -2
  73. package/dist/types/advancedacl/session-key.d.ts +29 -0
  74. package/dist/types/attestedcompute/attested-compute.d.ts +2 -0
  75. package/dist/types/attestedcompute/types.d.ts +3 -2
  76. package/dist/types/attesteddecrypt/attested-decrypt.d.ts +2 -0
  77. package/dist/types/attesteddecrypt/types.d.ts +3 -2
  78. package/dist/types/attestedreveal/attested-reveal.d.ts +21 -0
  79. package/dist/types/attestedreveal/index.d.ts +1 -0
  80. package/dist/types/attestedreveal/types.d.ts +7 -0
  81. package/dist/types/generated/abis/addTwo.d.ts +18 -0
  82. package/dist/types/generated/abis/lightning-preview.d.ts +48 -0
  83. package/dist/types/generated/abis/lightning.d.ts +34 -0
  84. package/dist/types/generated/es/inco/kms/lite/v1/kms_service_pb.d.ts +63 -5
  85. package/dist/types/generated/lightning.d.ts +31 -10
  86. package/dist/types/lite/attested-compute.d.ts +5 -3
  87. package/dist/types/lite/attested-decrypt.d.ts +2 -0
  88. package/dist/types/lite/index.d.ts +4 -1
  89. package/dist/types/lite/lightning.d.ts +32 -0
  90. package/dist/types/lite/reencrypt.d.ts +0 -1
  91. package/dist/types/reencryption/types.d.ts +1 -2
  92. package/package.json +28 -17
  93. package/dist/cjs/fhevm/fhe-environment.d.ts +0 -9
  94. package/dist/cjs/fhevm/fhe-environment.js +0 -11
  95. package/dist/cjs/fhevm/fhevm.d.ts +0 -41
  96. package/dist/cjs/fhevm/fhevm.js +0 -145
  97. package/dist/cjs/fhevm/index.d.ts +0 -1
  98. package/dist/cjs/fhevm/reencrypt.d.ts +0 -20
  99. package/dist/cjs/fhevm/reencrypt.js +0 -127
  100. package/dist/cjs/fhevm/tfhe.d.ts +0 -74
  101. package/dist/cjs/fhevm/tfhe.js +0 -336
  102. package/dist/cjs/fhevm/types.d.ts +0 -3
  103. package/dist/cjs/fhevm/types.js +0 -29
  104. package/dist/cjs/generated/abis/inco-fhevm.d.ts +0 -874
  105. package/dist/cjs/generated/abis/inco-fhevm.js +0 -681
  106. package/dist/cjs/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
  107. package/dist/cjs/generated/es/cosmos/msg/v1/msg_pb.js +0 -36
  108. package/dist/cjs/generated/es/google/api/annotations_pb.d.ts +0 -13
  109. package/dist/cjs/generated/es/google/api/annotations_pb.js +0 -30
  110. package/dist/cjs/generated/es/google/api/http_pb.d.ts +0 -440
  111. package/dist/cjs/generated/es/google/api/http_pb.js +0 -37
  112. package/dist/cjs/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
  113. package/dist/cjs/generated/es/inco/fhe/v1/events_pb.js +0 -24
  114. package/dist/cjs/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
  115. package/dist/cjs/generated/es/inco/fhe/v1/genesis_pb.js +0 -49
  116. package/dist/cjs/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
  117. package/dist/cjs/generated/es/inco/fhe/v1/query_pb.js +0 -111
  118. package/dist/cjs/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
  119. package/dist/cjs/generated/es/inco/fhe/v1/tx_pb.js +0 -111
  120. package/dist/cjs/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
  121. package/dist/cjs/generated/es/inco/preflight/v1/genesis_pb.js +0 -23
  122. package/dist/cjs/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
  123. package/dist/cjs/generated/es/inco/preflight/v1/query_pb.js +0 -41
  124. package/dist/cjs/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
  125. package/dist/cjs/generated/es/inco/preflight/v1/tx_pb.js +0 -51
  126. package/dist/cjs/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
  127. package/dist/cjs/generated/es/inco/preflight/v1/types_pb.js +0 -37
  128. package/dist/cjs/generated/fhe-environments.d.ts +0 -14
  129. package/dist/cjs/generated/fhe-environments.js +0 -18
  130. package/dist/cjs/generated/ts/amino/amino.d.ts +0 -1
  131. package/dist/cjs/generated/ts/amino/amino.js +0 -11
  132. package/dist/cjs/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
  133. package/dist/cjs/generated/ts/cometbft/abci/v1/types.js +0 -5079
  134. package/dist/cjs/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
  135. package/dist/cjs/generated/ts/cometbft/crypto/v1/keys.js +0 -108
  136. package/dist/cjs/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
  137. package/dist/cjs/generated/ts/cometbft/crypto/v1/proof.js +0 -433
  138. package/dist/cjs/generated/ts/cometbft/types/v1/params.d.ts +0 -179
  139. package/dist/cjs/generated/ts/cometbft/types/v1/params.js +0 -716
  140. package/dist/cjs/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
  141. package/dist/cjs/generated/ts/cometbft/types/v1/validator.js +0 -358
  142. package/dist/cjs/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
  143. package/dist/cjs/generated/ts/cosmos/app/v1alpha1/module.js +0 -221
  144. package/dist/cjs/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
  145. package/dist/cjs/generated/ts/cosmos/msg/v1/msg.js +0 -11
  146. package/dist/cjs/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
  147. package/dist/cjs/generated/ts/cosmos_proto/cosmos.js +0 -216
  148. package/dist/cjs/generated/ts/gogoproto/gogo.d.ts +0 -1
  149. package/dist/cjs/generated/ts/gogoproto/gogo.js +0 -11
  150. package/dist/cjs/generated/ts/google/api/annotations.d.ts +0 -1
  151. package/dist/cjs/generated/ts/google/api/annotations.js +0 -11
  152. package/dist/cjs/generated/ts/google/api/http.d.ts +0 -371
  153. package/dist/cjs/generated/ts/google/api/http.js +0 -356
  154. package/dist/cjs/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
  155. package/dist/cjs/generated/ts/google/protobuf/descriptor.js +0 -5108
  156. package/dist/cjs/generated/ts/google/protobuf/duration.d.ts +0 -99
  157. package/dist/cjs/generated/ts/google/protobuf/duration.js +0 -93
  158. package/dist/cjs/generated/ts/google/protobuf/timestamp.d.ts +0 -128
  159. package/dist/cjs/generated/ts/google/protobuf/timestamp.js +0 -93
  160. package/dist/cjs/generated/ts/google/protobuf/wrappers.d.ts +0 -111
  161. package/dist/cjs/generated/ts/google/protobuf/wrappers.js +0 -509
  162. package/dist/cjs/generated/ts/inco/abci/v1/types.d.ts +0 -35
  163. package/dist/cjs/generated/ts/inco/abci/v1/types.js +0 -73
  164. package/dist/cjs/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
  165. package/dist/cjs/generated/ts/inco/fhe/module/v1/module.js +0 -66
  166. package/dist/cjs/generated/ts/inco/fhe/v1/events.d.ts +0 -66
  167. package/dist/cjs/generated/ts/inco/fhe/v1/events.js +0 -190
  168. package/dist/cjs/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
  169. package/dist/cjs/generated/ts/inco/fhe/v1/genesis.js +0 -714
  170. package/dist/cjs/generated/ts/inco/fhe/v1/query.d.ts +0 -366
  171. package/dist/cjs/generated/ts/inco/fhe/v1/query.js +0 -1394
  172. package/dist/cjs/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
  173. package/dist/cjs/generated/ts/inco/fhe/v1/tx.js +0 -1236
  174. package/dist/cjs/generated/ts/inco/fhe/v1/types.d.ts +0 -225
  175. package/dist/cjs/generated/ts/inco/fhe/v1/types.js +0 -990
  176. package/dist/cjs/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
  177. package/dist/cjs/generated/ts/inco/originchain/module/v1/module.js +0 -66
  178. package/dist/cjs/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
  179. package/dist/cjs/generated/ts/inco/originchain/v1/abci.js +0 -331
  180. package/dist/cjs/generated/ts/inco/originchain/v1/events.d.ts +0 -60
  181. package/dist/cjs/generated/ts/inco/originchain/v1/events.js +0 -216
  182. package/dist/cjs/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
  183. package/dist/cjs/generated/ts/inco/originchain/v1/genesis.js +0 -69
  184. package/dist/cjs/generated/ts/inco/originchain/v1/query.d.ts +0 -116
  185. package/dist/cjs/generated/ts/inco/originchain/v1/query.js +0 -280
  186. package/dist/cjs/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
  187. package/dist/cjs/generated/ts/inco/originchain/v1/tx.js +0 -140
  188. package/dist/cjs/generated/ts/inco/originchain/v1/types.d.ts +0 -58
  189. package/dist/cjs/generated/ts/inco/originchain/v1/types.js +0 -203
  190. package/dist/cjs/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
  191. package/dist/cjs/generated/ts/inco/preflight/module/v1/module.js +0 -66
  192. package/dist/cjs/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
  193. package/dist/cjs/generated/ts/inco/preflight/v1/genesis.js +0 -185
  194. package/dist/cjs/generated/ts/inco/preflight/v1/query.d.ts +0 -93
  195. package/dist/cjs/generated/ts/inco/preflight/v1/query.js +0 -259
  196. package/dist/cjs/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
  197. package/dist/cjs/generated/ts/inco/preflight/v1/tx.js +0 -448
  198. package/dist/cjs/generated/ts/inco/preflight/v1/types.d.ts +0 -84
  199. package/dist/cjs/generated/ts/inco/preflight/v1/types.js +0 -398
  200. package/dist/cjs/l1/client.d.ts +0 -35
  201. package/dist/cjs/l1/client.js +0 -97
  202. package/dist/cjs/l1/index.d.ts +0 -2
  203. package/dist/cjs/l1/index.js +0 -19
  204. package/dist/cjs/l1/preflight.d.ts +0 -20
  205. package/dist/cjs/l1/preflight.js +0 -42
  206. package/dist/esm/fhevm/fhe-environment.d.ts +0 -9
  207. package/dist/esm/fhevm/fhe-environment.js +0 -8
  208. package/dist/esm/fhevm/fhevm.d.ts +0 -41
  209. package/dist/esm/fhevm/fhevm.js +0 -139
  210. package/dist/esm/fhevm/index.d.ts +0 -1
  211. package/dist/esm/fhevm/index.js +0 -2
  212. package/dist/esm/fhevm/reencrypt.d.ts +0 -20
  213. package/dist/esm/fhevm/reencrypt.js +0 -123
  214. package/dist/esm/fhevm/tfhe.d.ts +0 -74
  215. package/dist/esm/fhevm/tfhe.js +0 -328
  216. package/dist/esm/fhevm/types.d.ts +0 -3
  217. package/dist/esm/fhevm/types.js +0 -26
  218. package/dist/esm/generated/abis/inco-fhevm.d.ts +0 -874
  219. package/dist/esm/generated/abis/inco-fhevm.js +0 -678
  220. package/dist/esm/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
  221. package/dist/esm/generated/es/cosmos/msg/v1/msg_pb.js +0 -33
  222. package/dist/esm/generated/es/google/api/annotations_pb.d.ts +0 -13
  223. package/dist/esm/generated/es/google/api/annotations_pb.js +0 -27
  224. package/dist/esm/generated/es/google/api/http_pb.d.ts +0 -440
  225. package/dist/esm/generated/es/google/api/http_pb.js +0 -34
  226. package/dist/esm/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
  227. package/dist/esm/generated/es/inco/fhe/v1/events_pb.js +0 -21
  228. package/dist/esm/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
  229. package/dist/esm/generated/es/inco/fhe/v1/genesis_pb.js +0 -46
  230. package/dist/esm/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
  231. package/dist/esm/generated/es/inco/fhe/v1/query_pb.js +0 -108
  232. package/dist/esm/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
  233. package/dist/esm/generated/es/inco/fhe/v1/tx_pb.js +0 -108
  234. package/dist/esm/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
  235. package/dist/esm/generated/es/inco/preflight/v1/genesis_pb.js +0 -20
  236. package/dist/esm/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
  237. package/dist/esm/generated/es/inco/preflight/v1/query_pb.js +0 -38
  238. package/dist/esm/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
  239. package/dist/esm/generated/es/inco/preflight/v1/tx_pb.js +0 -48
  240. package/dist/esm/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
  241. package/dist/esm/generated/es/inco/preflight/v1/types_pb.js +0 -34
  242. package/dist/esm/generated/fhe-environments.d.ts +0 -14
  243. package/dist/esm/generated/fhe-environments.js +0 -15
  244. package/dist/esm/generated/ts/amino/amino.d.ts +0 -1
  245. package/dist/esm/generated/ts/amino/amino.js +0 -8
  246. package/dist/esm/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
  247. package/dist/esm/generated/ts/cometbft/abci/v1/types.js +0 -5063
  248. package/dist/esm/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
  249. package/dist/esm/generated/ts/cometbft/crypto/v1/keys.js +0 -105
  250. package/dist/esm/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
  251. package/dist/esm/generated/ts/cometbft/crypto/v1/proof.js +0 -430
  252. package/dist/esm/generated/ts/cometbft/types/v1/params.d.ts +0 -179
  253. package/dist/esm/generated/ts/cometbft/types/v1/params.js +0 -713
  254. package/dist/esm/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
  255. package/dist/esm/generated/ts/cometbft/types/v1/validator.js +0 -353
  256. package/dist/esm/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
  257. package/dist/esm/generated/ts/cosmos/app/v1alpha1/module.js +0 -218
  258. package/dist/esm/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
  259. package/dist/esm/generated/ts/cosmos/msg/v1/msg.js +0 -8
  260. package/dist/esm/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
  261. package/dist/esm/generated/ts/cosmos_proto/cosmos.js +0 -211
  262. package/dist/esm/generated/ts/gogoproto/gogo.d.ts +0 -1
  263. package/dist/esm/generated/ts/gogoproto/gogo.js +0 -8
  264. package/dist/esm/generated/ts/google/api/annotations.d.ts +0 -1
  265. package/dist/esm/generated/ts/google/api/annotations.js +0 -8
  266. package/dist/esm/generated/ts/google/api/http.d.ts +0 -371
  267. package/dist/esm/generated/ts/google/api/http.js +0 -353
  268. package/dist/esm/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
  269. package/dist/esm/generated/ts/google/protobuf/descriptor.js +0 -5070
  270. package/dist/esm/generated/ts/google/protobuf/duration.d.ts +0 -99
  271. package/dist/esm/generated/ts/google/protobuf/duration.js +0 -90
  272. package/dist/esm/generated/ts/google/protobuf/timestamp.d.ts +0 -128
  273. package/dist/esm/generated/ts/google/protobuf/timestamp.js +0 -90
  274. package/dist/esm/generated/ts/google/protobuf/wrappers.d.ts +0 -111
  275. package/dist/esm/generated/ts/google/protobuf/wrappers.js +0 -506
  276. package/dist/esm/generated/ts/inco/abci/v1/types.d.ts +0 -35
  277. package/dist/esm/generated/ts/inco/abci/v1/types.js +0 -70
  278. package/dist/esm/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
  279. package/dist/esm/generated/ts/inco/fhe/module/v1/module.js +0 -63
  280. package/dist/esm/generated/ts/inco/fhe/v1/events.d.ts +0 -66
  281. package/dist/esm/generated/ts/inco/fhe/v1/events.js +0 -187
  282. package/dist/esm/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
  283. package/dist/esm/generated/ts/inco/fhe/v1/genesis.js +0 -711
  284. package/dist/esm/generated/ts/inco/fhe/v1/query.d.ts +0 -366
  285. package/dist/esm/generated/ts/inco/fhe/v1/query.js +0 -1391
  286. package/dist/esm/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
  287. package/dist/esm/generated/ts/inco/fhe/v1/tx.js +0 -1233
  288. package/dist/esm/generated/ts/inco/fhe/v1/types.d.ts +0 -225
  289. package/dist/esm/generated/ts/inco/fhe/v1/types.js +0 -985
  290. package/dist/esm/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
  291. package/dist/esm/generated/ts/inco/originchain/module/v1/module.js +0 -63
  292. package/dist/esm/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
  293. package/dist/esm/generated/ts/inco/originchain/v1/abci.js +0 -328
  294. package/dist/esm/generated/ts/inco/originchain/v1/events.d.ts +0 -60
  295. package/dist/esm/generated/ts/inco/originchain/v1/events.js +0 -213
  296. package/dist/esm/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
  297. package/dist/esm/generated/ts/inco/originchain/v1/genesis.js +0 -66
  298. package/dist/esm/generated/ts/inco/originchain/v1/query.d.ts +0 -116
  299. package/dist/esm/generated/ts/inco/originchain/v1/query.js +0 -277
  300. package/dist/esm/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
  301. package/dist/esm/generated/ts/inco/originchain/v1/tx.js +0 -137
  302. package/dist/esm/generated/ts/inco/originchain/v1/types.d.ts +0 -58
  303. package/dist/esm/generated/ts/inco/originchain/v1/types.js +0 -200
  304. package/dist/esm/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
  305. package/dist/esm/generated/ts/inco/preflight/module/v1/module.js +0 -63
  306. package/dist/esm/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
  307. package/dist/esm/generated/ts/inco/preflight/v1/genesis.js +0 -182
  308. package/dist/esm/generated/ts/inco/preflight/v1/query.d.ts +0 -93
  309. package/dist/esm/generated/ts/inco/preflight/v1/query.js +0 -256
  310. package/dist/esm/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
  311. package/dist/esm/generated/ts/inco/preflight/v1/tx.js +0 -445
  312. package/dist/esm/generated/ts/inco/preflight/v1/types.d.ts +0 -84
  313. package/dist/esm/generated/ts/inco/preflight/v1/types.js +0 -395
  314. package/dist/esm/l1/client.d.ts +0 -35
  315. package/dist/esm/l1/client.js +0 -93
  316. package/dist/esm/l1/index.d.ts +0 -2
  317. package/dist/esm/l1/index.js +0 -3
  318. package/dist/esm/l1/preflight.d.ts +0 -20
  319. package/dist/esm/l1/preflight.js +0 -39
  320. package/dist/types/fhevm/fhe-environment.d.ts +0 -9
  321. package/dist/types/fhevm/fhevm.d.ts +0 -41
  322. package/dist/types/fhevm/index.d.ts +0 -1
  323. package/dist/types/fhevm/reencrypt.d.ts +0 -20
  324. package/dist/types/fhevm/tfhe.d.ts +0 -74
  325. package/dist/types/fhevm/types.d.ts +0 -3
  326. package/dist/types/generated/abis/inco-fhevm.d.ts +0 -874
  327. package/dist/types/generated/es/cosmos/msg/v1/msg_pb.d.ts +0 -29
  328. package/dist/types/generated/es/google/api/annotations_pb.d.ts +0 -13
  329. package/dist/types/generated/es/google/api/http_pb.d.ts +0 -440
  330. package/dist/types/generated/es/inco/fhe/v1/events_pb.d.ts +0 -79
  331. package/dist/types/generated/es/inco/fhe/v1/genesis_pb.d.ts +0 -252
  332. package/dist/types/generated/es/inco/fhe/v1/query_pb.d.ts +0 -569
  333. package/dist/types/generated/es/inco/fhe/v1/tx_pb.d.ts +0 -494
  334. package/dist/types/generated/es/inco/preflight/v1/genesis_pb.d.ts +0 -56
  335. package/dist/types/generated/es/inco/preflight/v1/query_pb.d.ts +0 -100
  336. package/dist/types/generated/es/inco/preflight/v1/tx_pb.d.ts +0 -193
  337. package/dist/types/generated/es/inco/preflight/v1/types_pb.d.ts +0 -144
  338. package/dist/types/generated/fhe-environments.d.ts +0 -14
  339. package/dist/types/generated/ts/amino/amino.d.ts +0 -1
  340. package/dist/types/generated/ts/cometbft/abci/v1/types.d.ts +0 -597
  341. package/dist/types/generated/ts/cometbft/crypto/v1/keys.d.ts +0 -27
  342. package/dist/types/generated/ts/cometbft/crypto/v1/proof.d.ts +0 -60
  343. package/dist/types/generated/ts/cometbft/types/v1/params.d.ts +0 -179
  344. package/dist/types/generated/ts/cometbft/types/v1/validator.d.ts +0 -61
  345. package/dist/types/generated/ts/cosmos/app/v1alpha1/module.d.ts +0 -104
  346. package/dist/types/generated/ts/cosmos/msg/v1/msg.d.ts +0 -1
  347. package/dist/types/generated/ts/cosmos_proto/cosmos.d.ts +0 -80
  348. package/dist/types/generated/ts/gogoproto/gogo.d.ts +0 -1
  349. package/dist/types/generated/ts/google/api/annotations.d.ts +0 -1
  350. package/dist/types/generated/ts/google/api/http.d.ts +0 -371
  351. package/dist/types/generated/ts/google/protobuf/descriptor.d.ts +0 -1228
  352. package/dist/types/generated/ts/google/protobuf/duration.d.ts +0 -99
  353. package/dist/types/generated/ts/google/protobuf/timestamp.d.ts +0 -128
  354. package/dist/types/generated/ts/google/protobuf/wrappers.d.ts +0 -111
  355. package/dist/types/generated/ts/inco/abci/v1/types.d.ts +0 -35
  356. package/dist/types/generated/ts/inco/fhe/module/v1/module.d.ts +0 -31
  357. package/dist/types/generated/ts/inco/fhe/v1/events.d.ts +0 -66
  358. package/dist/types/generated/ts/inco/fhe/v1/genesis.d.ts +0 -117
  359. package/dist/types/generated/ts/inco/fhe/v1/query.d.ts +0 -366
  360. package/dist/types/generated/ts/inco/fhe/v1/tx.d.ts +0 -409
  361. package/dist/types/generated/ts/inco/fhe/v1/types.d.ts +0 -225
  362. package/dist/types/generated/ts/inco/originchain/module/v1/module.d.ts +0 -30
  363. package/dist/types/generated/ts/inco/originchain/v1/abci.d.ts +0 -80
  364. package/dist/types/generated/ts/inco/originchain/v1/events.d.ts +0 -60
  365. package/dist/types/generated/ts/inco/originchain/v1/genesis.d.ts +0 -28
  366. package/dist/types/generated/ts/inco/originchain/v1/query.d.ts +0 -116
  367. package/dist/types/generated/ts/inco/originchain/v1/tx.d.ts +0 -89
  368. package/dist/types/generated/ts/inco/originchain/v1/types.d.ts +0 -58
  369. package/dist/types/generated/ts/inco/preflight/module/v1/module.d.ts +0 -31
  370. package/dist/types/generated/ts/inco/preflight/v1/genesis.d.ts +0 -41
  371. package/dist/types/generated/ts/inco/preflight/v1/query.d.ts +0 -93
  372. package/dist/types/generated/ts/inco/preflight/v1/tx.d.ts +0 -187
  373. package/dist/types/generated/ts/inco/preflight/v1/types.d.ts +0 -84
  374. package/dist/types/l1/client.d.ts +0 -35
  375. package/dist/types/l1/index.d.ts +0 -2
  376. package/dist/types/l1/preflight.d.ts +0 -20
@@ -1,29 +0,0 @@
1
- import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
2
- import type { MessageOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
3
- /**
4
- * Describes the file cosmos/msg/v1/msg.proto.
5
- */
6
- export declare const file_cosmos_msg_v1_msg: GenFile;
7
- /**
8
- * service indicates that the service is a Msg service and that requests
9
- * must be transported via blockchain transactions rather than gRPC.
10
- * Tooling can use this annotation to distinguish between Msg services and
11
- * other types of services via reflection.
12
- *
13
- * @generated from extension: bool service = 11110000;
14
- */
15
- export declare const service: GenExtension<ServiceOptions, boolean>;
16
- /**
17
- * signer must be used in cosmos messages in order
18
- * to signal to external clients which fields in a
19
- * given cosmos message must be filled with signer
20
- * information (address).
21
- * The field must be the protobuf name of the message
22
- * field extended with this MessageOption.
23
- * The field must either be of string kind, or of message
24
- * kind in case the signer information is contained within
25
- * a message inside the cosmos message.
26
- *
27
- * @generated from extension: repeated string signer = 11110000;
28
- */
29
- export declare const signer: GenExtension<MessageOptions, string[]>;
@@ -1,36 +0,0 @@
1
- "use strict";
2
- // @generated by protoc-gen-es v2.6.1 with parameter "target=ts"
3
- // @generated from file cosmos/msg/v1/msg.proto (package cosmos.msg.v1, syntax proto3)
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.signer = exports.service = exports.file_cosmos_msg_v1_msg = void 0;
7
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
- const wkt_1 = require("@bufbuild/protobuf/wkt");
9
- /**
10
- * Describes the file cosmos/msg/v1/msg.proto.
11
- */
12
- exports.file_cosmos_msg_v1_msg = (0, codegenv2_1.fileDesc)("Chdjb3Ntb3MvbXNnL3YxL21zZy5wcm90bxINY29zbW9zLm1zZy52MTo8CgdzZXJ2aWNlEh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zGPCMpgUgASgIUgdzZXJ2aWNlOjoKBnNpZ25lchIfLmdvb2dsZS5wcm90b2J1Zi5NZXNzYWdlT3B0aW9ucxjwjKYFIAMoCVIGc2lnbmVyQi9aLWdpdGh1Yi5jb20vY29zbW9zL2Nvc21vcy1zZGsvdHlwZXMvbXNnc2VydmljZWIGcHJvdG8z", [wkt_1.file_google_protobuf_descriptor]);
13
- /**
14
- * service indicates that the service is a Msg service and that requests
15
- * must be transported via blockchain transactions rather than gRPC.
16
- * Tooling can use this annotation to distinguish between Msg services and
17
- * other types of services via reflection.
18
- *
19
- * @generated from extension: bool service = 11110000;
20
- */
21
- exports.service = (0, codegenv2_1.extDesc)(exports.file_cosmos_msg_v1_msg, 0);
22
- /**
23
- * signer must be used in cosmos messages in order
24
- * to signal to external clients which fields in a
25
- * given cosmos message must be filled with signer
26
- * information (address).
27
- * The field must be the protobuf name of the message
28
- * field extended with this MessageOption.
29
- * The field must either be of string kind, or of message
30
- * kind in case the signer information is contained within
31
- * a message inside the cosmos message.
32
- *
33
- * @generated from extension: repeated string signer = 11110000;
34
- */
35
- exports.signer = (0, codegenv2_1.extDesc)(exports.file_cosmos_msg_v1_msg, 1);
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXNnX3BiLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9lcy9jb3Ntb3MvbXNnL3YxL21zZ19wYi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsZ0VBQWdFO0FBQ2hFLHNGQUFzRjtBQUN0RixvQkFBb0I7OztBQUdwQiw0REFBaUU7QUFFakUsZ0RBQXlFO0FBRXpFOztHQUVHO0FBQ1UsUUFBQSxzQkFBc0IsR0FDakMsSUFBQSxvQkFBUSxFQUFDLHNTQUFzUyxFQUFFLENBQUMscUNBQStCLENBQUMsQ0FBQyxDQUFDO0FBRXRWOzs7Ozs7O0dBT0c7QUFDVSxRQUFBLE9BQU8sR0FDbEIsSUFBQSxtQkFBTyxFQUFDLDhCQUFzQixFQUFFLENBQUMsQ0FBQyxDQUFDO0FBRXJDOzs7Ozs7Ozs7Ozs7R0FZRztBQUNVLFFBQUEsTUFBTSxHQUNqQixJQUFBLG1CQUFPLEVBQUMsOEJBQXNCLEVBQUUsQ0FBQyxDQUFDLENBQUMifQ==
@@ -1,13 +0,0 @@
1
- import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv2";
2
- import type { HttpRule } from "./http_pb";
3
- import type { MethodOptions } from "@bufbuild/protobuf/wkt";
4
- /**
5
- * Describes the file google/api/annotations.proto.
6
- */
7
- export declare const file_google_api_annotations: GenFile;
8
- /**
9
- * See `HttpRule`.
10
- *
11
- * @generated from extension: google.api.HttpRule http = 72295728;
12
- */
13
- export declare const http: GenExtension<MethodOptions, HttpRule>;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- // Copyright 2025 Google LLC
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.http = exports.file_google_api_annotations = void 0;
17
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
- const http_pb_1 = require("./http_pb");
19
- const wkt_1 = require("@bufbuild/protobuf/wkt");
20
- /**
21
- * Describes the file google/api/annotations.proto.
22
- */
23
- exports.file_google_api_annotations = (0, codegenv2_1.fileDesc)("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [http_pb_1.file_google_api_http, wkt_1.file_google_protobuf_descriptor]);
24
- /**
25
- * See `HttpRule`.
26
- *
27
- * @generated from extension: google.api.HttpRule http = 72295728;
28
- */
29
- exports.http = (0, codegenv2_1.extDesc)(exports.file_google_api_annotations, 0);
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbnNfcGIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2VzL2dvb2dsZS9hcGkvYW5ub3RhdGlvbnNfcGIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRCQUE0QjtBQUM1QixFQUFFO0FBQ0Ysa0VBQWtFO0FBQ2xFLG1FQUFtRTtBQUNuRSwwQ0FBMEM7QUFDMUMsRUFBRTtBQUNGLGlEQUFpRDtBQUNqRCxFQUFFO0FBQ0Ysc0VBQXNFO0FBQ3RFLG9FQUFvRTtBQUNwRSwyRUFBMkU7QUFDM0Usc0VBQXNFO0FBQ3RFLGlDQUFpQzs7O0FBT2pDLDREQUFpRTtBQUVqRSx1Q0FBaUQ7QUFFakQsZ0RBQXlFO0FBRXpFOztHQUVHO0FBQ1UsUUFBQSwyQkFBMkIsR0FDdEMsSUFBQSxvQkFBUSxFQUFDLGlVQUFpVSxFQUFFLENBQUMsOEJBQW9CLEVBQUUscUNBQStCLENBQUMsQ0FBQyxDQUFDO0FBRXZZOzs7O0dBSUc7QUFDVSxRQUFBLElBQUksR0FDZixJQUFBLG1CQUFPLEVBQUMsbUNBQTJCLEVBQUUsQ0FBQyxDQUFDLENBQUMifQ==
@@ -1,440 +0,0 @@
1
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
- import type { Message } from "@bufbuild/protobuf";
3
- /**
4
- * Describes the file google/api/http.proto.
5
- */
6
- export declare const file_google_api_http: GenFile;
7
- /**
8
- * Defines the HTTP configuration for an API service. It contains a list of
9
- * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
10
- * to one or more HTTP REST API methods.
11
- *
12
- * @generated from message google.api.Http
13
- */
14
- export type Http = Message<"google.api.Http"> & {
15
- /**
16
- * A list of HTTP configuration rules that apply to individual API methods.
17
- *
18
- * **NOTE:** All service configuration rules follow "last one wins" order.
19
- *
20
- * @generated from field: repeated google.api.HttpRule rules = 1;
21
- */
22
- rules: HttpRule[];
23
- /**
24
- * When set to true, URL path parameters will be fully URI-decoded except in
25
- * cases of single segment matches in reserved expansion, where "%2F" will be
26
- * left encoded.
27
- *
28
- * The default behavior is to not decode RFC 6570 reserved characters in multi
29
- * segment matches.
30
- *
31
- * @generated from field: bool fully_decode_reserved_expansion = 2;
32
- */
33
- fullyDecodeReservedExpansion: boolean;
34
- };
35
- /**
36
- * Describes the message google.api.Http.
37
- * Use `create(HttpSchema)` to create a new message.
38
- */
39
- export declare const HttpSchema: GenMessage<Http>;
40
- /**
41
- * gRPC Transcoding
42
- *
43
- * gRPC Transcoding is a feature for mapping between a gRPC method and one or
44
- * more HTTP REST endpoints. It allows developers to build a single API service
45
- * that supports both gRPC APIs and REST APIs. Many systems, including [Google
46
- * APIs](https://github.com/googleapis/googleapis),
47
- * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
48
- * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
49
- * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
50
- * and use it for large scale production services.
51
- *
52
- * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
53
- * how different portions of the gRPC request message are mapped to the URL
54
- * path, URL query parameters, and HTTP request body. It also controls how the
55
- * gRPC response message is mapped to the HTTP response body. `HttpRule` is
56
- * typically specified as an `google.api.http` annotation on the gRPC method.
57
- *
58
- * Each mapping specifies a URL path template and an HTTP method. The path
59
- * template may refer to one or more fields in the gRPC request message, as long
60
- * as each field is a non-repeated field with a primitive (non-message) type.
61
- * The path template controls how fields of the request message are mapped to
62
- * the URL path.
63
- *
64
- * Example:
65
- *
66
- * service Messaging {
67
- * rpc GetMessage(GetMessageRequest) returns (Message) {
68
- * option (google.api.http) = {
69
- * get: "/v1/{name=messages/*}"
70
- * };
71
- * }
72
- * }
73
- * message GetMessageRequest {
74
- * string name = 1; // Mapped to URL path.
75
- * }
76
- * message Message {
77
- * string text = 1; // The resource content.
78
- * }
79
- *
80
- * This enables an HTTP REST to gRPC mapping as below:
81
- *
82
- * - HTTP: `GET /v1/messages/123456`
83
- * - gRPC: `GetMessage(name: "messages/123456")`
84
- *
85
- * Any fields in the request message which are not bound by the path template
86
- * automatically become HTTP query parameters if there is no HTTP request body.
87
- * For example:
88
- *
89
- * service Messaging {
90
- * rpc GetMessage(GetMessageRequest) returns (Message) {
91
- * option (google.api.http) = {
92
- * get:"/v1/messages/{message_id}"
93
- * };
94
- * }
95
- * }
96
- * message GetMessageRequest {
97
- * message SubMessage {
98
- * string subfield = 1;
99
- * }
100
- * string message_id = 1; // Mapped to URL path.
101
- * int64 revision = 2; // Mapped to URL query parameter `revision`.
102
- * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
103
- * }
104
- *
105
- * This enables a HTTP JSON to RPC mapping as below:
106
- *
107
- * - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo`
108
- * - gRPC: `GetMessage(message_id: "123456" revision: 2 sub:
109
- * SubMessage(subfield: "foo"))`
110
- *
111
- * Note that fields which are mapped to URL query parameters must have a
112
- * primitive type or a repeated primitive type or a non-repeated message type.
113
- * In the case of a repeated type, the parameter can be repeated in the URL
114
- * as `...?param=A&param=B`. In the case of a message type, each field of the
115
- * message is mapped to a separate parameter, such as
116
- * `...?foo.a=A&foo.b=B&foo.c=C`.
117
- *
118
- * For HTTP methods that allow a request body, the `body` field
119
- * specifies the mapping. Consider a REST update method on the
120
- * message resource collection:
121
- *
122
- * service Messaging {
123
- * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
124
- * option (google.api.http) = {
125
- * patch: "/v1/messages/{message_id}"
126
- * body: "message"
127
- * };
128
- * }
129
- * }
130
- * message UpdateMessageRequest {
131
- * string message_id = 1; // mapped to the URL
132
- * Message message = 2; // mapped to the body
133
- * }
134
- *
135
- * The following HTTP JSON to RPC mapping is enabled, where the
136
- * representation of the JSON in the request body is determined by
137
- * protos JSON encoding:
138
- *
139
- * - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
140
- * - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })`
141
- *
142
- * The special name `*` can be used in the body mapping to define that
143
- * every field not bound by the path template should be mapped to the
144
- * request body. This enables the following alternative definition of
145
- * the update method:
146
- *
147
- * service Messaging {
148
- * rpc UpdateMessage(Message) returns (Message) {
149
- * option (google.api.http) = {
150
- * patch: "/v1/messages/{message_id}"
151
- * body: "*"
152
- * };
153
- * }
154
- * }
155
- * message Message {
156
- * string message_id = 1;
157
- * string text = 2;
158
- * }
159
- *
160
- *
161
- * The following HTTP JSON to RPC mapping is enabled:
162
- *
163
- * - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }`
164
- * - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")`
165
- *
166
- * Note that when using `*` in the body mapping, it is not possible to
167
- * have HTTP parameters, as all fields not bound by the path end in
168
- * the body. This makes this option more rarely used in practice when
169
- * defining REST APIs. The common usage of `*` is in custom methods
170
- * which don't use the URL at all for transferring data.
171
- *
172
- * It is possible to define multiple HTTP methods for one RPC by using
173
- * the `additional_bindings` option. Example:
174
- *
175
- * service Messaging {
176
- * rpc GetMessage(GetMessageRequest) returns (Message) {
177
- * option (google.api.http) = {
178
- * get: "/v1/messages/{message_id}"
179
- * additional_bindings {
180
- * get: "/v1/users/{user_id}/messages/{message_id}"
181
- * }
182
- * };
183
- * }
184
- * }
185
- * message GetMessageRequest {
186
- * string message_id = 1;
187
- * string user_id = 2;
188
- * }
189
- *
190
- * This enables the following two alternative HTTP JSON to RPC mappings:
191
- *
192
- * - HTTP: `GET /v1/messages/123456`
193
- * - gRPC: `GetMessage(message_id: "123456")`
194
- *
195
- * - HTTP: `GET /v1/users/me/messages/123456`
196
- * - gRPC: `GetMessage(user_id: "me" message_id: "123456")`
197
- *
198
- * Rules for HTTP mapping
199
- *
200
- * 1. Leaf request fields (recursive expansion nested messages in the request
201
- * message) are classified into three categories:
202
- * - Fields referred by the path template. They are passed via the URL path.
203
- * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They
204
- * are passed via the HTTP
205
- * request body.
206
- * - All other fields are passed via the URL query parameters, and the
207
- * parameter name is the field path in the request message. A repeated
208
- * field can be represented as multiple query parameters under the same
209
- * name.
210
- * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL
211
- * query parameter, all fields
212
- * are passed via URL path and HTTP request body.
213
- * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP
214
- * request body, all
215
- * fields are passed via URL path and URL query parameters.
216
- *
217
- * Path template syntax
218
- *
219
- * Template = "/" Segments [ Verb ] ;
220
- * Segments = Segment { "/" Segment } ;
221
- * Segment = "*" | "**" | LITERAL | Variable ;
222
- * Variable = "{" FieldPath [ "=" Segments ] "}" ;
223
- * FieldPath = IDENT { "." IDENT } ;
224
- * Verb = ":" LITERAL ;
225
- *
226
- * The syntax `*` matches a single URL path segment. The syntax `**` matches
227
- * zero or more URL path segments, which must be the last part of the URL path
228
- * except the `Verb`.
229
- *
230
- * The syntax `Variable` matches part of the URL path as specified by its
231
- * template. A variable template must not contain other variables. If a variable
232
- * matches a single path segment, its template may be omitted, e.g. `{var}`
233
- * is equivalent to `{var=*}`.
234
- *
235
- * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
236
- * contains any reserved character, such characters should be percent-encoded
237
- * before the matching.
238
- *
239
- * If a variable contains exactly one path segment, such as `"{var}"` or
240
- * `"{var=*}"`, when such a variable is expanded into a URL path on the client
241
- * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
242
- * server side does the reverse decoding. Such variables show up in the
243
- * [Discovery
244
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
245
- * `{var}`.
246
- *
247
- * If a variable contains multiple path segments, such as `"{var=foo/*}"`
248
- * or `"{var=**}"`, when such a variable is expanded into a URL path on the
249
- * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
250
- * The server side does the reverse decoding, except "%2F" and "%2f" are left
251
- * unchanged. Such variables show up in the
252
- * [Discovery
253
- * Document](https://developers.google.com/discovery/v1/reference/apis) as
254
- * `{+var}`.
255
- *
256
- * Using gRPC API Service Configuration
257
- *
258
- * gRPC API Service Configuration (service config) is a configuration language
259
- * for configuring a gRPC service to become a user-facing product. The
260
- * service config is simply the YAML representation of the `google.api.Service`
261
- * proto message.
262
- *
263
- * As an alternative to annotating your proto file, you can configure gRPC
264
- * transcoding in your service config YAML files. You do this by specifying a
265
- * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
266
- * effect as the proto annotation. This can be particularly useful if you
267
- * have a proto that is reused in multiple services. Note that any transcoding
268
- * specified in the service config will override any matching transcoding
269
- * configuration in the proto.
270
- *
271
- * The following example selects a gRPC method and applies an `HttpRule` to it:
272
- *
273
- * http:
274
- * rules:
275
- * - selector: example.v1.Messaging.GetMessage
276
- * get: /v1/messages/{message_id}/{sub.subfield}
277
- *
278
- * Special notes
279
- *
280
- * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
281
- * proto to JSON conversion must follow the [proto3
282
- * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
283
- *
284
- * While the single segment variable follows the semantics of
285
- * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
286
- * Expansion, the multi segment variable **does not** follow RFC 6570 Section
287
- * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
288
- * does not expand special characters like `?` and `#`, which would lead
289
- * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
290
- * for multi segment variables.
291
- *
292
- * The path variables **must not** refer to any repeated or mapped field,
293
- * because client libraries are not capable of handling such variable expansion.
294
- *
295
- * The path variables **must not** capture the leading "/" character. The reason
296
- * is that the most common use case "{var}" does not capture the leading "/"
297
- * character. For consistency, all path variables must share the same behavior.
298
- *
299
- * Repeated message fields must not be mapped to URL query parameters, because
300
- * no client library can support such complicated mapping.
301
- *
302
- * If an API needs to use a JSON array for request or response body, it can map
303
- * the request or response body to a repeated field. However, some gRPC
304
- * Transcoding implementations may not support this feature.
305
- *
306
- * @generated from message google.api.HttpRule
307
- */
308
- export type HttpRule = Message<"google.api.HttpRule"> & {
309
- /**
310
- * Selects a method to which this rule applies.
311
- *
312
- * Refer to [selector][google.api.DocumentationRule.selector] for syntax
313
- * details.
314
- *
315
- * @generated from field: string selector = 1;
316
- */
317
- selector: string;
318
- /**
319
- * Determines the URL pattern is matched by this rules. This pattern can be
320
- * used with any of the {get|put|post|delete|patch} methods. A custom method
321
- * can be defined using the 'custom' field.
322
- *
323
- * @generated from oneof google.api.HttpRule.pattern
324
- */
325
- pattern: {
326
- /**
327
- * Maps to HTTP GET. Used for listing and getting information about
328
- * resources.
329
- *
330
- * @generated from field: string get = 2;
331
- */
332
- value: string;
333
- case: "get";
334
- } | {
335
- /**
336
- * Maps to HTTP PUT. Used for replacing a resource.
337
- *
338
- * @generated from field: string put = 3;
339
- */
340
- value: string;
341
- case: "put";
342
- } | {
343
- /**
344
- * Maps to HTTP POST. Used for creating a resource or performing an action.
345
- *
346
- * @generated from field: string post = 4;
347
- */
348
- value: string;
349
- case: "post";
350
- } | {
351
- /**
352
- * Maps to HTTP DELETE. Used for deleting a resource.
353
- *
354
- * @generated from field: string delete = 5;
355
- */
356
- value: string;
357
- case: "delete";
358
- } | {
359
- /**
360
- * Maps to HTTP PATCH. Used for updating a resource.
361
- *
362
- * @generated from field: string patch = 6;
363
- */
364
- value: string;
365
- case: "patch";
366
- } | {
367
- /**
368
- * The custom pattern is used for specifying an HTTP method that is not
369
- * included in the `pattern` field, such as HEAD, or "*" to leave the
370
- * HTTP method unspecified for this rule. The wild-card rule is useful
371
- * for services that provide content to Web (HTML) clients.
372
- *
373
- * @generated from field: google.api.CustomHttpPattern custom = 8;
374
- */
375
- value: CustomHttpPattern;
376
- case: "custom";
377
- } | {
378
- case: undefined;
379
- value?: undefined;
380
- };
381
- /**
382
- * The name of the request field whose value is mapped to the HTTP request
383
- * body, or `*` for mapping all request fields not captured by the path
384
- * pattern to the HTTP body, or omitted for not having any HTTP request body.
385
- *
386
- * NOTE: the referred field must be present at the top-level of the request
387
- * message type.
388
- *
389
- * @generated from field: string body = 7;
390
- */
391
- body: string;
392
- /**
393
- * Optional. The name of the response field whose value is mapped to the HTTP
394
- * response body. When omitted, the entire response message will be used
395
- * as the HTTP response body.
396
- *
397
- * NOTE: The referred field must be present at the top-level of the response
398
- * message type.
399
- *
400
- * @generated from field: string response_body = 12;
401
- */
402
- responseBody: string;
403
- /**
404
- * Additional HTTP bindings for the selector. Nested bindings must
405
- * not contain an `additional_bindings` field themselves (that is,
406
- * the nesting may only be one level deep).
407
- *
408
- * @generated from field: repeated google.api.HttpRule additional_bindings = 11;
409
- */
410
- additionalBindings: HttpRule[];
411
- };
412
- /**
413
- * Describes the message google.api.HttpRule.
414
- * Use `create(HttpRuleSchema)` to create a new message.
415
- */
416
- export declare const HttpRuleSchema: GenMessage<HttpRule>;
417
- /**
418
- * A custom pattern is used for defining custom HTTP verb.
419
- *
420
- * @generated from message google.api.CustomHttpPattern
421
- */
422
- export type CustomHttpPattern = Message<"google.api.CustomHttpPattern"> & {
423
- /**
424
- * The name of this custom HTTP verb.
425
- *
426
- * @generated from field: string kind = 1;
427
- */
428
- kind: string;
429
- /**
430
- * The path matched by this custom verb.
431
- *
432
- * @generated from field: string path = 2;
433
- */
434
- path: string;
435
- };
436
- /**
437
- * Describes the message google.api.CustomHttpPattern.
438
- * Use `create(CustomHttpPatternSchema)` to create a new message.
439
- */
440
- export declare const CustomHttpPatternSchema: GenMessage<CustomHttpPattern>;
@@ -1,37 +0,0 @@
1
- "use strict";
2
- // Copyright 2025 Google LLC
3
- //
4
- // Licensed under the Apache License, Version 2.0 (the "License");
5
- // you may not use this file except in compliance with the License.
6
- // You may obtain a copy of the License at
7
- //
8
- // http://www.apache.org/licenses/LICENSE-2.0
9
- //
10
- // Unless required by applicable law or agreed to in writing, software
11
- // distributed under the License is distributed on an "AS IS" BASIS,
12
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- // See the License for the specific language governing permissions and
14
- // limitations under the License.
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CustomHttpPatternSchema = exports.HttpRuleSchema = exports.HttpSchema = exports.file_google_api_http = void 0;
17
- const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
- /**
19
- * Describes the file google/api/http.proto.
20
- */
21
- exports.file_google_api_http = (0, codegenv2_1.fileDesc)("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJnCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25zogIER0FQSWIGcHJvdG8z");
22
- /**
23
- * Describes the message google.api.Http.
24
- * Use `create(HttpSchema)` to create a new message.
25
- */
26
- exports.HttpSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 0);
27
- /**
28
- * Describes the message google.api.HttpRule.
29
- * Use `create(HttpRuleSchema)` to create a new message.
30
- */
31
- exports.HttpRuleSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 1);
32
- /**
33
- * Describes the message google.api.CustomHttpPattern.
34
- * Use `create(CustomHttpPatternSchema)` to create a new message.
35
- */
36
- exports.CustomHttpPatternSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_http, 2);
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cF9wYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvZXMvZ29vZ2xlL2FwaS9odHRwX3BiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0QkFBNEI7QUFDNUIsRUFBRTtBQUNGLGtFQUFrRTtBQUNsRSxtRUFBbUU7QUFDbkUsMENBQTBDO0FBQzFDLEVBQUU7QUFDRixpREFBaUQ7QUFDakQsRUFBRTtBQUNGLHNFQUFzRTtBQUN0RSxvRUFBb0U7QUFDcEUsMkVBQTJFO0FBQzNFLHNFQUFzRTtBQUN0RSxpQ0FBaUM7OztBQU9qQyw0REFBcUU7QUFHckU7O0dBRUc7QUFDVSxRQUFBLG9CQUFvQixHQUMvQixJQUFBLG9CQUFRLEVBQUMsc3RCQUFzdEIsQ0FBQyxDQUFDO0FBZ0NudUI7OztHQUdHO0FBQ1UsUUFBQSxVQUFVLEdBQ3JCLElBQUEsdUJBQVcsRUFBQyw0QkFBb0IsRUFBRSxDQUFDLENBQUMsQ0FBQztBQXdYdkM7OztHQUdHO0FBQ1UsUUFBQSxjQUFjLEdBQ3pCLElBQUEsdUJBQVcsRUFBQyw0QkFBb0IsRUFBRSxDQUFDLENBQUMsQ0FBQztBQXVCdkM7OztHQUdHO0FBQ1UsUUFBQSx1QkFBdUIsR0FDbEMsSUFBQSx1QkFBVyxFQUFDLDRCQUFvQixFQUFFLENBQUMsQ0FBQyxDQUFDIn0=
@@ -1,79 +0,0 @@
1
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
- import type { CARoot, FheEnvBlock } from "./types_pb";
3
- import type { Message } from "@bufbuild/protobuf";
4
- /**
5
- * Describes the file inco/fhe/v1/events.proto.
6
- */
7
- export declare const file_inco_fhe_v1_events: GenFile;
8
- /**
9
- * EventVote is an event that is emitted when a covalidator votes on the CA
10
- * Root.
11
- *
12
- * @generated from message inco.fhe.v1.EventVote
13
- */
14
- export type EventVote = Message<"inco.fhe.v1.EventVote"> & {
15
- /**
16
- * covalidator is the Bech32 address of the covalidator that voted.
17
- *
18
- * @generated from field: string covalidator = 1;
19
- */
20
- covalidator: string;
21
- /**
22
- * fhe_env_block is the FHE environment and block hash that the covalidator
23
- * voted on.
24
- *
25
- * @generated from field: inco.fhe.v1.FheEnvBlock fhe_env_block = 2;
26
- */
27
- fheEnvBlock?: FheEnvBlock;
28
- /**
29
- * ca_root is the CA Root that the covalidator voted for.
30
- *
31
- * @generated from field: inco.fhe.v1.CARoot ca_root = 3;
32
- */
33
- caRoot?: CARoot;
34
- /**
35
- * consensus_reached is true if the CA Root has been voted on by >2/3rds of
36
- * the covalidators after the current vote has been submitted.
37
- *
38
- * @generated from field: bool consensus_reached = 6;
39
- */
40
- consensusReached: boolean;
41
- };
42
- /**
43
- * Describes the message inco.fhe.v1.EventVote.
44
- * Use `create(EventVoteSchema)` to create a new message.
45
- */
46
- export declare const EventVoteSchema: GenMessage<EventVote>;
47
- /**
48
- * EventCARoot is an event that is emitted when >2/3rds of the weighted
49
- * covalidators have voted on the same CA Root, which is then stored in state.
50
- *
51
- * This event can be used as notification for when a covalidator is out of
52
- * consensus: for each new block hash, the covalidator can listen for the
53
- * emitted EventCARoot and compare the included CA Root with the one computed
54
- * locally. If they are different, the covalidator is out of consensus and
55
- * should initiate a reaction process to get back into consensus.
56
- *
57
- * @generated from message inco.fhe.v1.EventCARoot
58
- */
59
- export type EventCARoot = Message<"inco.fhe.v1.EventCARoot"> & {
60
- /**
61
- * fhe_env_block is the FHE environment and block hash that the CA Root is
62
- * voted on.
63
- *
64
- * @generated from field: inco.fhe.v1.FheEnvBlock fhe_env_block = 1;
65
- */
66
- fheEnvBlock?: FheEnvBlock;
67
- /**
68
- * ca_root is the CA Root that has been voted on by >2/3rds of the weighted
69
- * covalidators.
70
- *
71
- * @generated from field: inco.fhe.v1.CARoot ca_root = 2;
72
- */
73
- caRoot?: CARoot;
74
- };
75
- /**
76
- * Describes the message inco.fhe.v1.EventCARoot.
77
- * Use `create(EventCARootSchema)` to create a new message.
78
- */
79
- export declare const EventCARootSchema: GenMessage<EventCARoot>;