waves_lib 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1222) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/CHANGELOG.md +5 -0
  5. data/CODE_OF_CONDUCT.md +84 -0
  6. data/LICENSE.txt +19 -0
  7. data/README.md +39 -0
  8. data/Rakefile +12 -0
  9. data/js/node_modules/@protobufjs/aspromise/LICENSE +26 -0
  10. data/js/node_modules/@protobufjs/aspromise/README.md +13 -0
  11. data/js/node_modules/@protobufjs/aspromise/index.d.ts +13 -0
  12. data/js/node_modules/@protobufjs/aspromise/index.js +52 -0
  13. data/js/node_modules/@protobufjs/aspromise/package.json +21 -0
  14. data/js/node_modules/@protobufjs/aspromise/tests/index.js +130 -0
  15. data/js/node_modules/@protobufjs/base64/LICENSE +26 -0
  16. data/js/node_modules/@protobufjs/base64/README.md +19 -0
  17. data/js/node_modules/@protobufjs/base64/index.d.ts +32 -0
  18. data/js/node_modules/@protobufjs/base64/index.js +139 -0
  19. data/js/node_modules/@protobufjs/base64/package.json +21 -0
  20. data/js/node_modules/@protobufjs/base64/tests/index.js +46 -0
  21. data/js/node_modules/@protobufjs/codegen/LICENSE +26 -0
  22. data/js/node_modules/@protobufjs/codegen/README.md +49 -0
  23. data/js/node_modules/@protobufjs/codegen/index.d.ts +31 -0
  24. data/js/node_modules/@protobufjs/codegen/index.js +99 -0
  25. data/js/node_modules/@protobufjs/codegen/package.json +13 -0
  26. data/js/node_modules/@protobufjs/codegen/tests/index.js +13 -0
  27. data/js/node_modules/@protobufjs/eventemitter/LICENSE +26 -0
  28. data/js/node_modules/@protobufjs/eventemitter/README.md +22 -0
  29. data/js/node_modules/@protobufjs/eventemitter/index.d.ts +43 -0
  30. data/js/node_modules/@protobufjs/eventemitter/index.js +76 -0
  31. data/js/node_modules/@protobufjs/eventemitter/package.json +21 -0
  32. data/js/node_modules/@protobufjs/eventemitter/tests/index.js +47 -0
  33. data/js/node_modules/@protobufjs/fetch/LICENSE +26 -0
  34. data/js/node_modules/@protobufjs/fetch/README.md +13 -0
  35. data/js/node_modules/@protobufjs/fetch/index.d.ts +56 -0
  36. data/js/node_modules/@protobufjs/fetch/index.js +115 -0
  37. data/js/node_modules/@protobufjs/fetch/package.json +25 -0
  38. data/js/node_modules/@protobufjs/fetch/tests/index.js +16 -0
  39. data/js/node_modules/@protobufjs/float/LICENSE +26 -0
  40. data/js/node_modules/@protobufjs/float/README.md +102 -0
  41. data/js/node_modules/@protobufjs/float/bench/index.js +87 -0
  42. data/js/node_modules/@protobufjs/float/bench/suite.js +46 -0
  43. data/js/node_modules/@protobufjs/float/index.d.ts +83 -0
  44. data/js/node_modules/@protobufjs/float/index.js +335 -0
  45. data/js/node_modules/@protobufjs/float/package.json +26 -0
  46. data/js/node_modules/@protobufjs/float/tests/index.js +100 -0
  47. data/js/node_modules/@protobufjs/inquire/LICENSE +26 -0
  48. data/js/node_modules/@protobufjs/inquire/README.md +13 -0
  49. data/js/node_modules/@protobufjs/inquire/index.d.ts +9 -0
  50. data/js/node_modules/@protobufjs/inquire/index.js +17 -0
  51. data/js/node_modules/@protobufjs/inquire/package.json +21 -0
  52. data/js/node_modules/@protobufjs/inquire/tests/data/array.js +1 -0
  53. data/js/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +1 -0
  54. data/js/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +1 -0
  55. data/js/node_modules/@protobufjs/inquire/tests/data/object.js +1 -0
  56. data/js/node_modules/@protobufjs/inquire/tests/index.js +20 -0
  57. data/js/node_modules/@protobufjs/path/LICENSE +26 -0
  58. data/js/node_modules/@protobufjs/path/README.md +19 -0
  59. data/js/node_modules/@protobufjs/path/index.d.ts +22 -0
  60. data/js/node_modules/@protobufjs/path/index.js +65 -0
  61. data/js/node_modules/@protobufjs/path/package.json +21 -0
  62. data/js/node_modules/@protobufjs/path/tests/index.js +60 -0
  63. data/js/node_modules/@protobufjs/pool/LICENSE +26 -0
  64. data/js/node_modules/@protobufjs/pool/README.md +13 -0
  65. data/js/node_modules/@protobufjs/pool/index.d.ts +32 -0
  66. data/js/node_modules/@protobufjs/pool/index.js +48 -0
  67. data/js/node_modules/@protobufjs/pool/package.json +21 -0
  68. data/js/node_modules/@protobufjs/pool/tests/index.js +33 -0
  69. data/js/node_modules/@protobufjs/utf8/LICENSE +26 -0
  70. data/js/node_modules/@protobufjs/utf8/README.md +20 -0
  71. data/js/node_modules/@protobufjs/utf8/index.d.ts +24 -0
  72. data/js/node_modules/@protobufjs/utf8/index.js +105 -0
  73. data/js/node_modules/@protobufjs/utf8/package.json +21 -0
  74. data/js/node_modules/@protobufjs/utf8/tests/data/utf8.txt +216 -0
  75. data/js/node_modules/@protobufjs/utf8/tests/index.js +57 -0
  76. data/js/node_modules/@types/base64-js/LICENSE +21 -0
  77. data/js/node_modules/@types/base64-js/README.md +16 -0
  78. data/js/node_modules/@types/base64-js/index.d.ts +23 -0
  79. data/js/node_modules/@types/base64-js/package.json +29 -0
  80. data/js/node_modules/@types/long/LICENSE +21 -0
  81. data/js/node_modules/@types/long/README.md +16 -0
  82. data/js/node_modules/@types/long/index.d.ts +389 -0
  83. data/js/node_modules/@types/long/package.json +25 -0
  84. data/js/node_modules/@types/node/LICENSE +21 -0
  85. data/js/node_modules/@types/node/README.md +16 -0
  86. data/js/node_modules/@types/node/assert/strict.d.ts +8 -0
  87. data/js/node_modules/@types/node/assert.d.ts +972 -0
  88. data/js/node_modules/@types/node/async_hooks.d.ts +530 -0
  89. data/js/node_modules/@types/node/buffer.d.ts +2354 -0
  90. data/js/node_modules/@types/node/child_process.d.ts +1395 -0
  91. data/js/node_modules/@types/node/cluster.d.ts +414 -0
  92. data/js/node_modules/@types/node/console.d.ts +412 -0
  93. data/js/node_modules/@types/node/constants.d.ts +18 -0
  94. data/js/node_modules/@types/node/crypto.d.ts +3978 -0
  95. data/js/node_modules/@types/node/dgram.d.ts +545 -0
  96. data/js/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
  97. data/js/node_modules/@types/node/dns/promises.d.ts +414 -0
  98. data/js/node_modules/@types/node/dns.d.ts +668 -0
  99. data/js/node_modules/@types/node/dom-events.d.ts +126 -0
  100. data/js/node_modules/@types/node/domain.d.ts +170 -0
  101. data/js/node_modules/@types/node/events.d.ts +724 -0
  102. data/js/node_modules/@types/node/fs/promises.d.ts +1190 -0
  103. data/js/node_modules/@types/node/fs.d.ts +4044 -0
  104. data/js/node_modules/@types/node/globals.d.ts +303 -0
  105. data/js/node_modules/@types/node/globals.global.d.ts +1 -0
  106. data/js/node_modules/@types/node/http.d.ts +1724 -0
  107. data/js/node_modules/@types/node/http2.d.ts +2129 -0
  108. data/js/node_modules/@types/node/https.d.ts +441 -0
  109. data/js/node_modules/@types/node/index.d.ts +134 -0
  110. data/js/node_modules/@types/node/inspector.d.ts +2748 -0
  111. data/js/node_modules/@types/node/module.d.ts +129 -0
  112. data/js/node_modules/@types/node/net.d.ts +888 -0
  113. data/js/node_modules/@types/node/os.d.ts +477 -0
  114. data/js/node_modules/@types/node/package.json +237 -0
  115. data/js/node_modules/@types/node/path.d.ts +191 -0
  116. data/js/node_modules/@types/node/perf_hooks.d.ts +638 -0
  117. data/js/node_modules/@types/node/process.d.ts +1494 -0
  118. data/js/node_modules/@types/node/punycode.d.ts +117 -0
  119. data/js/node_modules/@types/node/querystring.d.ts +131 -0
  120. data/js/node_modules/@types/node/readline/promises.d.ts +145 -0
  121. data/js/node_modules/@types/node/readline.d.ts +526 -0
  122. data/js/node_modules/@types/node/repl.d.ts +424 -0
  123. data/js/node_modules/@types/node/stream/consumers.d.ts +12 -0
  124. data/js/node_modules/@types/node/stream/promises.d.ts +42 -0
  125. data/js/node_modules/@types/node/stream/web.d.ts +330 -0
  126. data/js/node_modules/@types/node/stream.d.ts +1421 -0
  127. data/js/node_modules/@types/node/string_decoder.d.ts +67 -0
  128. data/js/node_modules/@types/node/test.d.ts +1383 -0
  129. data/js/node_modules/@types/node/timers/promises.d.ts +93 -0
  130. data/js/node_modules/@types/node/timers.d.ts +215 -0
  131. data/js/node_modules/@types/node/tls.d.ts +1130 -0
  132. data/js/node_modules/@types/node/trace_events.d.ts +182 -0
  133. data/js/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  134. data/js/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  135. data/js/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  136. data/js/node_modules/@types/node/ts4.8/buffer.d.ts +2354 -0
  137. data/js/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  138. data/js/node_modules/@types/node/ts4.8/cluster.d.ts +414 -0
  139. data/js/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  140. data/js/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  141. data/js/node_modules/@types/node/ts4.8/crypto.d.ts +3977 -0
  142. data/js/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  143. data/js/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  144. data/js/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  145. data/js/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  146. data/js/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  147. data/js/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  148. data/js/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  149. data/js/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  150. data/js/node_modules/@types/node/ts4.8/fs.d.ts +4044 -0
  151. data/js/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  152. data/js/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  153. data/js/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  154. data/js/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  155. data/js/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  156. data/js/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  157. data/js/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  158. data/js/node_modules/@types/node/ts4.8/module.d.ts +129 -0
  159. data/js/node_modules/@types/node/ts4.8/net.d.ts +888 -0
  160. data/js/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  161. data/js/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  162. data/js/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  163. data/js/node_modules/@types/node/ts4.8/process.d.ts +1494 -0
  164. data/js/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  165. data/js/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  166. data/js/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  167. data/js/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  168. data/js/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  169. data/js/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  170. data/js/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  171. data/js/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  172. data/js/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  173. data/js/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  174. data/js/node_modules/@types/node/ts4.8/test.d.ts +1365 -0
  175. data/js/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  176. data/js/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  177. data/js/node_modules/@types/node/ts4.8/tls.d.ts +1130 -0
  178. data/js/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  179. data/js/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
  180. data/js/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  181. data/js/node_modules/@types/node/ts4.8/util.d.ts +2116 -0
  182. data/js/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  183. data/js/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  184. data/js/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  185. data/js/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  186. data/js/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  187. data/js/node_modules/@types/node/tty.d.ts +208 -0
  188. data/js/node_modules/@types/node/url.d.ts +901 -0
  189. data/js/node_modules/@types/node/util.d.ts +2116 -0
  190. data/js/node_modules/@types/node/v8.d.ts +635 -0
  191. data/js/node_modules/@types/node/vm.d.ts +894 -0
  192. data/js/node_modules/@types/node/wasi.d.ts +152 -0
  193. data/js/node_modules/@types/node/worker_threads.d.ts +693 -0
  194. data/js/node_modules/@types/node/zlib.d.ts +517 -0
  195. data/js/node_modules/@types/node-fetch/LICENSE +21 -0
  196. data/js/node_modules/@types/node-fetch/README.md +16 -0
  197. data/js/node_modules/@types/node-fetch/externals.d.ts +24 -0
  198. data/js/node_modules/@types/node-fetch/index.d.ts +224 -0
  199. data/js/node_modules/@types/node-fetch/package.json +83 -0
  200. data/js/node_modules/@waves/bignumber/dist/BigNumber.d.ts +74 -0
  201. data/js/node_modules/@waves/bignumber/dist/BigNumber.js +252 -0
  202. data/js/node_modules/@waves/bignumber/dist/BigNumber.js.map +1 -0
  203. data/js/node_modules/@waves/bignumber/dist/Config.d.ts +22 -0
  204. data/js/node_modules/@waves/bignumber/dist/Config.js +43 -0
  205. data/js/node_modules/@waves/bignumber/dist/Config.js.map +1 -0
  206. data/js/node_modules/@waves/bignumber/dist/bignumber.umd.js +3194 -0
  207. data/js/node_modules/@waves/bignumber/dist/bignumber.umd.min.js +1 -0
  208. data/js/node_modules/@waves/bignumber/dist/index.d.ts +3 -0
  209. data/js/node_modules/@waves/bignumber/dist/index.js +9 -0
  210. data/js/node_modules/@waves/bignumber/dist/index.js.map +1 -0
  211. data/js/node_modules/@waves/bignumber/package.json +64 -0
  212. data/js/node_modules/@waves/bignumber/readme.md +285 -0
  213. data/js/node_modules/@waves/marshall/LICENSE +9 -0
  214. data/js/node_modules/@waves/marshall/README.md +39 -0
  215. data/js/node_modules/@waves/marshall/dist/index.d.ts +26 -0
  216. data/js/node_modules/@waves/marshall/dist/index.js +45 -0
  217. data/js/node_modules/@waves/marshall/dist/index.js.map +1 -0
  218. data/js/node_modules/@waves/marshall/dist/jsonMethods.d.ts +36 -0
  219. data/js/node_modules/@waves/marshall/dist/jsonMethods.js +194 -0
  220. data/js/node_modules/@waves/marshall/dist/jsonMethods.js.map +1 -0
  221. data/js/node_modules/@waves/marshall/dist/libs/Utf8ArrayToStr.d.ts +1 -0
  222. data/js/node_modules/@waves/marshall/dist/libs/Utf8ArrayToStr.js +35 -0
  223. data/js/node_modules/@waves/marshall/dist/libs/Utf8ArrayToStr.js.map +1 -0
  224. data/js/node_modules/@waves/marshall/dist/libs/base58.d.ts +5 -0
  225. data/js/node_modules/@waves/marshall/dist/libs/base58.js +66 -0
  226. data/js/node_modules/@waves/marshall/dist/libs/base58.js.map +1 -0
  227. data/js/node_modules/@waves/marshall/dist/libs/utils.d.ts +2 -0
  228. data/js/node_modules/@waves/marshall/dist/libs/utils.js +6 -0
  229. data/js/node_modules/@waves/marshall/dist/libs/utils.js.map +1 -0
  230. data/js/node_modules/@waves/marshall/dist/min/waves-marshall.min.js +1 -0
  231. data/js/node_modules/@waves/marshall/dist/parse.d.ts +21 -0
  232. data/js/node_modules/@waves/marshall/dist/parse.js +142 -0
  233. data/js/node_modules/@waves/marshall/dist/parse.js.map +1 -0
  234. data/js/node_modules/@waves/marshall/dist/parsePrimitives.d.ts +57 -0
  235. data/js/node_modules/@waves/marshall/dist/parsePrimitives.js +96 -0
  236. data/js/node_modules/@waves/marshall/dist/parsePrimitives.js.map +1 -0
  237. data/js/node_modules/@waves/marshall/dist/schemaTypes.d.ts +62 -0
  238. data/js/node_modules/@waves/marshall/dist/schemaTypes.js +41 -0
  239. data/js/node_modules/@waves/marshall/dist/schemaTypes.js.map +1 -0
  240. data/js/node_modules/@waves/marshall/dist/schemas.d.ts +128 -0
  241. data/js/node_modules/@waves/marshall/dist/schemas.js +542 -0
  242. data/js/node_modules/@waves/marshall/dist/schemas.js.map +1 -0
  243. data/js/node_modules/@waves/marshall/dist/serialize.d.ts +11 -0
  244. data/js/node_modules/@waves/marshall/dist/serialize.js +102 -0
  245. data/js/node_modules/@waves/marshall/dist/serialize.js.map +1 -0
  246. data/js/node_modules/@waves/marshall/dist/serializePrimitives.d.ts +21 -0
  247. data/js/node_modules/@waves/marshall/dist/serializePrimitives.js +63 -0
  248. data/js/node_modules/@waves/marshall/dist/serializePrimitives.js.map +1 -0
  249. data/js/node_modules/@waves/marshall/package.json +45 -0
  250. data/js/node_modules/@waves/marshall/src/index.ts +51 -0
  251. data/js/node_modules/@waves/marshall/src/jsonMethods.ts +231 -0
  252. data/js/node_modules/@waves/marshall/src/libs/Utf8ArrayToStr.ts +35 -0
  253. data/js/node_modules/@waves/marshall/src/libs/base58.ts +88 -0
  254. data/js/node_modules/@waves/marshall/src/libs/utils.ts +6 -0
  255. data/js/node_modules/@waves/marshall/src/parse.ts +157 -0
  256. data/js/node_modules/@waves/marshall/src/parsePrimitives.ts +118 -0
  257. data/js/node_modules/@waves/marshall/src/schemaTypes.ts +91 -0
  258. data/js/node_modules/@waves/marshall/src/schemas.ts +630 -0
  259. data/js/node_modules/@waves/marshall/src/serialize.ts +110 -0
  260. data/js/node_modules/@waves/marshall/src/serializePrimitives.ts +80 -0
  261. data/js/node_modules/@waves/node-api-js/README.md +2 -0
  262. data/js/node_modules/@waves/node-api-js/cjs/api-node/activation/index.d.ts +21 -0
  263. data/js/node_modules/@waves/node-api-js/cjs/api-node/activation/index.js +20 -0
  264. data/js/node_modules/@waves/node-api-js/cjs/api-node/activation/index.js.map +1 -0
  265. data/js/node_modules/@waves/node-api-js/cjs/api-node/addresses/index.d.ts +81 -0
  266. data/js/node_modules/@waves/node-api-js/cjs/api-node/addresses/index.js +174 -0
  267. data/js/node_modules/@waves/node-api-js/cjs/api-node/addresses/index.js.map +1 -0
  268. data/js/node_modules/@waves/node-api-js/cjs/api-node/alias/index.d.ts +6 -0
  269. data/js/node_modules/@waves/node-api-js/cjs/api-node/alias/index.js +22 -0
  270. data/js/node_modules/@waves/node-api-js/cjs/api-node/alias/index.js.map +1 -0
  271. data/js/node_modules/@waves/node-api-js/cjs/api-node/assets/index.d.ts +79 -0
  272. data/js/node_modules/@waves/node-api-js/cjs/api-node/assets/index.js +172 -0
  273. data/js/node_modules/@waves/node-api-js/cjs/api-node/assets/index.js.map +1 -0
  274. data/js/node_modules/@waves/node-api-js/cjs/api-node/blocks/index.d.ts +131 -0
  275. data/js/node_modules/@waves/node-api-js/cjs/api-node/blocks/index.js +210 -0
  276. data/js/node_modules/@waves/node-api-js/cjs/api-node/blocks/index.js.map +1 -0
  277. data/js/node_modules/@waves/node-api-js/cjs/api-node/consensus/index.d.ts +39 -0
  278. data/js/node_modules/@waves/node-api-js/cjs/api-node/consensus/index.js +37 -0
  279. data/js/node_modules/@waves/node-api-js/cjs/api-node/consensus/index.js.map +1 -0
  280. data/js/node_modules/@waves/node-api-js/cjs/api-node/debug/index.d.ts +189 -0
  281. data/js/node_modules/@waves/node-api-js/cjs/api-node/debug/index.js +245 -0
  282. data/js/node_modules/@waves/node-api-js/cjs/api-node/debug/index.js.map +1 -0
  283. data/js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.d.ts +3 -0
  284. data/js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.js +15 -0
  285. data/js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.js.map +1 -0
  286. data/js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.d.ts +22 -0
  287. data/js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.js +42 -0
  288. data/js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.js.map +1 -0
  289. data/js/node_modules/@waves/node-api-js/cjs/api-node/node/index.d.ts +11 -0
  290. data/js/node_modules/@waves/node-api-js/cjs/api-node/node/index.js +20 -0
  291. data/js/node_modules/@waves/node-api-js/cjs/api-node/node/index.js.map +1 -0
  292. data/js/node_modules/@waves/node-api-js/cjs/api-node/peers/index.d.ts +46 -0
  293. data/js/node_modules/@waves/node-api-js/cjs/api-node/peers/index.js +60 -0
  294. data/js/node_modules/@waves/node-api-js/cjs/api-node/peers/index.js.map +1 -0
  295. data/js/node_modules/@waves/node-api-js/cjs/api-node/rewards/index.d.ts +21 -0
  296. data/js/node_modules/@waves/node-api-js/cjs/api-node/rewards/index.js +21 -0
  297. data/js/node_modules/@waves/node-api-js/cjs/api-node/rewards/index.js.map +1 -0
  298. data/js/node_modules/@waves/node-api-js/cjs/api-node/transactions/index.d.ts +73 -0
  299. data/js/node_modules/@waves/node-api-js/cjs/api-node/transactions/index.js +193 -0
  300. data/js/node_modules/@waves/node-api-js/cjs/api-node/transactions/index.js.map +1 -0
  301. data/js/node_modules/@waves/node-api-js/cjs/api-node/utils/index.d.ts +110 -0
  302. data/js/node_modules/@waves/node-api-js/cjs/api-node/utils/index.js +211 -0
  303. data/js/node_modules/@waves/node-api-js/cjs/api-node/utils/index.js.map +1 -0
  304. data/js/node_modules/@waves/node-api-js/cjs/api-node/wallet/index.d.ts +5 -0
  305. data/js/node_modules/@waves/node-api-js/cjs/api-node/wallet/index.js +7 -0
  306. data/js/node_modules/@waves/node-api-js/cjs/api-node/wallet/index.js.map +1 -0
  307. data/js/node_modules/@waves/node-api-js/cjs/constants.d.ts +40 -0
  308. data/js/node_modules/@waves/node-api-js/cjs/constants.js +43 -0
  309. data/js/node_modules/@waves/node-api-js/cjs/constants.js.map +1 -0
  310. data/js/node_modules/@waves/node-api-js/cjs/create.d.ts +1240 -0
  311. data/js/node_modules/@waves/node-api-js/cjs/create.js +119 -0
  312. data/js/node_modules/@waves/node-api-js/cjs/create.js.map +1 -0
  313. data/js/node_modules/@waves/node-api-js/cjs/index.d.ts +9 -0
  314. data/js/node_modules/@waves/node-api-js/cjs/index.js +18 -0
  315. data/js/node_modules/@waves/node-api-js/cjs/index.js.map +1 -0
  316. data/js/node_modules/@waves/node-api-js/cjs/interface.d.ts +44 -0
  317. data/js/node_modules/@waves/node-api-js/cjs/interface.js +10 -0
  318. data/js/node_modules/@waves/node-api-js/cjs/interface.js.map +1 -0
  319. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/availableSponsoredBalances.d.ts +7 -0
  320. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/availableSponsoredBalances.js +30 -0
  321. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/availableSponsoredBalances.js.map +1 -0
  322. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/ethAddress2waves.d.ts +1 -0
  323. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/ethAddress2waves.js +47 -0
  324. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/ethAddress2waves.js.map +1 -0
  325. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetIdListByTx.d.ts +2 -0
  326. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetIdListByTx.js +48 -0
  327. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetIdListByTx.js.map +1 -0
  328. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetsByTransaction.d.ts +3 -0
  329. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetsByTransaction.js +14 -0
  330. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getAssetsByTransaction.js.map +1 -0
  331. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getTransactionsWithAssets.d.ts +6 -0
  332. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getTransactionsWithAssets.js +13 -0
  333. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/getTransactionsWithAssets.js.map +1 -0
  334. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/watch.d.ts +24 -0
  335. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/watch.js +168 -0
  336. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/watch.js.map +1 -0
  337. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/wavesAddress2eth.d.ts +1 -0
  338. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/wavesAddress2eth.js +10 -0
  339. data/js/node_modules/@waves/node-api-js/cjs/tools/adresses/wavesAddress2eth.js.map +1 -0
  340. data/js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.d.ts +1 -0
  341. data/js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.js +10 -0
  342. data/js/node_modules/@waves/node-api-js/cjs/tools/assets/wavesAsset2eth.js.map +1 -0
  343. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/detectInterval.d.ts +1 -0
  344. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/detectInterval.js +12 -0
  345. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/detectInterval.js.map +1 -0
  346. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkByte.d.ts +1 -0
  347. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkByte.js +54 -0
  348. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkByte.js.map +1 -0
  349. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkCode.d.ts +1 -0
  350. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkCode.js +11 -0
  351. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/getNetworkCode.js.map +1 -0
  352. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/waitHeight.d.ts +3 -0
  353. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/waitHeight.js +65 -0
  354. data/js/node_modules/@waves/node-api-js/cjs/tools/blocks/waitHeight.js.map +1 -0
  355. data/js/node_modules/@waves/node-api-js/cjs/tools/parse.d.ts +1 -0
  356. data/js/node_modules/@waves/node-api-js/cjs/tools/parse.js +8 -0
  357. data/js/node_modules/@waves/node-api-js/cjs/tools/parse.js.map +1 -0
  358. data/js/node_modules/@waves/node-api-js/cjs/tools/query.d.ts +4 -0
  359. data/js/node_modules/@waves/node-api-js/cjs/tools/query.js +41 -0
  360. data/js/node_modules/@waves/node-api-js/cjs/tools/query.js.map +1 -0
  361. data/js/node_modules/@waves/node-api-js/cjs/tools/request.d.ts +64 -0
  362. data/js/node_modules/@waves/node-api-js/cjs/tools/request.js +42 -0
  363. data/js/node_modules/@waves/node-api-js/cjs/tools/request.js.map +1 -0
  364. data/js/node_modules/@waves/node-api-js/cjs/tools/resolve.d.ts +1 -0
  365. data/js/node_modules/@waves/node-api-js/cjs/tools/resolve.js +7 -0
  366. data/js/node_modules/@waves/node-api-js/cjs/tools/resolve.js.map +1 -0
  367. data/js/node_modules/@waves/node-api-js/cjs/tools/stringify.d.ts +1 -0
  368. data/js/node_modules/@waves/node-api-js/cjs/tools/stringify.js +21 -0
  369. data/js/node_modules/@waves/node-api-js/cjs/tools/stringify.js.map +1 -0
  370. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/broadcast.d.ts +14 -0
  371. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/broadcast.js +60 -0
  372. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/broadcast.js.map +1 -0
  373. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.d.ts +1 -0
  374. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.js +11 -0
  375. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.js.map +1 -0
  376. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/transactions.d.ts +0 -0
  377. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/transactions.js +2 -0
  378. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/transactions.js.map +1 -0
  379. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/wait.d.ts +10 -0
  380. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/wait.js +42 -0
  381. data/js/node_modules/@waves/node-api-js/cjs/tools/transactions/wait.js.map +1 -0
  382. data/js/node_modules/@waves/node-api-js/cjs/tools/utils.d.ts +32 -0
  383. data/js/node_modules/@waves/node-api-js/cjs/tools/utils.js +118 -0
  384. data/js/node_modules/@waves/node-api-js/cjs/tools/utils.js.map +1 -0
  385. data/js/node_modules/@waves/node-api-js/dist/0.node-api.js +467 -0
  386. data/js/node_modules/@waves/node-api-js/dist/node-api.js +30544 -0
  387. data/js/node_modules/@waves/node-api-js/dist/node-api.min.js +26 -0
  388. data/js/node_modules/@waves/node-api-js/dist/node-api.min.js.LICENSE.txt +17 -0
  389. data/js/node_modules/@waves/node-api-js/dist/node_fs-node_path.node-api.js +23 -0
  390. data/js/node_modules/@waves/node-api-js/dist/vendors-node_modules_node-fetch_src_utils_multipart-parser_js.node-api.js +599 -0
  391. data/js/node_modules/@waves/node-api-js/es/api-node/activation/index.d.ts +21 -0
  392. data/js/node_modules/@waves/node-api-js/es/api-node/activation/index.js +13 -0
  393. data/js/node_modules/@waves/node-api-js/es/api-node/activation/index.js.map +1 -0
  394. data/js/node_modules/@waves/node-api-js/es/api-node/addresses/index.d.ts +81 -0
  395. data/js/node_modules/@waves/node-api-js/es/api-node/addresses/index.js +111 -0
  396. data/js/node_modules/@waves/node-api-js/es/api-node/addresses/index.js.map +1 -0
  397. data/js/node_modules/@waves/node-api-js/es/api-node/alias/index.d.ts +6 -0
  398. data/js/node_modules/@waves/node-api-js/es/api-node/alias/index.js +14 -0
  399. data/js/node_modules/@waves/node-api-js/es/api-node/alias/index.js.map +1 -0
  400. data/js/node_modules/@waves/node-api-js/es/api-node/assets/index.d.ts +79 -0
  401. data/js/node_modules/@waves/node-api-js/es/api-node/assets/index.js +103 -0
  402. data/js/node_modules/@waves/node-api-js/es/api-node/assets/index.js.map +1 -0
  403. data/js/node_modules/@waves/node-api-js/es/api-node/blocks/index.d.ts +131 -0
  404. data/js/node_modules/@waves/node-api-js/es/api-node/blocks/index.js +179 -0
  405. data/js/node_modules/@waves/node-api-js/es/api-node/blocks/index.js.map +1 -0
  406. data/js/node_modules/@waves/node-api-js/es/api-node/consensus/index.d.ts +39 -0
  407. data/js/node_modules/@waves/node-api-js/es/api-node/consensus/index.js +27 -0
  408. data/js/node_modules/@waves/node-api-js/es/api-node/consensus/index.js.map +1 -0
  409. data/js/node_modules/@waves/node-api-js/es/api-node/debug/index.d.ts +189 -0
  410. data/js/node_modules/@waves/node-api-js/es/api-node/debug/index.js +201 -0
  411. data/js/node_modules/@waves/node-api-js/es/api-node/debug/index.js.map +1 -0
  412. data/js/node_modules/@waves/node-api-js/es/api-node/eth/index.d.ts +3 -0
  413. data/js/node_modules/@waves/node-api-js/es/api-node/eth/index.js +8 -0
  414. data/js/node_modules/@waves/node-api-js/es/api-node/eth/index.js.map +1 -0
  415. data/js/node_modules/@waves/node-api-js/es/api-node/leasing/index.d.ts +22 -0
  416. data/js/node_modules/@waves/node-api-js/es/api-node/leasing/index.js +22 -0
  417. data/js/node_modules/@waves/node-api-js/es/api-node/leasing/index.js.map +1 -0
  418. data/js/node_modules/@waves/node-api-js/es/api-node/node/index.d.ts +11 -0
  419. data/js/node_modules/@waves/node-api-js/es/api-node/node/index.js +10 -0
  420. data/js/node_modules/@waves/node-api-js/es/api-node/node/index.js.map +1 -0
  421. data/js/node_modules/@waves/node-api-js/es/api-node/peers/index.d.ts +46 -0
  422. data/js/node_modules/@waves/node-api-js/es/api-node/peers/index.js +46 -0
  423. data/js/node_modules/@waves/node-api-js/es/api-node/peers/index.js.map +1 -0
  424. data/js/node_modules/@waves/node-api-js/es/api-node/rewards/index.d.ts +21 -0
  425. data/js/node_modules/@waves/node-api-js/es/api-node/rewards/index.js +13 -0
  426. data/js/node_modules/@waves/node-api-js/es/api-node/rewards/index.js.map +1 -0
  427. data/js/node_modules/@waves/node-api-js/es/api-node/transactions/index.d.ts +73 -0
  428. data/js/node_modules/@waves/node-api-js/es/api-node/transactions/index.js +137 -0
  429. data/js/node_modules/@waves/node-api-js/es/api-node/transactions/index.js.map +1 -0
  430. data/js/node_modules/@waves/node-api-js/es/api-node/utils/index.d.ts +110 -0
  431. data/js/node_modules/@waves/node-api-js/es/api-node/utils/index.js +193 -0
  432. data/js/node_modules/@waves/node-api-js/es/api-node/utils/index.js.map +1 -0
  433. data/js/node_modules/@waves/node-api-js/es/api-node/wallet/index.d.ts +5 -0
  434. data/js/node_modules/@waves/node-api-js/es/api-node/wallet/index.js +7 -0
  435. data/js/node_modules/@waves/node-api-js/es/api-node/wallet/index.js.map +1 -0
  436. data/js/node_modules/@waves/node-api-js/es/constants.d.ts +40 -0
  437. data/js/node_modules/@waves/node-api-js/es/constants.js +40 -0
  438. data/js/node_modules/@waves/node-api-js/es/constants.js.map +1 -0
  439. data/js/node_modules/@waves/node-api-js/es/create.d.ts +1240 -0
  440. data/js/node_modules/@waves/node-api-js/es/create.js +93 -0
  441. data/js/node_modules/@waves/node-api-js/es/create.js.map +1 -0
  442. data/js/node_modules/@waves/node-api-js/es/index.d.ts +9 -0
  443. data/js/node_modules/@waves/node-api-js/es/index.js +9 -0
  444. data/js/node_modules/@waves/node-api-js/es/index.js.map +1 -0
  445. data/js/node_modules/@waves/node-api-js/es/interface.d.ts +44 -0
  446. data/js/node_modules/@waves/node-api-js/es/interface.js +3 -0
  447. data/js/node_modules/@waves/node-api-js/es/interface.js.map +1 -0
  448. data/js/node_modules/@waves/node-api-js/es/tools/adresses/availableSponsoredBalances.d.ts +7 -0
  449. data/js/node_modules/@waves/node-api-js/es/tools/adresses/availableSponsoredBalances.js +27 -0
  450. data/js/node_modules/@waves/node-api-js/es/tools/adresses/availableSponsoredBalances.js.map +1 -0
  451. data/js/node_modules/@waves/node-api-js/es/tools/adresses/ethAddress2waves.d.ts +1 -0
  452. data/js/node_modules/@waves/node-api-js/es/tools/adresses/ethAddress2waves.js +31 -0
  453. data/js/node_modules/@waves/node-api-js/es/tools/adresses/ethAddress2waves.js.map +1 -0
  454. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetIdListByTx.d.ts +2 -0
  455. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetIdListByTx.js +24 -0
  456. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetIdListByTx.js.map +1 -0
  457. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetsByTransaction.d.ts +3 -0
  458. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetsByTransaction.js +8 -0
  459. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getAssetsByTransaction.js.map +1 -0
  460. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getTransactionsWithAssets.d.ts +6 -0
  461. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getTransactionsWithAssets.js +7 -0
  462. data/js/node_modules/@waves/node-api-js/es/tools/adresses/getTransactionsWithAssets.js.map +1 -0
  463. data/js/node_modules/@waves/node-api-js/es/tools/adresses/watch.d.ts +24 -0
  464. data/js/node_modules/@waves/node-api-js/es/tools/adresses/watch.js +134 -0
  465. data/js/node_modules/@waves/node-api-js/es/tools/adresses/watch.js.map +1 -0
  466. data/js/node_modules/@waves/node-api-js/es/tools/adresses/wavesAddress2eth.d.ts +1 -0
  467. data/js/node_modules/@waves/node-api-js/es/tools/adresses/wavesAddress2eth.js +7 -0
  468. data/js/node_modules/@waves/node-api-js/es/tools/adresses/wavesAddress2eth.js.map +1 -0
  469. data/js/node_modules/@waves/node-api-js/es/tools/assets/wavesAsset2eth.d.ts +1 -0
  470. data/js/node_modules/@waves/node-api-js/es/tools/assets/wavesAsset2eth.js +7 -0
  471. data/js/node_modules/@waves/node-api-js/es/tools/assets/wavesAsset2eth.js.map +1 -0
  472. data/js/node_modules/@waves/node-api-js/es/tools/blocks/detectInterval.d.ts +1 -0
  473. data/js/node_modules/@waves/node-api-js/es/tools/blocks/detectInterval.js +9 -0
  474. data/js/node_modules/@waves/node-api-js/es/tools/blocks/detectInterval.js.map +1 -0
  475. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkByte.d.ts +1 -0
  476. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkByte.js +51 -0
  477. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkByte.js.map +1 -0
  478. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkCode.d.ts +1 -0
  479. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkCode.js +5 -0
  480. data/js/node_modules/@waves/node-api-js/es/tools/blocks/getNetworkCode.js.map +1 -0
  481. data/js/node_modules/@waves/node-api-js/es/tools/blocks/waitHeight.d.ts +3 -0
  482. data/js/node_modules/@waves/node-api-js/es/tools/blocks/waitHeight.js +36 -0
  483. data/js/node_modules/@waves/node-api-js/es/tools/blocks/waitHeight.js.map +1 -0
  484. data/js/node_modules/@waves/node-api-js/es/tools/parse.d.ts +1 -0
  485. data/js/node_modules/@waves/node-api-js/es/tools/parse.js +5 -0
  486. data/js/node_modules/@waves/node-api-js/es/tools/parse.js.map +1 -0
  487. data/js/node_modules/@waves/node-api-js/es/tools/query.d.ts +4 -0
  488. data/js/node_modules/@waves/node-api-js/es/tools/query.js +12 -0
  489. data/js/node_modules/@waves/node-api-js/es/tools/query.js.map +1 -0
  490. data/js/node_modules/@waves/node-api-js/es/tools/request.d.ts +64 -0
  491. data/js/node_modules/@waves/node-api-js/es/tools/request.js +22 -0
  492. data/js/node_modules/@waves/node-api-js/es/tools/request.js.map +1 -0
  493. data/js/node_modules/@waves/node-api-js/es/tools/resolve.d.ts +1 -0
  494. data/js/node_modules/@waves/node-api-js/es/tools/resolve.js +4 -0
  495. data/js/node_modules/@waves/node-api-js/es/tools/resolve.js.map +1 -0
  496. data/js/node_modules/@waves/node-api-js/es/tools/stringify.d.ts +1 -0
  497. data/js/node_modules/@waves/node-api-js/es/tools/stringify.js +18 -0
  498. data/js/node_modules/@waves/node-api-js/es/tools/stringify.js.map +1 -0
  499. data/js/node_modules/@waves/node-api-js/es/tools/transactions/broadcast.d.ts +14 -0
  500. data/js/node_modules/@waves/node-api-js/es/tools/transactions/broadcast.js +43 -0
  501. data/js/node_modules/@waves/node-api-js/es/tools/transactions/broadcast.js.map +1 -0
  502. data/js/node_modules/@waves/node-api-js/es/tools/transactions/ethTxId2waves.d.ts +1 -0
  503. data/js/node_modules/@waves/node-api-js/es/tools/transactions/ethTxId2waves.js +8 -0
  504. data/js/node_modules/@waves/node-api-js/es/tools/transactions/ethTxId2waves.js.map +1 -0
  505. data/js/node_modules/@waves/node-api-js/es/tools/transactions/transactions.d.ts +0 -0
  506. data/js/node_modules/@waves/node-api-js/es/tools/transactions/transactions.js +2 -0
  507. data/js/node_modules/@waves/node-api-js/es/tools/transactions/transactions.js.map +1 -0
  508. data/js/node_modules/@waves/node-api-js/es/tools/transactions/wait.d.ts +10 -0
  509. data/js/node_modules/@waves/node-api-js/es/tools/transactions/wait.js +39 -0
  510. data/js/node_modules/@waves/node-api-js/es/tools/transactions/wait.js.map +1 -0
  511. data/js/node_modules/@waves/node-api-js/es/tools/utils.d.ts +32 -0
  512. data/js/node_modules/@waves/node-api-js/es/tools/utils.js +73 -0
  513. data/js/node_modules/@waves/node-api-js/es/tools/utils.js.map +1 -0
  514. data/js/node_modules/@waves/node-api-js/package.json +66 -0
  515. data/js/node_modules/@waves/parse-json-bignumber/coverage/clover.xml +225 -0
  516. data/js/node_modules/@waves/parse-json-bignumber/coverage/coverage-final.json +2 -0
  517. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/base.css +212 -0
  518. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/index.html +93 -0
  519. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/parse-json-bignumber.ts.html +1598 -0
  520. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/prettify.css +1 -0
  521. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/prettify.js +1 -0
  522. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  523. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov-report/sorter.js +158 -0
  524. data/js/node_modules/@waves/parse-json-bignumber/coverage/lcov.info +415 -0
  525. data/js/node_modules/@waves/parse-json-bignumber/dist/parse-json-bignumber.d.ts +11 -0
  526. data/js/node_modules/@waves/parse-json-bignumber/dist/parse-json-bignumber.js +412 -0
  527. data/js/node_modules/@waves/parse-json-bignumber/dist/parse-json-bignumber.min.js +1 -0
  528. data/js/node_modules/@waves/parse-json-bignumber/package.json +40 -0
  529. data/js/node_modules/@waves/parse-json-bignumber/src/parse-json-bignumber.ts +511 -0
  530. data/js/node_modules/@waves/parse-json-bignumber/test/index.ts +130 -0
  531. data/js/node_modules/@waves/parse-json-bignumber/test/tsconfig.json +14 -0
  532. data/js/node_modules/@waves/parse-json-bignumber/tsconfig.json +15 -0
  533. data/js/node_modules/@waves/protobuf-serialization/README.MD +116 -0
  534. data/js/node_modules/@waves/protobuf-serialization/dist/index.d.ts +2005 -0
  535. data/js/node_modules/@waves/protobuf-serialization/dist/index.js +6636 -0
  536. data/js/node_modules/@waves/protobuf-serialization/package.json +30 -0
  537. data/js/node_modules/@waves/protobuf-serialization/proto/waves/amount.proto +10 -0
  538. data/js/node_modules/@waves/protobuf-serialization/proto/waves/block.proto +40 -0
  539. data/js/node_modules/@waves/protobuf-serialization/proto/waves/events/events.proto +213 -0
  540. data/js/node_modules/@waves/protobuf-serialization/proto/waves/events/grpc/blockchain_updates.proto +42 -0
  541. data/js/node_modules/@waves/protobuf-serialization/proto/waves/invoke_script_result.proto +98 -0
  542. data/js/node_modules/@waves/protobuf-serialization/proto/waves/lang/dapp_meta.proto +21 -0
  543. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/accounts_api.proto +68 -0
  544. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/assets_api.proto +41 -0
  545. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/blockchain_api.proto +54 -0
  546. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/blocks_api.proto +41 -0
  547. data/js/node_modules/@waves/protobuf-serialization/proto/waves/node/grpc/transactions_api.proto +73 -0
  548. data/js/node_modules/@waves/protobuf-serialization/proto/waves/order.proto +43 -0
  549. data/js/node_modules/@waves/protobuf-serialization/proto/waves/recipient.proto +13 -0
  550. data/js/node_modules/@waves/protobuf-serialization/proto/waves/transaction.proto +156 -0
  551. data/js/node_modules/@waves/ts-lib-crypto/README.md +492 -0
  552. data/js/node_modules/@waves/ts-lib-crypto/bytes.d.ts +10 -0
  553. data/js/node_modules/@waves/ts-lib-crypto/bytes.js +21 -0
  554. data/js/node_modules/@waves/ts-lib-crypto/bytes.js.map +1 -0
  555. data/js/node_modules/@waves/ts-lib-crypto/conversions/base-xx.d.ts +7 -0
  556. data/js/node_modules/@waves/ts-lib-crypto/conversions/base-xx.js +27 -0
  557. data/js/node_modules/@waves/ts-lib-crypto/conversions/base-xx.js.map +1 -0
  558. data/js/node_modules/@waves/ts-lib-crypto/conversions/param.d.ts +3 -0
  559. data/js/node_modules/@waves/ts-lib-crypto/conversions/param.js +24 -0
  560. data/js/node_modules/@waves/ts-lib-crypto/conversions/param.js.map +1 -0
  561. data/js/node_modules/@waves/ts-lib-crypto/conversions/string-bytes.d.ts +11 -0
  562. data/js/node_modules/@waves/ts-lib-crypto/conversions/string-bytes.js +65 -0
  563. data/js/node_modules/@waves/ts-lib-crypto/conversions/string-bytes.js.map +1 -0
  564. data/js/node_modules/@waves/ts-lib-crypto/crypto/address-keys-seed.d.ts +7 -0
  565. data/js/node_modules/@waves/ts-lib-crypto/crypto/address-keys-seed.js +58 -0
  566. data/js/node_modules/@waves/ts-lib-crypto/crypto/address-keys-seed.js.map +1 -0
  567. data/js/node_modules/@waves/ts-lib-crypto/crypto/concat-split.d.ts +3 -0
  568. data/js/node_modules/@waves/ts-lib-crypto/crypto/concat-split.js +39 -0
  569. data/js/node_modules/@waves/ts-lib-crypto/crypto/concat-split.js.map +1 -0
  570. data/js/node_modules/@waves/ts-lib-crypto/crypto/crypto.d.ts +13 -0
  571. data/js/node_modules/@waves/ts-lib-crypto/crypto/crypto.js +117 -0
  572. data/js/node_modules/@waves/ts-lib-crypto/crypto/crypto.js.map +1 -0
  573. data/js/node_modules/@waves/ts-lib-crypto/crypto/encryption.d.ts +6 -0
  574. data/js/node_modules/@waves/ts-lib-crypto/crypto/encryption.js +89 -0
  575. data/js/node_modules/@waves/ts-lib-crypto/crypto/encryption.js.map +1 -0
  576. data/js/node_modules/@waves/ts-lib-crypto/crypto/hashing.d.ts +7 -0
  577. data/js/node_modules/@waves/ts-lib-crypto/crypto/hashing.js +39 -0
  578. data/js/node_modules/@waves/ts-lib-crypto/crypto/hashing.js.map +1 -0
  579. data/js/node_modules/@waves/ts-lib-crypto/crypto/interface.d.ts +98 -0
  580. data/js/node_modules/@waves/ts-lib-crypto/crypto/interface.js +9 -0
  581. data/js/node_modules/@waves/ts-lib-crypto/crypto/interface.js.map +1 -0
  582. data/js/node_modules/@waves/ts-lib-crypto/crypto/merkle-verify.d.ts +7 -0
  583. data/js/node_modules/@waves/ts-lib-crypto/crypto/merkle-verify.js +51 -0
  584. data/js/node_modules/@waves/ts-lib-crypto/crypto/merkle-verify.js.map +1 -0
  585. data/js/node_modules/@waves/ts-lib-crypto/crypto/random.d.ts +4 -0
  586. data/js/node_modules/@waves/ts-lib-crypto/crypto/random.js +51 -0
  587. data/js/node_modules/@waves/ts-lib-crypto/crypto/random.js.map +1 -0
  588. data/js/node_modules/@waves/ts-lib-crypto/crypto/rsa.d.ts +7 -0
  589. data/js/node_modules/@waves/ts-lib-crypto/crypto/rsa.js +159 -0
  590. data/js/node_modules/@waves/ts-lib-crypto/crypto/rsa.js.map +1 -0
  591. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-ecryption.d.ts +9 -0
  592. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-ecryption.js +62 -0
  593. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-ecryption.js.map +1 -0
  594. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-words-list.d.ts +1 -0
  595. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-words-list.js +189 -0
  596. data/js/node_modules/@waves/ts-lib-crypto/crypto/seed-words-list.js.map +1 -0
  597. data/js/node_modules/@waves/ts-lib-crypto/crypto/sign.d.ts +2 -0
  598. data/js/node_modules/@waves/ts-lib-crypto/crypto/sign.js +16 -0
  599. data/js/node_modules/@waves/ts-lib-crypto/crypto/sign.js.map +1 -0
  600. data/js/node_modules/@waves/ts-lib-crypto/crypto/util.d.ts +3 -0
  601. data/js/node_modules/@waves/ts-lib-crypto/crypto/util.js +9 -0
  602. data/js/node_modules/@waves/ts-lib-crypto/crypto/util.js.map +1 -0
  603. data/js/node_modules/@waves/ts-lib-crypto/crypto/verification.d.ts +7 -0
  604. data/js/node_modules/@waves/ts-lib-crypto/crypto/verification.js +49 -0
  605. data/js/node_modules/@waves/ts-lib-crypto/crypto/verification.js.map +1 -0
  606. data/js/node_modules/@waves/ts-lib-crypto/extensions/chain-id.d.ts +5 -0
  607. data/js/node_modules/@waves/ts-lib-crypto/extensions/chain-id.js +16 -0
  608. data/js/node_modules/@waves/ts-lib-crypto/extensions/chain-id.js.map +1 -0
  609. data/js/node_modules/@waves/ts-lib-crypto/extensions/seed.d.ts +6 -0
  610. data/js/node_modules/@waves/ts-lib-crypto/extensions/seed.js +18 -0
  611. data/js/node_modules/@waves/ts-lib-crypto/extensions/seed.js.map +1 -0
  612. data/js/node_modules/@waves/ts-lib-crypto/index.d.ts +10 -0
  613. data/js/node_modules/@waves/ts-lib-crypto/index.js +21 -0
  614. data/js/node_modules/@waves/ts-lib-crypto/index.js.map +1 -0
  615. data/js/node_modules/@waves/ts-lib-crypto/libs/Utf8.d.ts +2 -0
  616. data/js/node_modules/@waves/ts-lib-crypto/libs/Utf8.js +61 -0
  617. data/js/node_modules/@waves/ts-lib-crypto/libs/Utf8.js.map +1 -0
  618. data/js/node_modules/@waves/ts-lib-crypto/libs/axlsign.js +1374 -0
  619. data/js/node_modules/@waves/ts-lib-crypto/libs/base58.d.ts +5 -0
  620. data/js/node_modules/@waves/ts-lib-crypto/libs/base58.js +66 -0
  621. data/js/node_modules/@waves/ts-lib-crypto/libs/base58.js.map +1 -0
  622. data/js/node_modules/@waves/ts-lib-crypto/libs/blake2b.js +308 -0
  623. data/js/node_modules/@waves/ts-lib-crypto/libs/sha3.js +441 -0
  624. data/js/node_modules/@waves/ts-lib-crypto/min/waves-lib-crypto.js +33 -0
  625. data/js/node_modules/@waves/ts-lib-crypto/package.json +31 -0
  626. data/js/node_modules/@waves/ts-types/dist/src/common.d.ts +59 -0
  627. data/js/node_modules/@waves/ts-types/dist/src/common.js +53 -0
  628. data/js/node_modules/@waves/ts-types/dist/src/exchange.d.ts +47 -0
  629. data/js/node_modules/@waves/ts-types/dist/src/exchange.js +2 -0
  630. data/js/node_modules/@waves/ts-types/dist/src/index.d.ts +52 -0
  631. data/js/node_modules/@waves/ts-types/dist/src/index.js +63 -0
  632. data/js/node_modules/@waves/ts-types/dist/src/invoke.d.ts +22 -0
  633. data/js/node_modules/@waves/ts-types/dist/src/invoke.js +2 -0
  634. data/js/node_modules/@waves/ts-types/dist/src/network.d.ts +6 -0
  635. data/js/node_modules/@waves/ts-types/dist/src/network.js +10 -0
  636. data/js/node_modules/@waves/ts-types/dist/src/parts.d.ts +159 -0
  637. data/js/node_modules/@waves/ts-types/dist/src/parts.js +2 -0
  638. data/js/node_modules/@waves/ts-types/dist/transactions/index.d.ts +363 -0
  639. data/js/node_modules/@waves/ts-types/dist/transactions/index.js +3 -0
  640. data/js/node_modules/@waves/ts-types/index.ts +1 -0
  641. data/js/node_modules/@waves/ts-types/package.json +41 -0
  642. data/js/node_modules/@waves/ts-types/src/index.ts +57 -0
  643. data/js/node_modules/@waves/ts-types/src/parts.ts +247 -0
  644. data/js/node_modules/@waves/ts-types/transactions/index.ts +789 -0
  645. data/js/node_modules/@waves/ts-types/tsconfig.json +16 -0
  646. data/js/node_modules/@waves/waves-transactions/README.md +432 -0
  647. data/js/node_modules/@waves/waves-transactions/dist/defaultVersions.d.ts +18 -0
  648. data/js/node_modules/@waves/waves-transactions/dist/defaultVersions.js +22 -0
  649. data/js/node_modules/@waves/waves-transactions/dist/defaultVersions.js.map +1 -0
  650. data/js/node_modules/@waves/waves-transactions/dist/general.d.ts +68 -0
  651. data/js/node_modules/@waves/waves-transactions/dist/general.js +135 -0
  652. data/js/node_modules/@waves/waves-transactions/dist/general.js.map +1 -0
  653. data/js/node_modules/@waves/waves-transactions/dist/generic.d.ts +28 -0
  654. data/js/node_modules/@waves/waves-transactions/dist/generic.js +88 -0
  655. data/js/node_modules/@waves/waves-transactions/dist/generic.js.map +1 -0
  656. data/js/node_modules/@waves/waves-transactions/dist/index.d.ts +37 -0
  657. data/js/node_modules/@waves/waves-transactions/dist/index.js +98 -0
  658. data/js/node_modules/@waves/waves-transactions/dist/index.js.map +1 -0
  659. data/js/node_modules/@waves/waves-transactions/dist/make-tx.d.ts +50 -0
  660. data/js/node_modules/@waves/waves-transactions/dist/make-tx.js +106 -0
  661. data/js/node_modules/@waves/waves-transactions/dist/make-tx.js.map +1 -0
  662. data/js/node_modules/@waves/waves-transactions/dist/min/waves-transactions.min.js +26 -0
  663. data/js/node_modules/@waves/waves-transactions/dist/nodeInteraction.d.ts +116 -0
  664. data/js/node_modules/@waves/waves-transactions/dist/nodeInteraction.js +277 -0
  665. data/js/node_modules/@waves/waves-transactions/dist/nodeInteraction.js.map +1 -0
  666. data/js/node_modules/@waves/waves-transactions/dist/proto-serialize.d.ts +62 -0
  667. data/js/node_modules/@waves/waves-transactions/dist/proto-serialize.js +514 -0
  668. data/js/node_modules/@waves/waves-transactions/dist/proto-serialize.js.map +1 -0
  669. data/js/node_modules/@waves/waves-transactions/dist/requests/auth.d.ts +7 -0
  670. data/js/node_modules/@waves/waves-transactions/dist/requests/auth.js +31 -0
  671. data/js/node_modules/@waves/waves-transactions/dist/requests/auth.js.map +1 -0
  672. data/js/node_modules/@waves/waves-transactions/dist/requests/cancel-order.d.ts +7 -0
  673. data/js/node_modules/@waves/waves-transactions/dist/requests/cancel-order.js +29 -0
  674. data/js/node_modules/@waves/waves-transactions/dist/requests/cancel-order.js.map +1 -0
  675. data/js/node_modules/@waves/waves-transactions/dist/requests/custom-data.d.ts +40 -0
  676. data/js/node_modules/@waves/waves-transactions/dist/requests/custom-data.js +37 -0
  677. data/js/node_modules/@waves/waves-transactions/dist/requests/custom-data.js.map +1 -0
  678. data/js/node_modules/@waves/waves-transactions/dist/requests/order.d.ts +50 -0
  679. data/js/node_modules/@waves/waves-transactions/dist/requests/order.js +62 -0
  680. data/js/node_modules/@waves/waves-transactions/dist/requests/order.js.map +1 -0
  681. data/js/node_modules/@waves/waves-transactions/dist/requests/wavesAuth.d.ts +7 -0
  682. data/js/node_modules/@waves/waves-transactions/dist/requests/wavesAuth.js +31 -0
  683. data/js/node_modules/@waves/waves-transactions/dist/requests/wavesAuth.js.map +1 -0
  684. data/js/node_modules/@waves/waves-transactions/dist/seedUtils/index.d.ts +21 -0
  685. data/js/node_modules/@waves/waves-transactions/dist/seedUtils/index.js +85 -0
  686. data/js/node_modules/@waves/waves-transactions/dist/seedUtils/index.js.map +1 -0
  687. data/js/node_modules/@waves/waves-transactions/dist/transactions/alias.d.ts +8 -0
  688. data/js/node_modules/@waves/waves-transactions/dist/transactions/alias.js +35 -0
  689. data/js/node_modules/@waves/waves-transactions/dist/transactions/alias.js.map +1 -0
  690. data/js/node_modules/@waves/waves-transactions/dist/transactions/burn.d.ts +8 -0
  691. data/js/node_modules/@waves/waves-transactions/dist/transactions/burn.js +35 -0
  692. data/js/node_modules/@waves/waves-transactions/dist/transactions/burn.js.map +1 -0
  693. data/js/node_modules/@waves/waves-transactions/dist/transactions/cancel-lease.d.ts +8 -0
  694. data/js/node_modules/@waves/waves-transactions/dist/transactions/cancel-lease.js +34 -0
  695. data/js/node_modules/@waves/waves-transactions/dist/transactions/cancel-lease.js.map +1 -0
  696. data/js/node_modules/@waves/waves-transactions/dist/transactions/data.d.ts +5 -0
  697. data/js/node_modules/@waves/waves-transactions/dist/transactions/data.js +112 -0
  698. data/js/node_modules/@waves/waves-transactions/dist/transactions/data.js.map +1 -0
  699. data/js/node_modules/@waves/waves-transactions/dist/transactions/exchange.d.ts +7 -0
  700. data/js/node_modules/@waves/waves-transactions/dist/transactions/exchange.js +39 -0
  701. data/js/node_modules/@waves/waves-transactions/dist/transactions/exchange.js.map +1 -0
  702. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-expression.d.ts +0 -0
  703. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-expression.js +52 -0
  704. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-expression.js.map +1 -0
  705. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-script.d.ts +8 -0
  706. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-script.js +43 -0
  707. data/js/node_modules/@waves/waves-transactions/dist/transactions/invoke-script.js.map +1 -0
  708. data/js/node_modules/@waves/waves-transactions/dist/transactions/issue.d.ts +8 -0
  709. data/js/node_modules/@waves/waves-transactions/dist/transactions/issue.js +42 -0
  710. data/js/node_modules/@waves/waves-transactions/dist/transactions/issue.js.map +1 -0
  711. data/js/node_modules/@waves/waves-transactions/dist/transactions/lease.d.ts +8 -0
  712. data/js/node_modules/@waves/waves-transactions/dist/transactions/lease.js +35 -0
  713. data/js/node_modules/@waves/waves-transactions/dist/transactions/lease.js.map +1 -0
  714. data/js/node_modules/@waves/waves-transactions/dist/transactions/mass-transfer.d.ts +8 -0
  715. data/js/node_modules/@waves/waves-transactions/dist/transactions/mass-transfer.js +39 -0
  716. data/js/node_modules/@waves/waves-transactions/dist/transactions/mass-transfer.js.map +1 -0
  717. data/js/node_modules/@waves/waves-transactions/dist/transactions/reissue.d.ts +8 -0
  718. data/js/node_modules/@waves/waves-transactions/dist/transactions/reissue.js +36 -0
  719. data/js/node_modules/@waves/waves-transactions/dist/transactions/reissue.js.map +1 -0
  720. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-asset-script.d.ts +8 -0
  721. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-asset-script.js +37 -0
  722. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-asset-script.js.map +1 -0
  723. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-script.d.ts +8 -0
  724. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-script.js +38 -0
  725. data/js/node_modules/@waves/waves-transactions/dist/transactions/set-script.js.map +1 -0
  726. data/js/node_modules/@waves/waves-transactions/dist/transactions/sponsorship.d.ts +8 -0
  727. data/js/node_modules/@waves/waves-transactions/dist/transactions/sponsorship.js +35 -0
  728. data/js/node_modules/@waves/waves-transactions/dist/transactions/sponsorship.js.map +1 -0
  729. data/js/node_modules/@waves/waves-transactions/dist/transactions/transfer.d.ts +8 -0
  730. data/js/node_modules/@waves/waves-transactions/dist/transactions/transfer.js +38 -0
  731. data/js/node_modules/@waves/waves-transactions/dist/transactions/transfer.js.map +1 -0
  732. data/js/node_modules/@waves/waves-transactions/dist/transactions/update-asset-info.d.ts +8 -0
  733. data/js/node_modules/@waves/waves-transactions/dist/transactions/update-asset-info.js +35 -0
  734. data/js/node_modules/@waves/waves-transactions/dist/transactions/update-asset-info.js.map +1 -0
  735. data/js/node_modules/@waves/waves-transactions/dist/transactions.d.ts +277 -0
  736. data/js/node_modules/@waves/waves-transactions/dist/transactions.js +3 -0
  737. data/js/node_modules/@waves/waves-transactions/dist/transactions.js.map +1 -0
  738. data/js/node_modules/@waves/waves-transactions/dist/types.d.ts +11 -0
  739. data/js/node_modules/@waves/waves-transactions/dist/types.js +6 -0
  740. data/js/node_modules/@waves/waves-transactions/dist/types.js.map +1 -0
  741. data/js/node_modules/@waves/waves-transactions/dist/validators/alias.d.ts +1 -0
  742. data/js/node_modules/@waves/waves-transactions/dist/validators/alias.js +17 -0
  743. data/js/node_modules/@waves/waves-transactions/dist/validators/alias.js.map +1 -0
  744. data/js/node_modules/@waves/waves-transactions/dist/validators/auth.d.ts +1 -0
  745. data/js/node_modules/@waves/waves-transactions/dist/validators/auth.js +10 -0
  746. data/js/node_modules/@waves/waves-transactions/dist/validators/auth.js.map +1 -0
  747. data/js/node_modules/@waves/waves-transactions/dist/validators/burn.d.ts +1 -0
  748. data/js/node_modules/@waves/waves-transactions/dist/validators/burn.js +18 -0
  749. data/js/node_modules/@waves/waves-transactions/dist/validators/burn.js.map +1 -0
  750. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-lease.d.ts +1 -0
  751. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-lease.js +17 -0
  752. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-lease.js.map +1 -0
  753. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-order.d.ts +1 -0
  754. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-order.js +12 -0
  755. data/js/node_modules/@waves/waves-transactions/dist/validators/cancel-order.js.map +1 -0
  756. data/js/node_modules/@waves/waves-transactions/dist/validators/custom-data.d.ts +1 -0
  757. data/js/node_modules/@waves/waves-transactions/dist/validators/custom-data.js +16 -0
  758. data/js/node_modules/@waves/waves-transactions/dist/validators/custom-data.js.map +1 -0
  759. data/js/node_modules/@waves/waves-transactions/dist/validators/data.d.ts +2 -0
  760. data/js/node_modules/@waves/waves-transactions/dist/validators/data.js +18 -0
  761. data/js/node_modules/@waves/waves-transactions/dist/validators/data.js.map +1 -0
  762. data/js/node_modules/@waves/waves-transactions/dist/validators/exchange.d.ts +1 -0
  763. data/js/node_modules/@waves/waves-transactions/dist/validators/exchange.js +22 -0
  764. data/js/node_modules/@waves/waves-transactions/dist/validators/exchange.js.map +1 -0
  765. data/js/node_modules/@waves/waves-transactions/dist/validators/index.d.ts +24 -0
  766. data/js/node_modules/@waves/waves-transactions/dist/validators/index.js +60 -0
  767. data/js/node_modules/@waves/waves-transactions/dist/validators/index.js.map +1 -0
  768. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-expression.d.ts +0 -0
  769. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-expression.js +33 -0
  770. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-expression.js.map +1 -0
  771. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-script.d.ts +1 -0
  772. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-script.js +20 -0
  773. data/js/node_modules/@waves/waves-transactions/dist/validators/invoke-script.js.map +1 -0
  774. data/js/node_modules/@waves/waves-transactions/dist/validators/issue.d.ts +1 -0
  775. data/js/node_modules/@waves/waves-transactions/dist/validators/issue.js +22 -0
  776. data/js/node_modules/@waves/waves-transactions/dist/validators/issue.js.map +1 -0
  777. data/js/node_modules/@waves/waves-transactions/dist/validators/lease.d.ts +1 -0
  778. data/js/node_modules/@waves/waves-transactions/dist/validators/lease.js +17 -0
  779. data/js/node_modules/@waves/waves-transactions/dist/validators/lease.js.map +1 -0
  780. data/js/node_modules/@waves/waves-transactions/dist/validators/mass-transfer.d.ts +1 -0
  781. data/js/node_modules/@waves/waves-transactions/dist/validators/mass-transfer.js +18 -0
  782. data/js/node_modules/@waves/waves-transactions/dist/validators/mass-transfer.js.map +1 -0
  783. data/js/node_modules/@waves/waves-transactions/dist/validators/order.d.ts +1 -0
  784. data/js/node_modules/@waves/waves-transactions/dist/validators/order.js +34 -0
  785. data/js/node_modules/@waves/waves-transactions/dist/validators/order.js.map +1 -0
  786. data/js/node_modules/@waves/waves-transactions/dist/validators/reissue.d.ts +1 -0
  787. data/js/node_modules/@waves/waves-transactions/dist/validators/reissue.js +19 -0
  788. data/js/node_modules/@waves/waves-transactions/dist/validators/reissue.js.map +1 -0
  789. data/js/node_modules/@waves/waves-transactions/dist/validators/set-asset-script.d.ts +1 -0
  790. data/js/node_modules/@waves/waves-transactions/dist/validators/set-asset-script.js +18 -0
  791. data/js/node_modules/@waves/waves-transactions/dist/validators/set-asset-script.js.map +1 -0
  792. data/js/node_modules/@waves/waves-transactions/dist/validators/set-script.d.ts +1 -0
  793. data/js/node_modules/@waves/waves-transactions/dist/validators/set-script.js +17 -0
  794. data/js/node_modules/@waves/waves-transactions/dist/validators/set-script.js.map +1 -0
  795. data/js/node_modules/@waves/waves-transactions/dist/validators/sponsorship.d.ts +1 -0
  796. data/js/node_modules/@waves/waves-transactions/dist/validators/sponsorship.js +17 -0
  797. data/js/node_modules/@waves/waves-transactions/dist/validators/sponsorship.js.map +1 -0
  798. data/js/node_modules/@waves/waves-transactions/dist/validators/transfer.d.ts +1 -0
  799. data/js/node_modules/@waves/waves-transactions/dist/validators/transfer.js +20 -0
  800. data/js/node_modules/@waves/waves-transactions/dist/validators/transfer.js.map +1 -0
  801. data/js/node_modules/@waves/waves-transactions/dist/validators/update-asset-info.d.ts +1 -0
  802. data/js/node_modules/@waves/waves-transactions/dist/validators/update-asset-info.js +18 -0
  803. data/js/node_modules/@waves/waves-transactions/dist/validators/update-asset-info.js.map +1 -0
  804. data/js/node_modules/@waves/waves-transactions/dist/validators/validators.d.ts +52 -0
  805. data/js/node_modules/@waves/waves-transactions/dist/validators/validators.js +160 -0
  806. data/js/node_modules/@waves/waves-transactions/dist/validators/validators.js.map +1 -0
  807. data/js/node_modules/@waves/waves-transactions/dist/validators/wavesAuth.d.ts +1 -0
  808. data/js/node_modules/@waves/waves-transactions/dist/validators/wavesAuth.js +10 -0
  809. data/js/node_modules/@waves/waves-transactions/dist/validators/wavesAuth.js.map +1 -0
  810. data/js/node_modules/@waves/waves-transactions/package.json +83 -0
  811. data/js/node_modules/@waves/waves-transactions/src/defaultVersions.ts +18 -0
  812. data/js/node_modules/@waves/waves-transactions/src/general.ts +165 -0
  813. data/js/node_modules/@waves/waves-transactions/src/generic.ts +88 -0
  814. data/js/node_modules/@waves/waves-transactions/src/index.ts +87 -0
  815. data/js/node_modules/@waves/waves-transactions/src/make-tx.ts +179 -0
  816. data/js/node_modules/@waves/waves-transactions/src/nodeInteraction.ts +297 -0
  817. data/js/node_modules/@waves/waves-transactions/src/proto-serialize.ts +571 -0
  818. data/js/node_modules/@waves/waves-transactions/src/requests/auth.ts +42 -0
  819. data/js/node_modules/@waves/waves-transactions/src/requests/cancel-order.ts +37 -0
  820. data/js/node_modules/@waves/waves-transactions/src/requests/custom-data.ts +73 -0
  821. data/js/node_modules/@waves/waves-transactions/src/requests/order.ts +121 -0
  822. data/js/node_modules/@waves/waves-transactions/src/requests/wavesAuth.ts +40 -0
  823. data/js/node_modules/@waves/waves-transactions/src/seedUtils/index.ts +124 -0
  824. data/js/node_modules/@waves/waves-transactions/src/transactions/alias.ts +46 -0
  825. data/js/node_modules/@waves/waves-transactions/src/transactions/burn.ts +45 -0
  826. data/js/node_modules/@waves/waves-transactions/src/transactions/cancel-lease.ts +44 -0
  827. data/js/node_modules/@waves/waves-transactions/src/transactions/data.ts +122 -0
  828. data/js/node_modules/@waves/waves-transactions/src/transactions/exchange.ts +47 -0
  829. data/js/node_modules/@waves/waves-transactions/src/transactions/invoke-expression.ts +50 -0
  830. data/js/node_modules/@waves/waves-transactions/src/transactions/invoke-script.ts +54 -0
  831. data/js/node_modules/@waves/waves-transactions/src/transactions/issue.ts +52 -0
  832. data/js/node_modules/@waves/waves-transactions/src/transactions/lease.ts +45 -0
  833. data/js/node_modules/@waves/waves-transactions/src/transactions/mass-transfer.ts +55 -0
  834. data/js/node_modules/@waves/waves-transactions/src/transactions/reissue.ts +46 -0
  835. data/js/node_modules/@waves/waves-transactions/src/transactions/set-asset-script.ts +57 -0
  836. data/js/node_modules/@waves/waves-transactions/src/transactions/set-script.ts +54 -0
  837. data/js/node_modules/@waves/waves-transactions/src/transactions/sponsorship.ts +45 -0
  838. data/js/node_modules/@waves/waves-transactions/src/transactions/transfer.ts +55 -0
  839. data/js/node_modules/@waves/waves-transactions/src/transactions/update-asset-info.ts +44 -0
  840. data/js/node_modules/@waves/waves-transactions/src/transactions.ts +352 -0
  841. data/js/node_modules/@waves/waves-transactions/src/types.ts +12 -0
  842. data/js/node_modules/@waves/waves-transactions/src/validators/alias.ts +28 -0
  843. data/js/node_modules/@waves/waves-transactions/src/validators/auth.ts +14 -0
  844. data/js/node_modules/@waves/waves-transactions/src/validators/burn.ts +29 -0
  845. data/js/node_modules/@waves/waves-transactions/src/validators/cancel-lease.ts +27 -0
  846. data/js/node_modules/@waves/waves-transactions/src/validators/cancel-order.ts +17 -0
  847. data/js/node_modules/@waves/waves-transactions/src/validators/custom-data.ts +40 -0
  848. data/js/node_modules/@waves/waves-transactions/src/validators/data.ts +33 -0
  849. data/js/node_modules/@waves/waves-transactions/src/validators/exchange.ts +36 -0
  850. data/js/node_modules/@waves/waves-transactions/src/validators/index.ts +50 -0
  851. data/js/node_modules/@waves/waves-transactions/src/validators/invoke-expression.ts +31 -0
  852. data/js/node_modules/@waves/waves-transactions/src/validators/invoke-script.ts +64 -0
  853. data/js/node_modules/@waves/waves-transactions/src/validators/issue.ts +41 -0
  854. data/js/node_modules/@waves/waves-transactions/src/validators/lease.ts +29 -0
  855. data/js/node_modules/@waves/waves-transactions/src/validators/mass-transfer.ts +47 -0
  856. data/js/node_modules/@waves/waves-transactions/src/validators/order.ts +68 -0
  857. data/js/node_modules/@waves/waves-transactions/src/validators/reissue.ts +31 -0
  858. data/js/node_modules/@waves/waves-transactions/src/validators/set-asset-script.ts +28 -0
  859. data/js/node_modules/@waves/waves-transactions/src/validators/set-script.ts +28 -0
  860. data/js/node_modules/@waves/waves-transactions/src/validators/sponsorship.ts +28 -0
  861. data/js/node_modules/@waves/waves-transactions/src/validators/transfer.ts +32 -0
  862. data/js/node_modules/@waves/waves-transactions/src/validators/update-asset-info.ts +32 -0
  863. data/js/node_modules/@waves/waves-transactions/src/validators/validators.ts +306 -0
  864. data/js/node_modules/@waves/waves-transactions/src/validators/wavesAuth.ts +15 -0
  865. data/js/node_modules/asynckit/LICENSE +21 -0
  866. data/js/node_modules/asynckit/README.md +233 -0
  867. data/js/node_modules/asynckit/bench.js +76 -0
  868. data/js/node_modules/asynckit/index.js +6 -0
  869. data/js/node_modules/asynckit/lib/abort.js +29 -0
  870. data/js/node_modules/asynckit/lib/async.js +34 -0
  871. data/js/node_modules/asynckit/lib/defer.js +26 -0
  872. data/js/node_modules/asynckit/lib/iterate.js +75 -0
  873. data/js/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  874. data/js/node_modules/asynckit/lib/readable_parallel.js +25 -0
  875. data/js/node_modules/asynckit/lib/readable_serial.js +25 -0
  876. data/js/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  877. data/js/node_modules/asynckit/lib/state.js +37 -0
  878. data/js/node_modules/asynckit/lib/streamify.js +141 -0
  879. data/js/node_modules/asynckit/lib/terminator.js +29 -0
  880. data/js/node_modules/asynckit/package.json +63 -0
  881. data/js/node_modules/asynckit/parallel.js +43 -0
  882. data/js/node_modules/asynckit/serial.js +17 -0
  883. data/js/node_modules/asynckit/serialOrdered.js +75 -0
  884. data/js/node_modules/asynckit/stream.js +21 -0
  885. data/js/node_modules/axios/CHANGELOG.md +413 -0
  886. data/js/node_modules/axios/LICENSE +19 -0
  887. data/js/node_modules/axios/README.md +709 -0
  888. data/js/node_modules/axios/UPGRADE_GUIDE.md +162 -0
  889. data/js/node_modules/axios/dist/axios.js +1715 -0
  890. data/js/node_modules/axios/dist/axios.map +1 -0
  891. data/js/node_modules/axios/dist/axios.min.js +3 -0
  892. data/js/node_modules/axios/dist/axios.min.map +1 -0
  893. data/js/node_modules/axios/index.d.ts +157 -0
  894. data/js/node_modules/axios/index.js +1 -0
  895. data/js/node_modules/axios/lib/adapters/README.md +37 -0
  896. data/js/node_modules/axios/lib/adapters/http.js +279 -0
  897. data/js/node_modules/axios/lib/adapters/xhr.js +180 -0
  898. data/js/node_modules/axios/lib/axios.js +53 -0
  899. data/js/node_modules/axios/lib/cancel/Cancel.js +19 -0
  900. data/js/node_modules/axios/lib/cancel/CancelToken.js +57 -0
  901. data/js/node_modules/axios/lib/cancel/isCancel.js +5 -0
  902. data/js/node_modules/axios/lib/core/Axios.js +94 -0
  903. data/js/node_modules/axios/lib/core/InterceptorManager.js +52 -0
  904. data/js/node_modules/axios/lib/core/README.md +7 -0
  905. data/js/node_modules/axios/lib/core/buildFullPath.js +20 -0
  906. data/js/node_modules/axios/lib/core/createError.js +18 -0
  907. data/js/node_modules/axios/lib/core/dispatchRequest.js +79 -0
  908. data/js/node_modules/axios/lib/core/enhanceError.js +42 -0
  909. data/js/node_modules/axios/lib/core/mergeConfig.js +73 -0
  910. data/js/node_modules/axios/lib/core/settle.js +25 -0
  911. data/js/node_modules/axios/lib/core/transformData.js +20 -0
  912. data/js/node_modules/axios/lib/defaults.js +97 -0
  913. data/js/node_modules/axios/lib/helpers/README.md +7 -0
  914. data/js/node_modules/axios/lib/helpers/bind.js +11 -0
  915. data/js/node_modules/axios/lib/helpers/buildURL.js +71 -0
  916. data/js/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  917. data/js/node_modules/axios/lib/helpers/cookies.js +53 -0
  918. data/js/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  919. data/js/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  920. data/js/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  921. data/js/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  922. data/js/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  923. data/js/node_modules/axios/lib/helpers/spread.js +27 -0
  924. data/js/node_modules/axios/lib/utils.js +344 -0
  925. data/js/node_modules/axios/package.json +84 -0
  926. data/js/node_modules/base64-js/LICENSE +21 -0
  927. data/js/node_modules/base64-js/README.md +34 -0
  928. data/js/node_modules/base64-js/base64js.min.js +1 -0
  929. data/js/node_modules/base64-js/index.d.ts +3 -0
  930. data/js/node_modules/base64-js/index.js +150 -0
  931. data/js/node_modules/base64-js/package.json +47 -0
  932. data/js/node_modules/bignumber.js/CHANGELOG.md +290 -0
  933. data/js/node_modules/bignumber.js/LICENCE.md +26 -0
  934. data/js/node_modules/bignumber.js/README.md +286 -0
  935. data/js/node_modules/bignumber.js/bignumber.d.ts +1831 -0
  936. data/js/node_modules/bignumber.js/bignumber.js +2926 -0
  937. data/js/node_modules/bignumber.js/bignumber.mjs +2889 -0
  938. data/js/node_modules/bignumber.js/doc/API.html +2249 -0
  939. data/js/node_modules/bignumber.js/package.json +50 -0
  940. data/js/node_modules/combined-stream/License +19 -0
  941. data/js/node_modules/combined-stream/Readme.md +138 -0
  942. data/js/node_modules/combined-stream/lib/combined_stream.js +208 -0
  943. data/js/node_modules/combined-stream/package.json +25 -0
  944. data/js/node_modules/combined-stream/yarn.lock +17 -0
  945. data/js/node_modules/debug/CHANGELOG.md +395 -0
  946. data/js/node_modules/debug/LICENSE +19 -0
  947. data/js/node_modules/debug/Makefile +58 -0
  948. data/js/node_modules/debug/README.md +368 -0
  949. data/js/node_modules/debug/karma.conf.js +70 -0
  950. data/js/node_modules/debug/node.js +1 -0
  951. data/js/node_modules/debug/package.json +43 -0
  952. data/js/node_modules/debug/src/browser.js +195 -0
  953. data/js/node_modules/debug/src/debug.js +225 -0
  954. data/js/node_modules/debug/src/index.js +10 -0
  955. data/js/node_modules/debug/src/node.js +186 -0
  956. data/js/node_modules/delayed-stream/License +19 -0
  957. data/js/node_modules/delayed-stream/Makefile +7 -0
  958. data/js/node_modules/delayed-stream/Readme.md +141 -0
  959. data/js/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  960. data/js/node_modules/delayed-stream/package.json +27 -0
  961. data/js/node_modules/follow-redirects/LICENSE +18 -0
  962. data/js/node_modules/follow-redirects/README.md +155 -0
  963. data/js/node_modules/follow-redirects/http.js +1 -0
  964. data/js/node_modules/follow-redirects/https.js +1 -0
  965. data/js/node_modules/follow-redirects/index.js +322 -0
  966. data/js/node_modules/follow-redirects/package.json +60 -0
  967. data/js/node_modules/form-data/License +19 -0
  968. data/js/node_modules/form-data/README.md.bak +356 -0
  969. data/js/node_modules/form-data/Readme.md +356 -0
  970. data/js/node_modules/form-data/index.d.ts +62 -0
  971. data/js/node_modules/form-data/lib/browser.js +2 -0
  972. data/js/node_modules/form-data/lib/form_data.js +498 -0
  973. data/js/node_modules/form-data/lib/populate.js +10 -0
  974. data/js/node_modules/form-data/package.json +68 -0
  975. data/js/node_modules/js-sha3/CHANGELOG.md +106 -0
  976. data/js/node_modules/js-sha3/LICENSE.txt +20 -0
  977. data/js/node_modules/js-sha3/README.md +241 -0
  978. data/js/node_modules/js-sha3/build/sha3.min.js +9 -0
  979. data/js/node_modules/js-sha3/index.d.ts +317 -0
  980. data/js/node_modules/js-sha3/package.json +45 -0
  981. data/js/node_modules/js-sha3/src/sha3.js +656 -0
  982. data/js/node_modules/long/LICENSE +202 -0
  983. data/js/node_modules/long/README.md +246 -0
  984. data/js/node_modules/long/dist/long.js +2 -0
  985. data/js/node_modules/long/dist/long.js.map +1 -0
  986. data/js/node_modules/long/index.js +1 -0
  987. data/js/node_modules/long/package.json +34 -0
  988. data/js/node_modules/long/src/long.js +1323 -0
  989. data/js/node_modules/mime-db/HISTORY.md +507 -0
  990. data/js/node_modules/mime-db/LICENSE +23 -0
  991. data/js/node_modules/mime-db/README.md +100 -0
  992. data/js/node_modules/mime-db/db.json +8519 -0
  993. data/js/node_modules/mime-db/index.js +12 -0
  994. data/js/node_modules/mime-db/package.json +60 -0
  995. data/js/node_modules/mime-types/HISTORY.md +397 -0
  996. data/js/node_modules/mime-types/LICENSE +23 -0
  997. data/js/node_modules/mime-types/README.md +113 -0
  998. data/js/node_modules/mime-types/index.js +188 -0
  999. data/js/node_modules/mime-types/package.json +44 -0
  1000. data/js/node_modules/ms/index.js +152 -0
  1001. data/js/node_modules/ms/license.md +21 -0
  1002. data/js/node_modules/ms/package.json +37 -0
  1003. data/js/node_modules/ms/readme.md +51 -0
  1004. data/js/node_modules/node-fetch/LICENSE.md +22 -0
  1005. data/js/node_modules/node-fetch/README.md +633 -0
  1006. data/js/node_modules/node-fetch/browser.js +25 -0
  1007. data/js/node_modules/node-fetch/lib/index.es.js +1781 -0
  1008. data/js/node_modules/node-fetch/lib/index.js +1790 -0
  1009. data/js/node_modules/node-fetch/lib/index.mjs +1779 -0
  1010. data/js/node_modules/node-fetch/package.json +89 -0
  1011. data/js/node_modules/node-forge/CHANGELOG.md +211 -0
  1012. data/js/node_modules/node-forge/LICENSE +331 -0
  1013. data/js/node_modules/node-forge/README.md +2097 -0
  1014. data/js/node_modules/node-forge/dist/forge.all.min.js +2 -0
  1015. data/js/node_modules/node-forge/dist/forge.all.min.js.map +1 -0
  1016. data/js/node_modules/node-forge/dist/forge.min.js +2 -0
  1017. data/js/node_modules/node-forge/dist/forge.min.js.map +1 -0
  1018. data/js/node_modules/node-forge/dist/prime.worker.min.js +2 -0
  1019. data/js/node_modules/node-forge/dist/prime.worker.min.js.map +1 -0
  1020. data/js/node_modules/node-forge/flash/README.md +48 -0
  1021. data/js/node_modules/node-forge/flash/package.json +28 -0
  1022. data/js/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
  1023. data/js/node_modules/node-forge/lib/aes.js +1091 -0
  1024. data/js/node_modules/node-forge/lib/aesCipherSuites.js +282 -0
  1025. data/js/node_modules/node-forge/lib/asn1.js +1408 -0
  1026. data/js/node_modules/node-forge/lib/baseN.js +186 -0
  1027. data/js/node_modules/node-forge/lib/cipher.js +230 -0
  1028. data/js/node_modules/node-forge/lib/cipherModes.js +987 -0
  1029. data/js/node_modules/node-forge/lib/debug.js +78 -0
  1030. data/js/node_modules/node-forge/lib/des.js +496 -0
  1031. data/js/node_modules/node-forge/lib/ed25519.js +996 -0
  1032. data/js/node_modules/node-forge/lib/forge.js +13 -0
  1033. data/js/node_modules/node-forge/lib/form.js +149 -0
  1034. data/js/node_modules/node-forge/lib/hmac.js +146 -0
  1035. data/js/node_modules/node-forge/lib/http.js +1364 -0
  1036. data/js/node_modules/node-forge/lib/index.all.js +16 -0
  1037. data/js/node_modules/node-forge/lib/index.js +35 -0
  1038. data/js/node_modules/node-forge/lib/jsbn.js +1264 -0
  1039. data/js/node_modules/node-forge/lib/kem.js +168 -0
  1040. data/js/node_modules/node-forge/lib/log.js +317 -0
  1041. data/js/node_modules/node-forge/lib/md.all.js +13 -0
  1042. data/js/node_modules/node-forge/lib/md.js +11 -0
  1043. data/js/node_modules/node-forge/lib/md5.js +289 -0
  1044. data/js/node_modules/node-forge/lib/mgf.js +12 -0
  1045. data/js/node_modules/node-forge/lib/mgf1.js +57 -0
  1046. data/js/node_modules/node-forge/lib/oids.js +163 -0
  1047. data/js/node_modules/node-forge/lib/pbe.js +1023 -0
  1048. data/js/node_modules/node-forge/lib/pbkdf2.js +211 -0
  1049. data/js/node_modules/node-forge/lib/pem.js +230 -0
  1050. data/js/node_modules/node-forge/lib/pkcs1.js +276 -0
  1051. data/js/node_modules/node-forge/lib/pkcs12.js +1074 -0
  1052. data/js/node_modules/node-forge/lib/pkcs7.js +1257 -0
  1053. data/js/node_modules/node-forge/lib/pkcs7asn1.js +409 -0
  1054. data/js/node_modules/node-forge/lib/pki.js +102 -0
  1055. data/js/node_modules/node-forge/lib/prime.js +297 -0
  1056. data/js/node_modules/node-forge/lib/prime.worker.js +168 -0
  1057. data/js/node_modules/node-forge/lib/prng.js +419 -0
  1058. data/js/node_modules/node-forge/lib/pss.js +241 -0
  1059. data/js/node_modules/node-forge/lib/random.js +191 -0
  1060. data/js/node_modules/node-forge/lib/rc2.js +410 -0
  1061. data/js/node_modules/node-forge/lib/rsa.js +1858 -0
  1062. data/js/node_modules/node-forge/lib/sha1.js +319 -0
  1063. data/js/node_modules/node-forge/lib/sha256.js +327 -0
  1064. data/js/node_modules/node-forge/lib/sha512.js +561 -0
  1065. data/js/node_modules/node-forge/lib/socket.js +287 -0
  1066. data/js/node_modules/node-forge/lib/ssh.js +236 -0
  1067. data/js/node_modules/node-forge/lib/task.js +725 -0
  1068. data/js/node_modules/node-forge/lib/tls.js +4282 -0
  1069. data/js/node_modules/node-forge/lib/tlssocket.js +249 -0
  1070. data/js/node_modules/node-forge/lib/util.js +2993 -0
  1071. data/js/node_modules/node-forge/lib/x509.js +3333 -0
  1072. data/js/node_modules/node-forge/lib/xhr.js +736 -0
  1073. data/js/node_modules/node-forge/package.json +120 -0
  1074. data/js/node_modules/protobufjs/CHANGELOG.md +1027 -0
  1075. data/js/node_modules/protobufjs/LICENSE +39 -0
  1076. data/js/node_modules/protobufjs/README.md +905 -0
  1077. data/js/node_modules/protobufjs/bin/pbjs +6 -0
  1078. data/js/node_modules/protobufjs/bin/pbts +6 -0
  1079. data/js/node_modules/protobufjs/cli/LICENSE +33 -0
  1080. data/js/node_modules/protobufjs/cli/README.md +174 -0
  1081. data/js/node_modules/protobufjs/cli/bin/pbjs +6 -0
  1082. data/js/node_modules/protobufjs/cli/bin/pbts +6 -0
  1083. data/js/node_modules/protobufjs/cli/index.d.ts +3 -0
  1084. data/js/node_modules/protobufjs/cli/index.js +3 -0
  1085. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +21 -0
  1086. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +23 -0
  1087. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/plugin.js +21 -0
  1088. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc/publish.js +705 -0
  1089. data/js/node_modules/protobufjs/cli/lib/tsd-jsdoc.json +18 -0
  1090. data/js/node_modules/protobufjs/cli/package.json +8 -0
  1091. data/js/node_modules/protobufjs/cli/package.standalone.json +32 -0
  1092. data/js/node_modules/protobufjs/cli/pbjs.d.ts +9 -0
  1093. data/js/node_modules/protobufjs/cli/pbjs.js +330 -0
  1094. data/js/node_modules/protobufjs/cli/pbts.d.ts +9 -0
  1095. data/js/node_modules/protobufjs/cli/pbts.js +197 -0
  1096. data/js/node_modules/protobufjs/cli/targets/json-module.js +38 -0
  1097. data/js/node_modules/protobufjs/cli/targets/json.js +8 -0
  1098. data/js/node_modules/protobufjs/cli/targets/proto.js +326 -0
  1099. data/js/node_modules/protobufjs/cli/targets/proto2.js +10 -0
  1100. data/js/node_modules/protobufjs/cli/targets/proto3.js +10 -0
  1101. data/js/node_modules/protobufjs/cli/targets/static-module.js +29 -0
  1102. data/js/node_modules/protobufjs/cli/targets/static.js +711 -0
  1103. data/js/node_modules/protobufjs/cli/util.js +183 -0
  1104. data/js/node_modules/protobufjs/cli/wrappers/amd.js +7 -0
  1105. data/js/node_modules/protobufjs/cli/wrappers/closure.js +7 -0
  1106. data/js/node_modules/protobufjs/cli/wrappers/commonjs.js +7 -0
  1107. data/js/node_modules/protobufjs/cli/wrappers/default.js +15 -0
  1108. data/js/node_modules/protobufjs/cli/wrappers/es6.js +5 -0
  1109. data/js/node_modules/protobufjs/dist/README.md +31 -0
  1110. data/js/node_modules/protobufjs/dist/light/README.md +31 -0
  1111. data/js/node_modules/protobufjs/dist/light/protobuf.js +7322 -0
  1112. data/js/node_modules/protobufjs/dist/light/protobuf.js.map +1 -0
  1113. data/js/node_modules/protobufjs/dist/light/protobuf.min.js +8 -0
  1114. data/js/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -0
  1115. data/js/node_modules/protobufjs/dist/minimal/README.md +31 -0
  1116. data/js/node_modules/protobufjs/dist/minimal/protobuf.js +2714 -0
  1117. data/js/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -0
  1118. data/js/node_modules/protobufjs/dist/minimal/protobuf.min.js +8 -0
  1119. data/js/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -0
  1120. data/js/node_modules/protobufjs/dist/protobuf.js +8964 -0
  1121. data/js/node_modules/protobufjs/dist/protobuf.js.map +1 -0
  1122. data/js/node_modules/protobufjs/dist/protobuf.min.js +8 -0
  1123. data/js/node_modules/protobufjs/dist/protobuf.min.js.map +1 -0
  1124. data/js/node_modules/protobufjs/ext/debug/README.md +4 -0
  1125. data/js/node_modules/protobufjs/ext/debug/index.js +71 -0
  1126. data/js/node_modules/protobufjs/ext/descriptor/README.md +72 -0
  1127. data/js/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -0
  1128. data/js/node_modules/protobufjs/ext/descriptor/index.js +1052 -0
  1129. data/js/node_modules/protobufjs/ext/descriptor/test.js +54 -0
  1130. data/js/node_modules/protobufjs/google/LICENSE +27 -0
  1131. data/js/node_modules/protobufjs/google/README.md +1 -0
  1132. data/js/node_modules/protobufjs/google/api/annotations.json +83 -0
  1133. data/js/node_modules/protobufjs/google/api/annotations.proto +11 -0
  1134. data/js/node_modules/protobufjs/google/api/http.json +86 -0
  1135. data/js/node_modules/protobufjs/google/api/http.proto +31 -0
  1136. data/js/node_modules/protobufjs/google/protobuf/api.json +118 -0
  1137. data/js/node_modules/protobufjs/google/protobuf/api.proto +34 -0
  1138. data/js/node_modules/protobufjs/google/protobuf/descriptor.json +739 -0
  1139. data/js/node_modules/protobufjs/google/protobuf/descriptor.proto +286 -0
  1140. data/js/node_modules/protobufjs/google/protobuf/source_context.json +20 -0
  1141. data/js/node_modules/protobufjs/google/protobuf/source_context.proto +7 -0
  1142. data/js/node_modules/protobufjs/google/protobuf/type.json +202 -0
  1143. data/js/node_modules/protobufjs/google/protobuf/type.proto +89 -0
  1144. data/js/node_modules/protobufjs/index.d.ts +2739 -0
  1145. data/js/node_modules/protobufjs/index.js +4 -0
  1146. data/js/node_modules/protobufjs/light.d.ts +2 -0
  1147. data/js/node_modules/protobufjs/light.js +4 -0
  1148. data/js/node_modules/protobufjs/minimal.d.ts +2 -0
  1149. data/js/node_modules/protobufjs/minimal.js +4 -0
  1150. data/js/node_modules/protobufjs/package-lock.json +7870 -0
  1151. data/js/node_modules/protobufjs/package.json +122 -0
  1152. data/js/node_modules/protobufjs/scripts/changelog.js +150 -0
  1153. data/js/node_modules/protobufjs/scripts/postinstall.js +35 -0
  1154. data/js/node_modules/protobufjs/src/common.js +399 -0
  1155. data/js/node_modules/protobufjs/src/converter.js +293 -0
  1156. data/js/node_modules/protobufjs/src/decoder.js +128 -0
  1157. data/js/node_modules/protobufjs/src/encoder.js +100 -0
  1158. data/js/node_modules/protobufjs/src/enum.js +181 -0
  1159. data/js/node_modules/protobufjs/src/field.js +374 -0
  1160. data/js/node_modules/protobufjs/src/index-light.js +104 -0
  1161. data/js/node_modules/protobufjs/src/index-minimal.js +36 -0
  1162. data/js/node_modules/protobufjs/src/index.js +12 -0
  1163. data/js/node_modules/protobufjs/src/mapfield.js +126 -0
  1164. data/js/node_modules/protobufjs/src/message.js +139 -0
  1165. data/js/node_modules/protobufjs/src/method.js +160 -0
  1166. data/js/node_modules/protobufjs/src/namespace.js +434 -0
  1167. data/js/node_modules/protobufjs/src/object.js +243 -0
  1168. data/js/node_modules/protobufjs/src/oneof.js +203 -0
  1169. data/js/node_modules/protobufjs/src/parse.js +820 -0
  1170. data/js/node_modules/protobufjs/src/reader.js +411 -0
  1171. data/js/node_modules/protobufjs/src/reader_buffer.js +51 -0
  1172. data/js/node_modules/protobufjs/src/root.js +363 -0
  1173. data/js/node_modules/protobufjs/src/roots.js +18 -0
  1174. data/js/node_modules/protobufjs/src/rpc/service.js +142 -0
  1175. data/js/node_modules/protobufjs/src/rpc.js +36 -0
  1176. data/js/node_modules/protobufjs/src/service.js +167 -0
  1177. data/js/node_modules/protobufjs/src/tokenize.js +403 -0
  1178. data/js/node_modules/protobufjs/src/type.js +589 -0
  1179. data/js/node_modules/protobufjs/src/types.js +196 -0
  1180. data/js/node_modules/protobufjs/src/typescript.jsdoc +15 -0
  1181. data/js/node_modules/protobufjs/src/util/longbits.js +200 -0
  1182. data/js/node_modules/protobufjs/src/util/minimal.js +421 -0
  1183. data/js/node_modules/protobufjs/src/util.js +212 -0
  1184. data/js/node_modules/protobufjs/src/verifier.js +177 -0
  1185. data/js/node_modules/protobufjs/src/wrappers.js +102 -0
  1186. data/js/node_modules/protobufjs/src/writer.js +465 -0
  1187. data/js/node_modules/protobufjs/src/writer_buffer.js +85 -0
  1188. data/js/node_modules/protobufjs/tsconfig.json +7 -0
  1189. data/js/node_modules/tr46/index.js +193 -0
  1190. data/js/node_modules/tr46/lib/mappingTable.json +1 -0
  1191. data/js/node_modules/tr46/package.json +31 -0
  1192. data/js/node_modules/typed-ts-events/dist/EventEmitter.d.ts +23 -0
  1193. data/js/node_modules/typed-ts-events/dist/events.js +145 -0
  1194. data/js/node_modules/typed-ts-events/dist/events.js.map +1 -0
  1195. data/js/node_modules/typed-ts-events/dist/events.min.js +2 -0
  1196. data/js/node_modules/typed-ts-events/dist/events.min.js.map +1 -0
  1197. data/js/node_modules/typed-ts-events/dist/index.d.ts +3 -0
  1198. data/js/node_modules/typed-ts-events/package.json +64 -0
  1199. data/js/node_modules/typed-ts-events/readme.md +77 -0
  1200. data/js/node_modules/webidl-conversions/LICENSE.md +12 -0
  1201. data/js/node_modules/webidl-conversions/README.md +53 -0
  1202. data/js/node_modules/webidl-conversions/lib/index.js +189 -0
  1203. data/js/node_modules/webidl-conversions/package.json +23 -0
  1204. data/js/node_modules/whatwg-url/LICENSE.txt +21 -0
  1205. data/js/node_modules/whatwg-url/README.md +67 -0
  1206. data/js/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  1207. data/js/node_modules/whatwg-url/lib/URL.js +196 -0
  1208. data/js/node_modules/whatwg-url/lib/public-api.js +11 -0
  1209. data/js/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  1210. data/js/node_modules/whatwg-url/lib/utils.js +20 -0
  1211. data/js/node_modules/whatwg-url/package.json +32 -0
  1212. data/js/package-lock.json +706 -0
  1213. data/js/package.json +15 -0
  1214. data/js/worker.js +109 -0
  1215. data/js/yarn.lock +285 -0
  1216. data/lib/waves_lib/map.rb +211 -0
  1217. data/lib/waves_lib/root_wrapper.rb +85 -0
  1218. data/lib/waves_lib/version.rb +6 -0
  1219. data/lib/waves_lib/wrapped_buffer.rb +26 -0
  1220. data/lib/waves_lib/wrapper.rb +82 -0
  1221. data/lib/waves_lib.rb +10 -0
  1222. metadata +1264 -0
@@ -0,0 +1,1383 @@
1
+ /**
2
+ * The `node:test` module facilitates the creation of JavaScript tests.
3
+ * To access it:
4
+ *
5
+ * ```js
6
+ * import test from 'node:test';
7
+ * ```
8
+ *
9
+ * This module is only available under the `node:` scheme. The following will not
10
+ * work:
11
+ *
12
+ * ```js
13
+ * import test from 'test';
14
+ * ```
15
+ *
16
+ * Tests created via the `test` module consist of a single function that is
17
+ * processed in one of three ways:
18
+ *
19
+ * 1. A synchronous function that is considered failing if it throws an exception,
20
+ * and is considered passing otherwise.
21
+ * 2. A function that returns a `Promise` that is considered failing if the`Promise` rejects, and is considered passing if the `Promise` resolves.
22
+ * 3. A function that receives a callback function. If the callback receives any
23
+ * truthy value as its first argument, the test is considered failing. If a
24
+ * falsy value is passed as the first argument to the callback, the test is
25
+ * considered passing. If the test function receives a callback function and
26
+ * also returns a `Promise`, the test will fail.
27
+ *
28
+ * The following example illustrates how tests are written using the`test` module.
29
+ *
30
+ * ```js
31
+ * test('synchronous passing test', (t) => {
32
+ * // This test passes because it does not throw an exception.
33
+ * assert.strictEqual(1, 1);
34
+ * });
35
+ *
36
+ * test('synchronous failing test', (t) => {
37
+ * // This test fails because it throws an exception.
38
+ * assert.strictEqual(1, 2);
39
+ * });
40
+ *
41
+ * test('asynchronous passing test', async (t) => {
42
+ * // This test passes because the Promise returned by the async
43
+ * // function is not rejected.
44
+ * assert.strictEqual(1, 1);
45
+ * });
46
+ *
47
+ * test('asynchronous failing test', async (t) => {
48
+ * // This test fails because the Promise returned by the async
49
+ * // function is rejected.
50
+ * assert.strictEqual(1, 2);
51
+ * });
52
+ *
53
+ * test('failing test using Promises', (t) => {
54
+ * // Promises can be used directly as well.
55
+ * return new Promise((resolve, reject) => {
56
+ * setImmediate(() => {
57
+ * reject(new Error('this will cause the test to fail'));
58
+ * });
59
+ * });
60
+ * });
61
+ *
62
+ * test('callback passing test', (t, done) => {
63
+ * // done() is the callback function. When the setImmediate() runs, it invokes
64
+ * // done() with no arguments.
65
+ * setImmediate(done);
66
+ * });
67
+ *
68
+ * test('callback failing test', (t, done) => {
69
+ * // When the setImmediate() runs, done() is invoked with an Error object and
70
+ * // the test fails.
71
+ * setImmediate(() => {
72
+ * done(new Error('callback failure'));
73
+ * });
74
+ * });
75
+ * ```
76
+ *
77
+ * If any tests fail, the process exit code is set to `1`.
78
+ * @since v18.0.0, v16.17.0
79
+ * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test.js)
80
+ */
81
+ declare module 'node:test' {
82
+ import { Readable } from 'node:stream';
83
+ /**
84
+ * ```js
85
+ * import { tap } from 'node:test/reporters';
86
+ * import process from 'node:process';
87
+ *
88
+ * run({ files: [path.resolve('./tests/test.js')] })
89
+ * .compose(tap)
90
+ * .pipe(process.stdout);
91
+ * ```
92
+ * @since v18.9.0, v16.19.0
93
+ * @param options Configuration options for running tests. The following properties are supported:
94
+ */
95
+ function run(options?: RunOptions): TestsStream;
96
+ /**
97
+ * The `test()` function is the value imported from the `test` module. Each
98
+ * invocation of this function results in reporting the test to the `TestsStream`.
99
+ *
100
+ * The `TestContext` object passed to the `fn` argument can be used to perform
101
+ * actions related to the current test. Examples include skipping the test, adding
102
+ * additional diagnostic information, or creating subtests.
103
+ *
104
+ * `test()` returns a `Promise` that resolves once the test completes.
105
+ * if `test()` is called within a `describe()` block, it resolve immediately.
106
+ * The return value can usually be discarded for top level tests.
107
+ * However, the return value from subtests should be used to prevent the parent
108
+ * test from finishing first and cancelling the subtest
109
+ * as shown in the following example.
110
+ *
111
+ * ```js
112
+ * test('top level test', async (t) => {
113
+ * // The setTimeout() in the following subtest would cause it to outlive its
114
+ * // parent test if 'await' is removed on the next line. Once the parent test
115
+ * // completes, it will cancel any outstanding subtests.
116
+ * await t.test('longer running subtest', async (t) => {
117
+ * return new Promise((resolve, reject) => {
118
+ * setTimeout(resolve, 1000);
119
+ * });
120
+ * });
121
+ * });
122
+ * ```
123
+ *
124
+ * The `timeout` option can be used to fail the test if it takes longer than`timeout` milliseconds to complete. However, it is not a reliable mechanism for
125
+ * canceling tests because a running test might block the application thread and
126
+ * thus prevent the scheduled cancellation.
127
+ * @since v18.0.0, v16.17.0
128
+ * @param [name='The name'] The name of the test, which is displayed when reporting test results.
129
+ * @param options Configuration options for the test. The following properties are supported:
130
+ * @param [fn='A no-op function'] The function under test. The first argument to this function is a {@link TestContext} object. If the test uses callbacks, the callback function is passed as the
131
+ * second argument.
132
+ * @return Resolved with `undefined` once the test completes, or immediately if the test runs within {@link describe}.
133
+ */
134
+ function test(name?: string, fn?: TestFn): Promise<void>;
135
+ function test(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
136
+ function test(options?: TestOptions, fn?: TestFn): Promise<void>;
137
+ function test(fn?: TestFn): Promise<void>;
138
+ namespace test {
139
+ export {
140
+ after,
141
+ afterEach,
142
+ before,
143
+ beforeEach,
144
+ describe,
145
+ it,
146
+ run,
147
+ mock,
148
+ test,
149
+ skip,
150
+ todo,
151
+ only
152
+ };
153
+ }
154
+ /**
155
+ * The `describe()` function imported from the `node:test` module. Each
156
+ * invocation of this function results in the creation of a Subtest.
157
+ * After invocation of top level `describe` functions,
158
+ * all top level tests and suites will execute.
159
+ * @param [name='The name'] The name of the suite, which is displayed when reporting test results.
160
+ * @param options Configuration options for the suite. supports the same options as `test([name][, options][, fn])`.
161
+ * @param [fn='A no-op function'] The function under suite declaring all subtests and subsuites. The first argument to this function is a {@link SuiteContext} object.
162
+ * @return Immediately fulfilled with `undefined`.
163
+ */
164
+ function describe(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
165
+ function describe(name?: string, fn?: SuiteFn): Promise<void>;
166
+ function describe(options?: TestOptions, fn?: SuiteFn): Promise<void>;
167
+ function describe(fn?: SuiteFn): Promise<void>;
168
+ namespace describe {
169
+ /**
170
+ * Shorthand for skipping a suite, same as `describe([name], { skip: true }[, fn])`.
171
+ */
172
+ function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
173
+ function skip(name?: string, fn?: SuiteFn): Promise<void>;
174
+ function skip(options?: TestOptions, fn?: SuiteFn): Promise<void>;
175
+ function skip(fn?: SuiteFn): Promise<void>;
176
+ /**
177
+ * Shorthand for marking a suite as `TODO`, same as `describe([name], { todo: true }[, fn])`.
178
+ */
179
+ function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
180
+ function todo(name?: string, fn?: SuiteFn): Promise<void>;
181
+ function todo(options?: TestOptions, fn?: SuiteFn): Promise<void>;
182
+ function todo(fn?: SuiteFn): Promise<void>;
183
+ /**
184
+ * Shorthand for marking a suite as `only`, same as `describe([name], { only: true }[, fn])`.
185
+ * @since v18.15.0
186
+ */
187
+ function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
188
+ function only(name?: string, fn?: SuiteFn): Promise<void>;
189
+ function only(options?: TestOptions, fn?: SuiteFn): Promise<void>;
190
+ function only(fn?: SuiteFn): Promise<void>;
191
+ }
192
+ /**
193
+ * Shorthand for `test()`.
194
+ *
195
+ * The `it()` function is imported from the `node:test` module.
196
+ * @since v18.6.0, v16.17.0
197
+ */
198
+ function it(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
199
+ function it(name?: string, fn?: TestFn): Promise<void>;
200
+ function it(options?: TestOptions, fn?: TestFn): Promise<void>;
201
+ function it(fn?: TestFn): Promise<void>;
202
+ namespace it {
203
+ /**
204
+ * Shorthand for skipping a test, same as `it([name], { skip: true }[, fn])`.
205
+ */
206
+ function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
207
+ function skip(name?: string, fn?: TestFn): Promise<void>;
208
+ function skip(options?: TestOptions, fn?: TestFn): Promise<void>;
209
+ function skip(fn?: TestFn): Promise<void>;
210
+ /**
211
+ * Shorthand for marking a test as `TODO`, same as `it([name], { todo: true }[, fn])`.
212
+ */
213
+ function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
214
+ function todo(name?: string, fn?: TestFn): Promise<void>;
215
+ function todo(options?: TestOptions, fn?: TestFn): Promise<void>;
216
+ function todo(fn?: TestFn): Promise<void>;
217
+ /**
218
+ * Shorthand for marking a test as `only`, same as `it([name], { only: true }[, fn])`.
219
+ * @since v18.15.0
220
+ */
221
+ function only(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
222
+ function only(name?: string, fn?: TestFn): Promise<void>;
223
+ function only(options?: TestOptions, fn?: TestFn): Promise<void>;
224
+ function only(fn?: TestFn): Promise<void>;
225
+ }
226
+ /**
227
+ * Shorthand for skipping a test, same as `test([name], { skip: true }[, fn])`.
228
+ * @since v20.2.0
229
+ */
230
+ function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
231
+ function skip(name?: string, fn?: TestFn): Promise<void>;
232
+ function skip(options?: TestOptions, fn?: TestFn): Promise<void>;
233
+ function skip(fn?: TestFn): Promise<void>;
234
+ /**
235
+ * Shorthand for marking a test as `TODO`, same as `test([name], { todo: true }[, fn])`.
236
+ * @since v20.2.0
237
+ */
238
+ function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
239
+ function todo(name?: string, fn?: TestFn): Promise<void>;
240
+ function todo(options?: TestOptions, fn?: TestFn): Promise<void>;
241
+ function todo(fn?: TestFn): Promise<void>;
242
+ /**
243
+ * Shorthand for marking a test as `only`, same as `test([name], { only: true }[, fn])`.
244
+ * @since v20.2.0
245
+ */
246
+ function only(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
247
+ function only(name?: string, fn?: TestFn): Promise<void>;
248
+ function only(options?: TestOptions, fn?: TestFn): Promise<void>;
249
+ function only(fn?: TestFn): Promise<void>;
250
+ /**
251
+ * The type of a function under test. The first argument to this function is a
252
+ * {@link TestContext} object. If the test uses callbacks, the callback function is passed as
253
+ * the second argument.
254
+ */
255
+ type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>;
256
+ /**
257
+ * The type of a function under Suite.
258
+ * If the test uses callbacks, the callback function is passed as an argument
259
+ */
260
+ type SuiteFn = (s: SuiteContext) => void | Promise<void>;
261
+ interface RunOptions {
262
+ /**
263
+ * If a number is provided, then that many files would run in parallel.
264
+ * If truthy, it would run (number of cpu cores - 1) files in parallel.
265
+ * If falsy, it would only run one file at a time.
266
+ * If unspecified, subtests inherit this value from their parent.
267
+ * @default true
268
+ */
269
+ concurrency?: number | boolean | undefined;
270
+ /**
271
+ * An array containing the list of files to run.
272
+ * If unspecified, the test runner execution model will be used.
273
+ */
274
+ files?: readonly string[] | undefined;
275
+ /**
276
+ * Allows aborting an in-progress test execution.
277
+ * @default undefined
278
+ */
279
+ signal?: AbortSignal | undefined;
280
+ /**
281
+ * A number of milliseconds the test will fail after.
282
+ * If unspecified, subtests inherit this value from their parent.
283
+ * @default Infinity
284
+ */
285
+ timeout?: number | undefined;
286
+ /**
287
+ * Sets inspector port of test child process.
288
+ * If a nullish value is provided, each process gets its own port,
289
+ * incremented from the primary's `process.debugPort`.
290
+ */
291
+ inspectPort?: number | (() => number) | undefined;
292
+ /**
293
+ * That can be used to only run tests whose name matches the provided pattern.
294
+ * Test name patterns are interpreted as JavaScript regular expressions.
295
+ * For each test that is executed, any corresponding test hooks, such as `beforeEach()`, are also run.
296
+ */
297
+ testNamePatterns?: string | RegExp | string[] | RegExp[];
298
+ }
299
+ /**
300
+ * A successful call to `run()` method will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.`TestsStream` will emit events, in the
301
+ * order of the tests definition
302
+ * @since v18.9.0, v16.19.0
303
+ */
304
+ class TestsStream extends Readable implements NodeJS.ReadableStream {
305
+ addListener(event: 'test:diagnostic', listener: (data: DiagnosticData) => void): this;
306
+ addListener(event: 'test:fail', listener: (data: TestFail) => void): this;
307
+ addListener(event: 'test:pass', listener: (data: TestPass) => void): this;
308
+ addListener(event: 'test:plan', listener: (data: TestPlan) => void): this;
309
+ addListener(event: 'test:start', listener: (data: TestStart) => void): this;
310
+ addListener(event: 'test:stderr', listener: (data: TestStderr) => void): this;
311
+ addListener(event: 'test:stdout', listener: (data: TestStdout) => void): this;
312
+ addListener(event: string, listener: (...args: any[]) => void): this;
313
+ emit(event: 'test:diagnostic', data: DiagnosticData): boolean;
314
+ emit(event: 'test:fail', data: TestFail): boolean;
315
+ emit(event: 'test:pass', data: TestPass): boolean;
316
+ emit(event: 'test:plan', data: TestPlan): boolean;
317
+ emit(event: 'test:start', data: TestStart): boolean;
318
+ emit(event: 'test:stderr', data: TestStderr): boolean;
319
+ emit(event: 'test:stdout', data: TestStdout): boolean;
320
+ emit(event: string | symbol, ...args: any[]): boolean;
321
+ on(event: 'test:diagnostic', listener: (data: DiagnosticData) => void): this;
322
+ on(event: 'test:fail', listener: (data: TestFail) => void): this;
323
+ on(event: 'test:pass', listener: (data: TestPass) => void): this;
324
+ on(event: 'test:plan', listener: (data: TestPlan) => void): this;
325
+ on(event: 'test:start', listener: (data: TestStart) => void): this;
326
+ on(event: 'test:stderr', listener: (data: TestStderr) => void): this;
327
+ on(event: 'test:stdout', listener: (data: TestStdout) => void): this;
328
+ on(event: string, listener: (...args: any[]) => void): this;
329
+ once(event: 'test:diagnostic', listener: (data: DiagnosticData) => void): this;
330
+ once(event: 'test:fail', listener: (data: TestFail) => void): this;
331
+ once(event: 'test:pass', listener: (data: TestPass) => void): this;
332
+ once(event: 'test:plan', listener: (data: TestPlan) => void): this;
333
+ once(event: 'test:start', listener: (data: TestStart) => void): this;
334
+ once(event: 'test:stderr', listener: (data: TestStderr) => void): this;
335
+ once(event: 'test:stdout', listener: (data: TestStdout) => void): this;
336
+ once(event: string, listener: (...args: any[]) => void): this;
337
+ prependListener(event: 'test:diagnostic', listener: (data: DiagnosticData) => void): this;
338
+ prependListener(event: 'test:fail', listener: (data: TestFail) => void): this;
339
+ prependListener(event: 'test:pass', listener: (data: TestPass) => void): this;
340
+ prependListener(event: 'test:plan', listener: (data: TestPlan) => void): this;
341
+ prependListener(event: 'test:start', listener: (data: TestStart) => void): this;
342
+ prependListener(event: 'test:stderr', listener: (data: TestStderr) => void): this;
343
+ prependListener(event: 'test:stdout', listener: (data: TestStdout) => void): this;
344
+ prependListener(event: string, listener: (...args: any[]) => void): this;
345
+ prependOnceListener(event: 'test:diagnostic', listener: (data: DiagnosticData) => void): this;
346
+ prependOnceListener(event: 'test:fail', listener: (data: TestFail) => void): this;
347
+ prependOnceListener(event: 'test:pass', listener: (data: TestPass) => void): this;
348
+ prependOnceListener(event: 'test:plan', listener: (data: TestPlan) => void): this;
349
+ prependOnceListener(event: 'test:start', listener: (data: TestStart) => void): this;
350
+ prependOnceListener(event: 'test:stderr', listener: (data: TestStderr) => void): this;
351
+ prependOnceListener(event: 'test:stdout', listener: (data: TestStdout) => void): this;
352
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
353
+ }
354
+ /**
355
+ * An instance of `TestContext` is passed to each test function in order to
356
+ * interact with the test runner. However, the `TestContext` constructor is not
357
+ * exposed as part of the API.
358
+ * @since v18.0.0, v16.17.0
359
+ */
360
+ class TestContext {
361
+ /**
362
+ * This function is used to create a hook running before subtest of the current test.
363
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
364
+ * the second argument. Default: A no-op function.
365
+ * @param options Configuration options for the hook.
366
+ * @since v20.1.0
367
+ */
368
+ before: typeof before;
369
+ /**
370
+ * This function is used to create a hook running before each subtest of the current test.
371
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
372
+ * the second argument. Default: A no-op function.
373
+ * @param options Configuration options for the hook.
374
+ * @since v18.8.0
375
+ */
376
+ beforeEach: typeof beforeEach;
377
+ /**
378
+ * This function is used to create a hook that runs after the current test finishes.
379
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
380
+ * the second argument. Default: A no-op function.
381
+ * @param options Configuration options for the hook.
382
+ * @since v18.13.0
383
+ */
384
+ after: typeof after;
385
+ /**
386
+ * This function is used to create a hook running after each subtest of the current test.
387
+ * @param fn The hook function. If the hook uses callbacks, the callback function is passed as
388
+ * the second argument. Default: A no-op function.
389
+ * @param options Configuration options for the hook.
390
+ * @since v18.8.0
391
+ */
392
+ afterEach: typeof afterEach;
393
+ /**
394
+ * This function is used to write diagnostics to the output. Any diagnostic
395
+ * information is included at the end of the test's results. This function does
396
+ * not return a value.
397
+ *
398
+ * ```js
399
+ * test('top level test', (t) => {
400
+ * t.diagnostic('A diagnostic message');
401
+ * });
402
+ * ```
403
+ * @since v18.0.0, v16.17.0
404
+ * @param message Message to be reported.
405
+ */
406
+ diagnostic(message: string): void;
407
+ /**
408
+ * The name of the test.
409
+ * @since v18.8.0, v16.18.0
410
+ */
411
+ readonly name: string;
412
+ /**
413
+ * If `shouldRunOnlyTests` is truthy, the test context will only run tests that
414
+ * have the `only` option set. Otherwise, all tests are run. If Node.js was not
415
+ * started with the `--test-only` command-line option, this function is a
416
+ * no-op.
417
+ *
418
+ * ```js
419
+ * test('top level test', (t) => {
420
+ * // The test context can be set to run subtests with the 'only' option.
421
+ * t.runOnly(true);
422
+ * return Promise.all([
423
+ * t.test('this subtest is now skipped'),
424
+ * t.test('this subtest is run', { only: true }),
425
+ * ]);
426
+ * });
427
+ * ```
428
+ * @since v18.0.0, v16.17.0
429
+ * @param shouldRunOnlyTests Whether or not to run `only` tests.
430
+ */
431
+ runOnly(shouldRunOnlyTests: boolean): void;
432
+ /**
433
+ * ```js
434
+ * test('top level test', async (t) => {
435
+ * await fetch('some/uri', { signal: t.signal });
436
+ * });
437
+ * ```
438
+ * @since v18.7.0, v16.17.0
439
+ */
440
+ readonly signal: AbortSignal;
441
+ /**
442
+ * This function causes the test's output to indicate the test as skipped. If`message` is provided, it is included in the output. Calling `skip()` does
443
+ * not terminate execution of the test function. This function does not return a
444
+ * value.
445
+ *
446
+ * ```js
447
+ * test('top level test', (t) => {
448
+ * // Make sure to return here as well if the test contains additional logic.
449
+ * t.skip('this is skipped');
450
+ * });
451
+ * ```
452
+ * @since v18.0.0, v16.17.0
453
+ * @param message Optional skip message.
454
+ */
455
+ skip(message?: string): void;
456
+ /**
457
+ * This function adds a `TODO` directive to the test's output. If `message` is
458
+ * provided, it is included in the output. Calling `todo()` does not terminate
459
+ * execution of the test function. This function does not return a value.
460
+ *
461
+ * ```js
462
+ * test('top level test', (t) => {
463
+ * // This test is marked as `TODO`
464
+ * t.todo('this is a todo');
465
+ * });
466
+ * ```
467
+ * @since v18.0.0, v16.17.0
468
+ * @param message Optional `TODO` message.
469
+ */
470
+ todo(message?: string): void;
471
+ /**
472
+ * This function is used to create subtests under the current test. This function behaves in
473
+ * the same fashion as the top level {@link test} function.
474
+ * @since v18.0.0
475
+ * @param name The name of the test, which is displayed when reporting test results.
476
+ * Default: The `name` property of fn, or `'<anonymous>'` if `fn` does not have a name.
477
+ * @param options Configuration options for the test
478
+ * @param fn The function under test. This first argument to this function is a
479
+ * {@link TestContext} object. If the test uses callbacks, the callback function is
480
+ * passed as the second argument. Default: A no-op function.
481
+ * @returns A {@link Promise} resolved with `undefined` once the test completes.
482
+ */
483
+ test: typeof test;
484
+ /**
485
+ * Each test provides its own MockTracker instance.
486
+ */
487
+ readonly mock: MockTracker;
488
+ }
489
+ /**
490
+ * An instance of `SuiteContext` is passed to each suite function in order to
491
+ * interact with the test runner. However, the `SuiteContext` constructor is not
492
+ * exposed as part of the API.
493
+ * @since v18.7.0, v16.17.0
494
+ */
495
+ class SuiteContext {
496
+ /**
497
+ * The name of the suite.
498
+ * @since v18.8.0, v16.18.0
499
+ */
500
+ readonly name: string;
501
+ /**
502
+ * Can be used to abort test subtasks when the test has been aborted.
503
+ * @since v18.7.0, v16.17.0
504
+ */
505
+ readonly signal: AbortSignal;
506
+ }
507
+ interface TestOptions {
508
+ /**
509
+ * If a number is provided, then that many tests would run in parallel.
510
+ * If truthy, it would run (number of cpu cores - 1) tests in parallel.
511
+ * For subtests, it will be `Infinity` tests in parallel.
512
+ * If falsy, it would only run one test at a time.
513
+ * If unspecified, subtests inherit this value from their parent.
514
+ * @default false
515
+ */
516
+ concurrency?: number | boolean | undefined;
517
+ /**
518
+ * If truthy, and the test context is configured to run `only` tests, then this test will be
519
+ * run. Otherwise, the test is skipped.
520
+ * @default false
521
+ */
522
+ only?: boolean | undefined;
523
+ /**
524
+ * Allows aborting an in-progress test.
525
+ * @since v18.8.0
526
+ */
527
+ signal?: AbortSignal | undefined;
528
+ /**
529
+ * If truthy, the test is skipped. If a string is provided, that string is displayed in the
530
+ * test results as the reason for skipping the test.
531
+ * @default false
532
+ */
533
+ skip?: boolean | string | undefined;
534
+ /**
535
+ * A number of milliseconds the test will fail after. If unspecified, subtests inherit this
536
+ * value from their parent.
537
+ * @default Infinity
538
+ * @since v18.7.0
539
+ */
540
+ timeout?: number | undefined;
541
+ /**
542
+ * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in
543
+ * the test results as the reason why the test is `TODO`.
544
+ * @default false
545
+ */
546
+ todo?: boolean | string | undefined;
547
+ }
548
+ /**
549
+ * This function is used to create a hook running before running a suite.
550
+ *
551
+ * ```js
552
+ * describe('tests', async () => {
553
+ * before(() => console.log('about to run some test'));
554
+ * it('is a subtest', () => {
555
+ * assert.ok('some relevant assertion here');
556
+ * });
557
+ * });
558
+ * ```
559
+ * @since v18.8.0, v16.18.0
560
+ * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
561
+ * @param options Configuration options for the hook. The following properties are supported:
562
+ */
563
+ function before(fn?: HookFn, options?: HookOptions): void;
564
+ /**
565
+ * This function is used to create a hook running after running a suite.
566
+ *
567
+ * ```js
568
+ * describe('tests', async () => {
569
+ * after(() => console.log('finished running tests'));
570
+ * it('is a subtest', () => {
571
+ * assert.ok('some relevant assertion here');
572
+ * });
573
+ * });
574
+ * ```
575
+ * @since v18.8.0, v16.18.0
576
+ * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
577
+ * @param options Configuration options for the hook. The following properties are supported:
578
+ */
579
+ function after(fn?: HookFn, options?: HookOptions): void;
580
+ /**
581
+ * This function is used to create a hook running
582
+ * before each subtest of the current suite.
583
+ *
584
+ * ```js
585
+ * describe('tests', async () => {
586
+ * beforeEach(() => console.log('about to run a test'));
587
+ * it('is a subtest', () => {
588
+ * assert.ok('some relevant assertion here');
589
+ * });
590
+ * });
591
+ * ```
592
+ * @since v18.8.0, v16.18.0
593
+ * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
594
+ * @param options Configuration options for the hook. The following properties are supported:
595
+ */
596
+ function beforeEach(fn?: HookFn, options?: HookOptions): void;
597
+ /**
598
+ * This function is used to create a hook running
599
+ * after each subtest of the current test.
600
+ *
601
+ * ```js
602
+ * describe('tests', async () => {
603
+ * afterEach(() => console.log('finished running a test'));
604
+ * it('is a subtest', () => {
605
+ * assert.ok('some relevant assertion here');
606
+ * });
607
+ * });
608
+ * ```
609
+ * @since v18.8.0, v16.18.0
610
+ * @param [fn='A no-op function'] The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
611
+ * @param options Configuration options for the hook. The following properties are supported:
612
+ */
613
+ function afterEach(fn?: HookFn, options?: HookOptions): void;
614
+ /**
615
+ * The hook function. If the hook uses callbacks, the callback function is passed as the
616
+ * second argument.
617
+ */
618
+ type HookFn = (done: (result?: any) => void) => any;
619
+ /**
620
+ * Configuration options for hooks.
621
+ * @since v18.8.0
622
+ */
623
+ interface HookOptions {
624
+ /**
625
+ * Allows aborting an in-progress hook.
626
+ */
627
+ signal?: AbortSignal | undefined;
628
+ /**
629
+ * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
630
+ * value from their parent.
631
+ * @default Infinity
632
+ */
633
+ timeout?: number | undefined;
634
+ }
635
+ interface MockFunctionOptions {
636
+ /**
637
+ * The number of times that the mock will use the behavior of `implementation`.
638
+ * Once the mock function has been called `times` times,
639
+ * it will automatically restore the behavior of `original`.
640
+ * This value must be an integer greater than zero.
641
+ * @default Infinity
642
+ */
643
+ times?: number | undefined;
644
+ }
645
+ interface MockMethodOptions extends MockFunctionOptions {
646
+ /**
647
+ * If `true`, `object[methodName]` is treated as a getter.
648
+ * This option cannot be used with the `setter` option.
649
+ */
650
+ getter?: boolean | undefined;
651
+ /**
652
+ * If `true`, `object[methodName]` is treated as a setter.
653
+ * This option cannot be used with the `getter` option.
654
+ */
655
+ setter?: boolean | undefined;
656
+ }
657
+ type Mock<F extends Function> = F & {
658
+ mock: MockFunctionContext<F>;
659
+ };
660
+ type NoOpFunction = (...args: any[]) => undefined;
661
+ type FunctionPropertyNames<T> = {
662
+ [K in keyof T]: T[K] extends Function ? K : never;
663
+ }[keyof T];
664
+ /**
665
+ * The `MockTracker` class is used to manage mocking functionality. The test runner
666
+ * module provides a top level `mock` export which is a `MockTracker` instance.
667
+ * Each test also provides its own `MockTracker` instance via the test context's`mock` property.
668
+ * @since v19.1.0, v18.13.0
669
+ */
670
+ class MockTracker {
671
+ /**
672
+ * This function is used to create a mock function.
673
+ *
674
+ * The following example creates a mock function that increments a counter by one
675
+ * on each invocation. The `times` option is used to modify the mock behavior such
676
+ * that the first two invocations add two to the counter instead of one.
677
+ *
678
+ * ```js
679
+ * test('mocks a counting function', (t) => {
680
+ * let cnt = 0;
681
+ *
682
+ * function addOne() {
683
+ * cnt++;
684
+ * return cnt;
685
+ * }
686
+ *
687
+ * function addTwo() {
688
+ * cnt += 2;
689
+ * return cnt;
690
+ * }
691
+ *
692
+ * const fn = t.mock.fn(addOne, addTwo, { times: 2 });
693
+ *
694
+ * assert.strictEqual(fn(), 2);
695
+ * assert.strictEqual(fn(), 4);
696
+ * assert.strictEqual(fn(), 5);
697
+ * assert.strictEqual(fn(), 6);
698
+ * });
699
+ * ```
700
+ * @since v19.1.0, v18.13.0
701
+ * @param [original='A no-op function'] An optional function to create a mock on.
702
+ * @param implementation An optional function used as the mock implementation for `original`. This is useful for creating mocks that exhibit one behavior for a specified number of calls and
703
+ * then restore the behavior of `original`.
704
+ * @param options Optional configuration options for the mock function. The following properties are supported:
705
+ * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the
706
+ * behavior of the mocked function.
707
+ */
708
+ fn<F extends Function = NoOpFunction>(original?: F, options?: MockFunctionOptions): Mock<F>;
709
+ fn<F extends Function = NoOpFunction, Implementation extends Function = F>(original?: F, implementation?: Implementation, options?: MockFunctionOptions): Mock<F | Implementation>;
710
+ /**
711
+ * This function is used to create a mock on an existing object method. The
712
+ * following example demonstrates how a mock is created on an existing object
713
+ * method.
714
+ *
715
+ * ```js
716
+ * test('spies on an object method', (t) => {
717
+ * const number = {
718
+ * value: 5,
719
+ * subtract(a) {
720
+ * return this.value - a;
721
+ * },
722
+ * };
723
+ *
724
+ * t.mock.method(number, 'subtract');
725
+ * assert.strictEqual(number.subtract.mock.calls.length, 0);
726
+ * assert.strictEqual(number.subtract(3), 2);
727
+ * assert.strictEqual(number.subtract.mock.calls.length, 1);
728
+ *
729
+ * const call = number.subtract.mock.calls[0];
730
+ *
731
+ * assert.deepStrictEqual(call.arguments, [3]);
732
+ * assert.strictEqual(call.result, 2);
733
+ * assert.strictEqual(call.error, undefined);
734
+ * assert.strictEqual(call.target, undefined);
735
+ * assert.strictEqual(call.this, number);
736
+ * });
737
+ * ```
738
+ * @since v19.1.0, v18.13.0
739
+ * @param object The object whose method is being mocked.
740
+ * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown.
741
+ * @param implementation An optional function used as the mock implementation for `object[methodName]`.
742
+ * @param options Optional configuration options for the mock method. The following properties are supported:
743
+ * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the
744
+ * behavior of the mocked method.
745
+ */
746
+ method<
747
+ MockedObject extends object,
748
+ MethodName extends FunctionPropertyNames<MockedObject>,
749
+ >(
750
+ object: MockedObject,
751
+ methodName: MethodName,
752
+ options?: MockFunctionOptions,
753
+ ): MockedObject[MethodName] extends Function
754
+ ? Mock<MockedObject[MethodName]>
755
+ : never;
756
+ method<
757
+ MockedObject extends object,
758
+ MethodName extends FunctionPropertyNames<MockedObject>,
759
+ Implementation extends Function,
760
+ >(
761
+ object: MockedObject,
762
+ methodName: MethodName,
763
+ implementation: Implementation,
764
+ options?: MockFunctionOptions,
765
+ ): MockedObject[MethodName] extends Function
766
+ ? Mock<MockedObject[MethodName] | Implementation>
767
+ : never;
768
+ method<MockedObject extends object>(
769
+ object: MockedObject,
770
+ methodName: keyof MockedObject,
771
+ options: MockMethodOptions,
772
+ ): Mock<Function>;
773
+ method<MockedObject extends object>(
774
+ object: MockedObject,
775
+ methodName: keyof MockedObject,
776
+ implementation: Function,
777
+ options: MockMethodOptions,
778
+ ): Mock<Function>;
779
+
780
+ /**
781
+ * This function is syntax sugar for `MockTracker.method` with `options.getter`set to `true`.
782
+ * @since v19.3.0, v18.13.0
783
+ */
784
+ getter<
785
+ MockedObject extends object,
786
+ MethodName extends keyof MockedObject,
787
+ >(
788
+ object: MockedObject,
789
+ methodName: MethodName,
790
+ options?: MockFunctionOptions,
791
+ ): Mock<() => MockedObject[MethodName]>;
792
+ getter<
793
+ MockedObject extends object,
794
+ MethodName extends keyof MockedObject,
795
+ Implementation extends Function,
796
+ >(
797
+ object: MockedObject,
798
+ methodName: MethodName,
799
+ implementation?: Implementation,
800
+ options?: MockFunctionOptions,
801
+ ): Mock<(() => MockedObject[MethodName]) | Implementation>;
802
+ /**
803
+ * This function is syntax sugar for `MockTracker.method` with `options.setter`set to `true`.
804
+ * @since v19.3.0, v18.13.0
805
+ */
806
+ setter<
807
+ MockedObject extends object,
808
+ MethodName extends keyof MockedObject,
809
+ >(
810
+ object: MockedObject,
811
+ methodName: MethodName,
812
+ options?: MockFunctionOptions,
813
+ ): Mock<(value: MockedObject[MethodName]) => void>;
814
+ setter<
815
+ MockedObject extends object,
816
+ MethodName extends keyof MockedObject,
817
+ Implementation extends Function,
818
+ >(
819
+ object: MockedObject,
820
+ methodName: MethodName,
821
+ implementation?: Implementation,
822
+ options?: MockFunctionOptions,
823
+ ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>;
824
+ /**
825
+ * This function restores the default behavior of all mocks that were previously
826
+ * created by this `MockTracker` and disassociates the mocks from the`MockTracker` instance. Once disassociated, the mocks can still be used, but the`MockTracker` instance can no longer be
827
+ * used to reset their behavior or
828
+ * otherwise interact with them.
829
+ *
830
+ * After each test completes, this function is called on the test context's`MockTracker`. If the global `MockTracker` is used extensively, calling this
831
+ * function manually is recommended.
832
+ * @since v19.1.0, v18.13.0
833
+ */
834
+ reset(): void;
835
+ /**
836
+ * This function restores the default behavior of all mocks that were previously
837
+ * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does
838
+ * not disassociate the mocks from the `MockTracker` instance.
839
+ * @since v19.1.0, v18.13.0
840
+ */
841
+ restoreAll(): void;
842
+ timers: MockTimers;
843
+ }
844
+ const mock: MockTracker;
845
+ interface MockFunctionCall<
846
+ F extends Function,
847
+ ReturnType = F extends (...args: any) => infer T
848
+ ? T
849
+ : F extends abstract new (...args: any) => infer T
850
+ ? T
851
+ : unknown,
852
+ Args = F extends (...args: infer Y) => any
853
+ ? Y
854
+ : F extends abstract new (...args: infer Y) => any
855
+ ? Y
856
+ : unknown[],
857
+ > {
858
+ /**
859
+ * An array of the arguments passed to the mock function.
860
+ */
861
+ arguments: Args;
862
+ /**
863
+ * If the mocked function threw then this property contains the thrown value.
864
+ */
865
+ error: unknown | undefined;
866
+ /**
867
+ * The value returned by the mocked function.
868
+ *
869
+ * If the mocked function threw, it will be `undefined`.
870
+ */
871
+ result: ReturnType | undefined;
872
+ /**
873
+ * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation.
874
+ */
875
+ stack: Error;
876
+ /**
877
+ * If the mocked function is a constructor, this field contains the class being constructed.
878
+ * Otherwise this will be `undefined`.
879
+ */
880
+ target: F extends abstract new (...args: any) => any ? F : undefined;
881
+ /**
882
+ * The mocked function's `this` value.
883
+ */
884
+ this: unknown;
885
+ }
886
+ /**
887
+ * The `MockFunctionContext` class is used to inspect or manipulate the behavior of
888
+ * mocks created via the `MockTracker` APIs.
889
+ * @since v19.1.0, v18.13.0
890
+ */
891
+ class MockFunctionContext<F extends Function> {
892
+ /**
893
+ * A getter that returns a copy of the internal array used to track calls to the
894
+ * mock. Each entry in the array is an object with the following properties.
895
+ * @since v19.1.0, v18.13.0
896
+ */
897
+ readonly calls: Array<MockFunctionCall<F>>;
898
+ /**
899
+ * This function returns the number of times that this mock has been invoked. This
900
+ * function is more efficient than checking `ctx.calls.length` because `ctx.calls`is a getter that creates a copy of the internal call tracking array.
901
+ * @since v19.1.0, v18.13.0
902
+ * @return The number of times that this mock has been invoked.
903
+ */
904
+ callCount(): number;
905
+ /**
906
+ * This function is used to change the behavior of an existing mock.
907
+ *
908
+ * The following example creates a mock function using `t.mock.fn()`, calls the
909
+ * mock function, and then changes the mock implementation to a different function.
910
+ *
911
+ * ```js
912
+ * test('changes a mock behavior', (t) => {
913
+ * let cnt = 0;
914
+ *
915
+ * function addOne() {
916
+ * cnt++;
917
+ * return cnt;
918
+ * }
919
+ *
920
+ * function addTwo() {
921
+ * cnt += 2;
922
+ * return cnt;
923
+ * }
924
+ *
925
+ * const fn = t.mock.fn(addOne);
926
+ *
927
+ * assert.strictEqual(fn(), 1);
928
+ * fn.mock.mockImplementation(addTwo);
929
+ * assert.strictEqual(fn(), 3);
930
+ * assert.strictEqual(fn(), 5);
931
+ * });
932
+ * ```
933
+ * @since v19.1.0, v18.13.0
934
+ * @param implementation The function to be used as the mock's new implementation.
935
+ */
936
+ mockImplementation(implementation: Function): void;
937
+ /**
938
+ * This function is used to change the behavior of an existing mock for a single
939
+ * invocation. Once invocation `onCall` has occurred, the mock will revert to
940
+ * whatever behavior it would have used had `mockImplementationOnce()` not been
941
+ * called.
942
+ *
943
+ * The following example creates a mock function using `t.mock.fn()`, calls the
944
+ * mock function, changes the mock implementation to a different function for the
945
+ * next invocation, and then resumes its previous behavior.
946
+ *
947
+ * ```js
948
+ * test('changes a mock behavior once', (t) => {
949
+ * let cnt = 0;
950
+ *
951
+ * function addOne() {
952
+ * cnt++;
953
+ * return cnt;
954
+ * }
955
+ *
956
+ * function addTwo() {
957
+ * cnt += 2;
958
+ * return cnt;
959
+ * }
960
+ *
961
+ * const fn = t.mock.fn(addOne);
962
+ *
963
+ * assert.strictEqual(fn(), 1);
964
+ * fn.mock.mockImplementationOnce(addTwo);
965
+ * assert.strictEqual(fn(), 3);
966
+ * assert.strictEqual(fn(), 4);
967
+ * });
968
+ * ```
969
+ * @since v19.1.0, v18.13.0
970
+ * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`.
971
+ * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown.
972
+ */
973
+ mockImplementationOnce(implementation: Function, onCall?: number): void;
974
+ /**
975
+ * Resets the call history of the mock function.
976
+ * @since v19.3.0, v18.13.0
977
+ */
978
+ resetCalls(): void;
979
+ /**
980
+ * Resets the implementation of the mock function to its original behavior. The
981
+ * mock can still be used after calling this function.
982
+ * @since v19.1.0, v18.13.0
983
+ */
984
+ restore(): void;
985
+ }
986
+ type Timer = 'setInterval' | 'clearInterval' | 'setTimeout' | 'clearTimeout';
987
+ /**
988
+ * Mocking timers is a technique commonly used in software testing to simulate and
989
+ * control the behavior of timers, such as `setInterval` and `setTimeout`,
990
+ * without actually waiting for the specified time intervals.
991
+ *
992
+ * The `MockTracker` provides a top-level `timers` export
993
+ * which is a `MockTimers` instance.
994
+ * @since v20.4.0
995
+ * @experimental
996
+ */
997
+ class MockTimers {
998
+ /**
999
+ * Enables timer mocking for the specified timers.
1000
+ *
1001
+ * **Note:** When you enable mocking for a specific timer, its associated
1002
+ * clear function will also be implicitly mocked.
1003
+ *
1004
+ * Example usage:
1005
+ *
1006
+ * ```js
1007
+ * import { mock } from 'node:test';
1008
+ * mock.timers.enable(['setInterval']);
1009
+ * ```
1010
+ *
1011
+ * ```js
1012
+ * const { mock } = require('node:test');
1013
+ * mock.timers.enable(['setInterval']);
1014
+ * ```
1015
+ *
1016
+ * The above example enables mocking for the `setInterval` timer and
1017
+ * implicitly mocks the `clearInterval` function. Only the `setInterval`and `clearInterval` functions from `node:timers`,`node:timers/promises`, and`globalThis` will be mocked.
1018
+ *
1019
+ * Alternatively, if you call `mock.timers.enable()` without any parameters:
1020
+ *
1021
+ * All timers (`'setInterval'`, `'clearInterval'`, `'setTimeout'`, and `'clearTimeout'`)
1022
+ * will be mocked. The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout`functions from `node:timers`, `node:timers/promises`,
1023
+ * and `globalThis` will be mocked.
1024
+ * @since v20.4.0
1025
+ */
1026
+ enable(timers?: Timer[]): void;
1027
+ /**
1028
+ * This function restores the default behavior of all mocks that were previously
1029
+ * created by this `MockTimers` instance and disassociates the mocks
1030
+ * from the `MockTracker` instance.
1031
+ *
1032
+ * **Note:** After each test completes, this function is called on
1033
+ * the test context's `MockTracker`.
1034
+ *
1035
+ * ```js
1036
+ * import { mock } from 'node:test';
1037
+ * mock.timers.reset();
1038
+ * ```
1039
+ *
1040
+ * ```js
1041
+ * const { mock } = require('node:test');
1042
+ * mock.timers.reset();
1043
+ * ```
1044
+ * @since v20.4.0
1045
+ */
1046
+ reset(): void;
1047
+ /**
1048
+ * Advances time for all mocked timers.
1049
+ *
1050
+ * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts
1051
+ * only positive numbers. In Node.js, `setTimeout` with negative numbers is
1052
+ * only supported for web compatibility reasons.
1053
+ *
1054
+ * The following example mocks a `setTimeout` function and
1055
+ * by using `.tick` advances in
1056
+ * time triggering all pending timers.
1057
+ *
1058
+ * ```js
1059
+ * import assert from 'node:assert';
1060
+ * import { test } from 'node:test';
1061
+ *
1062
+ * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1063
+ * const fn = context.mock.fn();
1064
+ *
1065
+ * context.mock.timers.enable(['setTimeout']);
1066
+ *
1067
+ * setTimeout(fn, 9999);
1068
+ *
1069
+ * assert.strictEqual(fn.mock.callCount(), 0);
1070
+ *
1071
+ * // Advance in time
1072
+ * context.mock.timers.tick(9999);
1073
+ *
1074
+ * assert.strictEqual(fn.mock.callCount(), 1);
1075
+ * });
1076
+ * ```
1077
+ *
1078
+ * ```js
1079
+ * const assert = require('node:assert');
1080
+ * const { test } = require('node:test');
1081
+ *
1082
+ * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1083
+ * const fn = context.mock.fn();
1084
+ * context.mock.timers.enable(['setTimeout']);
1085
+ *
1086
+ * setTimeout(fn, 9999);
1087
+ * assert.strictEqual(fn.mock.callCount(), 0);
1088
+ *
1089
+ * // Advance in time
1090
+ * context.mock.timers.tick(9999);
1091
+ *
1092
+ * assert.strictEqual(fn.mock.callCount(), 1);
1093
+ * });
1094
+ * ```
1095
+ *
1096
+ * Alternativelly, the `.tick` function can be called many times
1097
+ *
1098
+ * ```js
1099
+ * import assert from 'node:assert';
1100
+ * import { test } from 'node:test';
1101
+ *
1102
+ * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1103
+ * const fn = context.mock.fn();
1104
+ * context.mock.timers.enable(['setTimeout']);
1105
+ * const nineSecs = 9000;
1106
+ * setTimeout(fn, nineSecs);
1107
+ *
1108
+ * const twoSeconds = 3000;
1109
+ * context.mock.timers.tick(twoSeconds);
1110
+ * context.mock.timers.tick(twoSeconds);
1111
+ * context.mock.timers.tick(twoSeconds);
1112
+ *
1113
+ * assert.strictEqual(fn.mock.callCount(), 1);
1114
+ * });
1115
+ * ```
1116
+ *
1117
+ * ```js
1118
+ * const assert = require('node:assert');
1119
+ * const { test } = require('node:test');
1120
+ *
1121
+ * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1122
+ * const fn = context.mock.fn();
1123
+ * context.mock.timers.enable(['setTimeout']);
1124
+ * const nineSecs = 9000;
1125
+ * setTimeout(fn, nineSecs);
1126
+ *
1127
+ * const twoSeconds = 3000;
1128
+ * context.mock.timers.tick(twoSeconds);
1129
+ * context.mock.timers.tick(twoSeconds);
1130
+ * context.mock.timers.tick(twoSeconds);
1131
+ *
1132
+ * assert.strictEqual(fn.mock.callCount(), 1);
1133
+ * });
1134
+ * ```
1135
+ * @since v20.4.0
1136
+ */
1137
+ tick(milliseconds: number): void;
1138
+ /**
1139
+ * Triggers all pending mocked timers immediately.
1140
+ *
1141
+ * The example below triggers all pending timers immediately,
1142
+ * causing them to execute without any delay.
1143
+ *
1144
+ * ```js
1145
+ * import assert from 'node:assert';
1146
+ * import { test } from 'node:test';
1147
+ *
1148
+ * test('runAll functions following the given order', (context) => {
1149
+ * context.mock.timers.enable(['setTimeout']);
1150
+ * const results = [];
1151
+ * setTimeout(() => results.push(1), 9999);
1152
+ *
1153
+ * // Notice that if both timers have the same timeout,
1154
+ * // the order of execution is guaranteed
1155
+ * setTimeout(() => results.push(3), 8888);
1156
+ * setTimeout(() => results.push(2), 8888);
1157
+ *
1158
+ * assert.deepStrictEqual(results, []);
1159
+ *
1160
+ * context.mock.timers.runAll();
1161
+ *
1162
+ * assert.deepStrictEqual(results, [3, 2, 1]);
1163
+ * });
1164
+ * ```
1165
+ *
1166
+ * ```js
1167
+ * const assert = require('node:assert');
1168
+ * const { test } = require('node:test');
1169
+ *
1170
+ * test('runAll functions following the given order', (context) => {
1171
+ * context.mock.timers.enable(['setTimeout']);
1172
+ * const results = [];
1173
+ * setTimeout(() => results.push(1), 9999);
1174
+ *
1175
+ * // Notice that if both timers have the same timeout,
1176
+ * // the order of execution is guaranteed
1177
+ * setTimeout(() => results.push(3), 8888);
1178
+ * setTimeout(() => results.push(2), 8888);
1179
+ *
1180
+ * assert.deepStrictEqual(results, []);
1181
+ *
1182
+ * context.mock.timers.runAll();
1183
+ *
1184
+ * assert.deepStrictEqual(results, [3, 2, 1]);
1185
+ * });
1186
+ * ```
1187
+ *
1188
+ * **Note:** The `runAll()` function is specifically designed for
1189
+ * triggering timers in the context of timer mocking.
1190
+ * It does not have any effect on real-time system
1191
+ * clocks or actual timers outside of the mocking environment.
1192
+ * @since v20.4.0
1193
+ */
1194
+ runAll(): void;
1195
+ }
1196
+ export { test as default, run, test, describe, it, before, after, beforeEach, afterEach, mock, skip, only, todo };
1197
+ }
1198
+
1199
+ interface DiagnosticData {
1200
+ /**
1201
+ * The diagnostic message.
1202
+ */
1203
+ message: string;
1204
+ /**
1205
+ * The nesting level of the test.
1206
+ */
1207
+ nesting: number;
1208
+ /**
1209
+ * The path of the test file, undefined if test is not ran through a file.
1210
+ */
1211
+ file?: string;
1212
+ }
1213
+ interface TestFail {
1214
+ /**
1215
+ * Additional execution metadata.
1216
+ */
1217
+ details: {
1218
+ /**
1219
+ * The duration of the test in milliseconds.
1220
+ */
1221
+ duration: number;
1222
+ /**
1223
+ * The error thrown by the test.
1224
+ */
1225
+ error: Error;
1226
+ };
1227
+ /**
1228
+ * The test name.
1229
+ */
1230
+ name: string;
1231
+ /**
1232
+ * The nesting level of the test.
1233
+ */
1234
+ nesting: number;
1235
+ /**
1236
+ * The ordinal number of the test.
1237
+ */
1238
+ testNumber: number;
1239
+ /**
1240
+ * Present if `context.todo` is called.
1241
+ */
1242
+ todo?: string | boolean;
1243
+ /**
1244
+ * Present if `context.skip` is called.
1245
+ */
1246
+ skip?: string | boolean;
1247
+ /**
1248
+ * The path of the test file, undefined if test is not ran through a file.
1249
+ */
1250
+ file?: string;
1251
+ }
1252
+ interface TestPass {
1253
+ /**
1254
+ * Additional execution metadata.
1255
+ */
1256
+ details: {
1257
+ /**
1258
+ * The duration of the test in milliseconds.
1259
+ */
1260
+ duration: number;
1261
+ };
1262
+ /**
1263
+ * The test name.
1264
+ */
1265
+ name: string;
1266
+ /**
1267
+ * The nesting level of the test.
1268
+ */
1269
+ nesting: number;
1270
+ /**
1271
+ * The ordinal number of the test.
1272
+ */
1273
+ testNumber: number;
1274
+ /**
1275
+ * Present if `context.todo` is called.
1276
+ */
1277
+ todo?: string | boolean;
1278
+ /**
1279
+ * Present if `context.skip` is called.
1280
+ */
1281
+ skip?: string | boolean;
1282
+ /**
1283
+ * The path of the test file, undefined if test is not ran through a file.
1284
+ */
1285
+ file?: string;
1286
+ }
1287
+ interface TestPlan {
1288
+ /**
1289
+ * The nesting level of the test.
1290
+ */
1291
+ nesting: number;
1292
+ /**
1293
+ * The number of subtests that have ran.
1294
+ */
1295
+ count: number;
1296
+ /**
1297
+ * The path of the test file, undefined if test is not ran through a file.
1298
+ */
1299
+ file?: string;
1300
+ }
1301
+ interface TestStart {
1302
+ /**
1303
+ * The test name.
1304
+ */
1305
+ name: string;
1306
+ /**
1307
+ * The nesting level of the test.
1308
+ */
1309
+ nesting: number;
1310
+ /**
1311
+ * The path of the test file, undefined if test is not ran through a file.
1312
+ */
1313
+ file?: string;
1314
+ }
1315
+ interface TestStderr {
1316
+ /**
1317
+ * The path of the test file, undefined if test is not ran through a file.
1318
+ */
1319
+ file?: string;
1320
+ /**
1321
+ * The message written to `stderr`
1322
+ */
1323
+ message: string;
1324
+ }
1325
+ interface TestStdout {
1326
+ /**
1327
+ * The path of the test file, undefined if test is not ran through a file.
1328
+ */
1329
+ file?: string;
1330
+ /**
1331
+ * The message written to `stdout`
1332
+ */
1333
+ message: string;
1334
+ }
1335
+
1336
+ /**
1337
+ * The `node:test/reporters` module exposes the builtin-reporters for `node:test`.
1338
+ * To access it:
1339
+ *
1340
+ * ```js
1341
+ * import test from 'node:test/reporters';
1342
+ * ```
1343
+ *
1344
+ * This module is only available under the `node:` scheme. The following will not
1345
+ * work:
1346
+ *
1347
+ * ```js
1348
+ * import test from 'test/reporters';
1349
+ * ```
1350
+ * @since v19.9.0
1351
+ * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/test/reporters.js)
1352
+ */
1353
+ declare module 'node:test/reporters' {
1354
+ import { Transform } from 'node:stream';
1355
+
1356
+ type TestEvent =
1357
+ | { type: 'test:diagnostic', data: DiagnosticData }
1358
+ | { type: 'test:fail', data: TestFail }
1359
+ | { type: 'test:pass', data: TestPass }
1360
+ | { type: 'test:plan', data: TestPlan }
1361
+ | { type: 'test:start', data: TestStart }
1362
+ | { type: 'test:stderr', data: TestStderr }
1363
+ | { type: 'test:stdout', data: TestStdout };
1364
+ type TestEventGenerator = AsyncGenerator<TestEvent, void>;
1365
+
1366
+ /**
1367
+ * The `dot` reporter outputs the test results in a compact format,
1368
+ * where each passing test is represented by a `.`,
1369
+ * and each failing test is represented by a `X`.
1370
+ */
1371
+ function dot(source: TestEventGenerator): AsyncGenerator<'\n' | '.' | 'X', void>;
1372
+ /**
1373
+ * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format.
1374
+ */
1375
+ function tap(source: TestEventGenerator): AsyncGenerator<string, void>;
1376
+ /**
1377
+ * The `spec` reporter outputs the test results in a human-readable format.
1378
+ */
1379
+ class Spec extends Transform {
1380
+ constructor();
1381
+ }
1382
+ export { dot, tap, Spec as spec };
1383
+ }