@akashnetwork/chain-sdk 1.0.0-alpha.41 → 1.0.0-alpha.43

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 (295) hide show
  1. package/dist/cjs/generated/createNodeSDK.cjs +328 -5
  2. package/dist/cjs/generated/createNodeSDK.cjs.map +2 -2
  3. package/dist/cjs/generated/createProviderSDK.cjs +36 -19
  4. package/dist/cjs/generated/createProviderSDK.cjs.map +2 -2
  5. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs +6 -0
  6. package/dist/cjs/generated/patches/nodeCustomTypePatches.cjs.map +2 -2
  7. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs +18 -2
  8. package/dist/cjs/generated/protos/akash/base/attributes/v1/attribute.cjs.map +2 -2
  9. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs +943 -0
  10. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot.cjs.map +7 -0
  11. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs +50 -0
  12. package/dist/cjs/generated/protos/akash/inventory/v1/snapshot_akash.cjs.map +7 -0
  13. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs +159 -2
  14. package/dist/cjs/generated/protos/akash/manifest/v2beta3/httpoptions.cjs.map +2 -2
  15. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs +248 -0
  16. package/dist/cjs/generated/protos/akash/market/v1/stats.cjs.map +7 -0
  17. package/dist/cjs/generated/protos/akash/market/v1/types.cjs +6 -0
  18. package/dist/cjs/generated/protos/akash/market/v1/types.cjs.map +2 -2
  19. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs +139 -1
  20. package/dist/cjs/generated/protos/akash/market/v1beta5/query.cjs.map +2 -2
  21. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs +9 -0
  22. package/dist/cjs/generated/protos/akash/market/v1beta5/query_akash.cjs.map +2 -2
  23. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs +266 -0
  24. package/dist/cjs/generated/protos/akash/provider/v1beta4/event.cjs.map +2 -2
  25. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs +71 -2
  26. package/dist/cjs/generated/protos/akash/provider/v1beta4/genesis.cjs.map +2 -2
  27. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs +417 -0
  28. package/dist/cjs/generated/protos/akash/provider/v1beta4/maintenance.cjs.map +7 -0
  29. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs +321 -0
  30. package/dist/cjs/generated/protos/akash/provider/v1beta4/msg.cjs.map +2 -2
  31. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs +96 -0
  32. package/dist/cjs/generated/protos/akash/provider/v1beta4/params.cjs.map +7 -0
  33. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs +132 -0
  34. package/dist/cjs/generated/protos/akash/provider/v1beta4/paramsmsg.cjs.map +7 -0
  35. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs +88 -1
  36. package/dist/cjs/generated/protos/akash/provider/v1beta4/provider.cjs.map +2 -2
  37. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs +462 -1
  38. package/dist/cjs/generated/protos/akash/provider/v1beta4/query.cjs.map +2 -2
  39. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs +36 -0
  40. package/dist/cjs/generated/protos/akash/provider/v1beta4/query_akash.cjs.map +2 -2
  41. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs +25 -0
  42. package/dist/cjs/generated/protos/akash/provider/v1beta4/service_akash.cjs.map +2 -2
  43. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs +2525 -0
  44. package/dist/cjs/generated/protos/akash/verification/v1/event.cjs.map +7 -0
  45. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs +253 -0
  46. package/dist/cjs/generated/protos/akash/verification/v1/genesis.cjs.map +7 -0
  47. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs +2774 -0
  48. package/dist/cjs/generated/protos/akash/verification/v1/msg.cjs.map +7 -0
  49. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs +1044 -0
  50. package/dist/cjs/generated/protos/akash/verification/v1/params.cjs.map +7 -0
  51. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs +1559 -0
  52. package/dist/cjs/generated/protos/akash/verification/v1/query.cjs.map +7 -0
  53. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs +147 -0
  54. package/dist/cjs/generated/protos/akash/verification/v1/query_akash.cjs.map +7 -0
  55. package/dist/cjs/{sdl/types.cjs → generated/protos/akash/verification/v1/service.cjs} +3 -3
  56. package/dist/cjs/generated/protos/akash/verification/v1/service.cjs.map +7 -0
  57. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs +190 -0
  58. package/dist/cjs/generated/protos/akash/verification/v1/service_akash.cjs.map +7 -0
  59. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs +2018 -0
  60. package/dist/cjs/generated/protos/akash/verification/v1/state.cjs.map +7 -0
  61. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs +1071 -0
  62. package/dist/cjs/generated/protos/akash/verification/v1/types.cjs.map +7 -0
  63. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs +148 -0
  64. package/dist/cjs/generated/protos/akash/verification/v1/verificationrequirement.cjs.map +7 -0
  65. package/dist/cjs/generated/protos/index.akash.v1.cjs +166 -25
  66. package/dist/cjs/generated/protos/index.akash.v1.cjs.map +3 -3
  67. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs +25 -0
  68. package/dist/cjs/generated/protos/index.akash.v1beta4.cjs.map +3 -3
  69. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs +2 -0
  70. package/dist/cjs/generated/protos/index.akash.v1beta5.cjs.map +2 -2
  71. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs +9 -0
  72. package/dist/cjs/generated/protos/index.provider.akash.v1.cjs.map +2 -2
  73. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs +1 -0
  74. package/dist/cjs/generated/protos/index.provider.akash.v2beta3.cjs.map +2 -2
  75. package/dist/cjs/sdl/duration.cjs +44 -0
  76. package/dist/cjs/sdl/duration.cjs.map +7 -0
  77. package/dist/cjs/sdl/httpTimeout.cjs +59 -0
  78. package/dist/cjs/sdl/httpTimeout.cjs.map +7 -0
  79. package/dist/cjs/sdl/index.cjs +0 -2
  80. package/dist/cjs/sdl/index.cjs.map +2 -2
  81. package/dist/cjs/sdl/manifest/generateManifest.cjs +20 -1
  82. package/dist/cjs/sdl/manifest/generateManifest.cjs.map +2 -2
  83. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs +11 -0
  84. package/dist/cjs/sdl/manifest/generateManifestVersion.cjs.map +2 -2
  85. package/dist/cjs/sdl/manifest/manifestUtils.cjs +10 -2
  86. package/dist/cjs/sdl/manifest/manifestUtils.cjs.map +2 -2
  87. package/dist/cjs/sdl/manifest/reclamationDuration.cjs +4 -5
  88. package/dist/cjs/sdl/manifest/reclamationDuration.cjs.map +3 -3
  89. package/dist/cjs/sdl/validateSDL/validateSDL.cjs +28 -1
  90. package/dist/cjs/sdl/validateSDL/validateSDL.cjs.map +2 -2
  91. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs +853 -454
  92. package/dist/cjs/sdl/validateSDL/validateSDLInput.cjs.map +2 -2
  93. package/dist/esm/chunk-2NPYA3YV.js +1563 -0
  94. package/dist/esm/chunk-2NPYA3YV.js.map +7 -0
  95. package/dist/esm/{chunk-4SZHF6SE.js → chunk-3U5XKNEU.js} +3 -3
  96. package/dist/esm/chunk-474YCD2T.js +356 -0
  97. package/dist/esm/chunk-474YCD2T.js.map +7 -0
  98. package/dist/esm/chunk-4CTTYO4O.js +890 -0
  99. package/dist/esm/chunk-4CTTYO4O.js.map +7 -0
  100. package/dist/esm/{chunk-IKTMMFJ5.js → chunk-54RECHZZ.js} +2 -2
  101. package/dist/esm/{chunk-WCUR732W.js → chunk-57534UAR.js} +2 -2
  102. package/dist/esm/{chunk-UHI2V2WP.js → chunk-5VWXQLXG.js} +1331 -489
  103. package/dist/esm/chunk-5VWXQLXG.js.map +7 -0
  104. package/dist/esm/{chunk-B4YVLEG7.js → chunk-7F3NJG67.js} +3 -3
  105. package/dist/esm/chunk-AIWCRXMP.js +672 -0
  106. package/dist/esm/chunk-AIWCRXMP.js.map +7 -0
  107. package/dist/esm/{chunk-XAOERZEY.js → chunk-AKNHD3CM.js} +2 -2
  108. package/dist/esm/chunk-BI4YL5KH.js +2742 -0
  109. package/dist/esm/chunk-BI4YL5KH.js.map +7 -0
  110. package/dist/esm/{chunk-ZGK4PJCD.js → chunk-BQNJHJXY.js} +3 -3
  111. package/dist/esm/{chunk-YBRE4XNB.js → chunk-CFEWW2ER.js} +2 -2
  112. package/dist/esm/{chunk-EJQUNX4L.js → chunk-DCLXPAMC.js} +3 -3
  113. package/dist/esm/{chunk-AR26HCRY.js → chunk-F4IQOYFH.js} +2 -2
  114. package/dist/esm/{chunk-ENZ3OBCL.js → chunk-F7KT5EX5.js} +2 -2
  115. package/dist/esm/{chunk-3QS3CMF4.js → chunk-GRGSTKN3.js} +2 -2
  116. package/dist/esm/{chunk-TTQ36NQ5.js → chunk-HRN6NSO2.js} +2 -2
  117. package/dist/esm/{chunk-E7KECYS7.js → chunk-IEWLP7PR.js} +7 -1
  118. package/dist/esm/chunk-IEWLP7PR.js.map +7 -0
  119. package/dist/esm/chunk-IFKY7FXY.js +484 -0
  120. package/dist/esm/chunk-IFKY7FXY.js.map +7 -0
  121. package/dist/esm/chunk-J4CJEGEM.js +3016 -0
  122. package/dist/esm/chunk-J4CJEGEM.js.map +7 -0
  123. package/dist/esm/{chunk-N42ATJOO.js → chunk-M5P5LAJJ.js} +2 -2
  124. package/dist/esm/{chunk-3K7Q5MUF.js → chunk-MIJCN6AD.js} +2 -2
  125. package/dist/esm/{chunk-OYI3IQIV.js → chunk-NNB5QBR2.js} +2 -2
  126. package/dist/esm/{chunk-WMSUADX2.js → chunk-OJ54L3XZ.js} +4 -4
  127. package/dist/esm/{chunk-5ODS4QTF.js → chunk-P64VHYRM.js} +2 -2
  128. package/dist/esm/{chunk-MFZVOFPX.js → chunk-PAOVIX5L.js} +3 -3
  129. package/dist/esm/chunk-PEHPXXTS.js +1053 -0
  130. package/dist/esm/chunk-PEHPXXTS.js.map +7 -0
  131. package/dist/esm/chunk-PTMMQODC.js +760 -0
  132. package/dist/esm/chunk-PTMMQODC.js.map +7 -0
  133. package/dist/esm/{chunk-ZXN75Q55.js → chunk-PWXFQ5FI.js} +3 -3
  134. package/dist/esm/{chunk-CZGHFBAO.js → chunk-PYD5MY63.js} +131 -9
  135. package/dist/esm/chunk-PYD5MY63.js.map +7 -0
  136. package/dist/esm/{chunk-NP4QQMME.js → chunk-RJZ46VHV.js} +2 -2
  137. package/dist/esm/chunk-SK7LOVVI.js +660 -0
  138. package/dist/esm/chunk-SK7LOVVI.js.map +7 -0
  139. package/dist/esm/{chunk-ZRZ6LUI2.js → chunk-TN4W5NLC.js} +7 -1
  140. package/dist/esm/chunk-TN4W5NLC.js.map +7 -0
  141. package/dist/esm/chunk-VYCICKFV.js +698 -0
  142. package/dist/esm/chunk-VYCICKFV.js.map +7 -0
  143. package/dist/esm/{chunk-4TSICBUM.js → chunk-W3TLZPTC.js} +3 -3
  144. package/dist/esm/{chunk-M2RS2IFR.js → chunk-WNFIFYG2.js} +2 -2
  145. package/dist/esm/{chunk-CVX7ZJQR.js → chunk-XP2XNYEA.js} +161 -4
  146. package/dist/esm/chunk-XP2XNYEA.js.map +7 -0
  147. package/dist/esm/{chunk-SGDEIQ7L.js → chunk-Y7BVCD32.js} +3 -3
  148. package/dist/esm/generated/protos/index.akash.v1.js +2988 -77
  149. package/dist/esm/generated/protos/index.akash.v1.js.map +4 -4
  150. package/dist/esm/generated/protos/index.akash.v1beta4.js +58 -13
  151. package/dist/esm/generated/protos/index.akash.v1beta5.js +17 -12
  152. package/dist/esm/generated/protos/index.akash.v1beta5.js.map +1 -1
  153. package/dist/esm/generated/protos/index.akash.v2.js +4 -4
  154. package/dist/esm/generated/protos/index.provider.akash.v1.js +29 -10
  155. package/dist/esm/generated/protos/index.provider.akash.v2beta3.js +7 -4
  156. package/dist/esm/index.js +54 -36
  157. package/dist/esm/index.js.map +2 -2
  158. package/dist/esm/index.web.js +14 -13
  159. package/dist/esm/index.web.js.map +1 -1
  160. package/dist/esm/{query_akash-I3RPHLVA.js → query_akash-BTYAA6UN.js} +5 -5
  161. package/dist/esm/{query_akash-QF2LHJQN.js → query_akash-EG43V2QH.js} +4 -4
  162. package/dist/esm/{query_akash-44SHG3FL.js → query_akash-HCIMNA7T.js} +4 -3
  163. package/dist/esm/{query_akash-44SHG3FL.js.map → query_akash-HCIMNA7T.js.map} +1 -1
  164. package/dist/esm/{query_akash-72TFPQBZ.js → query_akash-HN4NCENR.js} +4 -4
  165. package/dist/esm/query_akash-KU4YCMUU.js +85 -0
  166. package/dist/esm/query_akash-KU4YCMUU.js.map +7 -0
  167. package/dist/esm/{query_akash-TZ6F7OO4.js → query_akash-LSGWB5MI.js} +24 -12
  168. package/dist/esm/query_akash-LSGWB5MI.js.map +7 -0
  169. package/dist/esm/{query_akash-54EYS6GQ.js → query_akash-SOJJMCBH.js} +8 -7
  170. package/dist/esm/{query_akash-54EYS6GQ.js.map → query_akash-SOJJMCBH.js.map} +1 -1
  171. package/dist/esm/{query_akash-EGFDDA4L.js → query_akash-SVNQ4S67.js} +4 -4
  172. package/dist/esm/query_akash-XYSUQTZC.js +164 -0
  173. package/dist/esm/query_akash-XYSUQTZC.js.map +7 -0
  174. package/dist/esm/{service_akash-KRCYHNCN.js → service_akash-3R3TC3PH.js} +4 -3
  175. package/dist/esm/{service_akash-KRCYHNCN.js.map → service_akash-3R3TC3PH.js.map} +1 -1
  176. package/dist/esm/{service_akash-CEAZGGZS.js → service_akash-43EJ5RKY.js} +8 -7
  177. package/dist/esm/{service_akash-CEAZGGZS.js.map → service_akash-43EJ5RKY.js.map} +1 -1
  178. package/dist/esm/{service_akash-YXSRY4G3.js → service_akash-AXWB3IDG.js} +7 -6
  179. package/dist/esm/{service_akash-YXSRY4G3.js.map → service_akash-AXWB3IDG.js.map} +1 -1
  180. package/dist/esm/{service_akash-Z4CR3DWY.js → service_akash-BZTUHKJO.js} +8 -7
  181. package/dist/esm/{service_akash-Z4CR3DWY.js.map → service_akash-BZTUHKJO.js.map} +1 -1
  182. package/dist/esm/{service_akash-JQKI2SJP.js → service_akash-HFGWADC2.js} +4 -4
  183. package/dist/esm/{service_akash-SXXXZL6K.js → service_akash-KAJJV7LX.js} +4 -4
  184. package/dist/esm/service_akash-KYLB3OP3.js +78 -0
  185. package/dist/esm/service_akash-KYLB3OP3.js.map +7 -0
  186. package/dist/esm/service_akash-LJBOWZZG.js +221 -0
  187. package/dist/esm/service_akash-LJBOWZZG.js.map +7 -0
  188. package/dist/esm/{service_akash-PFTEVUGK.js → service_akash-QTGRTXLG.js} +4 -4
  189. package/dist/esm/{service_akash-44MLEMTW.js → service_akash-T36Y5DCD.js} +4 -3
  190. package/dist/esm/{service_akash-44MLEMTW.js.map → service_akash-T36Y5DCD.js.map} +1 -1
  191. package/dist/esm/{service_akash-ZITNWRBM.js → service_akash-X4HCN3EG.js} +9 -8
  192. package/dist/esm/{service_akash-ZITNWRBM.js.map → service_akash-X4HCN3EG.js.map} +1 -1
  193. package/dist/esm/snapshot_akash-KH5X5W3B.js +41 -0
  194. package/dist/esm/snapshot_akash-KH5X5W3B.js.map +7 -0
  195. package/dist/sdl-schema.yaml +84 -8
  196. package/dist/tsconfig.build.tsbuildinfo +1 -1
  197. package/dist/types/generated/createNodeSDK.d.ts +473 -0
  198. package/dist/types/generated/createProviderSDK.d.ts +31 -0
  199. package/dist/types/generated/patches/nodeCustomTypePatches.d.ts +8 -0
  200. package/dist/types/generated/protos/akash/base/attributes/v1/attribute.d.ts +3 -0
  201. package/dist/types/generated/protos/akash/inventory/v1/snapshot.d.ts +112 -0
  202. package/dist/types/generated/protos/akash/inventory/v1/snapshot_akash.d.ts +22 -0
  203. package/dist/types/generated/protos/akash/manifest/v2beta3/httpoptions.d.ts +35 -0
  204. package/dist/types/generated/protos/akash/market/v1/stats.d.ts +35 -0
  205. package/dist/types/generated/protos/akash/market/v1/types.d.ts +5 -3
  206. package/dist/types/generated/protos/akash/market/v1beta5/query.d.ts +29 -0
  207. package/dist/types/generated/protos/akash/market/v1beta5/query_akash.d.ts +8 -1
  208. package/dist/types/generated/protos/akash/provider/v1beta4/event.d.ts +40 -0
  209. package/dist/types/generated/protos/akash/provider/v1beta4/genesis.d.ts +11 -1
  210. package/dist/types/generated/protos/akash/provider/v1beta4/maintenance.d.ts +87 -0
  211. package/dist/types/generated/protos/akash/provider/v1beta4/msg.d.ts +57 -0
  212. package/dist/types/generated/protos/akash/provider/v1beta4/params.d.ts +17 -0
  213. package/dist/types/generated/protos/akash/provider/v1beta4/paramsmsg.d.ts +22 -0
  214. package/dist/types/generated/protos/akash/provider/v1beta4/provider.d.ts +13 -0
  215. package/dist/types/generated/protos/akash/provider/v1beta4/query.d.ts +93 -1
  216. package/dist/types/generated/protos/akash/provider/v1beta4/query_akash.d.ts +29 -1
  217. package/dist/types/generated/protos/akash/provider/v1beta4/service_akash.d.ts +20 -1
  218. package/dist/types/generated/protos/akash/verification/v1/event.d.ts +339 -0
  219. package/dist/types/generated/protos/akash/verification/v1/genesis.d.ts +45 -0
  220. package/dist/types/generated/protos/akash/verification/v1/msg.d.ts +614 -0
  221. package/dist/types/generated/protos/akash/verification/v1/params.d.ts +147 -0
  222. package/dist/types/generated/protos/akash/verification/v1/query.d.ts +290 -0
  223. package/dist/types/generated/protos/akash/verification/v1/query_akash.d.ts +97 -0
  224. package/dist/types/generated/protos/akash/verification/v1/service.d.ts +1 -0
  225. package/dist/types/generated/protos/akash/verification/v1/service_akash.d.ts +126 -0
  226. package/dist/types/generated/protos/akash/verification/v1/state.d.ts +320 -0
  227. package/dist/types/generated/protos/akash/verification/v1/types.d.ts +348 -0
  228. package/dist/types/generated/protos/akash/verification/v1/verificationrequirement.d.ts +36 -0
  229. package/dist/types/generated/protos/index.akash.v1.d.ts +9 -0
  230. package/dist/types/generated/protos/index.akash.v1beta4.d.ts +7 -4
  231. package/dist/types/generated/protos/index.akash.v1beta5.d.ts +1 -1
  232. package/dist/types/generated/protos/index.provider.akash.v1.d.ts +1 -0
  233. package/dist/types/generated/protos/index.provider.akash.v2beta3.d.ts +1 -1
  234. package/dist/types/sdk/chain/createChainNodeSDK.d.ts +45 -0
  235. package/dist/types/sdk/chain/createChainNodeWebSDK.d.ts +45 -0
  236. package/dist/types/sdl/duration.d.ts +13 -0
  237. package/dist/types/sdl/httpTimeout.d.ts +10 -0
  238. package/dist/types/sdl/index.d.ts +0 -1
  239. package/dist/types/sdl/manifest/reclamationDuration.d.ts +3 -7
  240. package/dist/types/sdl/validateSDL/validateSDLInput.d.ts +131 -16
  241. package/package.json +1 -1
  242. package/dist/cjs/sdl/types.cjs.map +0 -7
  243. package/dist/esm/chunk-C3WV6GJ6.js +0 -234
  244. package/dist/esm/chunk-C3WV6GJ6.js.map +0 -7
  245. package/dist/esm/chunk-CVX7ZJQR.js.map +0 -7
  246. package/dist/esm/chunk-CZGHFBAO.js.map +0 -7
  247. package/dist/esm/chunk-E7KECYS7.js.map +0 -7
  248. package/dist/esm/chunk-IVLF3VVZ.js +0 -364
  249. package/dist/esm/chunk-IVLF3VVZ.js.map +0 -7
  250. package/dist/esm/chunk-MV27RM25.js +0 -368
  251. package/dist/esm/chunk-MV27RM25.js.map +0 -7
  252. package/dist/esm/chunk-S2CZQ6AM.js +0 -211
  253. package/dist/esm/chunk-S2CZQ6AM.js.map +0 -7
  254. package/dist/esm/chunk-SXGU4O34.js +0 -258
  255. package/dist/esm/chunk-SXGU4O34.js.map +0 -7
  256. package/dist/esm/chunk-UHI2V2WP.js.map +0 -7
  257. package/dist/esm/chunk-V42TLXWK.js +0 -177
  258. package/dist/esm/chunk-V42TLXWK.js.map +0 -7
  259. package/dist/esm/chunk-ZRZ6LUI2.js.map +0 -7
  260. package/dist/esm/query_akash-N3FPIXVQ.js +0 -39
  261. package/dist/esm/query_akash-N3FPIXVQ.js.map +0 -7
  262. package/dist/esm/query_akash-TZ6F7OO4.js.map +0 -7
  263. package/dist/esm/service_akash-5AUMDLU5.js +0 -46
  264. package/dist/esm/service_akash-5AUMDLU5.js.map +0 -7
  265. package/dist/types/sdl/types.d.ts +0 -305
  266. /package/dist/esm/{chunk-4SZHF6SE.js.map → chunk-3U5XKNEU.js.map} +0 -0
  267. /package/dist/esm/{chunk-IKTMMFJ5.js.map → chunk-54RECHZZ.js.map} +0 -0
  268. /package/dist/esm/{chunk-WCUR732W.js.map → chunk-57534UAR.js.map} +0 -0
  269. /package/dist/esm/{chunk-B4YVLEG7.js.map → chunk-7F3NJG67.js.map} +0 -0
  270. /package/dist/esm/{chunk-XAOERZEY.js.map → chunk-AKNHD3CM.js.map} +0 -0
  271. /package/dist/esm/{chunk-ZGK4PJCD.js.map → chunk-BQNJHJXY.js.map} +0 -0
  272. /package/dist/esm/{chunk-YBRE4XNB.js.map → chunk-CFEWW2ER.js.map} +0 -0
  273. /package/dist/esm/{chunk-EJQUNX4L.js.map → chunk-DCLXPAMC.js.map} +0 -0
  274. /package/dist/esm/{chunk-AR26HCRY.js.map → chunk-F4IQOYFH.js.map} +0 -0
  275. /package/dist/esm/{chunk-ENZ3OBCL.js.map → chunk-F7KT5EX5.js.map} +0 -0
  276. /package/dist/esm/{chunk-3QS3CMF4.js.map → chunk-GRGSTKN3.js.map} +0 -0
  277. /package/dist/esm/{chunk-TTQ36NQ5.js.map → chunk-HRN6NSO2.js.map} +0 -0
  278. /package/dist/esm/{chunk-N42ATJOO.js.map → chunk-M5P5LAJJ.js.map} +0 -0
  279. /package/dist/esm/{chunk-3K7Q5MUF.js.map → chunk-MIJCN6AD.js.map} +0 -0
  280. /package/dist/esm/{chunk-OYI3IQIV.js.map → chunk-NNB5QBR2.js.map} +0 -0
  281. /package/dist/esm/{chunk-WMSUADX2.js.map → chunk-OJ54L3XZ.js.map} +0 -0
  282. /package/dist/esm/{chunk-5ODS4QTF.js.map → chunk-P64VHYRM.js.map} +0 -0
  283. /package/dist/esm/{chunk-MFZVOFPX.js.map → chunk-PAOVIX5L.js.map} +0 -0
  284. /package/dist/esm/{chunk-ZXN75Q55.js.map → chunk-PWXFQ5FI.js.map} +0 -0
  285. /package/dist/esm/{chunk-NP4QQMME.js.map → chunk-RJZ46VHV.js.map} +0 -0
  286. /package/dist/esm/{chunk-4TSICBUM.js.map → chunk-W3TLZPTC.js.map} +0 -0
  287. /package/dist/esm/{chunk-M2RS2IFR.js.map → chunk-WNFIFYG2.js.map} +0 -0
  288. /package/dist/esm/{chunk-SGDEIQ7L.js.map → chunk-Y7BVCD32.js.map} +0 -0
  289. /package/dist/esm/{query_akash-I3RPHLVA.js.map → query_akash-BTYAA6UN.js.map} +0 -0
  290. /package/dist/esm/{query_akash-QF2LHJQN.js.map → query_akash-EG43V2QH.js.map} +0 -0
  291. /package/dist/esm/{query_akash-72TFPQBZ.js.map → query_akash-HN4NCENR.js.map} +0 -0
  292. /package/dist/esm/{query_akash-EGFDDA4L.js.map → query_akash-SVNQ4S67.js.map} +0 -0
  293. /package/dist/esm/{service_akash-JQKI2SJP.js.map → service_akash-HFGWADC2.js.map} +0 -0
  294. /package/dist/esm/{service_akash-SXXXZL6K.js.map → service_akash-KAJJV7LX.js.map} +0 -0
  295. /package/dist/esm/{service_akash-PFTEVUGK.js.map → service_akash-QTGRTXLG.js.map} +0 -0
@@ -453,6 +453,7 @@ export declare function createChainNodeWebSDK(options: ChainNodeWebSDKOptions):
453
453
  getBid: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta5.ts").QueryBidRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").QueryBidResponse>;
454
454
  getLeases: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta5.ts").QueryLeasesRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").QueryLeasesResponse>;
455
455
  getLease: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta5.ts").QueryLeaseRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").QueryLeaseResponse>;
456
+ getProviderLeaseStats: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta5.ts").QueryProviderLeaseStatsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").QueryProviderLeaseStatsResponse>;
456
457
  getParams: (input?: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta5.ts").QueryParamsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").QueryParamsResponse>;
457
458
  createBid: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta5.ts").MsgCreateBid>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").MsgCreateBidResponse>;
458
459
  closeBid: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta5.ts").MsgCloseBid>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta5.ts").MsgCloseBidResponse>;
@@ -483,9 +484,16 @@ export declare function createChainNodeWebSDK(options: ChainNodeWebSDKOptions):
483
484
  v1beta4: {
484
485
  getProviders: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta4.ts").QueryProvidersRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").QueryProvidersResponse>;
485
486
  getProvider: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta4.ts").QueryProviderRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").QueryProviderResponse>;
487
+ getProviderMaintenance: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta4.ts").QueryProviderMaintenanceRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").QueryProviderMaintenanceResponse>;
488
+ getProviderMaintenances: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta4.ts").QueryProviderMaintenancesRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").QueryProviderMaintenancesResponse>;
489
+ getParams: (input?: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta4.ts").Provider_QueryParamsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").Provider_QueryParamsResponse>;
490
+ getRegistration: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1beta4.ts").QueryRegistrationRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").QueryRegistrationResponse>;
486
491
  createProvider: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta4.ts").MsgCreateProvider>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").MsgCreateProviderResponse>;
487
492
  updateProvider: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta4.ts").MsgUpdateProvider>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").MsgUpdateProviderResponse>;
488
493
  deleteProvider: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta4.ts").MsgDeleteProvider>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").MsgDeleteProviderResponse>;
494
+ openProviderMaintenance: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta4.ts").MsgOpenProviderMaintenance>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").MsgOpenProviderMaintenanceResponse>;
495
+ closeProviderMaintenance: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta4.ts").MsgCloseProviderMaintenance>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").MsgCloseProviderMaintenanceResponse>;
496
+ updateParams: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1beta4.ts").Provider_MsgUpdateParams>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1beta4.ts").Provider_MsgUpdateParamsResponse>;
489
497
  };
490
498
  };
491
499
  take: {
@@ -494,6 +502,43 @@ export declare function createChainNodeWebSDK(options: ChainNodeWebSDKOptions):
494
502
  updateParams: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").Take_MsgUpdateParams>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").Take_MsgUpdateParamsResponse>;
495
503
  };
496
504
  };
505
+ verification: {
506
+ v1: {
507
+ getAuditor: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryAuditorRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryAuditorResponse>;
508
+ getAuditors: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryAuditorsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryAuditorsResponse>;
509
+ getAttestation: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryAttestationRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryAttestationResponse>;
510
+ getProviderAttestations: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryProviderAttestationsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryProviderAttestationsResponse>;
511
+ getAuditorAttestations: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryAuditorAttestationsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryAuditorAttestationsResponse>;
512
+ getDiscrepancy: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryDiscrepancyRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryDiscrepancyResponse>;
513
+ getDiscrepancies: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryDiscrepanciesRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryDiscrepanciesResponse>;
514
+ getAuditEscrow: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryAuditEscrowRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryAuditEscrowResponse>;
515
+ getProviderAuditEscrows: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryProviderAuditEscrowsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryProviderAuditEscrowsResponse>;
516
+ getProviderVerificationGrace: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryProviderVerificationGraceRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryProviderVerificationGraceResponse>;
517
+ getProviderBond: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryProviderBondRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryProviderBondResponse>;
518
+ getProviderSnapshot: (input: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").QueryProviderSnapshotRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").QueryProviderSnapshotResponse>;
519
+ getParams: (input?: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").Verification_QueryParamsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").Verification_QueryParamsResponse>;
520
+ postAuditorBond: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgPostAuditorBond>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgPostAuditorBondResponse>;
521
+ openAuditEscrow: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgOpenAuditEscrow>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgOpenAuditEscrowResponse>;
522
+ cancelAuditEscrow: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgCancelAuditEscrow>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgCancelAuditEscrowResponse>;
523
+ settleAuditEscrow: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgSettleAuditEscrow>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgSettleAuditEscrowResponse>;
524
+ submitAttestation: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgSubmitAttestation>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgSubmitAttestationResponse>;
525
+ revokeAttestation: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRevokeAttestation>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRevokeAttestationResponse>;
526
+ removeAttestation: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRemoveAttestation>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRemoveAttestationResponse>;
527
+ resignAuditor: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgResignAuditor>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgResignAuditorResponse>;
528
+ postProviderBond: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgPostProviderBond>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgPostProviderBondResponse>;
529
+ withdrawProviderBond: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgWithdrawProviderBond>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgWithdrawProviderBondResponse>;
530
+ postSnapshotHash: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgPostSnapshotHash>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgPostSnapshotHashResponse>;
531
+ registerAuditor: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRegisterAuditor>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRegisterAuditorResponse>;
532
+ renewAuditor: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRenewAuditor>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRenewAuditorResponse>;
533
+ removeAuditor: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRemoveAuditor>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRemoveAuditorResponse>;
534
+ revokeProviderAttestation: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRevokeProviderAttestation>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRevokeProviderAttestationResponse>;
535
+ revokeAllProviderAttestations: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRevokeAllProviderAttestations>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRevokeAllProviderAttestationsResponse>;
536
+ revokeAuditorAttestations: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgRevokeAuditorAttestations>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgRevokeAuditorAttestationsResponse>;
537
+ resolveDiscrepancy: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgResolveDiscrepancy>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgResolveDiscrepancyResponse>;
538
+ slashProviderBond: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").MsgSlashProviderBond>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").MsgSlashProviderBondResponse>;
539
+ updateParams: (input: import("../index.shared.ts").TxInput<import("../../generated/protos/index.akash.v1.ts").Verification_MsgUpdateParams>, options?: import("../transport/types.ts").TxCallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").Verification_MsgUpdateParamsResponse>;
540
+ };
541
+ };
497
542
  wasm: {
498
543
  v1: {
499
544
  getParams: (input?: import("../index.shared.ts").QueryInput<import("../../generated/protos/index.akash.v1.ts").Wasm_QueryParamsRequest>, options?: import("../transport/types.ts").CallOptions) => Promise<import("../../generated/protos/index.akash.v1.ts").Wasm_QueryParamsResponse>;
@@ -0,0 +1,13 @@
1
+ declare const UNIT_MILLISECONDS: {
2
+ ms: bigint;
3
+ s: bigint;
4
+ m: bigint;
5
+ h: bigint;
6
+ };
7
+ type DurationUnit = keyof typeof UNIT_MILLISECONDS;
8
+ type ParsedDuration = {
9
+ milliseconds: bigint;
10
+ unit: DurationUnit | undefined;
11
+ };
12
+ export declare function parseDuration(value: string): ParsedDuration | undefined;
13
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare const MAX_HTTP_TIMEOUT_MILLISECONDS = 4294967295;
2
+ type HTTPTimeoutParseResult = {
3
+ milliseconds: number;
4
+ ok: true;
5
+ } | {
6
+ message: string;
7
+ ok: false;
8
+ };
9
+ export declare function parseHTTPTimeout(value: number | string): HTTPTimeoutParseResult;
10
+ export {};
@@ -25,7 +25,6 @@
25
25
  export { validateSDL, validationSDLSchema } from "./validateSDL/validateSDL.ts";
26
26
  export type { SDLInput } from "./validateSDL/validateSDLInput.ts";
27
27
  export type { ValidationError } from "../utils/jsonSchemaValidation.ts";
28
- export * from "./types.ts";
29
28
  export { generateManifest } from "./manifest/generateManifest.ts";
30
29
  export type { Manifest, GenerateManifestResult } from "./manifest/generateManifest.ts";
31
30
  export { generateManifestVersion, manifestToSortedJSON } from "./manifest/generateManifestVersion.ts";
@@ -1,11 +1,7 @@
1
1
  import { Duration } from "../../generated/protos/google/protobuf/duration.ts";
2
2
  /**
3
- * Converts a reclamation `min_window` into a proto `Duration`. The SDL schema
4
- * pattern (`^[1-9][0-9]*(s|m|h)$`) has already guaranteed the format (and `> 0`)
5
- * before this runs, so on the request hot path we split off the trailing unit
6
- * and parse the amount directly instead of re-running a regex. The cheap
7
- * unit/integer/positivity guards stay only to reject obviously-invalid direct
8
- * calls. Whole-unit windows are an exact second count, so `nanos` is always 0
9
- * and the BigInt product never loses precision.
3
+ * Converts a reclamation `min_window` into a proto `Duration`. Reclamation
4
+ * windows require a positive whole-number value using seconds, minutes, or
5
+ * hours. The shared duration parser performs the unit conversion exactly.
10
6
  */
11
7
  export declare function minWindowToDuration(value: string): Duration;
@@ -20,6 +20,10 @@ export type PortNumber = number;
20
20
  * HTTP error codes for proxy retry logic
21
21
  */
22
22
  export type HttpErrorCode = "error" | "timeout" | "500" | "502" | "503" | "504" | "403" | "404" | "429" | "off";
23
+ /**
24
+ * HTTP timeout. Integers and unitless strings are milliseconds; duration strings use ms, s, m, or h. The normalized value must fit uint32 milliseconds.
25
+ */
26
+ export type HttpTimeout = number | string;
23
27
  /**
24
28
  * Absolute filesystem path starting with /
25
29
  */
@@ -119,6 +123,7 @@ export interface SDLInput {
119
123
  allOf?: string[];
120
124
  anyOf?: string[];
121
125
  };
126
+ verification?: VerificationRequirement;
122
127
  };
123
128
  };
124
129
  };
@@ -147,14 +152,8 @@ export interface SDLInput {
147
152
  next_cases?: HttpErrorCode[];
148
153
  next_timeout?: number;
149
154
  next_tries?: number;
150
- /**
151
- * Read timeout in milliseconds (max 60 seconds)
152
- */
153
- read_timeout?: number;
154
- /**
155
- * Send timeout in milliseconds (max 60 seconds)
156
- */
157
- send_timeout?: number;
155
+ read_timeout?: HttpTimeout;
156
+ send_timeout?: HttpTimeout;
158
157
  };
159
158
  port: PortNumber;
160
159
  proto?: "TCP" | "UDP" | "tcp" | "udp";
@@ -214,6 +213,44 @@ export interface PriceCoin {
214
213
  amount: string | number;
215
214
  denom: "uakt" | "uact";
216
215
  }
216
+ /**
217
+ * Optional verification requirements that providers must satisfy to bid
218
+ * on this placement. Omitting the block disables verification filtering.
219
+ *
220
+ */
221
+ export interface VerificationRequirement {
222
+ /**
223
+ * Minimum verification tier required of bidding providers. 0 = no
224
+ * requirement (TierUnspecified) and cannot be combined with
225
+ * capabilities, auditors, or min_auditor_count. Valid values are 0..4.
226
+ *
227
+ */
228
+ min_tier: number;
229
+ /**
230
+ * Optional capability flags the tenant requires bidders to assert. Each
231
+ * entry must be one of the recognized SDL capability names.
232
+ *
233
+ */
234
+ capabilities?: ("tee_hardware_attestation" | "confidential_computing" | "persistent_storage" | "bare_metal")[];
235
+ /**
236
+ * Optional list of specific auditor bech32 addresses; the list is
237
+ * evaluated according to auditor_mode.
238
+ *
239
+ */
240
+ auditors?: string[];
241
+ /**
242
+ * How the auditors list is evaluated. Omitting the field is equivalent
243
+ * to "any".
244
+ *
245
+ */
246
+ auditor_mode?: "any" | "all";
247
+ /**
248
+ * Minimum number of independent qualifying auditors that must have
249
+ * attested the provider, independent of the auditors list.
250
+ *
251
+ */
252
+ min_auditor_count?: number;
253
+ }
217
254
  declare var validate: typeof validate27;
218
255
  declare var stdin_default: typeof validate27;
219
256
  declare function validate27(data: any, { instancePath, parentData, parentDataProperty, rootData }?: {
@@ -248,6 +285,20 @@ declare var schema: {
248
285
  enum: string[];
249
286
  type: string;
250
287
  };
288
+ httpTimeout: {
289
+ description: string;
290
+ oneOf: ({
291
+ type: string;
292
+ minimum: number;
293
+ maximum: number;
294
+ pattern?: undefined;
295
+ } | {
296
+ type: string;
297
+ pattern: string;
298
+ minimum?: undefined;
299
+ maximum?: undefined;
300
+ })[];
301
+ };
251
302
  priceCoin: {
252
303
  description: string;
253
304
  additionalProperties: boolean;
@@ -424,6 +475,73 @@ declare var schema: {
424
475
  required: string[];
425
476
  };
426
477
  };
478
+ verificationTierZeroAllowsNoFilters: {
479
+ description: string;
480
+ if: {
481
+ properties: {
482
+ min_tier: {
483
+ const: number;
484
+ };
485
+ };
486
+ required: string[];
487
+ };
488
+ then: {
489
+ properties: {
490
+ capabilities: {
491
+ maxItems: number;
492
+ };
493
+ auditors: {
494
+ maxItems: number;
495
+ };
496
+ min_auditor_count: {
497
+ maximum: number;
498
+ };
499
+ };
500
+ };
501
+ };
502
+ verificationRequirement: {
503
+ description: string;
504
+ additionalProperties: boolean;
505
+ allOf: {
506
+ $ref: string;
507
+ }[];
508
+ properties: {
509
+ min_tier: {
510
+ description: string;
511
+ type: string;
512
+ minimum: number;
513
+ maximum: number;
514
+ };
515
+ capabilities: {
516
+ description: string;
517
+ type: string;
518
+ items: {
519
+ enum: string[];
520
+ type: string;
521
+ };
522
+ };
523
+ auditors: {
524
+ description: string;
525
+ type: string;
526
+ items: {
527
+ type: string;
528
+ minLength: number;
529
+ };
530
+ };
531
+ auditor_mode: {
532
+ description: string;
533
+ enum: string[];
534
+ type: string;
535
+ };
536
+ min_auditor_count: {
537
+ description: string;
538
+ type: string;
539
+ minimum: number;
540
+ };
541
+ };
542
+ required: string[];
543
+ type: string;
544
+ };
427
545
  };
428
546
  properties: {
429
547
  deployment: {
@@ -642,6 +760,9 @@ declare var schema: {
642
760
  };
643
761
  type: string;
644
762
  };
763
+ verification: {
764
+ $ref: string;
765
+ };
645
766
  };
646
767
  required: string[];
647
768
  type: string;
@@ -759,16 +880,10 @@ declare var schema: {
759
880
  minimum: number;
760
881
  };
761
882
  read_timeout: {
762
- type: string;
763
- minimum: number;
764
- maximum: number;
765
- description: string;
883
+ $ref: string;
766
884
  };
767
885
  send_timeout: {
768
- type: string;
769
- minimum: number;
770
- maximum: number;
771
- description: string;
886
+ $ref: string;
772
887
  };
773
888
  };
774
889
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akashnetwork/chain-sdk",
3
- "version": "1.0.0-alpha.41",
3
+ "version": "1.0.0-alpha.43",
4
4
  "type": "module",
5
5
  "description": "Akash API TypeScript client",
6
6
  "keywords": [],
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/sdl/types.ts"],
4
- "sourcesContent": ["/**\n * @deprecated will be removed in favor of `Manifest` type\n */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport type v2Manifest = v2Group[];\n\n/** @deprecated Use `Manifest` type instead. */\nexport type v3Manifest = v3Group[];\n\n/** @deprecated Use `Manifest` type instead. */\nexport type v3Group = {\n name: string;\n services: v3ManifestService[];\n};\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type v2Group = {\n Name: string;\n Services: v2ManifestService[];\n};\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type v2ManifestService = {\n Name: string;\n Image: string;\n Command: string[] | null;\n Args: string[] | null;\n Env: string[] | null;\n Resources: ResourceUnits;\n Count: number;\n Expose: v2ServiceExpose[];\n params?: v2ManifestServiceParams;\n};\n\n/** @deprecated Use `Manifest` type instead. */\nexport type v3ManifestService = {\n name: string;\n image: string;\n command: string[] | null;\n args: string[] | null;\n env: string[] | null;\n resources: ResourceUnits;\n count: number;\n expose: v3ServiceExpose[];\n params?: v3ManifestServiceParams | null;\n credentials: v2ServiceImageCredentials | null;\n};\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type v2ServiceExposeHttpOptions = {\n MaxBodySize: number;\n ReadTimeout: number;\n SendTimeout: number;\n NextTries: number;\n NextTimeout: number;\n NextCases: string[];\n};\n\n/** @deprecated Use `Manifest[number]['services'][number]['expose'][number]['httpOptions']` type instead. */\nexport type v3ServiceExposeHttpOptions = {\n maxBodySize: number;\n readTimeout: number;\n sendTimeout: number;\n nextTries: number;\n nextTimeout: number;\n nextCases: string[];\n};\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type ResourceUnits = Record<string, any>;\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type v2ServiceExpose = {\n Port: number;\n ExternalPort: number;\n Proto: string;\n Service: any;\n Global: boolean;\n Hosts: any;\n HTTPOptions: v2ServiceExposeHttpOptions;\n IP: string;\n EndpointSequenceNumber: number;\n};\n\n/** @deprecated Use `Manifest[number]['services'][number]['expose'][number]` type instead. */\nexport type v3ServiceExpose = {\n port: number;\n externalPort: number;\n proto: string;\n service: any;\n global: boolean;\n hosts: any;\n httpOptions: v3ServiceExposeHttpOptions;\n ip: string;\n endpointSequenceNumber: number;\n};\n\ntype v2ServicePermissionsScope = \"deployment\" | \"logs\" | \"events\";\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type v2ServicePermissions = {\n read?: v2ServicePermissionsScope[];\n};\n\n/** @deprecated will be removed in favor of `Manifest` type. */\nexport type v2ManifestServiceParams = {\n Storage: v2ServiceStorageParams[];\n Permissions?: v2ServicePermissions;\n};\n\n/** @deprecated Use `Manifest[number]['services'][number]['params']` type instead. */\nexport type v3ManifestServiceParams = {\n storage: v2ServiceStorageParams[] | null;\n permissions?: v2ServicePermissions;\n};\n\n/** @deprecated will be removed in favor of `Manifest` type */\nexport type v2Sdl = {\n services: Record<string, v2Service>;\n profiles: v2Profiles;\n deployment: Record<string, v2Deployment>;\n endpoints: Record<string, v2Endpoint>;\n};\n\n/** @deprecated Use `SDLInput` type instead. */\nexport type v3Sdl = {\n services: Record<string, v2Service>;\n profiles: v3Profiles;\n deployment: Record<string, v2Deployment>;\n endpoints: Record<string, v2Endpoint>;\n};\n\n/** @deprecated will be removed. */\nexport type v2Endpoint = {\n kind: string;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ExposeTo = {\n service?: string;\n global?: boolean;\n http_options: v2HTTPOptions;\n ip: string;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2HTTPOptions = {\n max_body_size: number;\n read_timeout: number;\n send_timeout: number;\n next_tries: number;\n next_timeout: number;\n next_cases: string[];\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Accept = {\n items?: string[];\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Expose = {\n port: number;\n as: number;\n proto?: string;\n to?: v2ExposeTo[];\n accept: v2Accept;\n http_options: v2HTTPOptions;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Dependency = {\n service: string;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ServiceStorageParams = {\n name: string;\n mount: string;\n readOnly: boolean;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ServiceParams = {\n storage?: Record<string, v2ServiceStorageParams>;\n permissions?: v2ServicePermissions;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ServiceImageCredentials = {\n host: string;\n email?: string;\n username: string;\n password: string;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Service = {\n image: string;\n command: string[] | null;\n args: string[] | null;\n env: string[] | null;\n expose: v2Expose[];\n dependencies?: v2Dependency[];\n params?: v2ServiceParams;\n credentials?: v2ServiceImageCredentials;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ServiceDeployment = {\n profile: string;\n count: number;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Deployment = Record<string, v2ServiceDeployment>;\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2CPUAttributes = Record<string, any>;\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ResourceCPU = {\n units: number | string;\n attributes?: v2CPUAttributes;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ResourceMemory = {\n size: string;\n attributes?: Record<string, any>;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v3GPUAttributes = {\n vendor: {\n [vendor: string]: Array<{ model: string; ram?: string; interface?: string }>;\n };\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v3ResourceGPU = {\n units: number | string;\n attributes?: v3GPUAttributes;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2StorageAttributes = Record<string, any>;\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ResourceStorage = {\n name: string;\n size: string;\n attributes: v2StorageAttributes;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ResourceStorageArray = v2ResourceStorage[];\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ComputeResources = {\n cpu: v2ResourceCPU;\n memory: v2ResourceMemory;\n storage: v2ResourceStorageArray | v2ResourceStorage;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v3ComputeResources = {\n cpu: v2ResourceCPU;\n memory: v2ResourceMemory;\n storage: v2ResourceStorageArray | v2ResourceStorage;\n gpu: v3ResourceGPU;\n id: number;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ProfileCompute = {\n resources: v2ComputeResources;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v3ProfileCompute = {\n resources: v3ComputeResources;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2PlacementAttributes = Attributes;\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Coin = {\n denom: string;\n value: number;\n amount: number;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2PlacementPricing = Record<string, v2Coin>;\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type SignedBy = {\n allOf: string[];\n anyOf: string[];\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2ProfilePlacement = {\n attributes: v2PlacementAttributes;\n signedBy: SignedBy;\n pricing: v2PlacementPricing;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v2Profiles = {\n compute: Record<string, v2ProfileCompute>;\n placement: Record<string, v2ProfilePlacement>;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v3Profiles = {\n compute: Record<string, v3ProfileCompute>;\n placement: Record<string, v2ProfilePlacement>;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type Attribute = {\n key: string;\n value: string;\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type v3DeploymentGroup = {\n name: string;\n resources: Array<{\n resource: v3ComputeResources;\n price: number;\n count: number;\n endpoints: Array<{ kind: number; sequence_number: number }>;\n }>;\n requirements: {\n attributes: Array<Attribute>;\n signedBy: {\n allOf: string[];\n anyOf: string[];\n };\n };\n};\n\n/** @deprecated will be removed in favor of `SDLInput` and `Manifest` types. */\nexport type Attributes = Attribute[];\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,234 +0,0 @@
1
- import {
2
- Provider
3
- } from "./chunk-V42TLXWK.js";
4
- import {
5
- PageRequest,
6
- PageResponse
7
- } from "./chunk-NPYFA3KP.js";
8
- import {
9
- isSet
10
- } from "./chunk-5EZRSM6V.js";
11
-
12
- // src/generated/protos/akash/provider/v1beta4/query.ts
13
- import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
14
- function createBaseQueryProvidersRequest() {
15
- return { pagination: void 0 };
16
- }
17
- var QueryProvidersRequest = {
18
- $type: "akash.provider.v1beta4.QueryProvidersRequest",
19
- encode(message, writer = new BinaryWriter()) {
20
- if (message.pagination !== void 0) {
21
- PageRequest.encode(message.pagination, writer.uint32(10).fork()).join();
22
- }
23
- return writer;
24
- },
25
- decode(input, length) {
26
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
27
- const end = length === void 0 ? reader.len : reader.pos + length;
28
- const message = createBaseQueryProvidersRequest();
29
- while (reader.pos < end) {
30
- const tag = reader.uint32();
31
- switch (tag >>> 3) {
32
- case 1: {
33
- if (tag !== 10) {
34
- break;
35
- }
36
- message.pagination = PageRequest.decode(reader, reader.uint32());
37
- continue;
38
- }
39
- }
40
- if ((tag & 7) === 4 || tag === 0) {
41
- break;
42
- }
43
- reader.skip(tag & 7);
44
- }
45
- return message;
46
- },
47
- fromJSON(object) {
48
- return { pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : void 0 };
49
- },
50
- toJSON(message) {
51
- const obj = {};
52
- if (message.pagination !== void 0) {
53
- obj.pagination = PageRequest.toJSON(message.pagination);
54
- }
55
- return obj;
56
- },
57
- fromPartial(object) {
58
- const message = createBaseQueryProvidersRequest();
59
- message.pagination = object.pagination !== void 0 && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : void 0;
60
- return message;
61
- }
62
- };
63
- function createBaseQueryProvidersResponse() {
64
- return { providers: [], pagination: void 0 };
65
- }
66
- var QueryProvidersResponse = {
67
- $type: "akash.provider.v1beta4.QueryProvidersResponse",
68
- encode(message, writer = new BinaryWriter()) {
69
- for (const v of message.providers) {
70
- Provider.encode(v, writer.uint32(10).fork()).join();
71
- }
72
- if (message.pagination !== void 0) {
73
- PageResponse.encode(message.pagination, writer.uint32(18).fork()).join();
74
- }
75
- return writer;
76
- },
77
- decode(input, length) {
78
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
79
- const end = length === void 0 ? reader.len : reader.pos + length;
80
- const message = createBaseQueryProvidersResponse();
81
- while (reader.pos < end) {
82
- const tag = reader.uint32();
83
- switch (tag >>> 3) {
84
- case 1: {
85
- if (tag !== 10) {
86
- break;
87
- }
88
- message.providers.push(Provider.decode(reader, reader.uint32()));
89
- continue;
90
- }
91
- case 2: {
92
- if (tag !== 18) {
93
- break;
94
- }
95
- message.pagination = PageResponse.decode(reader, reader.uint32());
96
- continue;
97
- }
98
- }
99
- if ((tag & 7) === 4 || tag === 0) {
100
- break;
101
- }
102
- reader.skip(tag & 7);
103
- }
104
- return message;
105
- },
106
- fromJSON(object) {
107
- return {
108
- providers: globalThis.Array.isArray(object?.providers) ? object.providers.map((e) => Provider.fromJSON(e)) : [],
109
- pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : void 0
110
- };
111
- },
112
- toJSON(message) {
113
- const obj = {};
114
- if (message.providers?.length) {
115
- obj.providers = message.providers.map((e) => Provider.toJSON(e));
116
- }
117
- if (message.pagination !== void 0) {
118
- obj.pagination = PageResponse.toJSON(message.pagination);
119
- }
120
- return obj;
121
- },
122
- fromPartial(object) {
123
- const message = createBaseQueryProvidersResponse();
124
- message.providers = object.providers?.map((e) => Provider.fromPartial(e)) || [];
125
- message.pagination = object.pagination !== void 0 && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : void 0;
126
- return message;
127
- }
128
- };
129
- function createBaseQueryProviderRequest() {
130
- return { owner: "" };
131
- }
132
- var QueryProviderRequest = {
133
- $type: "akash.provider.v1beta4.QueryProviderRequest",
134
- encode(message, writer = new BinaryWriter()) {
135
- if (message.owner !== "") {
136
- writer.uint32(10).string(message.owner);
137
- }
138
- return writer;
139
- },
140
- decode(input, length) {
141
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
142
- const end = length === void 0 ? reader.len : reader.pos + length;
143
- const message = createBaseQueryProviderRequest();
144
- while (reader.pos < end) {
145
- const tag = reader.uint32();
146
- switch (tag >>> 3) {
147
- case 1: {
148
- if (tag !== 10) {
149
- break;
150
- }
151
- message.owner = reader.string();
152
- continue;
153
- }
154
- }
155
- if ((tag & 7) === 4 || tag === 0) {
156
- break;
157
- }
158
- reader.skip(tag & 7);
159
- }
160
- return message;
161
- },
162
- fromJSON(object) {
163
- return { owner: isSet(object.owner) ? globalThis.String(object.owner) : "" };
164
- },
165
- toJSON(message) {
166
- const obj = {};
167
- if (message.owner !== "") {
168
- obj.owner = message.owner;
169
- }
170
- return obj;
171
- },
172
- fromPartial(object) {
173
- const message = createBaseQueryProviderRequest();
174
- message.owner = object.owner ?? "";
175
- return message;
176
- }
177
- };
178
- function createBaseQueryProviderResponse() {
179
- return { provider: void 0 };
180
- }
181
- var QueryProviderResponse = {
182
- $type: "akash.provider.v1beta4.QueryProviderResponse",
183
- encode(message, writer = new BinaryWriter()) {
184
- if (message.provider !== void 0) {
185
- Provider.encode(message.provider, writer.uint32(10).fork()).join();
186
- }
187
- return writer;
188
- },
189
- decode(input, length) {
190
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
191
- const end = length === void 0 ? reader.len : reader.pos + length;
192
- const message = createBaseQueryProviderResponse();
193
- while (reader.pos < end) {
194
- const tag = reader.uint32();
195
- switch (tag >>> 3) {
196
- case 1: {
197
- if (tag !== 10) {
198
- break;
199
- }
200
- message.provider = Provider.decode(reader, reader.uint32());
201
- continue;
202
- }
203
- }
204
- if ((tag & 7) === 4 || tag === 0) {
205
- break;
206
- }
207
- reader.skip(tag & 7);
208
- }
209
- return message;
210
- },
211
- fromJSON(object) {
212
- return { provider: isSet(object.provider) ? Provider.fromJSON(object.provider) : void 0 };
213
- },
214
- toJSON(message) {
215
- const obj = {};
216
- if (message.provider !== void 0) {
217
- obj.provider = Provider.toJSON(message.provider);
218
- }
219
- return obj;
220
- },
221
- fromPartial(object) {
222
- const message = createBaseQueryProviderResponse();
223
- message.provider = object.provider !== void 0 && object.provider !== null ? Provider.fromPartial(object.provider) : void 0;
224
- return message;
225
- }
226
- };
227
-
228
- export {
229
- QueryProvidersRequest,
230
- QueryProvidersResponse,
231
- QueryProviderRequest,
232
- QueryProviderResponse
233
- };
234
- //# sourceMappingURL=chunk-C3WV6GJ6.js.map