@gitopia/gitopiajs 0.0.3 → 0.0.4

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 (309) hide show
  1. package/package.json +3 -3
  2. package/dist/LICENSE +0 -21
  3. package/dist/amino/amino.d.ts +0 -1
  4. package/dist/amino/amino.js +0 -2
  5. package/dist/amino/bundle.d.ts +0 -1
  6. package/dist/amino/bundle.js +0 -41
  7. package/dist/binary.d.ts +0 -130
  8. package/dist/binary.js +0 -371
  9. package/dist/cosmos/bank/v1beta1/bank.d.ts +0 -407
  10. package/dist/cosmos/bank/v1beta1/bank.js +0 -664
  11. package/dist/cosmos/bank/v1beta1/query.d.ts +0 -1062
  12. package/dist/cosmos/bank/v1beta1/query.js +0 -1759
  13. package/dist/cosmos/bank/v1beta1/query.lcd.d.ts +0 -19
  14. package/dist/cosmos/bank/v1beta1/query.lcd.js +0 -173
  15. package/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +0 -106
  16. package/dist/cosmos/bank/v1beta1/query.rpc.Query.js +0 -123
  17. package/dist/cosmos/base/query/v1beta1/pagination.d.ts +0 -190
  18. package/dist/cosmos/base/query/v1beta1/pagination.js +0 -204
  19. package/dist/cosmos/base/v1beta1/coin.d.ts +0 -193
  20. package/dist/cosmos/base/v1beta1/coin.js +0 -306
  21. package/dist/cosmos/bundle.d.ts +0 -2311
  22. package/dist/cosmos/bundle.js +0 -134
  23. package/dist/cosmos/client.d.ts +0 -84
  24. package/dist/cosmos/client.js +0 -65
  25. package/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +0 -245
  26. package/dist/cosmos/feegrant/v1beta1/feegrant.js +0 -456
  27. package/dist/cosmos/feegrant/v1beta1/query.d.ts +0 -258
  28. package/dist/cosmos/feegrant/v1beta1/query.js +0 -487
  29. package/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +0 -11
  30. package/dist/cosmos/feegrant/v1beta1/query.lcd.js +0 -44
  31. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +0 -28
  32. package/dist/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -47
  33. package/dist/cosmos/gov/v1beta1/gov.d.ts +0 -571
  34. package/dist/cosmos/gov/v1beta1/gov.js +0 -1122
  35. package/dist/cosmos/gov/v1beta1/query.d.ts +0 -636
  36. package/dist/cosmos/gov/v1beta1/query.js +0 -1264
  37. package/dist/cosmos/gov/v1beta1/query.lcd.d.ts +0 -16
  38. package/dist/cosmos/gov/v1beta1/query.lcd.js +0 -87
  39. package/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +0 -44
  40. package/dist/cosmos/gov/v1beta1/query.rpc.Query.js +0 -92
  41. package/dist/cosmos/group/v1/query.d.ts +0 -1097
  42. package/dist/cosmos/group/v1/query.js +0 -2182
  43. package/dist/cosmos/group/v1/query.lcd.d.ts +0 -22
  44. package/dist/cosmos/group/v1/query.lcd.js +0 -158
  45. package/dist/cosmos/group/v1/query.rpc.Query.d.ts +0 -78
  46. package/dist/cosmos/group/v1/query.rpc.Query.js +0 -148
  47. package/dist/cosmos/group/v1/tx.amino.d.ts +0 -73
  48. package/dist/cosmos/group/v1/tx.amino.js +0 -77
  49. package/dist/cosmos/group/v1/tx.d.ts +0 -1198
  50. package/dist/cosmos/group/v1/tx.js +0 -2362
  51. package/dist/cosmos/group/v1/tx.registry.d.ts +0 -180
  52. package/dist/cosmos/group/v1/tx.registry.js +0 -271
  53. package/dist/cosmos/group/v1/tx.rpc.msg.d.ts +0 -51
  54. package/dist/cosmos/group/v1/tx.rpc.msg.js +0 -96
  55. package/dist/cosmos/group/v1/types.d.ts +0 -873
  56. package/dist/cosmos/group/v1/types.js +0 -1495
  57. package/dist/cosmos/msg/v1/msg.d.ts +0 -1
  58. package/dist/cosmos/msg/v1/msg.js +0 -2
  59. package/dist/cosmos/query/v1/query.d.ts +0 -1
  60. package/dist/cosmos/query/v1/query.js +0 -2
  61. package/dist/cosmos/rpc.query.d.ts +0 -59
  62. package/dist/cosmos/rpc.query.js +0 -60
  63. package/dist/cosmos/rpc.tx.d.ts +0 -10
  64. package/dist/cosmos/rpc.tx.js +0 -44
  65. package/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +0 -278
  66. package/dist/cosmos/upgrade/v1beta1/upgrade.js +0 -382
  67. package/dist/cosmos_proto/bundle.d.ts +0 -32
  68. package/dist/cosmos_proto/bundle.js +0 -41
  69. package/dist/cosmos_proto/cosmos.d.ts +0 -171
  70. package/dist/cosmos_proto/cosmos.js +0 -221
  71. package/dist/esm/amino/amino.js +0 -1
  72. package/dist/esm/amino/bundle.js +0 -5
  73. package/dist/esm/binary.js +0 -366
  74. package/dist/esm/cosmos/bank/v1beta1/bank.js +0 -661
  75. package/dist/esm/cosmos/bank/v1beta1/query.js +0 -1756
  76. package/dist/esm/cosmos/bank/v1beta1/query.lcd.js +0 -169
  77. package/dist/esm/cosmos/bank/v1beta1/query.rpc.Query.js +0 -118
  78. package/dist/esm/cosmos/base/query/v1beta1/pagination.js +0 -201
  79. package/dist/esm/cosmos/base/v1beta1/coin.js +0 -303
  80. package/dist/esm/cosmos/bundle.js +0 -98
  81. package/dist/esm/cosmos/client.js +0 -27
  82. package/dist/esm/cosmos/feegrant/v1beta1/feegrant.js +0 -450
  83. package/dist/esm/cosmos/feegrant/v1beta1/query.js +0 -484
  84. package/dist/esm/cosmos/feegrant/v1beta1/query.lcd.js +0 -40
  85. package/dist/esm/cosmos/feegrant/v1beta1/query.rpc.Query.js +0 -42
  86. package/dist/esm/cosmos/gov/v1beta1/gov.js +0 -1112
  87. package/dist/esm/cosmos/gov/v1beta1/query.js +0 -1261
  88. package/dist/esm/cosmos/gov/v1beta1/query.lcd.js +0 -83
  89. package/dist/esm/cosmos/gov/v1beta1/query.rpc.Query.js +0 -87
  90. package/dist/esm/cosmos/group/v1/query.js +0 -2179
  91. package/dist/esm/cosmos/group/v1/query.lcd.js +0 -154
  92. package/dist/esm/cosmos/group/v1/query.rpc.Query.js +0 -143
  93. package/dist/esm/cosmos/group/v1/tx.amino.js +0 -74
  94. package/dist/esm/cosmos/group/v1/tx.js +0 -2354
  95. package/dist/esm/cosmos/group/v1/tx.registry.js +0 -267
  96. package/dist/esm/cosmos/group/v1/tx.rpc.msg.js +0 -92
  97. package/dist/esm/cosmos/group/v1/types.js +0 -1483
  98. package/dist/esm/cosmos/msg/v1/msg.js +0 -1
  99. package/dist/esm/cosmos/query/v1/query.js +0 -1
  100. package/dist/esm/cosmos/rpc.query.js +0 -23
  101. package/dist/esm/cosmos/rpc.tx.js +0 -7
  102. package/dist/esm/cosmos/upgrade/v1beta1/upgrade.js +0 -379
  103. package/dist/esm/cosmos_proto/bundle.js +0 -5
  104. package/dist/esm/cosmos_proto/cosmos.js +0 -216
  105. package/dist/esm/gitopia/bundle.js +0 -95
  106. package/dist/esm/gitopia/client.js +0 -32
  107. package/dist/esm/gitopia/custom-lcd-client.js +0 -50
  108. package/dist/esm/gitopia/gitopia/gitopia/attachment.js +0 -101
  109. package/dist/esm/gitopia/gitopia/gitopia/bounty.js +0 -255
  110. package/dist/esm/gitopia/gitopia/gitopia/branch.js +0 -137
  111. package/dist/esm/gitopia/gitopia/gitopia/comment.js +0 -488
  112. package/dist/esm/gitopia/gitopia/gitopia/dao.js +0 -451
  113. package/dist/esm/gitopia/gitopia/gitopia/exercised_amount.js +0 -78
  114. package/dist/esm/gitopia/gitopia/gitopia/genesis.js +0 -460
  115. package/dist/esm/gitopia/gitopia/gitopia/issue.js +0 -323
  116. package/dist/esm/gitopia/gitopia/gitopia/params.js +0 -293
  117. package/dist/esm/gitopia/gitopia/gitopia/pullRequest.js +0 -565
  118. package/dist/esm/gitopia/gitopia/gitopia/query.js +0 -7351
  119. package/dist/esm/gitopia/gitopia/gitopia/query.lcd.js +0 -452
  120. package/dist/esm/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -453
  121. package/dist/esm/gitopia/gitopia/gitopia/reaction.js +0 -123
  122. package/dist/esm/gitopia/gitopia/gitopia/release.js +0 -225
  123. package/dist/esm/gitopia/gitopia/gitopia/repository.js +0 -1200
  124. package/dist/esm/gitopia/gitopia/gitopia/tag.js +0 -125
  125. package/dist/esm/gitopia/gitopia/gitopia/task.js +0 -197
  126. package/dist/esm/gitopia/gitopia/gitopia/tx.amino.js +0 -464
  127. package/dist/esm/gitopia/gitopia/gitopia/tx.js +0 -14679
  128. package/dist/esm/gitopia/gitopia/gitopia/tx.registry.js +0 -1671
  129. package/dist/esm/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -560
  130. package/dist/esm/gitopia/gitopia/gitopia/user.js +0 -340
  131. package/dist/esm/gitopia/gitopia/gitopia/whois.js +0 -146
  132. package/dist/esm/gitopia/gitopia/offchain/offchain.js +0 -144
  133. package/dist/esm/gitopia/gitopia/rewards/genesis.js +0 -82
  134. package/dist/esm/gitopia/gitopia/rewards/params.js +0 -81
  135. package/dist/esm/gitopia/gitopia/rewards/pool.js +0 -191
  136. package/dist/esm/gitopia/gitopia/rewards/query.js +0 -654
  137. package/dist/esm/gitopia/gitopia/rewards/query.lcd.js +0 -40
  138. package/dist/esm/gitopia/gitopia/rewards/query.rpc.Query.js +0 -53
  139. package/dist/esm/gitopia/gitopia/rewards/rewards.js +0 -191
  140. package/dist/esm/gitopia/gitopia/rewards/task.js +0 -176
  141. package/dist/esm/gitopia/gitopia/rewards/tx.amino.js +0 -19
  142. package/dist/esm/gitopia/gitopia/rewards/tx.js +0 -525
  143. package/dist/esm/gitopia/gitopia/rewards/tx.registry.js +0 -69
  144. package/dist/esm/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -26
  145. package/dist/esm/gitopia/rpc.query.js +0 -29
  146. package/dist/esm/gitopia/rpc.tx.js +0 -13
  147. package/dist/esm/gogoproto/bundle.js +0 -5
  148. package/dist/esm/gogoproto/gogo.js +0 -1
  149. package/dist/esm/google/api/annotations.js +0 -1
  150. package/dist/esm/google/api/http.js +0 -329
  151. package/dist/esm/google/bundle.js +0 -14
  152. package/dist/esm/google/protobuf/any.js +0 -74
  153. package/dist/esm/google/protobuf/descriptor.js +0 -4848
  154. package/dist/esm/google/protobuf/duration.js +0 -71
  155. package/dist/esm/google/protobuf/timestamp.js +0 -68
  156. package/dist/esm/helpers.js +0 -129
  157. package/dist/esm/ibc/applications/transfer/v1/query.js +0 -847
  158. package/dist/esm/ibc/applications/transfer/v1/query.lcd.js +0 -70
  159. package/dist/esm/ibc/applications/transfer/v1/query.rpc.Query.js +0 -71
  160. package/dist/esm/ibc/applications/transfer/v1/transfer.js +0 -164
  161. package/dist/esm/ibc/applications/transfer/v1/tx.amino.js +0 -9
  162. package/dist/esm/ibc/applications/transfer/v1/tx.js +0 -226
  163. package/dist/esm/ibc/applications/transfer/v1/tx.registry.js +0 -33
  164. package/dist/esm/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -14
  165. package/dist/esm/ibc/bundle.js +0 -44
  166. package/dist/esm/ibc/client.js +0 -29
  167. package/dist/esm/ibc/core/client/v1/client.js +0 -611
  168. package/dist/esm/ibc/rpc.query.js +0 -30
  169. package/dist/esm/ibc/rpc.tx.js +0 -14
  170. package/dist/esm/index.js +0 -19
  171. package/dist/esm/utf8.js +0 -137
  172. package/dist/esm/varint.js +0 -408
  173. package/dist/gitopia/bundle.d.ts +0 -6123
  174. package/dist/gitopia/bundle.js +0 -131
  175. package/dist/gitopia/client.d.ts +0 -492
  176. package/dist/gitopia/client.js +0 -70
  177. package/dist/gitopia/custom-lcd-client.d.ts +0 -31
  178. package/dist/gitopia/custom-lcd-client.js +0 -87
  179. package/dist/gitopia/gitopia/gitopia/attachment.d.ts +0 -39
  180. package/dist/gitopia/gitopia/gitopia/attachment.js +0 -104
  181. package/dist/gitopia/gitopia/gitopia/bounty.d.ts +0 -79
  182. package/dist/gitopia/gitopia/gitopia/bounty.js +0 -262
  183. package/dist/gitopia/gitopia/gitopia/branch.d.ts +0 -48
  184. package/dist/gitopia/gitopia/gitopia/branch.js +0 -140
  185. package/dist/gitopia/gitopia/gitopia/comment.d.ts +0 -125
  186. package/dist/gitopia/gitopia/gitopia/comment.js +0 -495
  187. package/dist/gitopia/gitopia/gitopia/dao.d.ts +0 -160
  188. package/dist/gitopia/gitopia/gitopia/dao.js +0 -454
  189. package/dist/gitopia/gitopia/gitopia/exercised_amount.d.ts +0 -34
  190. package/dist/gitopia/gitopia/gitopia/exercised_amount.js +0 -81
  191. package/dist/gitopia/gitopia/gitopia/genesis.d.ts +0 -143
  192. package/dist/gitopia/gitopia/gitopia/genesis.js +0 -463
  193. package/dist/gitopia/gitopia/gitopia/issue.d.ts +0 -88
  194. package/dist/gitopia/gitopia/gitopia/issue.js +0 -328
  195. package/dist/gitopia/gitopia/gitopia/params.d.ts +0 -115
  196. package/dist/gitopia/gitopia/gitopia/params.js +0 -296
  197. package/dist/gitopia/gitopia/gitopia/pullRequest.d.ts +0 -177
  198. package/dist/gitopia/gitopia/gitopia/pullRequest.js +0 -570
  199. package/dist/gitopia/gitopia/gitopia/query.d.ts +0 -3130
  200. package/dist/gitopia/gitopia/gitopia/query.js +0 -7355
  201. package/dist/gitopia/gitopia/gitopia/query.lcd.d.ts +0 -54
  202. package/dist/gitopia/gitopia/gitopia/query.lcd.js +0 -456
  203. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.d.ts +0 -188
  204. package/dist/gitopia/gitopia/gitopia/query.rpc.Query.js +0 -458
  205. package/dist/gitopia/gitopia/gitopia/reaction.d.ts +0 -42
  206. package/dist/gitopia/gitopia/gitopia/reaction.js +0 -128
  207. package/dist/gitopia/gitopia/gitopia/release.d.ts +0 -70
  208. package/dist/gitopia/gitopia/gitopia/release.js +0 -228
  209. package/dist/gitopia/gitopia/gitopia/repository.d.ts +0 -424
  210. package/dist/gitopia/gitopia/gitopia/repository.js +0 -1207
  211. package/dist/gitopia/gitopia/gitopia/tag.d.ts +0 -45
  212. package/dist/gitopia/gitopia/gitopia/tag.js +0 -128
  213. package/dist/gitopia/gitopia/gitopia/task.d.ts +0 -64
  214. package/dist/gitopia/gitopia/gitopia/task.js +0 -204
  215. package/dist/gitopia/gitopia/gitopia/tx.amino.d.ts +0 -463
  216. package/dist/gitopia/gitopia/gitopia/tx.amino.js +0 -467
  217. package/dist/gitopia/gitopia/gitopia/tx.d.ts +0 -6246
  218. package/dist/gitopia/gitopia/gitopia/tx.js +0 -14687
  219. package/dist/gitopia/gitopia/gitopia/tx.registry.d.ts +0 -1116
  220. package/dist/gitopia/gitopia/gitopia/tx.registry.js +0 -1675
  221. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.d.ts +0 -200
  222. package/dist/gitopia/gitopia/gitopia/tx.rpc.msg.js +0 -564
  223. package/dist/gitopia/gitopia/gitopia/user.d.ts +0 -104
  224. package/dist/gitopia/gitopia/gitopia/user.js +0 -343
  225. package/dist/gitopia/gitopia/gitopia/whois.d.ts +0 -51
  226. package/dist/gitopia/gitopia/gitopia/whois.js +0 -151
  227. package/dist/gitopia/gitopia/offchain/offchain.d.ts +0 -74
  228. package/dist/gitopia/gitopia/offchain/offchain.js +0 -147
  229. package/dist/gitopia/gitopia/rewards/genesis.d.ts +0 -40
  230. package/dist/gitopia/gitopia/rewards/genesis.js +0 -85
  231. package/dist/gitopia/gitopia/rewards/params.d.ts +0 -37
  232. package/dist/gitopia/gitopia/rewards/params.js +0 -84
  233. package/dist/gitopia/gitopia/rewards/pool.d.ts +0 -59
  234. package/dist/gitopia/gitopia/rewards/pool.js +0 -196
  235. package/dist/gitopia/gitopia/rewards/query.d.ts +0 -294
  236. package/dist/gitopia/gitopia/rewards/query.js +0 -657
  237. package/dist/gitopia/gitopia/rewards/query.lcd.d.ts +0 -12
  238. package/dist/gitopia/gitopia/rewards/query.lcd.js +0 -44
  239. package/dist/gitopia/gitopia/rewards/query.rpc.Query.d.ts +0 -28
  240. package/dist/gitopia/gitopia/rewards/query.rpc.Query.js +0 -58
  241. package/dist/gitopia/gitopia/rewards/rewards.d.ts +0 -79
  242. package/dist/gitopia/gitopia/rewards/rewards.js +0 -194
  243. package/dist/gitopia/gitopia/rewards/task.d.ts +0 -54
  244. package/dist/gitopia/gitopia/rewards/task.js +0 -181
  245. package/dist/gitopia/gitopia/rewards/tx.amino.d.ts +0 -18
  246. package/dist/gitopia/gitopia/rewards/tx.amino.js +0 -22
  247. package/dist/gitopia/gitopia/rewards/tx.d.ts +0 -242
  248. package/dist/gitopia/gitopia/rewards/tx.js +0 -528
  249. package/dist/gitopia/gitopia/rewards/tx.registry.d.ts +0 -48
  250. package/dist/gitopia/gitopia/rewards/tx.registry.js +0 -73
  251. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.d.ts +0 -19
  252. package/dist/gitopia/gitopia/rewards/tx.rpc.msg.js +0 -30
  253. package/dist/gitopia/rpc.query.d.ts +0 -117
  254. package/dist/gitopia/rpc.query.js +0 -66
  255. package/dist/gitopia/rpc.tx.d.ts +0 -16
  256. package/dist/gitopia/rpc.tx.js +0 -50
  257. package/dist/gogoproto/bundle.d.ts +0 -1
  258. package/dist/gogoproto/bundle.js +0 -41
  259. package/dist/gogoproto/gogo.d.ts +0 -1
  260. package/dist/gogoproto/gogo.js +0 -2
  261. package/dist/google/api/annotations.d.ts +0 -1
  262. package/dist/google/api/annotations.js +0 -2
  263. package/dist/google/api/http.d.ts +0 -1049
  264. package/dist/google/api/http.js +0 -332
  265. package/dist/google/bundle.d.ts +0 -525
  266. package/dist/google/bundle.js +0 -50
  267. package/dist/google/protobuf/any.d.ts +0 -358
  268. package/dist/google/protobuf/any.js +0 -77
  269. package/dist/google/protobuf/descriptor.d.ts +0 -3178
  270. package/dist/google/protobuf/descriptor.js +0 -4886
  271. package/dist/google/protobuf/duration.d.ts +0 -223
  272. package/dist/google/protobuf/duration.js +0 -74
  273. package/dist/google/protobuf/timestamp.d.ts +0 -314
  274. package/dist/google/protobuf/timestamp.js +0 -71
  275. package/dist/helpers.d.ts +0 -82
  276. package/dist/helpers.js +0 -144
  277. package/dist/ibc/applications/transfer/v1/query.d.ts +0 -479
  278. package/dist/ibc/applications/transfer/v1/query.js +0 -850
  279. package/dist/ibc/applications/transfer/v1/query.lcd.d.ts +0 -14
  280. package/dist/ibc/applications/transfer/v1/query.lcd.js +0 -74
  281. package/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +0 -36
  282. package/dist/ibc/applications/transfer/v1/query.rpc.Query.js +0 -76
  283. package/dist/ibc/applications/transfer/v1/transfer.d.ts +0 -123
  284. package/dist/ibc/applications/transfer/v1/transfer.js +0 -167
  285. package/dist/ibc/applications/transfer/v1/tx.amino.d.ts +0 -8
  286. package/dist/ibc/applications/transfer/v1/tx.amino.js +0 -12
  287. package/dist/ibc/applications/transfer/v1/tx.d.ts +0 -132
  288. package/dist/ibc/applications/transfer/v1/tx.js +0 -229
  289. package/dist/ibc/applications/transfer/v1/tx.registry.d.ts +0 -24
  290. package/dist/ibc/applications/transfer/v1/tx.registry.js +0 -37
  291. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +0 -12
  292. package/dist/ibc/applications/transfer/v1/tx.rpc.msg.js +0 -18
  293. package/dist/ibc/bundle.d.ts +0 -450
  294. package/dist/ibc/bundle.js +0 -80
  295. package/dist/ibc/client.d.ts +0 -22
  296. package/dist/ibc/client.js +0 -67
  297. package/dist/ibc/core/client/v1/client.d.ts +0 -408
  298. package/dist/ibc/core/client/v1/client.js +0 -614
  299. package/dist/ibc/rpc.query.d.ts +0 -73
  300. package/dist/ibc/rpc.query.js +0 -67
  301. package/dist/ibc/rpc.tx.d.ts +0 -17
  302. package/dist/ibc/rpc.tx.js +0 -51
  303. package/dist/index.d.ts +0 -18
  304. package/dist/index.js +0 -35
  305. package/dist/package.json +0 -46
  306. package/dist/utf8.d.ts +0 -27
  307. package/dist/utf8.js +0 -141
  308. package/dist/varint.d.ts +0 -105
  309. package/dist/varint.js +0 -426
@@ -1,67 +0,0 @@
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;
@@ -1,17 +0,0 @@
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
- }>;
@@ -1,51 +0,0 @@
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;
package/dist/index.d.ts DELETED
@@ -1,18 +0,0 @@
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 DELETED
@@ -1,35 +0,0 @@
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);
package/dist/package.json DELETED
@@ -1,46 +0,0 @@
1
- {
2
- "name": "@gitopia/gitopiajs",
3
- "version": "0.0.3",
4
- "author": "Faza Mahamood <faza@gitopia.org>",
5
- "description": "js client library for gitopia protocol",
6
- "main": "dist/index.js",
7
- "module": "esm/index.js",
8
- "types": "dist/index.d.ts",
9
- "homepage": "https://gitopia.com/gitopia/gitopiajs",
10
- "license": "SEE LICENSE IN LICENSE",
11
- "publishConfig": {
12
- "access": "public",
13
- "directory": "dist"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "https://gitopia.com/gitopia/gitopiajs"
18
- },
19
- "bugs": {
20
- "url": "https://gitopia.com/gitopia/gitopiajs/issues"
21
- },
22
- "scripts": {
23
- "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
24
- "clean": "rimraf dist/**",
25
- "prepare": "npm run build",
26
- "codegen": "ts-node scripts/codegen.ts",
27
- "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
28
- "build:dev": "npm run clean; npm run codegen; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
29
- "lint": "eslint . --fix",
30
- "test": "jest",
31
- "test:watch": "jest --watch"
32
- },
33
- "devDependencies": {
34
- "@cosmology/telescope": "^1.10.0"
35
- },
36
- "dependencies": {
37
- "@cosmjs/amino": "0.32.4",
38
- "@cosmjs/encoding": "0.32.4",
39
- "@cosmjs/math": "0.32.4",
40
- "@cosmjs/proto-signing": "0.32.4",
41
- "@cosmjs/stargate": "0.32.4",
42
- "@cosmology/lcd": "^0.14.0"
43
- },
44
- "keywords": [],
45
- "gitHead": "9881fb7f3da56c24e402ebb3283a6370874b8bba"
46
- }
package/dist/utf8.d.ts DELETED
@@ -1,27 +0,0 @@
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 DELETED
@@ -1,141 +0,0 @@
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
- }
package/dist/varint.d.ts DELETED
@@ -1,105 +0,0 @@
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 {};