@bitgo/account-lib 2.20.0-rc.9 → 2.20.1-rc.1

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 (566) hide show
  1. package/.mocharc.js +1 -1
  2. package/CHANGELOG.md +327 -0
  3. package/dist/resources/README.md +0 -22
  4. package/dist/src/index.d.ts +30 -20
  5. package/dist/src/index.d.ts.map +1 -1
  6. package/dist/src/index.js +49 -40
  7. package/dist/tsconfig.tsbuildinfo +19416 -31631
  8. package/package.json +28 -77
  9. package/resources/README.md +0 -22
  10. package/dist/browser/bitgo-account-lib.js +0 -2
  11. package/dist/browser/bitgo-account-lib.js.LICENSE.txt +0 -335
  12. package/dist/resources/hbar/protobuf/BasicTypes.proto +0 -424
  13. package/dist/resources/hbar/protobuf/CryptoCreate.proto +0 -47
  14. package/dist/resources/hbar/protobuf/CryptoTransfer.proto +0 -33
  15. package/dist/resources/hbar/protobuf/Duration.proto +0 -28
  16. package/dist/resources/hbar/protobuf/Timestamp.proto +0 -34
  17. package/dist/resources/hbar/protobuf/Transaction.proto +0 -35
  18. package/dist/resources/hbar/protobuf/TransactionBody.proto +0 -24
  19. package/dist/resources/hbar/protobuf/TransactionContents.proto +0 -33
  20. package/dist/resources/hbar/protobuf/hedera.d.ts +0 -4612
  21. package/dist/resources/hbar/protobuf/hedera.js +0 -12192
  22. package/dist/resources/trx/protobuf/Contract.proto +0 -256
  23. package/dist/resources/trx/protobuf/Discover.proto +0 -44
  24. package/dist/resources/trx/protobuf/tron.d.ts +0 -11024
  25. package/dist/resources/trx/protobuf/tron.js +0 -31510
  26. package/dist/resources/trx/protobuf/tron.proto +0 -677
  27. package/dist/src/coin/algo/assetTransferBuilder.d.ts +0 -42
  28. package/dist/src/coin/algo/assetTransferBuilder.d.ts.map +0 -1
  29. package/dist/src/coin/algo/assetTransferBuilder.js +0 -105
  30. package/dist/src/coin/algo/errors.d.ts +0 -11
  31. package/dist/src/coin/algo/errors.d.ts.map +0 -1
  32. package/dist/src/coin/algo/errors.js +0 -27
  33. package/dist/src/coin/algo/ifaces.d.ts +0 -46
  34. package/dist/src/coin/algo/ifaces.d.ts.map +0 -1
  35. package/dist/src/coin/algo/ifaces.js +0 -3
  36. package/dist/src/coin/algo/index.d.ts +0 -13
  37. package/dist/src/coin/algo/index.d.ts.map +0 -1
  38. package/dist/src/coin/algo/index.js +0 -47
  39. package/dist/src/coin/algo/keyPair.d.ts +0 -25
  40. package/dist/src/coin/algo/keyPair.d.ts.map +0 -1
  41. package/dist/src/coin/algo/keyPair.js +0 -77
  42. package/dist/src/coin/algo/keyRegistrationBuilder.d.ts +0 -104
  43. package/dist/src/coin/algo/keyRegistrationBuilder.d.ts.map +0 -1
  44. package/dist/src/coin/algo/keyRegistrationBuilder.js +0 -239
  45. package/dist/src/coin/algo/seedEncoding.d.ts +0 -25
  46. package/dist/src/coin/algo/seedEncoding.d.ts.map +0 -1
  47. package/dist/src/coin/algo/seedEncoding.js +0 -97
  48. package/dist/src/coin/algo/transaction.d.ts +0 -75
  49. package/dist/src/coin/algo/transaction.d.ts.map +0 -1
  50. package/dist/src/coin/algo/transaction.js +0 -251
  51. package/dist/src/coin/algo/transactionBuilder.d.ts +0 -204
  52. package/dist/src/coin/algo/transactionBuilder.d.ts.map +0 -1
  53. package/dist/src/coin/algo/transactionBuilder.js +0 -373
  54. package/dist/src/coin/algo/transactionBuilderFactory.d.ts +0 -16
  55. package/dist/src/coin/algo/transactionBuilderFactory.d.ts.map +0 -1
  56. package/dist/src/coin/algo/transactionBuilderFactory.js +0 -52
  57. package/dist/src/coin/algo/transferBuilder.d.ts +0 -40
  58. package/dist/src/coin/algo/transferBuilder.d.ts.map +0 -1
  59. package/dist/src/coin/algo/transferBuilder.js +0 -89
  60. package/dist/src/coin/algo/txnSchema.d.ts +0 -7
  61. package/dist/src/coin/algo/txnSchema.d.ts.map +0 -1
  62. package/dist/src/coin/algo/txnSchema.js +0 -68
  63. package/dist/src/coin/algo/utils.d.ts +0 -249
  64. package/dist/src/coin/algo/utils.d.ts.map +0 -1
  65. package/dist/src/coin/algo/utils.js +0 -539
  66. package/dist/src/coin/avaxc/index.d.ts +0 -8
  67. package/dist/src/coin/avaxc/index.d.ts.map +0 -1
  68. package/dist/src/coin/avaxc/index.js +0 -35
  69. package/dist/src/coin/avaxc/keyPair.d.ts +0 -26
  70. package/dist/src/coin/avaxc/keyPair.d.ts.map +0 -1
  71. package/dist/src/coin/avaxc/keyPair.js +0 -83
  72. package/dist/src/coin/avaxc/resources.d.ts +0 -12
  73. package/dist/src/coin/avaxc/resources.d.ts.map +0 -1
  74. package/dist/src/coin/avaxc/resources.js +0 -27
  75. package/dist/src/coin/avaxc/transactionBuilder.d.ts +0 -17
  76. package/dist/src/coin/avaxc/transactionBuilder.d.ts.map +0 -1
  77. package/dist/src/coin/avaxc/transactionBuilder.js +0 -45
  78. package/dist/src/coin/avaxc/transferBuilder.d.ts +0 -17
  79. package/dist/src/coin/avaxc/transferBuilder.d.ts.map +0 -1
  80. package/dist/src/coin/avaxc/transferBuilder.js +0 -25
  81. package/dist/src/coin/avaxc/utils.d.ts +0 -39
  82. package/dist/src/coin/avaxc/utils.d.ts.map +0 -1
  83. package/dist/src/coin/avaxc/utils.js +0 -70
  84. package/dist/src/coin/avaxc/walletUtil.d.ts +0 -22
  85. package/dist/src/coin/avaxc/walletUtil.d.ts.map +0 -1
  86. package/dist/src/coin/avaxc/walletUtil.js +0 -62
  87. package/dist/src/coin/celo/index.d.ts +0 -8
  88. package/dist/src/coin/celo/index.d.ts.map +0 -1
  89. package/dist/src/coin/celo/index.js +0 -35
  90. package/dist/src/coin/celo/resources.d.ts +0 -10
  91. package/dist/src/coin/celo/resources.d.ts.map +0 -1
  92. package/dist/src/coin/celo/resources.js +0 -26
  93. package/dist/src/coin/celo/stakingBuilder.d.ts +0 -91
  94. package/dist/src/coin/celo/stakingBuilder.d.ts.map +0 -1
  95. package/dist/src/coin/celo/stakingBuilder.js +0 -277
  96. package/dist/src/coin/celo/stakingCall.d.ts +0 -7
  97. package/dist/src/coin/celo/stakingCall.d.ts.map +0 -1
  98. package/dist/src/coin/celo/stakingCall.js +0 -13
  99. package/dist/src/coin/celo/stakingUtils.d.ts +0 -15
  100. package/dist/src/coin/celo/stakingUtils.d.ts.map +0 -1
  101. package/dist/src/coin/celo/stakingUtils.js +0 -98
  102. package/dist/src/coin/celo/transaction.d.ts +0 -10
  103. package/dist/src/coin/celo/transaction.d.ts.map +0 -1
  104. package/dist/src/coin/celo/transaction.js +0 -37
  105. package/dist/src/coin/celo/transactionBuilder.d.ts +0 -86
  106. package/dist/src/coin/celo/transactionBuilder.d.ts.map +0 -1
  107. package/dist/src/coin/celo/transactionBuilder.js +0 -228
  108. package/dist/src/coin/celo/transferBuilder.d.ts +0 -19
  109. package/dist/src/coin/celo/transferBuilder.d.ts.map +0 -1
  110. package/dist/src/coin/celo/transferBuilder.js +0 -27
  111. package/dist/src/coin/celo/types.d.ts +0 -52
  112. package/dist/src/coin/celo/types.d.ts.map +0 -1
  113. package/dist/src/coin/celo/types.js +0 -222
  114. package/dist/src/coin/celo/utils.d.ts +0 -18
  115. package/dist/src/coin/celo/utils.d.ts.map +0 -1
  116. package/dist/src/coin/celo/utils.js +0 -99
  117. package/dist/src/coin/cspr/constants.d.ts +0 -19
  118. package/dist/src/coin/cspr/constants.d.ts.map +0 -1
  119. package/dist/src/coin/cspr/constants.js +0 -28
  120. package/dist/src/coin/cspr/delegateBuilder.d.ts +0 -49
  121. package/dist/src/coin/cspr/delegateBuilder.d.ts.map +0 -1
  122. package/dist/src/coin/cspr/delegateBuilder.js +0 -111
  123. package/dist/src/coin/cspr/ifaces.d.ts +0 -69
  124. package/dist/src/coin/cspr/ifaces.d.ts.map +0 -1
  125. package/dist/src/coin/cspr/ifaces.js +0 -3
  126. package/dist/src/coin/cspr/index.d.ts +0 -5
  127. package/dist/src/coin/cspr/index.d.ts.map +0 -1
  128. package/dist/src/coin/cspr/index.js +0 -29
  129. package/dist/src/coin/cspr/keyPair.d.ts +0 -18
  130. package/dist/src/coin/cspr/keyPair.d.ts.map +0 -1
  131. package/dist/src/coin/cspr/keyPair.js +0 -75
  132. package/dist/src/coin/cspr/transaction.d.ts +0 -55
  133. package/dist/src/coin/cspr/transaction.d.ts.map +0 -1
  134. package/dist/src/coin/cspr/transaction.js +0 -227
  135. package/dist/src/coin/cspr/transactionBuilder.d.ts +0 -124
  136. package/dist/src/coin/cspr/transactionBuilder.d.ts.map +0 -1
  137. package/dist/src/coin/cspr/transactionBuilder.js +0 -312
  138. package/dist/src/coin/cspr/transactionBuilderFactory.d.ts +0 -46
  139. package/dist/src/coin/cspr/transactionBuilderFactory.d.ts.map +0 -1
  140. package/dist/src/coin/cspr/transactionBuilderFactory.js +0 -98
  141. package/dist/src/coin/cspr/transferBuilder.d.ts +0 -39
  142. package/dist/src/coin/cspr/transferBuilder.d.ts.map +0 -1
  143. package/dist/src/coin/cspr/transferBuilder.js +0 -106
  144. package/dist/src/coin/cspr/undelegateBuilder.d.ts +0 -49
  145. package/dist/src/coin/cspr/undelegateBuilder.d.ts.map +0 -1
  146. package/dist/src/coin/cspr/undelegateBuilder.js +0 -111
  147. package/dist/src/coin/cspr/utils.d.ts +0 -188
  148. package/dist/src/coin/cspr/utils.d.ts.map +0 -1
  149. package/dist/src/coin/cspr/utils.js +0 -478
  150. package/dist/src/coin/cspr/walletInitializationBuilder.d.ts +0 -27
  151. package/dist/src/coin/cspr/walletInitializationBuilder.d.ts.map +0 -1
  152. package/dist/src/coin/cspr/walletInitializationBuilder.js +0 -95
  153. package/dist/src/coin/dot/addressInitializationBuilder.d.ts +0 -79
  154. package/dist/src/coin/dot/addressInitializationBuilder.d.ts.map +0 -1
  155. package/dist/src/coin/dot/addressInitializationBuilder.js +0 -182
  156. package/dist/src/coin/dot/batchTransactionBuilder.d.ts +0 -47
  157. package/dist/src/coin/dot/batchTransactionBuilder.d.ts.map +0 -1
  158. package/dist/src/coin/dot/batchTransactionBuilder.js +0 -122
  159. package/dist/src/coin/dot/claimBuilder.d.ts +0 -58
  160. package/dist/src/coin/dot/claimBuilder.d.ts.map +0 -1
  161. package/dist/src/coin/dot/claimBuilder.js +0 -117
  162. package/dist/src/coin/dot/errors.d.ts +0 -8
  163. package/dist/src/coin/dot/errors.d.ts.map +0 -1
  164. package/dist/src/coin/dot/errors.js +0 -19
  165. package/dist/src/coin/dot/iface.d.ts +0 -194
  166. package/dist/src/coin/dot/iface.d.ts.map +0 -1
  167. package/dist/src/coin/dot/iface.js +0 -39
  168. package/dist/src/coin/dot/index.d.ts +0 -17
  169. package/dist/src/coin/dot/index.d.ts.map +0 -1
  170. package/dist/src/coin/dot/index.js +0 -53
  171. package/dist/src/coin/dot/keyPair.d.ts +0 -31
  172. package/dist/src/coin/dot/keyPair.d.ts.map +0 -1
  173. package/dist/src/coin/dot/keyPair.js +0 -74
  174. package/dist/src/coin/dot/singletonRegistry.d.ts +0 -7
  175. package/dist/src/coin/dot/singletonRegistry.d.ts.map +0 -1
  176. package/dist/src/coin/dot/singletonRegistry.js +0 -20
  177. package/dist/src/coin/dot/stakingBuilder.d.ts +0 -58
  178. package/dist/src/coin/dot/stakingBuilder.d.ts.map +0 -1
  179. package/dist/src/coin/dot/stakingBuilder.js +0 -135
  180. package/dist/src/coin/dot/transaction.d.ts +0 -65
  181. package/dist/src/coin/dot/transaction.d.ts.map +0 -1
  182. package/dist/src/coin/dot/transaction.js +0 -396
  183. package/dist/src/coin/dot/transactionBuilder.d.ts +0 -131
  184. package/dist/src/coin/dot/transactionBuilder.d.ts.map +0 -1
  185. package/dist/src/coin/dot/transactionBuilder.js +0 -332
  186. package/dist/src/coin/dot/transactionBuilderFactory.d.ts +0 -26
  187. package/dist/src/coin/dot/transactionBuilderFactory.d.ts.map +0 -1
  188. package/dist/src/coin/dot/transactionBuilderFactory.js +0 -93
  189. package/dist/src/coin/dot/transferBuilder.d.ts +0 -71
  190. package/dist/src/coin/dot/transferBuilder.d.ts.map +0 -1
  191. package/dist/src/coin/dot/transferBuilder.js +0 -171
  192. package/dist/src/coin/dot/txnSchema.d.ts +0 -14
  193. package/dist/src/coin/dot/txnSchema.d.ts.map +0 -1
  194. package/dist/src/coin/dot/txnSchema.js +0 -104
  195. package/dist/src/coin/dot/unnominateBuilder.d.ts +0 -24
  196. package/dist/src/coin/dot/unnominateBuilder.d.ts.map +0 -1
  197. package/dist/src/coin/dot/unnominateBuilder.js +0 -50
  198. package/dist/src/coin/dot/unstakeBuilder.d.ts +0 -38
  199. package/dist/src/coin/dot/unstakeBuilder.d.ts.map +0 -1
  200. package/dist/src/coin/dot/unstakeBuilder.js +0 -89
  201. package/dist/src/coin/dot/utils.d.ts +0 -138
  202. package/dist/src/coin/dot/utils.d.ts.map +0 -1
  203. package/dist/src/coin/dot/utils.js +0 -269
  204. package/dist/src/coin/dot/withdrawUnstakedBuilder.d.ts +0 -38
  205. package/dist/src/coin/dot/withdrawUnstakedBuilder.d.ts.map +0 -1
  206. package/dist/src/coin/dot/withdrawUnstakedBuilder.js +0 -90
  207. package/dist/src/coin/etc/index.d.ts +0 -8
  208. package/dist/src/coin/etc/index.d.ts.map +0 -1
  209. package/dist/src/coin/etc/index.js +0 -35
  210. package/dist/src/coin/etc/resources.d.ts +0 -10
  211. package/dist/src/coin/etc/resources.d.ts.map +0 -1
  212. package/dist/src/coin/etc/resources.js +0 -26
  213. package/dist/src/coin/etc/transactionBuilder.d.ts +0 -17
  214. package/dist/src/coin/etc/transactionBuilder.d.ts.map +0 -1
  215. package/dist/src/coin/etc/transactionBuilder.js +0 -45
  216. package/dist/src/coin/etc/transferBuilder.d.ts +0 -19
  217. package/dist/src/coin/etc/transferBuilder.d.ts.map +0 -1
  218. package/dist/src/coin/etc/transferBuilder.js +0 -27
  219. package/dist/src/coin/etc/utils.d.ts +0 -18
  220. package/dist/src/coin/etc/utils.d.ts.map +0 -1
  221. package/dist/src/coin/etc/utils.js +0 -42
  222. package/dist/src/coin/eth/contractCall.d.ts +0 -8
  223. package/dist/src/coin/eth/contractCall.d.ts.map +0 -1
  224. package/dist/src/coin/eth/contractCall.js +0 -17
  225. package/dist/src/coin/eth/iface.d.ts +0 -122
  226. package/dist/src/coin/eth/iface.d.ts.map +0 -1
  227. package/dist/src/coin/eth/iface.js +0 -8
  228. package/dist/src/coin/eth/index.d.ts +0 -10
  229. package/dist/src/coin/eth/index.d.ts.map +0 -1
  230. package/dist/src/coin/eth/index.js +0 -39
  231. package/dist/src/coin/eth/keyPair.d.ts +0 -26
  232. package/dist/src/coin/eth/keyPair.d.ts.map +0 -1
  233. package/dist/src/coin/eth/keyPair.js +0 -85
  234. package/dist/src/coin/eth/transaction.d.ts +0 -64
  235. package/dist/src/coin/eth/transaction.d.ts.map +0 -1
  236. package/dist/src/coin/eth/transaction.js +0 -137
  237. package/dist/src/coin/eth/transactionBuilder.d.ts +0 -194
  238. package/dist/src/coin/eth/transactionBuilder.d.ts.map +0 -1
  239. package/dist/src/coin/eth/transactionBuilder.js +0 -624
  240. package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.d.ts +0 -47
  241. package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.d.ts.map +0 -1
  242. package/dist/src/coin/eth/transferBuilder/baseNFTTransferBuilder.js +0 -113
  243. package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.d.ts +0 -14
  244. package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.d.ts.map +0 -1
  245. package/dist/src/coin/eth/transferBuilder/transferBuilderERC1155.js +0 -83
  246. package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.d.ts +0 -13
  247. package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.d.ts.map +0 -1
  248. package/dist/src/coin/eth/transferBuilder/transferBuilderERC721.js +0 -68
  249. package/dist/src/coin/eth/transferBuilder.d.ts +0 -65
  250. package/dist/src/coin/eth/transferBuilder.d.ts.map +0 -1
  251. package/dist/src/coin/eth/transferBuilder.js +0 -197
  252. package/dist/src/coin/eth/types.d.ts +0 -39
  253. package/dist/src/coin/eth/types.d.ts.map +0 -1
  254. package/dist/src/coin/eth/types.js +0 -135
  255. package/dist/src/coin/eth/utils.d.ts +0 -202
  256. package/dist/src/coin/eth/utils.d.ts.map +0 -1
  257. package/dist/src/coin/eth/utils.js +0 -485
  258. package/dist/src/coin/eth/walletUtil.d.ts +0 -19
  259. package/dist/src/coin/eth/walletUtil.d.ts.map +0 -1
  260. package/dist/src/coin/eth/walletUtil.js +0 -29
  261. package/dist/src/coin/eth2/index.d.ts +0 -2
  262. package/dist/src/coin/eth2/index.d.ts.map +0 -1
  263. package/dist/src/coin/eth2/index.js +0 -6
  264. package/dist/src/coin/eth2/keyPair.d.ts +0 -33
  265. package/dist/src/coin/eth2/keyPair.d.ts.map +0 -1
  266. package/dist/src/coin/eth2/keyPair.js +0 -65
  267. package/dist/src/coin/hbar/ifaces.d.ts +0 -26
  268. package/dist/src/coin/hbar/ifaces.d.ts.map +0 -1
  269. package/dist/src/coin/hbar/ifaces.js +0 -3
  270. package/dist/src/coin/hbar/index.d.ts +0 -6
  271. package/dist/src/coin/hbar/index.d.ts.map +0 -1
  272. package/dist/src/coin/hbar/index.js +0 -31
  273. package/dist/src/coin/hbar/keyPair.d.ts +0 -23
  274. package/dist/src/coin/hbar/keyPair.d.ts.map +0 -1
  275. package/dist/src/coin/hbar/keyPair.js +0 -70
  276. package/dist/src/coin/hbar/transaction.d.ts +0 -98
  277. package/dist/src/coin/hbar/transaction.d.ts.map +0 -1
  278. package/dist/src/coin/hbar/transaction.js +0 -245
  279. package/dist/src/coin/hbar/transactionBuilder.d.ts +0 -112
  280. package/dist/src/coin/hbar/transactionBuilder.d.ts.map +0 -1
  281. package/dist/src/coin/hbar/transactionBuilder.js +0 -264
  282. package/dist/src/coin/hbar/transactionBuilderFactory.d.ts +0 -37
  283. package/dist/src/coin/hbar/transactionBuilderFactory.d.ts.map +0 -1
  284. package/dist/src/coin/hbar/transactionBuilderFactory.js +0 -77
  285. package/dist/src/coin/hbar/transferBuilder.d.ts +0 -44
  286. package/dist/src/coin/hbar/transferBuilder.d.ts.map +0 -1
  287. package/dist/src/coin/hbar/transferBuilder.js +0 -130
  288. package/dist/src/coin/hbar/utils.d.ts +0 -139
  289. package/dist/src/coin/hbar/utils.d.ts.map +0 -1
  290. package/dist/src/coin/hbar/utils.js +0 -310
  291. package/dist/src/coin/hbar/walletInitializationBuilder.d.ts +0 -28
  292. package/dist/src/coin/hbar/walletInitializationBuilder.d.ts.map +0 -1
  293. package/dist/src/coin/hbar/walletInitializationBuilder.js +0 -90
  294. package/dist/src/coin/near/constants.d.ts +0 -12
  295. package/dist/src/coin/near/constants.d.ts.map +0 -1
  296. package/dist/src/coin/near/constants.js +0 -15
  297. package/dist/src/coin/near/contractCallWrapper.d.ts +0 -33
  298. package/dist/src/coin/near/contractCallWrapper.d.ts.map +0 -1
  299. package/dist/src/coin/near/contractCallWrapper.js +0 -68
  300. package/dist/src/coin/near/errors.d.ts +0 -5
  301. package/dist/src/coin/near/errors.d.ts.map +0 -1
  302. package/dist/src/coin/near/errors.js +0 -12
  303. package/dist/src/coin/near/iface.d.ts +0 -40
  304. package/dist/src/coin/near/iface.d.ts.map +0 -1
  305. package/dist/src/coin/near/iface.js +0 -8
  306. package/dist/src/coin/near/index.d.ts +0 -11
  307. package/dist/src/coin/near/index.d.ts.map +0 -1
  308. package/dist/src/coin/near/index.js +0 -41
  309. package/dist/src/coin/near/keyPair.d.ts +0 -25
  310. package/dist/src/coin/near/keyPair.d.ts.map +0 -1
  311. package/dist/src/coin/near/keyPair.js +0 -73
  312. package/dist/src/coin/near/stakingActivateBuilder.d.ts +0 -32
  313. package/dist/src/coin/near/stakingActivateBuilder.d.ts.map +0 -1
  314. package/dist/src/coin/near/stakingActivateBuilder.js +0 -90
  315. package/dist/src/coin/near/stakingDeactivateBuilder.d.ts +0 -32
  316. package/dist/src/coin/near/stakingDeactivateBuilder.d.ts.map +0 -1
  317. package/dist/src/coin/near/stakingDeactivateBuilder.js +0 -89
  318. package/dist/src/coin/near/stakingWithdrawBuilder.d.ts +0 -32
  319. package/dist/src/coin/near/stakingWithdrawBuilder.d.ts.map +0 -1
  320. package/dist/src/coin/near/stakingWithdrawBuilder.js +0 -89
  321. package/dist/src/coin/near/transaction.d.ts +0 -90
  322. package/dist/src/coin/near/transaction.d.ts.map +0 -1
  323. package/dist/src/coin/near/transaction.js +0 -368
  324. package/dist/src/coin/near/transactionBuilder.d.ts +0 -89
  325. package/dist/src/coin/near/transactionBuilder.d.ts.map +0 -1
  326. package/dist/src/coin/near/transactionBuilder.js +0 -216
  327. package/dist/src/coin/near/transactionBuilderFactory.d.ts +0 -30
  328. package/dist/src/coin/near/transactionBuilderFactory.d.ts.map +0 -1
  329. package/dist/src/coin/near/transactionBuilderFactory.js +0 -71
  330. package/dist/src/coin/near/transferBuilder.d.ts +0 -26
  331. package/dist/src/coin/near/transferBuilder.d.ts.map +0 -1
  332. package/dist/src/coin/near/transferBuilder.js +0 -72
  333. package/dist/src/coin/near/utils.d.ts +0 -42
  334. package/dist/src/coin/near/utils.d.ts.map +0 -1
  335. package/dist/src/coin/near/utils.js +0 -92
  336. package/dist/src/coin/near/walletInitializationBuilder.d.ts +0 -12
  337. package/dist/src/coin/near/walletInitializationBuilder.d.ts.map +0 -1
  338. package/dist/src/coin/near/walletInitializationBuilder.js +0 -20
  339. package/dist/src/coin/rbtc/index.d.ts +0 -8
  340. package/dist/src/coin/rbtc/index.d.ts.map +0 -1
  341. package/dist/src/coin/rbtc/index.js +0 -35
  342. package/dist/src/coin/rbtc/resources.d.ts +0 -10
  343. package/dist/src/coin/rbtc/resources.d.ts.map +0 -1
  344. package/dist/src/coin/rbtc/resources.js +0 -25
  345. package/dist/src/coin/rbtc/transactionBuilder.d.ts +0 -17
  346. package/dist/src/coin/rbtc/transactionBuilder.d.ts.map +0 -1
  347. package/dist/src/coin/rbtc/transactionBuilder.js +0 -44
  348. package/dist/src/coin/rbtc/transferBuilder.d.ts +0 -19
  349. package/dist/src/coin/rbtc/transferBuilder.d.ts.map +0 -1
  350. package/dist/src/coin/rbtc/transferBuilder.js +0 -27
  351. package/dist/src/coin/rbtc/utils.d.ts +0 -18
  352. package/dist/src/coin/rbtc/utils.d.ts.map +0 -1
  353. package/dist/src/coin/rbtc/utils.js +0 -42
  354. package/dist/src/coin/sol/ataInitializationBuilder.d.ts +0 -33
  355. package/dist/src/coin/sol/ataInitializationBuilder.d.ts.map +0 -1
  356. package/dist/src/coin/sol/ataInitializationBuilder.js +0 -93
  357. package/dist/src/coin/sol/ataInitializationTransaction.d.ts +0 -14
  358. package/dist/src/coin/sol/ataInitializationTransaction.d.ts.map +0 -1
  359. package/dist/src/coin/sol/ataInitializationTransaction.js +0 -81
  360. package/dist/src/coin/sol/constants.d.ts +0 -58
  361. package/dist/src/coin/sol/constants.d.ts.map +0 -1
  362. package/dist/src/coin/sol/constants.js +0 -76
  363. package/dist/src/coin/sol/iface.d.ts +0 -99
  364. package/dist/src/coin/sol/iface.d.ts.map +0 -1
  365. package/dist/src/coin/sol/iface.js +0 -3
  366. package/dist/src/coin/sol/index.d.ts +0 -11
  367. package/dist/src/coin/sol/index.d.ts.map +0 -1
  368. package/dist/src/coin/sol/index.js +0 -41
  369. package/dist/src/coin/sol/instructionParamsFactory.d.ts +0 -12
  370. package/dist/src/coin/sol/instructionParamsFactory.d.ts.map +0 -1
  371. package/dist/src/coin/sol/instructionParamsFactory.js +0 -260
  372. package/dist/src/coin/sol/keyPair.d.ts +0 -26
  373. package/dist/src/coin/sol/keyPair.d.ts.map +0 -1
  374. package/dist/src/coin/sol/keyPair.js +0 -63
  375. package/dist/src/coin/sol/solInstructionFactory.d.ts +0 -10
  376. package/dist/src/coin/sol/solInstructionFactory.d.ts.map +0 -1
  377. package/dist/src/coin/sol/solInstructionFactory.js +0 -213
  378. package/dist/src/coin/sol/stakingActivateBuilder.d.ts +0 -41
  379. package/dist/src/coin/sol/stakingActivateBuilder.d.ts.map +0 -1
  380. package/dist/src/coin/sol/stakingActivateBuilder.js +0 -94
  381. package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts +0 -23
  382. package/dist/src/coin/sol/stakingDeactivateBuilder.d.ts.map +0 -1
  383. package/dist/src/coin/sol/stakingDeactivateBuilder.js +0 -62
  384. package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts +0 -31
  385. package/dist/src/coin/sol/stakingWithdrawBuilder.d.ts.map +0 -1
  386. package/dist/src/coin/sol/stakingWithdrawBuilder.js +0 -78
  387. package/dist/src/coin/sol/tokenEncodeDecode.d.ts +0 -85
  388. package/dist/src/coin/sol/tokenEncodeDecode.d.ts.map +0 -1
  389. package/dist/src/coin/sol/tokenEncodeDecode.js +0 -133
  390. package/dist/src/coin/sol/tokenTransferBuilder.d.ts +0 -27
  391. package/dist/src/coin/sol/tokenTransferBuilder.d.ts.map +0 -1
  392. package/dist/src/coin/sol/tokenTransferBuilder.js +0 -73
  393. package/dist/src/coin/sol/transaction.d.ts +0 -61
  394. package/dist/src/coin/sol/transaction.d.ts.map +0 -1
  395. package/dist/src/coin/sol/transaction.js +0 -369
  396. package/dist/src/coin/sol/transactionBuilder.d.ts +0 -101
  397. package/dist/src/coin/sol/transactionBuilder.d.ts.map +0 -1
  398. package/dist/src/coin/sol/transactionBuilder.js +0 -261
  399. package/dist/src/coin/sol/transactionBuilderFactory.d.ts +0 -76
  400. package/dist/src/coin/sol/transactionBuilderFactory.d.ts.map +0 -1
  401. package/dist/src/coin/sol/transactionBuilderFactory.js +0 -136
  402. package/dist/src/coin/sol/transferBuilder.d.ts +0 -26
  403. package/dist/src/coin/sol/transferBuilder.d.ts.map +0 -1
  404. package/dist/src/coin/sol/transferBuilder.js +0 -67
  405. package/dist/src/coin/sol/utils.d.ts +0 -146
  406. package/dist/src/coin/sol/utils.d.ts.map +0 -1
  407. package/dist/src/coin/sol/utils.js +0 -361
  408. package/dist/src/coin/sol/walletInitializationBuilder.d.ts +0 -26
  409. package/dist/src/coin/sol/walletInitializationBuilder.d.ts.map +0 -1
  410. package/dist/src/coin/sol/walletInitializationBuilder.js +0 -71
  411. package/dist/src/coin/stx/abstractContractBuilder.d.ts +0 -19
  412. package/dist/src/coin/stx/abstractContractBuilder.d.ts.map +0 -1
  413. package/dist/src/coin/stx/abstractContractBuilder.js +0 -70
  414. package/dist/src/coin/stx/constants.d.ts +0 -8
  415. package/dist/src/coin/stx/constants.d.ts.map +0 -1
  416. package/dist/src/coin/stx/constants.js +0 -19
  417. package/dist/src/coin/stx/contractBuilder.d.ts +0 -33
  418. package/dist/src/coin/stx/contractBuilder.d.ts.map +0 -1
  419. package/dist/src/coin/stx/contractBuilder.js +0 -116
  420. package/dist/src/coin/stx/iface.d.ts +0 -48
  421. package/dist/src/coin/stx/iface.d.ts.map +0 -1
  422. package/dist/src/coin/stx/iface.js +0 -3
  423. package/dist/src/coin/stx/index.d.ts +0 -6
  424. package/dist/src/coin/stx/index.d.ts.map +0 -1
  425. package/dist/src/coin/stx/index.js +0 -32
  426. package/dist/src/coin/stx/keyPair.d.ts +0 -55
  427. package/dist/src/coin/stx/keyPair.d.ts.map +0 -1
  428. package/dist/src/coin/stx/keyPair.js +0 -140
  429. package/dist/src/coin/stx/sendmanyBuilder.d.ts +0 -23
  430. package/dist/src/coin/stx/sendmanyBuilder.d.ts.map +0 -1
  431. package/dist/src/coin/stx/sendmanyBuilder.js +0 -75
  432. package/dist/src/coin/stx/transaction.d.ts +0 -49
  433. package/dist/src/coin/stx/transaction.d.ts.map +0 -1
  434. package/dist/src/coin/stx/transaction.js +0 -225
  435. package/dist/src/coin/stx/transactionBuilder.d.ts +0 -86
  436. package/dist/src/coin/stx/transactionBuilder.d.ts.map +0 -1
  437. package/dist/src/coin/stx/transactionBuilder.js +0 -263
  438. package/dist/src/coin/stx/transactionBuilderFactory.d.ts +0 -30
  439. package/dist/src/coin/stx/transactionBuilderFactory.d.ts.map +0 -1
  440. package/dist/src/coin/stx/transactionBuilderFactory.js +0 -81
  441. package/dist/src/coin/stx/transferBuilder.d.ts +0 -30
  442. package/dist/src/coin/stx/transferBuilder.d.ts.map +0 -1
  443. package/dist/src/coin/stx/transferBuilder.js +0 -99
  444. package/dist/src/coin/stx/utils.d.ts +0 -207
  445. package/dist/src/coin/stx/utils.d.ts.map +0 -1
  446. package/dist/src/coin/stx/utils.js +0 -504
  447. package/dist/src/coin/trx/address.d.ts +0 -11
  448. package/dist/src/coin/trx/address.d.ts.map +0 -1
  449. package/dist/src/coin/trx/address.js +0 -13
  450. package/dist/src/coin/trx/contractCallBuilder.d.ts +0 -96
  451. package/dist/src/coin/trx/contractCallBuilder.d.ts.map +0 -1
  452. package/dist/src/coin/trx/contractCallBuilder.js +0 -281
  453. package/dist/src/coin/trx/enum.d.ts +0 -23
  454. package/dist/src/coin/trx/enum.d.ts.map +0 -1
  455. package/dist/src/coin/trx/enum.js +0 -28
  456. package/dist/src/coin/trx/iface.d.ts +0 -92
  457. package/dist/src/coin/trx/iface.d.ts.map +0 -1
  458. package/dist/src/coin/trx/iface.js +0 -3
  459. package/dist/src/coin/trx/index.d.ts +0 -10
  460. package/dist/src/coin/trx/index.d.ts.map +0 -1
  461. package/dist/src/coin/trx/index.js +0 -39
  462. package/dist/src/coin/trx/keyPair.d.ts +0 -44
  463. package/dist/src/coin/trx/keyPair.d.ts.map +0 -1
  464. package/dist/src/coin/trx/keyPair.js +0 -121
  465. package/dist/src/coin/trx/transaction.d.ts +0 -74
  466. package/dist/src/coin/trx/transaction.d.ts.map +0 -1
  467. package/dist/src/coin/trx/transaction.js +0 -205
  468. package/dist/src/coin/trx/transactionBuilder.d.ts +0 -65
  469. package/dist/src/coin/trx/transactionBuilder.d.ts.map +0 -1
  470. package/dist/src/coin/trx/transactionBuilder.js +0 -215
  471. package/dist/src/coin/trx/utils.d.ts +0 -127
  472. package/dist/src/coin/trx/utils.d.ts.map +0 -1
  473. package/dist/src/coin/trx/utils.js +0 -369
  474. package/dist/src/coin/trx/wrappedBuilder.d.ts +0 -52
  475. package/dist/src/coin/trx/wrappedBuilder.d.ts.map +0 -1
  476. package/dist/src/coin/trx/wrappedBuilder.js +0 -104
  477. package/dist/src/coin/xrp/index.d.ts +0 -5
  478. package/dist/src/coin/xrp/index.d.ts.map +0 -1
  479. package/dist/src/coin/xrp/index.js +0 -29
  480. package/dist/src/coin/xrp/keyPair.d.ts +0 -10
  481. package/dist/src/coin/xrp/keyPair.d.ts.map +0 -1
  482. package/dist/src/coin/xrp/keyPair.js +0 -16
  483. package/dist/src/coin/xrp/transaction.d.ts +0 -10
  484. package/dist/src/coin/xrp/transaction.d.ts.map +0 -1
  485. package/dist/src/coin/xrp/transaction.js +0 -20
  486. package/dist/src/coin/xrp/transactionBuilder.d.ts +0 -27
  487. package/dist/src/coin/xrp/transactionBuilder.d.ts.map +0 -1
  488. package/dist/src/coin/xrp/transactionBuilder.js +0 -46
  489. package/dist/src/coin/xrp/transactionBuilderFactory.d.ts +0 -24
  490. package/dist/src/coin/xrp/transactionBuilderFactory.d.ts.map +0 -1
  491. package/dist/src/coin/xrp/transactionBuilderFactory.js +0 -38
  492. package/dist/src/coin/xrp/transferBuilder.d.ts +0 -14
  493. package/dist/src/coin/xrp/transferBuilder.d.ts.map +0 -1
  494. package/dist/src/coin/xrp/transferBuilder.js +0 -24
  495. package/dist/src/coin/xrp/utils.d.ts +0 -16
  496. package/dist/src/coin/xrp/utils.d.ts.map +0 -1
  497. package/dist/src/coin/xrp/utils.js +0 -32
  498. package/dist/src/coin/xrp/walletInitializationBuilder.d.ts +0 -14
  499. package/dist/src/coin/xrp/walletInitializationBuilder.d.ts.map +0 -1
  500. package/dist/src/coin/xrp/walletInitializationBuilder.js +0 -24
  501. package/dist/src/coin/xtz/address.d.ts +0 -8
  502. package/dist/src/coin/xtz/address.d.ts.map +0 -1
  503. package/dist/src/coin/xtz/address.js +0 -10
  504. package/dist/src/coin/xtz/iface.d.ts +0 -81
  505. package/dist/src/coin/xtz/iface.d.ts.map +0 -1
  506. package/dist/src/coin/xtz/iface.js +0 -3
  507. package/dist/src/coin/xtz/index.d.ts +0 -8
  508. package/dist/src/coin/xtz/index.d.ts.map +0 -1
  509. package/dist/src/coin/xtz/index.js +0 -37
  510. package/dist/src/coin/xtz/keyPair.d.ts +0 -40
  511. package/dist/src/coin/xtz/keyPair.d.ts.map +0 -1
  512. package/dist/src/coin/xtz/keyPair.js +0 -136
  513. package/dist/src/coin/xtz/multisigUtils.d.ts +0 -134
  514. package/dist/src/coin/xtz/multisigUtils.d.ts.map +0 -1
  515. package/dist/src/coin/xtz/multisigUtils.js +0 -1180
  516. package/dist/src/coin/xtz/transaction.d.ts +0 -119
  517. package/dist/src/coin/xtz/transaction.d.ts.map +0 -1
  518. package/dist/src/coin/xtz/transaction.js +0 -315
  519. package/dist/src/coin/xtz/transactionBuilder.d.ts +0 -171
  520. package/dist/src/coin/xtz/transactionBuilder.d.ts.map +0 -1
  521. package/dist/src/coin/xtz/transactionBuilder.js +0 -453
  522. package/dist/src/coin/xtz/transferBuilder.d.ts +0 -24
  523. package/dist/src/coin/xtz/transferBuilder.d.ts.map +0 -1
  524. package/dist/src/coin/xtz/transferBuilder.js +0 -64
  525. package/dist/src/coin/xtz/utils.d.ts +0 -265
  526. package/dist/src/coin/xtz/utils.d.ts.map +0 -1
  527. package/dist/src/coin/xtz/utils.js +0 -460
  528. package/dist/src/mpc/curves/baseCurve.d.ts +0 -19
  529. package/dist/src/mpc/curves/baseCurve.d.ts.map +0 -1
  530. package/dist/src/mpc/curves/baseCurve.js +0 -6
  531. package/dist/src/mpc/curves/ed25519.d.ts +0 -17
  532. package/dist/src/mpc/curves/ed25519.d.ts.map +0 -1
  533. package/dist/src/mpc/curves/ed25519.js +0 -58
  534. package/dist/src/mpc/curves/index.d.ts +0 -6
  535. package/dist/src/mpc/curves/index.d.ts.map +0 -1
  536. package/dist/src/mpc/curves/index.js +0 -8
  537. package/dist/src/mpc/curves/secp256k1.d.ts +0 -16
  538. package/dist/src/mpc/curves/secp256k1.d.ts.map +0 -1
  539. package/dist/src/mpc/curves/secp256k1.js +0 -66
  540. package/dist/src/mpc/hdTree.d.ts +0 -24
  541. package/dist/src/mpc/hdTree.d.ts.map +0 -1
  542. package/dist/src/mpc/hdTree.js +0 -94
  543. package/dist/src/mpc/shamir.d.ts +0 -26
  544. package/dist/src/mpc/shamir.d.ts.map +0 -1
  545. package/dist/src/mpc/shamir.js +0 -86
  546. package/dist/src/mpc/tss.d.ts +0 -98
  547. package/dist/src/mpc/tss.d.ts.map +0 -1
  548. package/dist/src/mpc/tss.js +0 -273
  549. package/dist/src/mpc/util.d.ts +0 -8
  550. package/dist/src/mpc/util.d.ts.map +0 -1
  551. package/dist/src/mpc/util.js +0 -42
  552. package/resources/hbar/protobuf/BasicTypes.proto +0 -424
  553. package/resources/hbar/protobuf/CryptoCreate.proto +0 -47
  554. package/resources/hbar/protobuf/CryptoTransfer.proto +0 -33
  555. package/resources/hbar/protobuf/Duration.proto +0 -28
  556. package/resources/hbar/protobuf/Timestamp.proto +0 -34
  557. package/resources/hbar/protobuf/Transaction.proto +0 -35
  558. package/resources/hbar/protobuf/TransactionBody.proto +0 -24
  559. package/resources/hbar/protobuf/TransactionContents.proto +0 -33
  560. package/resources/hbar/protobuf/hedera.d.ts +0 -4612
  561. package/resources/hbar/protobuf/hedera.js +0 -12192
  562. package/resources/trx/protobuf/Contract.proto +0 -256
  563. package/resources/trx/protobuf/Discover.proto +0 -44
  564. package/resources/trx/protobuf/tron.d.ts +0 -11024
  565. package/resources/trx/protobuf/tron.js +0 -31510
  566. package/resources/trx/protobuf/tron.proto +0 -677
@@ -1,335 +0,0 @@
1
- /*
2
- * [hi-base32]{@link https://github.com/emn178/hi-base32}
3
- *
4
- * @version 0.5.0
5
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
6
- * @copyright Chen, Yi-Cyuan 2015-2018
7
- * @license MIT
8
- */
9
-
10
- /*
11
- * [js-sha512]{@link https://github.com/emn178/js-sha512}
12
- *
13
- * @version 0.8.0
14
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
15
- * @copyright Chen, Yi-Cyuan 2014-2018
16
- * @license MIT
17
- */
18
-
19
- /*
20
- object-assign
21
- (c) Sindre Sorhus
22
- @license MIT
23
- */
24
-
25
- /*!
26
- * mustache.js - Logic-less {{mustache}} templates with JavaScript
27
- * http://github.com/janl/mustache.js
28
- */
29
-
30
- /*!
31
- * @overview es6-promise - a tiny implementation of Promises/A+.
32
- * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
33
- * @license Licensed under MIT license
34
- * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
35
- * @version v4.2.8+1e68dce6
36
- */
37
-
38
- /*!
39
- * The buffer module from node.js, for the browser.
40
- *
41
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
42
- * @license MIT
43
- */
44
-
45
- /*!
46
- * The buffer module from node.js, for the browser.
47
- *
48
- * @author Feross Aboukhadijeh <https://feross.org>
49
- * @license MIT
50
- */
51
-
52
- /*!
53
- * URI.js - Mutating URLs
54
- *
55
- * Version: 1.19.11
56
- *
57
- * Author: Rodney Rehm
58
- * Web: http://medialize.github.io/URI.js/
59
- *
60
- * Licensed under
61
- * MIT License http://www.opensource.org/licenses/mit-license
62
- *
63
- */
64
-
65
- /*!
66
- * URI.js - Mutating URLs
67
- * IPv6 Support
68
- *
69
- * Version: 1.19.11
70
- *
71
- * Author: Rodney Rehm
72
- * Web: http://medialize.github.io/URI.js/
73
- *
74
- * Licensed under
75
- * MIT License http://www.opensource.org/licenses/mit-license
76
- *
77
- */
78
-
79
- /*!
80
- * URI.js - Mutating URLs
81
- * Second Level Domain (SLD) Support
82
- *
83
- * Version: 1.19.11
84
- *
85
- * Author: Rodney Rehm
86
- * Web: http://medialize.github.io/URI.js/
87
- *
88
- * Licensed under
89
- * MIT License http://www.opensource.org/licenses/mit-license
90
- *
91
- */
92
-
93
- /*!
94
- * URI.js - Mutating URLs
95
- * URI Template Support - http://tools.ietf.org/html/rfc6570
96
- *
97
- * Version: 1.19.11
98
- *
99
- * Author: Rodney Rehm
100
- * Web: http://medialize.github.io/URI.js/
101
- *
102
- * Licensed under
103
- * MIT License http://www.opensource.org/licenses/mit-license
104
- *
105
- */
106
-
107
- /*!
108
- * depd
109
- * Copyright(c) 2015 Douglas Christopher Wilson
110
- * MIT Licensed
111
- */
112
-
113
- /*!
114
- * http-errors
115
- * Copyright(c) 2014 Jonathan Ong
116
- * Copyright(c) 2016 Douglas Christopher Wilson
117
- * MIT Licensed
118
- */
119
-
120
- /*!
121
- * statuses
122
- * Copyright(c) 2014 Jonathan Ong
123
- * Copyright(c) 2016 Douglas Christopher Wilson
124
- * MIT Licensed
125
- */
126
-
127
- /*!
128
- * toidentifier
129
- * Copyright(c) 2016 Douglas Christopher Wilson
130
- * MIT Licensed
131
- */
132
-
133
- /*!
134
- Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection
135
-
136
- Permission is hereby granted, free of charge, to any person obtaining a copy
137
- of this software and associated documentation files (the "Software"), to deal
138
- in the Software without restriction, including without limitation the rights
139
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
140
- copies of the Software, and to permit persons to whom the Software is
141
- furnished to do so, subject to the following conditions:
142
-
143
- The above copyright notice and this permission notice shall be included in
144
- all copies or substantial portions of the Software.
145
-
146
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
147
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
148
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
149
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
150
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
151
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
152
- THE SOFTWARE.
153
-
154
- */
155
-
156
- /*! *****************************************************************************
157
- Copyright (c) Microsoft Corporation.
158
-
159
- Permission to use, copy, modify, and/or distribute this software for any
160
- purpose with or without fee is hereby granted.
161
-
162
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
163
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
164
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
165
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
166
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
167
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
168
- PERFORMANCE OF THIS SOFTWARE.
169
- ***************************************************************************** */
170
-
171
- /*! For license information please see algosdk.min.js.LICENSE.txt */
172
-
173
- /*! For license information please see lib.js.LICENSE.txt */
174
-
175
- /*! bignumber.js v4.1.0 https://github.com/MikeMcl/bignumber.js/LICENCE */
176
-
177
- /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
178
-
179
- /*! https://mths.be/punycode v1.3.2 by @mathias */
180
-
181
- /*! https://mths.be/punycode v1.4.0 by @mathias */
182
-
183
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
184
-
185
- /*! noble-bls12-381 - MIT License (c) Paul Miller (paulmillr.com) */
186
-
187
- /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
188
-
189
- /*! noble-secp256k1 - MIT License (c) 2019 Paul Miller (paulmillr.com) */
190
-
191
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
192
-
193
- /*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */
194
-
195
- /**
196
- * @license
197
- * Lodash <https://lodash.com/>
198
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
199
- * Released under MIT license <https://lodash.com/license>
200
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
201
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
202
- */
203
-
204
- /**
205
- * @license Long.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
206
- * Released under the Apache License, Version 2.0
207
- * see: https://github.com/dcodeIO/Long.js for details
208
- */
209
-
210
- /**
211
- * Support for translating between Uint8Array instances and JavaScript
212
- * native types.
213
- *
214
- * {@link module:Layout~Layout|Layout} is the basis of a class
215
- * hierarchy that associates property names with sequences of encoded
216
- * bytes.
217
- *
218
- * Layouts are supported for these scalar (numeric) types:
219
- * * {@link module:Layout~UInt|Unsigned integers in little-endian
220
- * format} with {@link module:Layout.u8|8-bit}, {@link
221
- * module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit},
222
- * {@link module:Layout.u32|32-bit}, {@link
223
- * module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit}
224
- * representation ranges;
225
- * * {@link module:Layout~UIntBE|Unsigned integers in big-endian
226
- * format} with {@link module:Layout.u16be|16-bit}, {@link
227
- * module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit},
228
- * {@link module:Layout.u40be|40-bit}, and {@link
229
- * module:Layout.u48be|48-bit} representation ranges;
230
- * * {@link module:Layout~Int|Signed integers in little-endian
231
- * format} with {@link module:Layout.s8|8-bit}, {@link
232
- * module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit},
233
- * {@link module:Layout.s32|32-bit}, {@link
234
- * module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit}
235
- * representation ranges;
236
- * * {@link module:Layout~IntBE|Signed integers in big-endian format}
237
- * with {@link module:Layout.s16be|16-bit}, {@link
238
- * module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit},
239
- * {@link module:Layout.s40be|40-bit}, and {@link
240
- * module:Layout.s48be|48-bit} representation ranges;
241
- * * 64-bit integral values that decode to an exact (if magnitude is
242
- * less than 2^53) or nearby integral Number in {@link
243
- * module:Layout.nu64|unsigned little-endian}, {@link
244
- * module:Layout.nu64be|unsigned big-endian}, {@link
245
- * module:Layout.ns64|signed little-endian}, and {@link
246
- * module:Layout.ns64be|unsigned big-endian} encodings;
247
- * * 32-bit floating point values with {@link
248
- * module:Layout.f32|little-endian} and {@link
249
- * module:Layout.f32be|big-endian} representations;
250
- * * 64-bit floating point values with {@link
251
- * module:Layout.f64|little-endian} and {@link
252
- * module:Layout.f64be|big-endian} representations;
253
- * * {@link module:Layout.const|Constants} that take no space in the
254
- * encoded expression.
255
- *
256
- * and for these aggregate types:
257
- * * {@link module:Layout.seq|Sequence}s of instances of a {@link
258
- * module:Layout~Layout|Layout}, with JavaScript representation as
259
- * an Array and constant or data-dependent {@link
260
- * module:Layout~Sequence#count|length};
261
- * * {@link module:Layout.struct|Structure}s that aggregate a
262
- * heterogeneous sequence of {@link module:Layout~Layout|Layout}
263
- * instances, with JavaScript representation as an Object;
264
- * * {@link module:Layout.union|Union}s that support multiple {@link
265
- * module:Layout~VariantLayout|variant layouts} over a fixed
266
- * (padded) or variable (not padded) span of bytes, using an
267
- * unsigned integer at the start of the data or a separate {@link
268
- * module:Layout.unionLayoutDiscriminator|layout element} to
269
- * determine which layout to use when interpreting the buffer
270
- * contents;
271
- * * {@link module:Layout.bits|BitStructure}s that contain a sequence
272
- * of individual {@link
273
- * module:Layout~BitStructure#addField|BitField}s packed into an 8,
274
- * 16, 24, or 32-bit unsigned integer starting at the least- or
275
- * most-significant bit;
276
- * * {@link module:Layout.cstr|C strings} of varying length;
277
- * * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link
278
- * module:Layout~Blob#length|length} raw data.
279
- *
280
- * All {@link module:Layout~Layout|Layout} instances are immutable
281
- * after construction, to prevent internal state from becoming
282
- * inconsistent.
283
- *
284
- * @local Layout
285
- * @local ExternalLayout
286
- * @local GreedyCount
287
- * @local OffsetLayout
288
- * @local UInt
289
- * @local UIntBE
290
- * @local Int
291
- * @local IntBE
292
- * @local NearUInt64
293
- * @local NearUInt64BE
294
- * @local NearInt64
295
- * @local NearInt64BE
296
- * @local Float
297
- * @local FloatBE
298
- * @local Double
299
- * @local DoubleBE
300
- * @local Sequence
301
- * @local Structure
302
- * @local UnionDiscriminator
303
- * @local UnionLayoutDiscriminator
304
- * @local Union
305
- * @local VariantLayout
306
- * @local BitStructure
307
- * @local BitField
308
- * @local Boolean
309
- * @local Blob
310
- * @local CString
311
- * @local Constant
312
- * @local bindConstructorLayout
313
- * @module Layout
314
- * @license MIT
315
- * @author Peter A. Bigot
316
- * @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
317
- */
318
-
319
- /**
320
- * [js-sha256]{@link https://github.com/emn178/js-sha256}
321
- *
322
- * @version 0.9.0
323
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
324
- * @copyright Chen, Yi-Cyuan 2014-2017
325
- * @license MIT
326
- */
327
-
328
- /**
329
- * [js-sha3]{@link https://github.com/emn178/js-sha3}
330
- *
331
- * @version 0.8.0
332
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
333
- * @copyright Chen, Yi-Cyuan 2015-2018
334
- * @license MIT
335
- */