@gitopia/gitopiajs 0.0.4 → 0.0.5

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 (310) hide show
  1. package/dist/LICENSE +21 -0
  2. package/dist/amino/amino.d.ts +1 -0
  3. package/dist/amino/amino.js +2 -0
  4. package/dist/amino/bundle.d.ts +1 -0
  5. package/dist/amino/bundle.js +41 -0
  6. package/dist/binary.d.ts +130 -0
  7. package/dist/binary.js +371 -0
  8. package/dist/cosmos/bank/v1beta1/bank.d.ts +407 -0
  9. package/dist/cosmos/bank/v1beta1/bank.js +664 -0
  10. package/dist/cosmos/bank/v1beta1/query.d.ts +1062 -0
  11. package/dist/cosmos/bank/v1beta1/query.js +1759 -0
  12. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +19 -0
  13. package/dist/cosmos/bank/v1beta1/query.lcd.js +173 -0
  14. package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +106 -0
  15. package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +123 -0
  16. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +190 -0
  17. package/dist/cosmos/base/query/v1beta1/pagination.js +204 -0
  18. package/dist/cosmos/base/v1beta1/coin.d.ts +193 -0
  19. package/dist/cosmos/base/v1beta1/coin.js +306 -0
  20. package/dist/cosmos/bundle.d.ts +2311 -0
  21. package/dist/cosmos/bundle.js +134 -0
  22. package/dist/cosmos/client.d.ts +84 -0
  23. package/dist/cosmos/client.js +65 -0
  24. package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +245 -0
  25. package/dist/cosmos/feegrant/v1beta1/feegrant.js +456 -0
  26. package/dist/cosmos/feegrant/v1beta1/query.d.ts +258 -0
  27. package/dist/cosmos/feegrant/v1beta1/query.js +487 -0
  28. package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +11 -0
  29. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +44 -0
  30. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
  31. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +47 -0
  32. package/dist/cosmos/gov/v1beta1/gov.d.ts +571 -0
  33. package/dist/cosmos/gov/v1beta1/gov.js +1122 -0
  34. package/dist/cosmos/gov/v1beta1/query.d.ts +636 -0
  35. package/dist/cosmos/gov/v1beta1/query.js +1264 -0
  36. package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
  37. package/dist/cosmos/gov/v1beta1/query.lcd.js +87 -0
  38. package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
  39. package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +92 -0
  40. package/dist/cosmos/group/v1/query.d.ts +1097 -0
  41. package/dist/cosmos/group/v1/query.js +2182 -0
  42. package/dist/cosmos/group/v1/query.lcd.d.ts +22 -0
  43. package/dist/cosmos/group/v1/query.lcd.js +158 -0
  44. package/dist/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
  45. package/dist/cosmos/group/v1/query.rpc.Query.js +148 -0
  46. package/dist/cosmos/group/v1/tx.amino.d.ts +73 -0
  47. package/dist/cosmos/group/v1/tx.amino.js +77 -0
  48. package/dist/cosmos/group/v1/tx.d.ts +1198 -0
  49. package/dist/cosmos/group/v1/tx.js +2362 -0
  50. package/dist/cosmos/group/v1/tx.registry.d.ts +180 -0
  51. package/dist/cosmos/group/v1/tx.registry.js +271 -0
  52. package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
  53. package/dist/cosmos/group/v1/tx.rpc.msg.js +96 -0
  54. package/dist/cosmos/group/v1/types.d.ts +873 -0
  55. package/dist/cosmos/group/v1/types.js +1495 -0
  56. package/dist/cosmos/msg/v1/msg.d.ts +1 -0
  57. package/dist/cosmos/msg/v1/msg.js +2 -0
  58. package/dist/cosmos/query/v1/query.d.ts +1 -0
  59. package/dist/cosmos/query/v1/query.js +2 -0
  60. package/dist/cosmos/rpc.query.d.ts +59 -0
  61. package/dist/cosmos/rpc.query.js +60 -0
  62. package/dist/cosmos/rpc.tx.d.ts +10 -0
  63. package/dist/cosmos/rpc.tx.js +44 -0
  64. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +278 -0
  65. package/dist/cosmos/upgrade/v1beta1/upgrade.js +382 -0
  66. package/dist/cosmos_proto/bundle.d.ts +32 -0
  67. package/dist/cosmos_proto/bundle.js +41 -0
  68. package/dist/cosmos_proto/cosmos.d.ts +171 -0
  69. package/dist/cosmos_proto/cosmos.js +221 -0
  70. package/dist/esm/amino/amino.js +1 -0
  71. package/dist/esm/amino/bundle.js +5 -0
  72. package/dist/esm/binary.js +366 -0
  73. package/dist/esm/cosmos/bank/v1beta1/bank.js +661 -0
  74. package/dist/esm/cosmos/bank/v1beta1/query.js +1756 -0
  75. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +169 -0
  76. package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +118 -0
  77. package/dist/esm/cosmos/base/query/v1beta1/pagination.js +201 -0
  78. package/dist/esm/cosmos/base/v1beta1/coin.js +303 -0
  79. package/dist/esm/cosmos/bundle.js +98 -0
  80. package/dist/esm/cosmos/client.js +27 -0
  81. package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +450 -0
  82. package/dist/esm/cosmos/feegrant/v1beta1/query.js +484 -0
  83. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +40 -0
  84. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +42 -0
  85. package/dist/esm/cosmos/gov/v1beta1/gov.js +1112 -0
  86. package/dist/esm/cosmos/gov/v1beta1/query.js +1261 -0
  87. package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +83 -0
  88. package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +87 -0
  89. package/dist/esm/cosmos/group/v1/query.js +2179 -0
  90. package/dist/esm/cosmos/group/v1/query.lcd.js +154 -0
  91. package/dist/esm/cosmos/group/v1/query.rpc.Query.js +143 -0
  92. package/dist/esm/cosmos/group/v1/tx.amino.js +74 -0
  93. package/dist/esm/cosmos/group/v1/tx.js +2354 -0
  94. package/dist/esm/cosmos/group/v1/tx.registry.js +267 -0
  95. package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +92 -0
  96. package/dist/esm/cosmos/group/v1/types.js +1483 -0
  97. package/dist/esm/cosmos/msg/v1/msg.js +1 -0
  98. package/dist/esm/cosmos/query/v1/query.js +1 -0
  99. package/dist/esm/cosmos/rpc.query.js +23 -0
  100. package/dist/esm/cosmos/rpc.tx.js +7 -0
  101. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +379 -0
  102. package/dist/esm/cosmos_proto/bundle.js +5 -0
  103. package/dist/esm/cosmos_proto/cosmos.js +216 -0
  104. package/dist/esm/gitopia/bundle.js +95 -0
  105. package/dist/esm/gitopia/client.js +32 -0
  106. package/dist/esm/gitopia/custom-lcd-client.js +50 -0
  107. package/dist/esm/gitopia/gitopia/gitopia/attachment.js +101 -0
  108. package/dist/esm/gitopia/gitopia/gitopia/bounty.js +255 -0
  109. package/dist/esm/gitopia/gitopia/gitopia/branch.js +137 -0
  110. package/dist/esm/gitopia/gitopia/gitopia/comment.js +488 -0
  111. package/dist/esm/gitopia/gitopia/gitopia/dao.js +451 -0
  112. package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +78 -0
  113. package/dist/esm/gitopia/gitopia/gitopia/genesis.js +460 -0
  114. package/dist/esm/gitopia/gitopia/gitopia/issue.js +323 -0
  115. package/dist/esm/gitopia/gitopia/gitopia/params.js +293 -0
  116. package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +565 -0
  117. package/dist/esm/gitopia/gitopia/gitopia/query.js +7351 -0
  118. package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +452 -0
  119. package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +453 -0
  120. package/dist/esm/gitopia/gitopia/gitopia/reaction.js +123 -0
  121. package/dist/esm/gitopia/gitopia/gitopia/release.js +225 -0
  122. package/dist/esm/gitopia/gitopia/gitopia/repository.js +1200 -0
  123. package/dist/esm/gitopia/gitopia/gitopia/tag.js +125 -0
  124. package/dist/esm/gitopia/gitopia/gitopia/task.js +197 -0
  125. package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +464 -0
  126. package/dist/esm/gitopia/gitopia/gitopia/tx.js +14679 -0
  127. package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +1671 -0
  128. package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +560 -0
  129. package/dist/esm/gitopia/gitopia/gitopia/user.js +340 -0
  130. package/dist/esm/gitopia/gitopia/gitopia/whois.js +146 -0
  131. package/dist/esm/gitopia/gitopia/offchain/offchain.js +144 -0
  132. package/dist/esm/gitopia/gitopia/rewards/genesis.js +82 -0
  133. package/dist/esm/gitopia/gitopia/rewards/params.js +81 -0
  134. package/dist/esm/gitopia/gitopia/rewards/pool.js +191 -0
  135. package/dist/esm/gitopia/gitopia/rewards/query.js +654 -0
  136. package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +40 -0
  137. package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +53 -0
  138. package/dist/esm/gitopia/gitopia/rewards/rewards.js +191 -0
  139. package/dist/esm/gitopia/gitopia/rewards/task.js +176 -0
  140. package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +19 -0
  141. package/dist/esm/gitopia/gitopia/rewards/tx.js +525 -0
  142. package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +69 -0
  143. package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +26 -0
  144. package/dist/esm/gitopia/rpc.query.js +29 -0
  145. package/dist/esm/gitopia/rpc.tx.js +13 -0
  146. package/dist/esm/gogoproto/bundle.js +5 -0
  147. package/dist/esm/gogoproto/gogo.js +1 -0
  148. package/dist/esm/google/api/annotations.js +1 -0
  149. package/dist/esm/google/api/http.js +329 -0
  150. package/dist/esm/google/bundle.js +14 -0
  151. package/dist/esm/google/protobuf/any.js +74 -0
  152. package/dist/esm/google/protobuf/descriptor.js +4848 -0
  153. package/dist/esm/google/protobuf/duration.js +71 -0
  154. package/dist/esm/google/protobuf/timestamp.js +68 -0
  155. package/dist/esm/helpers.js +129 -0
  156. package/dist/esm/ibc/applications/transfer/v1/query.js +847 -0
  157. package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +70 -0
  158. package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +71 -0
  159. package/dist/esm/ibc/applications/transfer/v1/transfer.js +164 -0
  160. package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +9 -0
  161. package/dist/esm/ibc/applications/transfer/v1/tx.js +226 -0
  162. package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +33 -0
  163. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +14 -0
  164. package/dist/esm/ibc/bundle.js +44 -0
  165. package/dist/esm/ibc/client.js +29 -0
  166. package/dist/esm/ibc/core/client/v1/client.js +611 -0
  167. package/dist/esm/ibc/rpc.query.js +30 -0
  168. package/dist/esm/ibc/rpc.tx.js +14 -0
  169. package/dist/esm/index.js +19 -0
  170. package/dist/esm/utf8.js +137 -0
  171. package/dist/esm/varint.js +408 -0
  172. package/dist/gitopia/bundle.d.ts +6123 -0
  173. package/dist/gitopia/bundle.js +131 -0
  174. package/dist/gitopia/client.d.ts +492 -0
  175. package/dist/gitopia/client.js +70 -0
  176. package/dist/gitopia/custom-lcd-client.d.ts +31 -0
  177. package/dist/gitopia/custom-lcd-client.js +87 -0
  178. package/dist/gitopia/gitopia/gitopia/attachment.d.ts +39 -0
  179. package/dist/gitopia/gitopia/gitopia/attachment.js +104 -0
  180. package/dist/gitopia/gitopia/gitopia/bounty.d.ts +79 -0
  181. package/dist/gitopia/gitopia/gitopia/bounty.js +262 -0
  182. package/dist/gitopia/gitopia/gitopia/branch.d.ts +48 -0
  183. package/dist/gitopia/gitopia/gitopia/branch.js +140 -0
  184. package/dist/gitopia/gitopia/gitopia/comment.d.ts +125 -0
  185. package/dist/gitopia/gitopia/gitopia/comment.js +495 -0
  186. package/dist/gitopia/gitopia/gitopia/dao.d.ts +160 -0
  187. package/dist/gitopia/gitopia/gitopia/dao.js +454 -0
  188. package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +34 -0
  189. package/dist/gitopia/gitopia/gitopia/exercised_amount.js +81 -0
  190. package/dist/gitopia/gitopia/gitopia/genesis.d.ts +143 -0
  191. package/dist/gitopia/gitopia/gitopia/genesis.js +463 -0
  192. package/dist/gitopia/gitopia/gitopia/issue.d.ts +88 -0
  193. package/dist/gitopia/gitopia/gitopia/issue.js +328 -0
  194. package/dist/gitopia/gitopia/gitopia/params.d.ts +115 -0
  195. package/dist/gitopia/gitopia/gitopia/params.js +296 -0
  196. package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +177 -0
  197. package/dist/gitopia/gitopia/gitopia/pullRequest.js +570 -0
  198. package/dist/gitopia/gitopia/gitopia/query.d.ts +3130 -0
  199. package/dist/gitopia/gitopia/gitopia/query.js +7355 -0
  200. package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +54 -0
  201. package/dist/gitopia/gitopia/gitopia/query.lcd.js +456 -0
  202. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +188 -0
  203. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +458 -0
  204. package/dist/gitopia/gitopia/gitopia/reaction.d.ts +42 -0
  205. package/dist/gitopia/gitopia/gitopia/reaction.js +128 -0
  206. package/dist/gitopia/gitopia/gitopia/release.d.ts +70 -0
  207. package/dist/gitopia/gitopia/gitopia/release.js +228 -0
  208. package/dist/gitopia/gitopia/gitopia/repository.d.ts +424 -0
  209. package/dist/gitopia/gitopia/gitopia/repository.js +1207 -0
  210. package/dist/gitopia/gitopia/gitopia/tag.d.ts +45 -0
  211. package/dist/gitopia/gitopia/gitopia/tag.js +128 -0
  212. package/dist/gitopia/gitopia/gitopia/task.d.ts +64 -0
  213. package/dist/gitopia/gitopia/gitopia/task.js +204 -0
  214. package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +463 -0
  215. package/dist/gitopia/gitopia/gitopia/tx.amino.js +467 -0
  216. package/dist/gitopia/gitopia/gitopia/tx.d.ts +6246 -0
  217. package/dist/gitopia/gitopia/gitopia/tx.js +14687 -0
  218. package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +1116 -0
  219. package/dist/gitopia/gitopia/gitopia/tx.registry.js +1675 -0
  220. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +200 -0
  221. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +564 -0
  222. package/dist/gitopia/gitopia/gitopia/user.d.ts +104 -0
  223. package/dist/gitopia/gitopia/gitopia/user.js +343 -0
  224. package/dist/gitopia/gitopia/gitopia/whois.d.ts +51 -0
  225. package/dist/gitopia/gitopia/gitopia/whois.js +151 -0
  226. package/dist/gitopia/gitopia/offchain/offchain.d.ts +74 -0
  227. package/dist/gitopia/gitopia/offchain/offchain.js +147 -0
  228. package/dist/gitopia/gitopia/rewards/genesis.d.ts +40 -0
  229. package/dist/gitopia/gitopia/rewards/genesis.js +85 -0
  230. package/dist/gitopia/gitopia/rewards/params.d.ts +37 -0
  231. package/dist/gitopia/gitopia/rewards/params.js +84 -0
  232. package/dist/gitopia/gitopia/rewards/pool.d.ts +59 -0
  233. package/dist/gitopia/gitopia/rewards/pool.js +196 -0
  234. package/dist/gitopia/gitopia/rewards/query.d.ts +294 -0
  235. package/dist/gitopia/gitopia/rewards/query.js +657 -0
  236. package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +12 -0
  237. package/dist/gitopia/gitopia/rewards/query.lcd.js +44 -0
  238. package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +28 -0
  239. package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +58 -0
  240. package/dist/gitopia/gitopia/rewards/rewards.d.ts +79 -0
  241. package/dist/gitopia/gitopia/rewards/rewards.js +194 -0
  242. package/dist/gitopia/gitopia/rewards/task.d.ts +54 -0
  243. package/dist/gitopia/gitopia/rewards/task.js +181 -0
  244. package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +18 -0
  245. package/dist/gitopia/gitopia/rewards/tx.amino.js +22 -0
  246. package/dist/gitopia/gitopia/rewards/tx.d.ts +242 -0
  247. package/dist/gitopia/gitopia/rewards/tx.js +528 -0
  248. package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +48 -0
  249. package/dist/gitopia/gitopia/rewards/tx.registry.js +73 -0
  250. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +19 -0
  251. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +30 -0
  252. package/dist/gitopia/rpc.query.d.ts +117 -0
  253. package/dist/gitopia/rpc.query.js +66 -0
  254. package/dist/gitopia/rpc.tx.d.ts +16 -0
  255. package/dist/gitopia/rpc.tx.js +50 -0
  256. package/dist/gogoproto/bundle.d.ts +1 -0
  257. package/dist/gogoproto/bundle.js +41 -0
  258. package/dist/gogoproto/gogo.d.ts +1 -0
  259. package/dist/gogoproto/gogo.js +2 -0
  260. package/dist/google/api/annotations.d.ts +1 -0
  261. package/dist/google/api/annotations.js +2 -0
  262. package/dist/google/api/http.d.ts +1049 -0
  263. package/dist/google/api/http.js +332 -0
  264. package/dist/google/bundle.d.ts +525 -0
  265. package/dist/google/bundle.js +50 -0
  266. package/dist/google/protobuf/any.d.ts +358 -0
  267. package/dist/google/protobuf/any.js +77 -0
  268. package/dist/google/protobuf/descriptor.d.ts +3178 -0
  269. package/dist/google/protobuf/descriptor.js +4886 -0
  270. package/dist/google/protobuf/duration.d.ts +223 -0
  271. package/dist/google/protobuf/duration.js +74 -0
  272. package/dist/google/protobuf/timestamp.d.ts +314 -0
  273. package/dist/google/protobuf/timestamp.js +71 -0
  274. package/dist/helpers.d.ts +82 -0
  275. package/dist/helpers.js +144 -0
  276. package/dist/ibc/applications/transfer/v1/query.d.ts +479 -0
  277. package/dist/ibc/applications/transfer/v1/query.js +850 -0
  278. package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +14 -0
  279. package/dist/ibc/applications/transfer/v1/query.lcd.js +74 -0
  280. package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +36 -0
  281. package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +76 -0
  282. package/dist/ibc/applications/transfer/v1/transfer.d.ts +123 -0
  283. package/dist/ibc/applications/transfer/v1/transfer.js +167 -0
  284. package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +8 -0
  285. package/dist/ibc/applications/transfer/v1/tx.amino.js +12 -0
  286. package/dist/ibc/applications/transfer/v1/tx.d.ts +132 -0
  287. package/dist/ibc/applications/transfer/v1/tx.js +229 -0
  288. package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
  289. package/dist/ibc/applications/transfer/v1/tx.registry.js +37 -0
  290. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +12 -0
  291. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +18 -0
  292. package/dist/ibc/bundle.d.ts +450 -0
  293. package/dist/ibc/bundle.js +80 -0
  294. package/dist/ibc/client.d.ts +22 -0
  295. package/dist/ibc/client.js +67 -0
  296. package/dist/ibc/core/client/v1/client.d.ts +408 -0
  297. package/dist/ibc/core/client/v1/client.js +614 -0
  298. package/dist/ibc/rpc.query.d.ts +73 -0
  299. package/dist/ibc/rpc.query.js +67 -0
  300. package/dist/ibc/rpc.tx.d.ts +17 -0
  301. package/dist/ibc/rpc.tx.js +51 -0
  302. package/dist/index.d.ts +18 -0
  303. package/dist/index.js +35 -0
  304. package/dist/package.json +48 -0
  305. package/dist/utf8.d.ts +27 -0
  306. package/dist/utf8.js +141 -0
  307. package/dist/varint.d.ts +105 -0
  308. package/dist/varint.js +426 -0
  309. package/package.json +8 -6
  310. package/CHANGELOG.md +0 -8
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.createRPCQueryClient = void 0;
37
+ //@ts-nocheck
38
+ const tendermint_rpc_1 = require("@cosmjs/tendermint-rpc");
39
+ const stargate_1 = require("@cosmjs/stargate");
40
+ const createRPCQueryClient = async ({ rpcEndpoint }) => {
41
+ const tmClient = await tendermint_rpc_1.Tendermint34Client.connect(rpcEndpoint);
42
+ const client = new stargate_1.QueryClient(tmClient);
43
+ return {
44
+ cosmos: {
45
+ bank: {
46
+ v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/bank/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
47
+ },
48
+ feegrant: {
49
+ v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/feegrant/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
50
+ },
51
+ gov: {
52
+ v1beta1: (await Promise.resolve().then(() => __importStar(require("../cosmos/gov/v1beta1/query.rpc.Query")))).createRpcQueryExtension(client)
53
+ },
54
+ group: {
55
+ v1: (await Promise.resolve().then(() => __importStar(require("../cosmos/group/v1/query.rpc.Query")))).createRpcQueryExtension(client)
56
+ }
57
+ },
58
+ ibc: {
59
+ applications: {
60
+ transfer: {
61
+ v1: (await Promise.resolve().then(() => __importStar(require("./applications/transfer/v1/query.rpc.Query")))).createRpcQueryExtension(client)
62
+ }
63
+ }
64
+ }
65
+ };
66
+ };
67
+ exports.createRPCQueryClient = createRPCQueryClient;
@@ -0,0 +1,17 @@
1
+ import { Rpc } from "../helpers";
2
+ export declare const createRPCMsgClient: ({ rpc }: {
3
+ rpc: Rpc;
4
+ }) => Promise<{
5
+ cosmos: {
6
+ group: {
7
+ v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl;
8
+ };
9
+ };
10
+ ibc: {
11
+ applications: {
12
+ transfer: {
13
+ v1: import("./applications/transfer/v1/tx.rpc.msg").MsgClientImpl;
14
+ };
15
+ };
16
+ };
17
+ }>;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.createRPCMsgClient = void 0;
37
+ const createRPCMsgClient = async ({ rpc }) => ({
38
+ cosmos: {
39
+ group: {
40
+ v1: new (await Promise.resolve().then(() => __importStar(require("../cosmos/group/v1/tx.rpc.msg")))).MsgClientImpl(rpc)
41
+ }
42
+ },
43
+ ibc: {
44
+ applications: {
45
+ transfer: {
46
+ v1: new (await Promise.resolve().then(() => __importStar(require("./applications/transfer/v1/tx.rpc.msg")))).MsgClientImpl(rpc)
47
+ }
48
+ }
49
+ }
50
+ });
51
+ exports.createRPCMsgClient = createRPCMsgClient;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
3
+ * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
+ * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
+ */
6
+ export * from "./amino/bundle";
7
+ export * from "./cosmos_proto/bundle";
8
+ export * from "./cosmos/bundle";
9
+ export * from "./cosmos/client";
10
+ export * from "./gitopia/bundle";
11
+ export * from "./gitopia/client";
12
+ export * from "./gogoproto/bundle";
13
+ export * from "./google/bundle";
14
+ export * from "./ibc/bundle";
15
+ export * from "./ibc/client";
16
+ export * from "./varint";
17
+ export * from "./utf8";
18
+ export * from "./binary";
package/dist/index.js ADDED
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ //@ts-nocheck
3
+ /**
4
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
5
+ * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
6
+ * and run the transpile command or npm scripts command that is used to regenerate this bundle.
7
+ */
8
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
+ if (k2 === undefined) k2 = k;
10
+ var desc = Object.getOwnPropertyDescriptor(m, k);
11
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
12
+ desc = { enumerable: true, get: function() { return m[k]; } };
13
+ }
14
+ Object.defineProperty(o, k2, desc);
15
+ }) : (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ o[k2] = m[k];
18
+ }));
19
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ Object.defineProperty(exports, "__esModule", { value: true });
23
+ __exportStar(require("./amino/bundle"), exports);
24
+ __exportStar(require("./cosmos_proto/bundle"), exports);
25
+ __exportStar(require("./cosmos/bundle"), exports);
26
+ __exportStar(require("./cosmos/client"), exports);
27
+ __exportStar(require("./gitopia/bundle"), exports);
28
+ __exportStar(require("./gitopia/client"), exports);
29
+ __exportStar(require("./gogoproto/bundle"), exports);
30
+ __exportStar(require("./google/bundle"), exports);
31
+ __exportStar(require("./ibc/bundle"), exports);
32
+ __exportStar(require("./ibc/client"), exports);
33
+ __exportStar(require("./varint"), exports);
34
+ __exportStar(require("./utf8"), exports);
35
+ __exportStar(require("./binary"), exports);
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@gitopia/gitopiajs",
3
+ "version": "0.0.5",
4
+ "author": "Faza Mahamood <faza@gitopia.org>",
5
+ "description": "js client library for gitopia protocol",
6
+ "main": "dist/index.js",
7
+ "module": "dist/esm/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "homepage": "https://gitopia.com/gitopia/gitopiajs",
13
+ "license": "SEE LICENSE IN LICENSE",
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://gitopia.com/gitopia/gitopiajs"
20
+ },
21
+ "bugs": {
22
+ "url": "https://gitopia.com/gitopia/gitopiajs/issues"
23
+ },
24
+ "scripts": {
25
+ "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
26
+ "clean": "rimraf dist/**",
27
+ "prepare": "npm run build",
28
+ "codegen": "ts-node scripts/codegen.ts",
29
+ "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
30
+ "build:dev": "npm run clean; npm run codegen; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
31
+ "lint": "eslint . --fix",
32
+ "test": "jest",
33
+ "test:watch": "jest --watch"
34
+ },
35
+ "devDependencies": {
36
+ "@cosmology/telescope": "^1.10.0"
37
+ },
38
+ "dependencies": {
39
+ "@cosmjs/amino": "0.32.4",
40
+ "@cosmjs/encoding": "0.32.4",
41
+ "@cosmjs/math": "0.32.4",
42
+ "@cosmjs/proto-signing": "0.32.4",
43
+ "@cosmjs/stargate": "0.32.4",
44
+ "@cosmology/lcd": "^0.14.0"
45
+ },
46
+ "keywords": [],
47
+ "gitHead": "9881fb7f3da56c24e402ebb3283a6370874b8bba"
48
+ }
package/dist/utf8.d.ts ADDED
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
3
+ * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
+ * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
+ */
6
+ /**
7
+ * Calculates the UTF8 byte length of a string.
8
+ * @param {string} string String
9
+ * @returns {number} Byte length
10
+ */
11
+ export declare function utf8Length(str: string): number;
12
+ /**
13
+ * Reads UTF8 bytes as a string.
14
+ * @param {Uint8Array} buffer Source buffer
15
+ * @param {number} start Source start
16
+ * @param {number} end Source end
17
+ * @returns {string} String read
18
+ */
19
+ export declare function utf8Read(buffer: ArrayLike<number>, start: number, end: number): string;
20
+ /**
21
+ * Writes a string as UTF8 bytes.
22
+ * @param {string} string Source string
23
+ * @param {Uint8Array} buffer Destination buffer
24
+ * @param {number} offset Destination offset
25
+ * @returns {number} Bytes written
26
+ */
27
+ export declare function utf8Write(str: string, buffer: Uint8Array | Array<number>, offset: number): number;
package/dist/utf8.js ADDED
@@ -0,0 +1,141 @@
1
+ //@ts-nocheck
2
+ /**
3
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
4
+ * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
5
+ * and run the transpile command or npm scripts command that is used to regenerate this bundle.
6
+ */
7
+ // Copyright (c) 2016, Daniel Wirtz All rights reserved.
8
+ // Redistribution and use in source and binary forms, with or without
9
+ // modification, are permitted provided that the following conditions are
10
+ // met:
11
+ // * Redistributions of source code must retain the above copyright
12
+ // notice, this list of conditions and the following disclaimer.
13
+ // * Redistributions in binary form must reproduce the above copyright
14
+ // notice, this list of conditions and the following disclaimer in the
15
+ // documentation and/or other materials provided with the distribution.
16
+ // * Neither the name of its author, nor the names of its contributors
17
+ // may be used to endorse or promote products derived from this software
18
+ // without specific prior written permission.
19
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
+ "use strict";
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ exports.utf8Length = utf8Length;
33
+ exports.utf8Read = utf8Read;
34
+ exports.utf8Write = utf8Write;
35
+ /**
36
+ * Calculates the UTF8 byte length of a string.
37
+ * @param {string} string String
38
+ * @returns {number} Byte length
39
+ */
40
+ function utf8Length(str) {
41
+ let len = 0, c = 0;
42
+ for (let i = 0; i < str.length; ++i) {
43
+ c = str.charCodeAt(i);
44
+ if (c < 128)
45
+ len += 1;
46
+ else if (c < 2048)
47
+ len += 2;
48
+ else if ((c & 0xfc00) === 0xd800 &&
49
+ (str.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {
50
+ ++i;
51
+ len += 4;
52
+ }
53
+ else
54
+ len += 3;
55
+ }
56
+ return len;
57
+ }
58
+ /**
59
+ * Reads UTF8 bytes as a string.
60
+ * @param {Uint8Array} buffer Source buffer
61
+ * @param {number} start Source start
62
+ * @param {number} end Source end
63
+ * @returns {string} String read
64
+ */
65
+ function utf8Read(buffer, start, end) {
66
+ const len = end - start;
67
+ if (len < 1)
68
+ return "";
69
+ const chunk = [];
70
+ let parts = [], i = 0, // char offset
71
+ t; // temporary
72
+ while (start < end) {
73
+ t = buffer[start++];
74
+ if (t < 128)
75
+ chunk[i++] = t;
76
+ else if (t > 191 && t < 224)
77
+ chunk[i++] = ((t & 31) << 6) | (buffer[start++] & 63);
78
+ else if (t > 239 && t < 365) {
79
+ t =
80
+ (((t & 7) << 18) |
81
+ ((buffer[start++] & 63) << 12) |
82
+ ((buffer[start++] & 63) << 6) |
83
+ (buffer[start++] & 63)) -
84
+ 0x10000;
85
+ chunk[i++] = 0xd800 + (t >> 10);
86
+ chunk[i++] = 0xdc00 + (t & 1023);
87
+ }
88
+ else
89
+ chunk[i++] =
90
+ ((t & 15) << 12) |
91
+ ((buffer[start++] & 63) << 6) |
92
+ (buffer[start++] & 63);
93
+ if (i > 8191) {
94
+ (parts || (parts = [])).push(String.fromCharCode(...chunk));
95
+ i = 0;
96
+ }
97
+ }
98
+ if (parts) {
99
+ if (i)
100
+ parts.push(String.fromCharCode(...chunk.slice(0, i)));
101
+ return parts.join("");
102
+ }
103
+ return String.fromCharCode(...chunk.slice(0, i));
104
+ }
105
+ /**
106
+ * Writes a string as UTF8 bytes.
107
+ * @param {string} string Source string
108
+ * @param {Uint8Array} buffer Destination buffer
109
+ * @param {number} offset Destination offset
110
+ * @returns {number} Bytes written
111
+ */
112
+ function utf8Write(str, buffer, offset) {
113
+ const start = offset;
114
+ let c1, // character 1
115
+ c2; // character 2
116
+ for (let i = 0; i < str.length; ++i) {
117
+ c1 = str.charCodeAt(i);
118
+ if (c1 < 128) {
119
+ buffer[offset++] = c1;
120
+ }
121
+ else if (c1 < 2048) {
122
+ buffer[offset++] = (c1 >> 6) | 192;
123
+ buffer[offset++] = (c1 & 63) | 128;
124
+ }
125
+ else if ((c1 & 0xfc00) === 0xd800 &&
126
+ ((c2 = str.charCodeAt(i + 1)) & 0xfc00) === 0xdc00) {
127
+ c1 = 0x10000 + ((c1 & 0x03ff) << 10) + (c2 & 0x03ff);
128
+ ++i;
129
+ buffer[offset++] = (c1 >> 18) | 240;
130
+ buffer[offset++] = ((c1 >> 12) & 63) | 128;
131
+ buffer[offset++] = ((c1 >> 6) & 63) | 128;
132
+ buffer[offset++] = (c1 & 63) | 128;
133
+ }
134
+ else {
135
+ buffer[offset++] = (c1 >> 12) | 224;
136
+ buffer[offset++] = ((c1 >> 6) & 63) | 128;
137
+ buffer[offset++] = (c1 & 63) | 128;
138
+ }
139
+ }
140
+ return offset - start;
141
+ }
@@ -0,0 +1,105 @@
1
+ /**
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.0
3
+ * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
+ * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
+ */
6
+ /**
7
+ * Read a 64 bit varint as two JS numbers.
8
+ *
9
+ * Returns tuple:
10
+ * [0]: low bits
11
+ * [1]: high bits
12
+ *
13
+ * Copyright 2008 Google Inc. All rights reserved.
14
+ *
15
+ * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175
16
+ */
17
+ export declare function varint64read(this: ReaderLike): [number, number];
18
+ /**
19
+ * Write a 64 bit varint, given as two JS numbers, to the given bytes array.
20
+ *
21
+ * Copyright 2008 Google Inc. All rights reserved.
22
+ *
23
+ * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344
24
+ */
25
+ export declare function varint64write(lo: number, hi: number, bytes: number[]): void;
26
+ /**
27
+ * Parse decimal string of 64 bit integer value as two JS numbers.
28
+ *
29
+ * Copyright 2008 Google Inc. All rights reserved.
30
+ *
31
+ * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10
32
+ */
33
+ export declare function int64FromString(dec: string): {
34
+ lo: number;
35
+ hi: number;
36
+ };
37
+ /**
38
+ * Losslessly converts a 64-bit signed integer in 32:32 split representation
39
+ * into a decimal string.
40
+ *
41
+ * Copyright 2008 Google Inc. All rights reserved.
42
+ *
43
+ * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10
44
+ */
45
+ export declare function int64ToString(lo: number, hi: number): string;
46
+ /**
47
+ * Losslessly converts a 64-bit unsigned integer in 32:32 split representation
48
+ * into a decimal string.
49
+ *
50
+ * Copyright 2008 Google Inc. All rights reserved.
51
+ *
52
+ * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10
53
+ */
54
+ export declare function uInt64ToString(lo: number, hi: number): string;
55
+ /**
56
+ * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)`
57
+ *
58
+ * Copyright 2008 Google Inc. All rights reserved.
59
+ *
60
+ * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144
61
+ */
62
+ export declare function varint32write(value: number, bytes: number[]): void;
63
+ /**
64
+ * Read an unsigned 32 bit varint.
65
+ *
66
+ * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220
67
+ */
68
+ export declare function varint32read(this: ReaderLike): number;
69
+ type ReaderLike = {
70
+ buf: Uint8Array;
71
+ pos: number;
72
+ len: number;
73
+ assertBounds(): void;
74
+ };
75
+ /**
76
+ * encode zig zag
77
+ */
78
+ export declare function zzEncode(lo: number, hi: number): number[];
79
+ /**
80
+ * decode zig zag
81
+ */
82
+ export declare function zzDecode(lo: number, hi: number): number[];
83
+ /**
84
+ * unsigned int32 without moving pos.
85
+ */
86
+ export declare function readUInt32(buf: Uint8Array, pos: number): number;
87
+ /**
88
+ * signed int32 without moving pos.
89
+ */
90
+ export declare function readInt32(buf: Uint8Array, pos: number): number;
91
+ /**
92
+ * writing varint32 to pos
93
+ */
94
+ export declare function writeVarint32(val: number, buf: Uint8Array | number[], pos: number): void;
95
+ /**
96
+ * writing varint64 to pos
97
+ */
98
+ export declare function writeVarint64(val: {
99
+ lo: number;
100
+ hi: number;
101
+ }, buf: Uint8Array | number[], pos: number): void;
102
+ export declare function int64Length(lo: number, hi: number): 6 | 7 | 10 | 2 | 1 | 3 | 8 | 4 | 5 | 9;
103
+ export declare function writeFixed32(val: number, buf: Uint8Array | number[], pos: number): void;
104
+ export declare function writeByte(val: number, buf: Uint8Array | number[], pos: number): void;
105
+ export {};