@brainai/satp-client 2.0.7 → 2.0.8

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 (2110) hide show
  1. package/{node_modules/@solana/web3.js/node_modules/borsh/LICENSE-APACHE → LICENSE} +1 -1
  2. package/README.md +20 -30
  3. package/package.json +4 -7
  4. package/examples/adoption-quickstarts.js +0 -173
  5. package/examples/integration-patterns.js +0 -495
  6. package/examples/runtime-policy-adapter.js +0 -107
  7. package/examples/x402-discovery-evidence-lookup.js +0 -66
  8. package/examples/x402-reputation-evidence-lookup-client.js +0 -182
  9. package/node_modules/@babel/runtime/LICENSE +0 -22
  10. package/node_modules/@babel/runtime/README.md +0 -19
  11. package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  12. package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  13. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  14. package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  15. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  16. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  17. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  18. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  19. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  20. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  21. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  22. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  23. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  24. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  25. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  26. package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  27. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  28. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  29. package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  30. package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  31. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  33. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  34. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  35. package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  36. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  37. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  38. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  39. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  46. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  47. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  48. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  50. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  51. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  52. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  56. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  57. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  58. package/node_modules/@babel/runtime/helpers/construct.js +0 -10
  59. package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  60. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  61. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  62. package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  63. package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  64. package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  65. package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  66. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  67. package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  68. package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  69. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  70. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  76. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  77. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  78. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  79. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  80. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  81. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  82. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  83. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  84. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  85. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  86. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  87. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  88. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  89. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  91. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  92. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  93. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  94. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  95. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  96. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  97. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  109. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  110. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  114. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  115. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  116. package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  117. package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  118. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  119. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  120. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  121. package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  122. package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  123. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  124. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  125. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  126. package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  127. package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  128. package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  129. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  130. package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  131. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  132. package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  133. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  134. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  135. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  136. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  137. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  138. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  139. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  140. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  141. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  142. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  143. package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  144. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  145. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  146. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  147. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  148. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  149. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  150. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  151. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  152. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  153. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  154. package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  155. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  156. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  157. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -22
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  163. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  164. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  165. package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  166. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  167. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  168. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  169. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  170. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  171. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  172. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  173. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  174. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  175. package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  176. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  177. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  178. package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  179. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  180. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  181. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  182. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  183. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  184. package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  185. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  186. package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  187. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  188. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  189. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  190. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  191. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  192. package/node_modules/@babel/runtime/helpers/extends.js +0 -10
  193. package/node_modules/@babel/runtime/helpers/get.js +0 -11
  194. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  195. package/node_modules/@babel/runtime/helpers/identity.js +0 -4
  196. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  197. package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  198. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  199. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  200. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  201. package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  202. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  203. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  204. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  205. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  206. package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  207. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  208. package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  209. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  210. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  211. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  212. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  213. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  214. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  215. package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  216. package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  217. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  218. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  219. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  220. package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  221. package/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  223. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  224. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  225. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -22
  226. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  227. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  228. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  229. package/node_modules/@babel/runtime/helpers/set.js +0 -22
  230. package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  231. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  232. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  233. package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  234. package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  235. package/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  236. package/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  237. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  238. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  239. package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  240. package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  241. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  242. package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  243. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  244. package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  245. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  246. package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  247. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  248. package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  249. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  250. package/node_modules/@babel/runtime/helpers/using.js +0 -12
  251. package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  252. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  253. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  254. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  255. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  256. package/node_modules/@babel/runtime/package.json +0 -1107
  257. package/node_modules/@babel/runtime/regenerator/index.js +0 -15
  258. package/node_modules/@noble/curves/LICENSE +0 -21
  259. package/node_modules/@noble/curves/README.md +0 -1009
  260. package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -19
  261. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  262. package/node_modules/@noble/curves/_shortw_utils.js +0 -20
  263. package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  264. package/node_modules/@noble/curves/abstract/bls.d.ts +0 -190
  265. package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  266. package/node_modules/@noble/curves/abstract/bls.js +0 -411
  267. package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  268. package/node_modules/@noble/curves/abstract/curve.d.ts +0 -231
  269. package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  270. package/node_modules/@noble/curves/abstract/curve.js +0 -476
  271. package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  272. package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -243
  273. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  274. package/node_modules/@noble/curves/abstract/edwards.js +0 -634
  275. package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  276. package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
  277. package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
  278. package/node_modules/@noble/curves/abstract/fft.js +0 -438
  279. package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
  280. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -102
  281. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  282. package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -211
  283. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  284. package/node_modules/@noble/curves/abstract/modular.d.ts +0 -171
  285. package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  286. package/node_modules/@noble/curves/abstract/modular.js +0 -554
  287. package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  288. package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -30
  289. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  290. package/node_modules/@noble/curves/abstract/montgomery.js +0 -160
  291. package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  292. package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
  293. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  294. package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
  295. package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  296. package/node_modules/@noble/curves/abstract/tower.d.ts +0 -95
  297. package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
  298. package/node_modules/@noble/curves/abstract/tower.js +0 -718
  299. package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
  300. package/node_modules/@noble/curves/abstract/utils.d.ts +0 -78
  301. package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  302. package/node_modules/@noble/curves/abstract/utils.js +0 -73
  303. package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  304. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -416
  305. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  306. package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1427
  307. package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  308. package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
  309. package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  310. package/node_modules/@noble/curves/bls12-381.js +0 -708
  311. package/node_modules/@noble/curves/bls12-381.js.map +0 -1
  312. package/node_modules/@noble/curves/bn254.d.ts +0 -18
  313. package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  314. package/node_modules/@noble/curves/bn254.js +0 -218
  315. package/node_modules/@noble/curves/bn254.js.map +0 -1
  316. package/node_modules/@noble/curves/ed25519.d.ts +0 -106
  317. package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  318. package/node_modules/@noble/curves/ed25519.js +0 -472
  319. package/node_modules/@noble/curves/ed25519.js.map +0 -1
  320. package/node_modules/@noble/curves/ed448.d.ts +0 -100
  321. package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  322. package/node_modules/@noble/curves/ed448.js +0 -463
  323. package/node_modules/@noble/curves/ed448.js.map +0 -1
  324. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -19
  325. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  326. package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -16
  327. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  328. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -190
  329. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  330. package/node_modules/@noble/curves/esm/abstract/bls.js +0 -408
  331. package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  332. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -231
  333. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  334. package/node_modules/@noble/curves/esm/abstract/curve.js +0 -465
  335. package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  336. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -243
  337. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  338. package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -627
  339. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  340. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
  341. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
  342. package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
  343. package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
  344. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -102
  345. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  346. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -203
  347. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  348. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -171
  349. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  350. package/node_modules/@noble/curves/esm/abstract/modular.js +0 -530
  351. package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  352. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -30
  353. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  354. package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -157
  355. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  356. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
  357. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  358. package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
  359. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  360. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -95
  361. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
  362. package/node_modules/@noble/curves/esm/abstract/tower.js +0 -714
  363. package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
  364. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -78
  365. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  366. package/node_modules/@noble/curves/esm/abstract/utils.js +0 -70
  367. package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  368. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -416
  369. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  370. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1413
  371. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  372. package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
  373. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  374. package/node_modules/@noble/curves/esm/bls12-381.js +0 -705
  375. package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  376. package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
  377. package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  378. package/node_modules/@noble/curves/esm/bn254.js +0 -214
  379. package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  380. package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -106
  381. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  382. package/node_modules/@noble/curves/esm/ed25519.js +0 -467
  383. package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  384. package/node_modules/@noble/curves/esm/ed448.d.ts +0 -100
  385. package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  386. package/node_modules/@noble/curves/esm/ed448.js +0 -459
  387. package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  388. package/node_modules/@noble/curves/esm/index.d.ts +0 -2
  389. package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  390. package/node_modules/@noble/curves/esm/index.js +0 -17
  391. package/node_modules/@noble/curves/esm/index.js.map +0 -1
  392. package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
  393. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  394. package/node_modules/@noble/curves/esm/jubjub.js +0 -12
  395. package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  396. package/node_modules/@noble/curves/esm/misc.d.ts +0 -19
  397. package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
  398. package/node_modules/@noble/curves/esm/misc.js +0 -109
  399. package/node_modules/@noble/curves/esm/misc.js.map +0 -1
  400. package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
  401. package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
  402. package/node_modules/@noble/curves/esm/nist.js +0 -132
  403. package/node_modules/@noble/curves/esm/nist.js.map +0 -1
  404. package/node_modules/@noble/curves/esm/p256.d.ts +0 -16
  405. package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  406. package/node_modules/@noble/curves/esm/p256.js +0 -16
  407. package/node_modules/@noble/curves/esm/p256.js.map +0 -1
  408. package/node_modules/@noble/curves/esm/p384.d.ts +0 -16
  409. package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  410. package/node_modules/@noble/curves/esm/p384.js +0 -16
  411. package/node_modules/@noble/curves/esm/p384.js.map +0 -1
  412. package/node_modules/@noble/curves/esm/p521.d.ts +0 -16
  413. package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  414. package/node_modules/@noble/curves/esm/p521.js +0 -16
  415. package/node_modules/@noble/curves/esm/p521.js.map +0 -1
  416. package/node_modules/@noble/curves/esm/package.json +0 -4
  417. package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
  418. package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  419. package/node_modules/@noble/curves/esm/pasta.js +0 -10
  420. package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  421. package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -89
  422. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  423. package/node_modules/@noble/curves/esm/secp256k1.js +0 -294
  424. package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  425. package/node_modules/@noble/curves/esm/utils.d.ts +0 -110
  426. package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
  427. package/node_modules/@noble/curves/esm/utils.js +0 -322
  428. package/node_modules/@noble/curves/esm/utils.js.map +0 -1
  429. package/node_modules/@noble/curves/index.d.ts +0 -1
  430. package/node_modules/@noble/curves/index.d.ts.map +0 -1
  431. package/node_modules/@noble/curves/index.js +0 -17
  432. package/node_modules/@noble/curves/index.js.map +0 -1
  433. package/node_modules/@noble/curves/jubjub.d.ts +0 -12
  434. package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  435. package/node_modules/@noble/curves/jubjub.js +0 -15
  436. package/node_modules/@noble/curves/jubjub.js.map +0 -1
  437. package/node_modules/@noble/curves/misc.d.ts +0 -19
  438. package/node_modules/@noble/curves/misc.d.ts.map +0 -1
  439. package/node_modules/@noble/curves/misc.js +0 -114
  440. package/node_modules/@noble/curves/misc.js.map +0 -1
  441. package/node_modules/@noble/curves/nist.d.ts +0 -21
  442. package/node_modules/@noble/curves/nist.d.ts.map +0 -1
  443. package/node_modules/@noble/curves/nist.js +0 -135
  444. package/node_modules/@noble/curves/nist.js.map +0 -1
  445. package/node_modules/@noble/curves/p256.d.ts +0 -16
  446. package/node_modules/@noble/curves/p256.d.ts.map +0 -1
  447. package/node_modules/@noble/curves/p256.js +0 -13
  448. package/node_modules/@noble/curves/p256.js.map +0 -1
  449. package/node_modules/@noble/curves/p384.d.ts +0 -16
  450. package/node_modules/@noble/curves/p384.d.ts.map +0 -1
  451. package/node_modules/@noble/curves/p384.js +0 -13
  452. package/node_modules/@noble/curves/p384.js.map +0 -1
  453. package/node_modules/@noble/curves/p521.d.ts +0 -16
  454. package/node_modules/@noble/curves/p521.d.ts.map +0 -1
  455. package/node_modules/@noble/curves/p521.js +0 -13
  456. package/node_modules/@noble/curves/p521.js.map +0 -1
  457. package/node_modules/@noble/curves/package.json +0 -295
  458. package/node_modules/@noble/curves/pasta.d.ts +0 -10
  459. package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  460. package/node_modules/@noble/curves/pasta.js +0 -13
  461. package/node_modules/@noble/curves/pasta.js.map +0 -1
  462. package/node_modules/@noble/curves/secp256k1.d.ts +0 -89
  463. package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  464. package/node_modules/@noble/curves/secp256k1.js +0 -297
  465. package/node_modules/@noble/curves/secp256k1.js.map +0 -1
  466. package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -21
  467. package/node_modules/@noble/curves/src/abstract/bls.ts +0 -747
  468. package/node_modules/@noble/curves/src/abstract/curve.ts +0 -692
  469. package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -914
  470. package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
  471. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -306
  472. package/node_modules/@noble/curves/src/abstract/modular.ts +0 -605
  473. package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -194
  474. package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
  475. package/node_modules/@noble/curves/src/abstract/tower.ts +0 -867
  476. package/node_modules/@noble/curves/src/abstract/utils.ts +0 -80
  477. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1884
  478. package/node_modules/@noble/curves/src/bls12-381.ts +0 -781
  479. package/node_modules/@noble/curves/src/bn254.ts +0 -243
  480. package/node_modules/@noble/curves/src/ed25519.ts +0 -554
  481. package/node_modules/@noble/curves/src/ed448.ts +0 -552
  482. package/node_modules/@noble/curves/src/index.ts +0 -15
  483. package/node_modules/@noble/curves/src/jubjub.ts +0 -12
  484. package/node_modules/@noble/curves/src/misc.ts +0 -124
  485. package/node_modules/@noble/curves/src/nist.ts +0 -197
  486. package/node_modules/@noble/curves/src/p256.ts +0 -15
  487. package/node_modules/@noble/curves/src/p384.ts +0 -15
  488. package/node_modules/@noble/curves/src/p521.ts +0 -15
  489. package/node_modules/@noble/curves/src/package.json +0 -3
  490. package/node_modules/@noble/curves/src/pasta.ts +0 -9
  491. package/node_modules/@noble/curves/src/secp256k1.ts +0 -362
  492. package/node_modules/@noble/curves/src/utils.ts +0 -376
  493. package/node_modules/@noble/curves/utils.d.ts +0 -110
  494. package/node_modules/@noble/curves/utils.d.ts.map +0 -1
  495. package/node_modules/@noble/curves/utils.js +0 -360
  496. package/node_modules/@noble/curves/utils.js.map +0 -1
  497. package/node_modules/@noble/hashes/LICENSE +0 -21
  498. package/node_modules/@noble/hashes/README.md +0 -521
  499. package/node_modules/@noble/hashes/_assert.d.ts +0 -17
  500. package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  501. package/node_modules/@noble/hashes/_assert.js +0 -18
  502. package/node_modules/@noble/hashes/_assert.js.map +0 -1
  503. package/node_modules/@noble/hashes/_blake.d.ts +0 -14
  504. package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  505. package/node_modules/@noble/hashes/_blake.js +0 -50
  506. package/node_modules/@noble/hashes/_blake.js.map +0 -1
  507. package/node_modules/@noble/hashes/_md.d.ts +0 -51
  508. package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  509. package/node_modules/@noble/hashes/_md.js +0 -162
  510. package/node_modules/@noble/hashes/_md.js.map +0 -1
  511. package/node_modules/@noble/hashes/_u64.d.ts +0 -55
  512. package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  513. package/node_modules/@noble/hashes/_u64.js +0 -90
  514. package/node_modules/@noble/hashes/_u64.js.map +0 -1
  515. package/node_modules/@noble/hashes/argon2.d.ts +0 -32
  516. package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  517. package/node_modules/@noble/hashes/argon2.js +0 -401
  518. package/node_modules/@noble/hashes/argon2.js.map +0 -1
  519. package/node_modules/@noble/hashes/blake1.d.ts +0 -106
  520. package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  521. package/node_modules/@noble/hashes/blake1.js +0 -459
  522. package/node_modules/@noble/hashes/blake1.js.map +0 -1
  523. package/node_modules/@noble/hashes/blake2.d.ts +0 -116
  524. package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  525. package/node_modules/@noble/hashes/blake2.js +0 -420
  526. package/node_modules/@noble/hashes/blake2.js.map +0 -1
  527. package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  528. package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  529. package/node_modules/@noble/hashes/blake2b.js +0 -14
  530. package/node_modules/@noble/hashes/blake2b.js.map +0 -1
  531. package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  532. package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  533. package/node_modules/@noble/hashes/blake2s.js +0 -24
  534. package/node_modules/@noble/hashes/blake2s.js.map +0 -1
  535. package/node_modules/@noble/hashes/blake3.d.ts +0 -54
  536. package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  537. package/node_modules/@noble/hashes/blake3.js +0 -255
  538. package/node_modules/@noble/hashes/blake3.js.map +0 -1
  539. package/node_modules/@noble/hashes/crypto.d.ts +0 -2
  540. package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  541. package/node_modules/@noble/hashes/crypto.js +0 -5
  542. package/node_modules/@noble/hashes/crypto.js.map +0 -1
  543. package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  544. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  545. package/node_modules/@noble/hashes/cryptoNode.js +0 -18
  546. package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  547. package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  548. package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  549. package/node_modules/@noble/hashes/eskdf.js +0 -166
  550. package/node_modules/@noble/hashes/eskdf.js.map +0 -1
  551. package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  552. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  553. package/node_modules/@noble/hashes/esm/_assert.js +0 -15
  554. package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  555. package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  556. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  557. package/node_modules/@noble/hashes/esm/_blake.js +0 -45
  558. package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  559. package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  560. package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  561. package/node_modules/@noble/hashes/esm/_md.js +0 -155
  562. package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  563. package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  564. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  565. package/node_modules/@noble/hashes/esm/_u64.js +0 -67
  566. package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  567. package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  568. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  569. package/node_modules/@noble/hashes/esm/argon2.js +0 -392
  570. package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  571. package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  572. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  573. package/node_modules/@noble/hashes/esm/blake1.js +0 -452
  574. package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  575. package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  576. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  577. package/node_modules/@noble/hashes/esm/blake2.js +0 -413
  578. package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  579. package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  580. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  581. package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  582. package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  583. package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  584. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  585. package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  586. package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  587. package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  588. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  589. package/node_modules/@noble/hashes/esm/blake3.js +0 -251
  590. package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  591. package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  592. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  593. package/node_modules/@noble/hashes/esm/crypto.js +0 -2
  594. package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  595. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  596. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  597. package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  598. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  599. package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  600. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  601. package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  602. package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  603. package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  604. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  605. package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  606. package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  607. package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  608. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  609. package/node_modules/@noble/hashes/esm/hmac.js +0 -86
  610. package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  611. package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  612. package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  613. package/node_modules/@noble/hashes/esm/index.js +0 -33
  614. package/node_modules/@noble/hashes/esm/index.js.map +0 -1
  615. package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  616. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  617. package/node_modules/@noble/hashes/esm/legacy.js +0 -281
  618. package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  619. package/node_modules/@noble/hashes/esm/package.json +0 -10
  620. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  621. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  622. package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  623. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  624. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  625. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  626. package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  627. package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  628. package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  629. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  630. package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  631. package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  632. package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  633. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  634. package/node_modules/@noble/hashes/esm/sha1.js +0 -11
  635. package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  636. package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  637. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  638. package/node_modules/@noble/hashes/esm/sha2.js +0 -375
  639. package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  640. package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  641. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  642. package/node_modules/@noble/hashes/esm/sha256.js +0 -20
  643. package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  644. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  645. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  646. package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  647. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  648. package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  649. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  650. package/node_modules/@noble/hashes/esm/sha3.js +0 -234
  651. package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  652. package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  653. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  654. package/node_modules/@noble/hashes/esm/sha512.js +0 -26
  655. package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  656. package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  657. package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  658. package/node_modules/@noble/hashes/esm/utils.js +0 -281
  659. package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  660. package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  661. package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  662. package/node_modules/@noble/hashes/hkdf.js +0 -88
  663. package/node_modules/@noble/hashes/hkdf.js.map +0 -1
  664. package/node_modules/@noble/hashes/hmac.d.ts +0 -35
  665. package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  666. package/node_modules/@noble/hashes/hmac.js +0 -91
  667. package/node_modules/@noble/hashes/hmac.js.map +0 -1
  668. package/node_modules/@noble/hashes/index.d.ts +0 -1
  669. package/node_modules/@noble/hashes/index.d.ts.map +0 -1
  670. package/node_modules/@noble/hashes/index.js +0 -33
  671. package/node_modules/@noble/hashes/index.js.map +0 -1
  672. package/node_modules/@noble/hashes/legacy.d.ts +0 -71
  673. package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  674. package/node_modules/@noble/hashes/legacy.js +0 -287
  675. package/node_modules/@noble/hashes/legacy.js.map +0 -1
  676. package/node_modules/@noble/hashes/package.json +0 -266
  677. package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  678. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  679. package/node_modules/@noble/hashes/pbkdf2.js +0 -101
  680. package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  681. package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  682. package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  683. package/node_modules/@noble/hashes/ripemd160.js +0 -16
  684. package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  685. package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  686. package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  687. package/node_modules/@noble/hashes/scrypt.js +0 -232
  688. package/node_modules/@noble/hashes/scrypt.js.map +0 -1
  689. package/node_modules/@noble/hashes/sha1.d.ts +0 -11
  690. package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  691. package/node_modules/@noble/hashes/sha1.js +0 -14
  692. package/node_modules/@noble/hashes/sha1.js.map +0 -1
  693. package/node_modules/@noble/hashes/sha2.d.ts +0 -159
  694. package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  695. package/node_modules/@noble/hashes/sha2.js +0 -384
  696. package/node_modules/@noble/hashes/sha2.js.map +0 -1
  697. package/node_modules/@noble/hashes/sha256.d.ts +0 -20
  698. package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  699. package/node_modules/@noble/hashes/sha256.js +0 -23
  700. package/node_modules/@noble/hashes/sha256.js.map +0 -1
  701. package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  702. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  703. package/node_modules/@noble/hashes/sha3-addons.js +0 -402
  704. package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  705. package/node_modules/@noble/hashes/sha3.d.ts +0 -53
  706. package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  707. package/node_modules/@noble/hashes/sha3.js +0 -239
  708. package/node_modules/@noble/hashes/sha3.js.map +0 -1
  709. package/node_modules/@noble/hashes/sha512.d.ts +0 -26
  710. package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  711. package/node_modules/@noble/hashes/sha512.js +0 -29
  712. package/node_modules/@noble/hashes/sha512.js.map +0 -1
  713. package/node_modules/@noble/hashes/src/_assert.ts +0 -22
  714. package/node_modules/@noble/hashes/src/_blake.ts +0 -50
  715. package/node_modules/@noble/hashes/src/_md.ts +0 -176
  716. package/node_modules/@noble/hashes/src/_u64.ts +0 -91
  717. package/node_modules/@noble/hashes/src/argon2.ts +0 -497
  718. package/node_modules/@noble/hashes/src/blake1.ts +0 -534
  719. package/node_modules/@noble/hashes/src/blake2.ts +0 -486
  720. package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  721. package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  722. package/node_modules/@noble/hashes/src/blake3.ts +0 -272
  723. package/node_modules/@noble/hashes/src/crypto.ts +0 -9
  724. package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  725. package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  726. package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  727. package/node_modules/@noble/hashes/src/hmac.ts +0 -94
  728. package/node_modules/@noble/hashes/src/index.ts +0 -31
  729. package/node_modules/@noble/hashes/src/legacy.ts +0 -293
  730. package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  731. package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  732. package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  733. package/node_modules/@noble/hashes/src/sha1.ts +0 -10
  734. package/node_modules/@noble/hashes/src/sha2.ts +0 -402
  735. package/node_modules/@noble/hashes/src/sha256.ts +0 -24
  736. package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  737. package/node_modules/@noble/hashes/src/sha3.ts +0 -258
  738. package/node_modules/@noble/hashes/src/sha512.ts +0 -34
  739. package/node_modules/@noble/hashes/src/utils.ts +0 -395
  740. package/node_modules/@noble/hashes/utils.d.ts +0 -161
  741. package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  742. package/node_modules/@noble/hashes/utils.js +0 -313
  743. package/node_modules/@noble/hashes/utils.js.map +0 -1
  744. package/node_modules/@solana/buffer-layout/LICENSE +0 -21
  745. package/node_modules/@solana/buffer-layout/README.md +0 -403
  746. package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +0 -1191
  747. package/node_modules/@solana/buffer-layout/lib/Layout.js +0 -2390
  748. package/node_modules/@solana/buffer-layout/lib/Layout.js.map +0 -1
  749. package/node_modules/@solana/buffer-layout/package.json +0 -55
  750. package/node_modules/@solana/codecs-core/LICENSE +0 -20
  751. package/node_modules/@solana/codecs-core/README.md +0 -662
  752. package/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
  753. package/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
  754. package/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
  755. package/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
  756. package/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
  757. package/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
  758. package/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
  759. package/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
  760. package/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
  761. package/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
  762. package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
  763. package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
  764. package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
  765. package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
  766. package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
  767. package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
  768. package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
  769. package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
  770. package/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
  771. package/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
  772. package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
  773. package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
  774. package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
  775. package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
  776. package/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
  777. package/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
  778. package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
  779. package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
  780. package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
  781. package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
  782. package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
  783. package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
  784. package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
  785. package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
  786. package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
  787. package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
  788. package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
  789. package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
  790. package/node_modules/@solana/codecs-core/package.json +0 -83
  791. package/node_modules/@solana/codecs-numbers/LICENSE +0 -20
  792. package/node_modules/@solana/codecs-numbers/README.md +0 -130
  793. package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
  794. package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
  795. package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
  796. package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
  797. package/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
  798. package/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
  799. package/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
  800. package/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
  801. package/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
  802. package/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
  803. package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
  804. package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
  805. package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
  806. package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
  807. package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
  808. package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
  809. package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
  810. package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
  811. package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
  812. package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
  813. package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
  814. package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
  815. package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
  816. package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
  817. package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
  818. package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
  819. package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
  820. package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
  821. package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
  822. package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
  823. package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
  824. package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
  825. package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
  826. package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
  827. package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
  828. package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
  829. package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
  830. package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
  831. package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
  832. package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
  833. package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
  834. package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
  835. package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
  836. package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
  837. package/node_modules/@solana/codecs-numbers/package.json +0 -83
  838. package/node_modules/@solana/errors/LICENSE +0 -20
  839. package/node_modules/@solana/errors/README.md +0 -87
  840. package/node_modules/@solana/errors/bin/cli.mjs +0 -7
  841. package/node_modules/@solana/errors/dist/cli.mjs +0 -574
  842. package/node_modules/@solana/errors/dist/index.browser.cjs +0 -1090
  843. package/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
  844. package/node_modules/@solana/errors/dist/index.browser.mjs +0 -856
  845. package/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
  846. package/node_modules/@solana/errors/dist/index.native.mjs +0 -856
  847. package/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
  848. package/node_modules/@solana/errors/dist/index.node.cjs +0 -1090
  849. package/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
  850. package/node_modules/@solana/errors/dist/index.node.mjs +0 -856
  851. package/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
  852. package/node_modules/@solana/errors/dist/types/codes.d.ts +0 -277
  853. package/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
  854. package/node_modules/@solana/errors/dist/types/context.d.ts +0 -404
  855. package/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
  856. package/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
  857. package/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
  858. package/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
  859. package/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
  860. package/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
  861. package/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
  862. package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -52
  863. package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
  864. package/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
  865. package/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
  866. package/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
  867. package/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
  868. package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
  869. package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
  870. package/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
  871. package/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
  872. package/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
  873. package/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
  874. package/node_modules/@solana/errors/package.json +0 -84
  875. package/node_modules/@solana/web3.js/LICENSE +0 -20
  876. package/node_modules/@solana/web3.js/README.md +0 -145
  877. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +0 -10564
  878. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +0 -1
  879. package/node_modules/@solana/web3.js/lib/index.browser.esm.js +0 -10463
  880. package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +0 -1
  881. package/node_modules/@solana/web3.js/lib/index.cjs.js +0 -11313
  882. package/node_modules/@solana/web3.js/lib/index.cjs.js.map +0 -1
  883. package/node_modules/@solana/web3.js/lib/index.d.ts +0 -4025
  884. package/node_modules/@solana/web3.js/lib/index.esm.js +0 -11208
  885. package/node_modules/@solana/web3.js/lib/index.esm.js.map +0 -1
  886. package/node_modules/@solana/web3.js/lib/index.iife.js +0 -26085
  887. package/node_modules/@solana/web3.js/lib/index.iife.js.map +0 -1
  888. package/node_modules/@solana/web3.js/lib/index.iife.min.js +0 -20
  889. package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +0 -1
  890. package/node_modules/@solana/web3.js/lib/index.native.js +0 -10564
  891. package/node_modules/@solana/web3.js/lib/index.native.js.map +0 -1
  892. package/node_modules/@solana/web3.js/node_modules/base-x/LICENSE.md +0 -22
  893. package/node_modules/@solana/web3.js/node_modules/base-x/README.md +0 -67
  894. package/node_modules/@solana/web3.js/node_modules/base-x/package.json +0 -49
  895. package/node_modules/@solana/web3.js/node_modules/base-x/src/index.d.ts +0 -10
  896. package/node_modules/@solana/web3.js/node_modules/base-x/src/index.js +0 -123
  897. package/node_modules/@solana/web3.js/node_modules/borsh/LICENSE-MIT.txt +0 -23
  898. package/node_modules/@solana/web3.js/node_modules/borsh/README.md +0 -83
  899. package/node_modules/@solana/web3.js/node_modules/borsh/lib/index.d.ts +0 -52
  900. package/node_modules/@solana/web3.js/node_modules/borsh/lib/index.js +0 -440
  901. package/node_modules/@solana/web3.js/node_modules/borsh/package.json +0 -61
  902. package/node_modules/@solana/web3.js/node_modules/bs58/CHANGELOG.md +0 -61
  903. package/node_modules/@solana/web3.js/node_modules/bs58/README.md +0 -71
  904. package/node_modules/@solana/web3.js/node_modules/bs58/index.js +0 -4
  905. package/node_modules/@solana/web3.js/node_modules/bs58/package.json +0 -37
  906. package/node_modules/@solana/web3.js/package.json +0 -75
  907. package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +0 -4
  908. package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +0 -4
  909. package/node_modules/@solana/web3.js/src/account-data.ts +0 -39
  910. package/node_modules/@solana/web3.js/src/account.ts +0 -55
  911. package/node_modules/@solana/web3.js/src/blockhash.ts +0 -4
  912. package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +0 -5
  913. package/node_modules/@solana/web3.js/src/bpf-loader.ts +0 -50
  914. package/node_modules/@solana/web3.js/src/connection.ts +0 -6961
  915. package/node_modules/@solana/web3.js/src/epoch-schedule.ts +0 -102
  916. package/node_modules/@solana/web3.js/src/errors.ts +0 -133
  917. package/node_modules/@solana/web3.js/src/fee-calculator.ts +0 -18
  918. package/node_modules/@solana/web3.js/src/fetch-impl.ts +0 -16
  919. package/node_modules/@solana/web3.js/src/index.ts +0 -24
  920. package/node_modules/@solana/web3.js/src/instruction.ts +0 -58
  921. package/node_modules/@solana/web3.js/src/keypair.ts +0 -102
  922. package/node_modules/@solana/web3.js/src/layout.ts +0 -188
  923. package/node_modules/@solana/web3.js/src/loader.ts +0 -267
  924. package/node_modules/@solana/web3.js/src/message/account-keys.ts +0 -79
  925. package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +0 -165
  926. package/node_modules/@solana/web3.js/src/message/index.ts +0 -47
  927. package/node_modules/@solana/web3.js/src/message/legacy.ts +0 -323
  928. package/node_modules/@solana/web3.js/src/message/v0.ts +0 -513
  929. package/node_modules/@solana/web3.js/src/message/versioned.ts +0 -36
  930. package/node_modules/@solana/web3.js/src/nonce-account.ts +0 -82
  931. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +0 -438
  932. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +0 -84
  933. package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +0 -281
  934. package/node_modules/@solana/web3.js/src/programs/ed25519.ts +0 -157
  935. package/node_modules/@solana/web3.js/src/programs/index.ts +0 -7
  936. package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +0 -228
  937. package/node_modules/@solana/web3.js/src/programs/stake.ts +0 -952
  938. package/node_modules/@solana/web3.js/src/programs/system.ts +0 -1048
  939. package/node_modules/@solana/web3.js/src/programs/vote.ts +0 -586
  940. package/node_modules/@solana/web3.js/src/publickey.ts +0 -259
  941. package/node_modules/@solana/web3.js/src/rpc-websocket.ts +0 -75
  942. package/node_modules/@solana/web3.js/src/sysvar.ts +0 -37
  943. package/node_modules/@solana/web3.js/src/timing.ts +0 -23
  944. package/node_modules/@solana/web3.js/src/transaction/constants.ts +0 -12
  945. package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +0 -48
  946. package/node_modules/@solana/web3.js/src/transaction/index.ts +0 -5
  947. package/node_modules/@solana/web3.js/src/transaction/legacy.ts +0 -970
  948. package/node_modules/@solana/web3.js/src/transaction/message.ts +0 -140
  949. package/node_modules/@solana/web3.js/src/transaction/versioned.ts +0 -127
  950. package/node_modules/@solana/web3.js/src/utils/assert.ts +0 -8
  951. package/node_modules/@solana/web3.js/src/utils/bigint.ts +0 -24
  952. package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +0 -38
  953. package/node_modules/@solana/web3.js/src/utils/cluster.ts +0 -35
  954. package/node_modules/@solana/web3.js/src/utils/ed25519.ts +0 -43
  955. package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +0 -34
  956. package/node_modules/@solana/web3.js/src/utils/index.ts +0 -5
  957. package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +0 -26
  958. package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +0 -14
  959. package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +0 -11
  960. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +0 -110
  961. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +0 -106
  962. package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +0 -28
  963. package/node_modules/@solana/web3.js/src/utils/sleep.ts +0 -4
  964. package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +0 -11
  965. package/node_modules/@solana/web3.js/src/validator-info.ts +0 -108
  966. package/node_modules/@solana/web3.js/src/vote-account.ts +0 -236
  967. package/node_modules/@swc/helpers/LICENSE +0 -201
  968. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +0 -4
  969. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +0 -4
  970. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +0 -4
  971. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +0 -4
  972. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +0 -4
  973. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +0 -4
  974. package/node_modules/@swc/helpers/_/_async_generator/package.json +0 -4
  975. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +0 -4
  976. package/node_modules/@swc/helpers/_/_async_iterator/package.json +0 -4
  977. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +0 -4
  978. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +0 -4
  979. package/node_modules/@swc/helpers/_/_await_value/package.json +0 -4
  980. package/node_modules/@swc/helpers/_/_call_super/package.json +0 -4
  981. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +0 -4
  982. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +0 -4
  983. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +0 -4
  984. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +0 -4
  985. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +0 -4
  986. package/node_modules/@swc/helpers/_/_class_call_check/package.json +0 -4
  987. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +0 -4
  988. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +0 -4
  989. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +0 -4
  990. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +0 -4
  991. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +0 -4
  992. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +0 -4
  993. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +0 -4
  994. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +0 -4
  995. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +0 -4
  996. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +0 -4
  997. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +0 -4
  998. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +0 -4
  999. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +0 -4
  1000. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +0 -4
  1001. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +0 -4
  1002. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +0 -4
  1003. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +0 -4
  1004. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +0 -4
  1005. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +0 -4
  1006. package/node_modules/@swc/helpers/_/_construct/package.json +0 -4
  1007. package/node_modules/@swc/helpers/_/_create_class/package.json +0 -4
  1008. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +0 -4
  1009. package/node_modules/@swc/helpers/_/_create_super/package.json +0 -4
  1010. package/node_modules/@swc/helpers/_/_decorate/package.json +0 -4
  1011. package/node_modules/@swc/helpers/_/_defaults/package.json +0 -4
  1012. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +0 -4
  1013. package/node_modules/@swc/helpers/_/_define_property/package.json +0 -4
  1014. package/node_modules/@swc/helpers/_/_dispose/package.json +0 -4
  1015. package/node_modules/@swc/helpers/_/_export_star/package.json +0 -4
  1016. package/node_modules/@swc/helpers/_/_extends/package.json +0 -4
  1017. package/node_modules/@swc/helpers/_/_get/package.json +0 -4
  1018. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +0 -4
  1019. package/node_modules/@swc/helpers/_/_identity/package.json +0 -4
  1020. package/node_modules/@swc/helpers/_/_inherits/package.json +0 -4
  1021. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +0 -4
  1022. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +0 -4
  1023. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +0 -4
  1024. package/node_modules/@swc/helpers/_/_instanceof/package.json +0 -4
  1025. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +0 -4
  1026. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +0 -4
  1027. package/node_modules/@swc/helpers/_/_is_native_function/package.json +0 -4
  1028. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +0 -4
  1029. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +0 -4
  1030. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +0 -4
  1031. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +0 -4
  1032. package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
  1033. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +0 -4
  1034. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +0 -4
  1035. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +0 -4
  1036. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +0 -4
  1037. package/node_modules/@swc/helpers/_/_object_spread/package.json +0 -4
  1038. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +0 -4
  1039. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +0 -4
  1040. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +0 -4
  1041. package/node_modules/@swc/helpers/_/_overload_yield/package.json +0 -4
  1042. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +0 -4
  1043. package/node_modules/@swc/helpers/_/_read_only_error/package.json +0 -4
  1044. package/node_modules/@swc/helpers/_/_set/package.json +0 -4
  1045. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +0 -4
  1046. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +0 -4
  1047. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +0 -4
  1048. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +0 -4
  1049. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +0 -4
  1050. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +0 -4
  1051. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +0 -4
  1052. package/node_modules/@swc/helpers/_/_throw/package.json +0 -4
  1053. package/node_modules/@swc/helpers/_/_to_array/package.json +0 -4
  1054. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +0 -4
  1055. package/node_modules/@swc/helpers/_/_to_primitive/package.json +0 -4
  1056. package/node_modules/@swc/helpers/_/_to_property_key/package.json +0 -4
  1057. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +0 -4
  1058. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +0 -4
  1059. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +0 -4
  1060. package/node_modules/@swc/helpers/_/_ts_generator/package.json +0 -4
  1061. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +0 -4
  1062. package/node_modules/@swc/helpers/_/_ts_param/package.json +0 -4
  1063. package/node_modules/@swc/helpers/_/_ts_rewrite_relative_import_extension/package.json +0 -4
  1064. package/node_modules/@swc/helpers/_/_ts_values/package.json +0 -4
  1065. package/node_modules/@swc/helpers/_/_type_of/package.json +0 -4
  1066. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +0 -4
  1067. package/node_modules/@swc/helpers/_/_update/package.json +0 -4
  1068. package/node_modules/@swc/helpers/_/_using/package.json +0 -4
  1069. package/node_modules/@swc/helpers/_/_using_ctx/package.json +0 -4
  1070. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +0 -4
  1071. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +0 -4
  1072. package/node_modules/@swc/helpers/_/_write_only_error/package.json +0 -4
  1073. package/node_modules/@swc/helpers/_/index/package.json +0 -4
  1074. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +0 -35
  1075. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +0 -550
  1076. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +0 -10
  1077. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +0 -6
  1078. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +0 -8
  1079. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +0 -8
  1080. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +0 -76
  1081. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +0 -53
  1082. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +0 -46
  1083. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +0 -33
  1084. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +0 -8
  1085. package/node_modules/@swc/helpers/cjs/_await_value.cjs +0 -6
  1086. package/node_modules/@swc/helpers/cjs/_call_super.cjs +0 -19
  1087. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +0 -8
  1088. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +0 -25
  1089. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +0 -8
  1090. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +0 -15
  1091. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +0 -30
  1092. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +0 -6
  1093. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +0 -6
  1094. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +0 -8
  1095. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +0 -8
  1096. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +0 -6
  1097. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +0 -10
  1098. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +0 -10
  1099. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +0 -9
  1100. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +0 -10
  1101. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +0 -8
  1102. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +0 -11
  1103. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +0 -10
  1104. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +0 -8
  1105. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +0 -9
  1106. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +0 -6
  1107. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +0 -13
  1108. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +0 -13
  1109. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +0 -14
  1110. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +0 -13
  1111. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +0 -10
  1112. package/node_modules/@swc/helpers/cjs/_construct.cjs +0 -22
  1113. package/node_modules/@swc/helpers/cjs/_create_class.cjs +0 -20
  1114. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +0 -24
  1115. package/node_modules/@swc/helpers/cjs/_create_super.cjs +0 -23
  1116. package/node_modules/@swc/helpers/cjs/_decorate.cjs +0 -270
  1117. package/node_modules/@swc/helpers/cjs/_defaults.cjs +0 -15
  1118. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +0 -26
  1119. package/node_modules/@swc/helpers/cjs/_define_property.cjs +0 -10
  1120. package/node_modules/@swc/helpers/cjs/_dispose.cjs +0 -43
  1121. package/node_modules/@swc/helpers/cjs/_export_star.cjs +0 -17
  1122. package/node_modules/@swc/helpers/cjs/_extends.cjs +0 -15
  1123. package/node_modules/@swc/helpers/cjs/_get.cjs +0 -23
  1124. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +0 -10
  1125. package/node_modules/@swc/helpers/cjs/_identity.cjs +0 -7
  1126. package/node_modules/@swc/helpers/cjs/_inherits.cjs +0 -14
  1127. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +0 -8
  1128. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +0 -13
  1129. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +0 -11
  1130. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +0 -8
  1131. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
  1132. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
  1133. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +0 -6
  1134. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +0 -18
  1135. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +0 -8
  1136. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +0 -31
  1137. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +0 -17
  1138. package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
  1139. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +0 -6
  1140. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +0 -6
  1141. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +0 -6
  1142. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +0 -8
  1143. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +0 -25
  1144. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +0 -30
  1145. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +0 -35
  1146. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +0 -16
  1147. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +0 -8
  1148. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +0 -11
  1149. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +0 -6
  1150. package/node_modules/@swc/helpers/cjs/_set.cjs +0 -44
  1151. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +0 -12
  1152. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +0 -11
  1153. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +0 -11
  1154. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +0 -11
  1155. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +0 -13
  1156. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +0 -8
  1157. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +0 -10
  1158. package/node_modules/@swc/helpers/cjs/_throw.cjs +0 -6
  1159. package/node_modules/@swc/helpers/cjs/_to_array.cjs +0 -11
  1160. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +0 -11
  1161. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +0 -18
  1162. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +0 -11
  1163. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +0 -3
  1164. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +0 -3
  1165. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +0 -3
  1166. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +0 -31
  1167. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +0 -3
  1168. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +0 -3
  1169. package/node_modules/@swc/helpers/cjs/_ts_rewrite_relative_import_extension.cjs +0 -3
  1170. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +0 -3
  1171. package/node_modules/@swc/helpers/cjs/_type_of.cjs +0 -8
  1172. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +0 -15
  1173. package/node_modules/@swc/helpers/cjs/_update.cjs +0 -16
  1174. package/node_modules/@swc/helpers/cjs/_using.cjs +0 -24
  1175. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +0 -75
  1176. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +0 -10
  1177. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +0 -28
  1178. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +0 -6
  1179. package/node_modules/@swc/helpers/cjs/index.cjs +0 -431
  1180. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +0 -33
  1181. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +0 -548
  1182. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +0 -8
  1183. package/node_modules/@swc/helpers/esm/_array_with_holes.js +0 -4
  1184. package/node_modules/@swc/helpers/esm/_array_without_holes.js +0 -6
  1185. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +0 -6
  1186. package/node_modules/@swc/helpers/esm/_async_generator.js +0 -74
  1187. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +0 -51
  1188. package/node_modules/@swc/helpers/esm/_async_iterator.js +0 -44
  1189. package/node_modules/@swc/helpers/esm/_async_to_generator.js +0 -31
  1190. package/node_modules/@swc/helpers/esm/_await_async_generator.js +0 -6
  1191. package/node_modules/@swc/helpers/esm/_await_value.js +0 -4
  1192. package/node_modules/@swc/helpers/esm/_call_super.js +0 -17
  1193. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
  1194. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +0 -23
  1195. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
  1196. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
  1197. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +0 -28
  1198. package/node_modules/@swc/helpers/esm/_class_call_check.js +0 -4
  1199. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +0 -4
  1200. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +0 -6
  1201. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
  1202. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +0 -4
  1203. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +0 -8
  1204. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
  1205. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
  1206. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +0 -8
  1207. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +0 -6
  1208. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
  1209. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +0 -8
  1210. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +0 -6
  1211. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +0 -7
  1212. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +0 -4
  1213. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +0 -11
  1214. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +0 -11
  1215. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +0 -12
  1216. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +0 -11
  1217. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +0 -8
  1218. package/node_modules/@swc/helpers/esm/_construct.js +0 -20
  1219. package/node_modules/@swc/helpers/esm/_create_class.js +0 -18
  1220. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +0 -22
  1221. package/node_modules/@swc/helpers/esm/_create_super.js +0 -21
  1222. package/node_modules/@swc/helpers/esm/_decorate.js +0 -268
  1223. package/node_modules/@swc/helpers/esm/_defaults.js +0 -13
  1224. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +0 -24
  1225. package/node_modules/@swc/helpers/esm/_define_property.js +0 -8
  1226. package/node_modules/@swc/helpers/esm/_dispose.js +0 -41
  1227. package/node_modules/@swc/helpers/esm/_export_star.js +0 -15
  1228. package/node_modules/@swc/helpers/esm/_extends.js +0 -13
  1229. package/node_modules/@swc/helpers/esm/_get.js +0 -21
  1230. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +0 -8
  1231. package/node_modules/@swc/helpers/esm/_identity.js +0 -5
  1232. package/node_modules/@swc/helpers/esm/_inherits.js +0 -12
  1233. package/node_modules/@swc/helpers/esm/_inherits_loose.js +0 -6
  1234. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +0 -11
  1235. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +0 -9
  1236. package/node_modules/@swc/helpers/esm/_instanceof.js +0 -6
  1237. package/node_modules/@swc/helpers/esm/_interop_require_default.js +0 -4
  1238. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +0 -36
  1239. package/node_modules/@swc/helpers/esm/_is_native_function.js +0 -4
  1240. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +0 -16
  1241. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +0 -6
  1242. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +0 -29
  1243. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +0 -15
  1244. package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
  1245. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +0 -4
  1246. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +0 -4
  1247. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +0 -4
  1248. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +0 -6
  1249. package/node_modules/@swc/helpers/esm/_object_spread.js +0 -23
  1250. package/node_modules/@swc/helpers/esm/_object_spread_props.js +0 -28
  1251. package/node_modules/@swc/helpers/esm/_object_without_properties.js +0 -33
  1252. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +0 -14
  1253. package/node_modules/@swc/helpers/esm/_overload_yield.js +0 -6
  1254. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +0 -9
  1255. package/node_modules/@swc/helpers/esm/_read_only_error.js +0 -4
  1256. package/node_modules/@swc/helpers/esm/_set.js +0 -42
  1257. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +0 -10
  1258. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +0 -9
  1259. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +0 -9
  1260. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +0 -9
  1261. package/node_modules/@swc/helpers/esm/_super_prop_base.js +0 -11
  1262. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +0 -6
  1263. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +0 -8
  1264. package/node_modules/@swc/helpers/esm/_throw.js +0 -4
  1265. package/node_modules/@swc/helpers/esm/_to_array.js +0 -9
  1266. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +0 -9
  1267. package/node_modules/@swc/helpers/esm/_to_primitive.js +0 -16
  1268. package/node_modules/@swc/helpers/esm/_to_property_key.js +0 -9
  1269. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +0 -1
  1270. package/node_modules/@swc/helpers/esm/_ts_decorate.js +0 -1
  1271. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +0 -1
  1272. package/node_modules/@swc/helpers/esm/_ts_generator.js +0 -29
  1273. package/node_modules/@swc/helpers/esm/_ts_metadata.js +0 -1
  1274. package/node_modules/@swc/helpers/esm/_ts_param.js +0 -1
  1275. package/node_modules/@swc/helpers/esm/_ts_rewrite_relative_import_extension.js +0 -1
  1276. package/node_modules/@swc/helpers/esm/_ts_values.js +0 -1
  1277. package/node_modules/@swc/helpers/esm/_type_of.js +0 -6
  1278. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +0 -13
  1279. package/node_modules/@swc/helpers/esm/_update.js +0 -14
  1280. package/node_modules/@swc/helpers/esm/_using.js +0 -22
  1281. package/node_modules/@swc/helpers/esm/_using_ctx.js +0 -73
  1282. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +0 -8
  1283. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +0 -26
  1284. package/node_modules/@swc/helpers/esm/_write_only_error.js +0 -4
  1285. package/node_modules/@swc/helpers/esm/index.js +0 -108
  1286. package/node_modules/@swc/helpers/package.json +0 -694
  1287. package/node_modules/@swc/helpers/scripts/ast_grep.js +0 -218
  1288. package/node_modules/@swc/helpers/scripts/build.js +0 -133
  1289. package/node_modules/@swc/helpers/scripts/errors.js +0 -1
  1290. package/node_modules/@swc/helpers/scripts/utils.js +0 -3
  1291. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +0 -1
  1292. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +0 -1
  1293. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +0 -1
  1294. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +0 -1
  1295. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +0 -1
  1296. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +0 -1
  1297. package/node_modules/@swc/helpers/src/_async_generator.mjs +0 -1
  1298. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +0 -1
  1299. package/node_modules/@swc/helpers/src/_async_iterator.mjs +0 -1
  1300. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +0 -1
  1301. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +0 -1
  1302. package/node_modules/@swc/helpers/src/_await_value.mjs +0 -1
  1303. package/node_modules/@swc/helpers/src/_call_super.mjs +0 -1
  1304. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +0 -1
  1305. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +0 -1
  1306. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +0 -1
  1307. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +0 -1
  1308. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +0 -1
  1309. package/node_modules/@swc/helpers/src/_class_call_check.mjs +0 -1
  1310. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +0 -1
  1311. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +0 -1
  1312. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +0 -1
  1313. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +0 -1
  1314. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +0 -1
  1315. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +0 -1
  1316. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +0 -1
  1317. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +0 -1
  1318. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +0 -1
  1319. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +0 -1
  1320. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +0 -1
  1321. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +0 -1
  1322. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +0 -1
  1323. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +0 -1
  1324. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +0 -1
  1325. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +0 -1
  1326. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +0 -1
  1327. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +0 -1
  1328. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +0 -1
  1329. package/node_modules/@swc/helpers/src/_construct.mjs +0 -1
  1330. package/node_modules/@swc/helpers/src/_create_class.mjs +0 -1
  1331. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +0 -1
  1332. package/node_modules/@swc/helpers/src/_create_super.mjs +0 -1
  1333. package/node_modules/@swc/helpers/src/_decorate.mjs +0 -1
  1334. package/node_modules/@swc/helpers/src/_defaults.mjs +0 -1
  1335. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +0 -1
  1336. package/node_modules/@swc/helpers/src/_define_property.mjs +0 -1
  1337. package/node_modules/@swc/helpers/src/_dispose.mjs +0 -1
  1338. package/node_modules/@swc/helpers/src/_export_star.mjs +0 -1
  1339. package/node_modules/@swc/helpers/src/_extends.mjs +0 -1
  1340. package/node_modules/@swc/helpers/src/_get.mjs +0 -1
  1341. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +0 -1
  1342. package/node_modules/@swc/helpers/src/_identity.mjs +0 -1
  1343. package/node_modules/@swc/helpers/src/_inherits.mjs +0 -1
  1344. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +0 -1
  1345. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +0 -1
  1346. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +0 -1
  1347. package/node_modules/@swc/helpers/src/_instanceof.mjs +0 -1
  1348. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +0 -1
  1349. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +0 -1
  1350. package/node_modules/@swc/helpers/src/_is_native_function.mjs +0 -1
  1351. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +0 -1
  1352. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +0 -1
  1353. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +0 -1
  1354. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +0 -1
  1355. package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
  1356. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +0 -1
  1357. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +0 -1
  1358. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +0 -1
  1359. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +0 -1
  1360. package/node_modules/@swc/helpers/src/_object_spread.mjs +0 -1
  1361. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +0 -1
  1362. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +0 -1
  1363. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +0 -1
  1364. package/node_modules/@swc/helpers/src/_overload_yield.mjs +0 -1
  1365. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +0 -1
  1366. package/node_modules/@swc/helpers/src/_read_only_error.mjs +0 -1
  1367. package/node_modules/@swc/helpers/src/_set.mjs +0 -1
  1368. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +0 -1
  1369. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +0 -1
  1370. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +0 -1
  1371. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +0 -1
  1372. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +0 -1
  1373. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +0 -1
  1374. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +0 -1
  1375. package/node_modules/@swc/helpers/src/_throw.mjs +0 -1
  1376. package/node_modules/@swc/helpers/src/_to_array.mjs +0 -1
  1377. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +0 -1
  1378. package/node_modules/@swc/helpers/src/_to_primitive.mjs +0 -1
  1379. package/node_modules/@swc/helpers/src/_to_property_key.mjs +0 -1
  1380. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +0 -1
  1381. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +0 -1
  1382. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +0 -1
  1383. package/node_modules/@swc/helpers/src/_ts_generator.mjs +0 -1
  1384. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +0 -1
  1385. package/node_modules/@swc/helpers/src/_ts_param.mjs +0 -1
  1386. package/node_modules/@swc/helpers/src/_ts_rewrite_relative_import_extension.mjs +0 -1
  1387. package/node_modules/@swc/helpers/src/_ts_values.mjs +0 -1
  1388. package/node_modules/@swc/helpers/src/_type_of.mjs +0 -1
  1389. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +0 -1
  1390. package/node_modules/@swc/helpers/src/_update.mjs +0 -1
  1391. package/node_modules/@swc/helpers/src/_using.mjs +0 -1
  1392. package/node_modules/@swc/helpers/src/_using_ctx.mjs +0 -1
  1393. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +0 -1
  1394. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +0 -1
  1395. package/node_modules/@swc/helpers/src/_write_only_error.mjs +0 -1
  1396. package/node_modules/@swc/helpers/src/index.mjs +0 -1
  1397. package/node_modules/@types/connect/LICENSE +0 -21
  1398. package/node_modules/@types/connect/README.md +0 -15
  1399. package/node_modules/@types/connect/index.d.ts +0 -91
  1400. package/node_modules/@types/connect/package.json +0 -32
  1401. package/node_modules/@types/node/LICENSE +0 -21
  1402. package/node_modules/@types/node/README.md +0 -16
  1403. package/node_modules/@types/node/assert.d.ts +0 -117
  1404. package/node_modules/@types/node/async_hooks.d.ts +0 -246
  1405. package/node_modules/@types/node/buffer.d.ts +0 -22
  1406. package/node_modules/@types/node/child_process.d.ts +0 -507
  1407. package/node_modules/@types/node/cluster.d.ts +0 -260
  1408. package/node_modules/@types/node/console.d.ts +0 -3
  1409. package/node_modules/@types/node/constants.d.ts +0 -448
  1410. package/node_modules/@types/node/crypto.d.ts +0 -1183
  1411. package/node_modules/@types/node/dgram.d.ts +0 -118
  1412. package/node_modules/@types/node/dns.d.ts +0 -372
  1413. package/node_modules/@types/node/domain.d.ts +0 -16
  1414. package/node_modules/@types/node/events.d.ts +0 -47
  1415. package/node_modules/@types/node/fs.d.ts +0 -2567
  1416. package/node_modules/@types/node/globals.d.ts +0 -1351
  1417. package/node_modules/@types/node/globals.global.d.ts +0 -1
  1418. package/node_modules/@types/node/http.d.ts +0 -456
  1419. package/node_modules/@types/node/http2.d.ts +0 -952
  1420. package/node_modules/@types/node/https.d.ts +0 -156
  1421. package/node_modules/@types/node/index.d.ts +0 -91
  1422. package/node_modules/@types/node/inspector.d.ts +0 -3040
  1423. package/node_modules/@types/node/module.d.ts +0 -3
  1424. package/node_modules/@types/node/net.d.ts +0 -290
  1425. package/node_modules/@types/node/os.d.ts +0 -263
  1426. package/node_modules/@types/node/package.json +0 -195
  1427. package/node_modules/@types/node/path.d.ts +0 -159
  1428. package/node_modules/@types/node/perf_hooks.d.ts +0 -259
  1429. package/node_modules/@types/node/process.d.ts +0 -15
  1430. package/node_modules/@types/node/punycode.d.ts +0 -75
  1431. package/node_modules/@types/node/querystring.d.ts +0 -29
  1432. package/node_modules/@types/node/readline.d.ts +0 -158
  1433. package/node_modules/@types/node/repl.d.ts +0 -390
  1434. package/node_modules/@types/node/stream.d.ts +0 -334
  1435. package/node_modules/@types/node/string_decoder.d.ts +0 -7
  1436. package/node_modules/@types/node/timers.d.ts +0 -16
  1437. package/node_modules/@types/node/tls.d.ts +0 -713
  1438. package/node_modules/@types/node/trace_events.d.ts +0 -61
  1439. package/node_modules/@types/node/tty.d.ts +0 -66
  1440. package/node_modules/@types/node/url.d.ts +0 -147
  1441. package/node_modules/@types/node/util.d.ts +0 -200
  1442. package/node_modules/@types/node/v8.d.ts +0 -197
  1443. package/node_modules/@types/node/vm.d.ts +0 -112
  1444. package/node_modules/@types/node/wasi.d.ts +0 -55
  1445. package/node_modules/@types/node/worker_threads.d.ts +0 -207
  1446. package/node_modules/@types/node/zlib.d.ts +0 -356
  1447. package/node_modules/@types/uuid/LICENSE +0 -21
  1448. package/node_modules/@types/uuid/README.md +0 -15
  1449. package/node_modules/@types/uuid/index.d.mts +0 -19
  1450. package/node_modules/@types/uuid/index.d.ts +0 -113
  1451. package/node_modules/@types/uuid/package.json +0 -54
  1452. package/node_modules/@types/ws/LICENSE +0 -21
  1453. package/node_modules/@types/ws/README.md +0 -16
  1454. package/node_modules/@types/ws/index.d.ts +0 -353
  1455. package/node_modules/@types/ws/package.json +0 -57
  1456. package/node_modules/agentkeepalive/LICENSE +0 -23
  1457. package/node_modules/agentkeepalive/README.md +0 -256
  1458. package/node_modules/agentkeepalive/browser.js +0 -5
  1459. package/node_modules/agentkeepalive/index.d.ts +0 -69
  1460. package/node_modules/agentkeepalive/index.js +0 -7
  1461. package/node_modules/agentkeepalive/lib/agent.js +0 -402
  1462. package/node_modules/agentkeepalive/lib/constants.js +0 -14
  1463. package/node_modules/agentkeepalive/lib/https_agent.js +0 -51
  1464. package/node_modules/agentkeepalive/package.json +0 -56
  1465. package/node_modules/base64-js/LICENSE +0 -21
  1466. package/node_modules/base64-js/README.md +0 -34
  1467. package/node_modules/base64-js/base64js.min.js +0 -1
  1468. package/node_modules/base64-js/index.d.ts +0 -3
  1469. package/node_modules/base64-js/index.js +0 -150
  1470. package/node_modules/base64-js/package.json +0 -47
  1471. package/node_modules/bn.js/LICENSE +0 -19
  1472. package/node_modules/bn.js/README.md +0 -214
  1473. package/node_modules/bn.js/lib/bn.js +0 -3553
  1474. package/node_modules/bn.js/package.json +0 -39
  1475. package/node_modules/buffer/AUTHORS.md +0 -73
  1476. package/node_modules/buffer/LICENSE +0 -21
  1477. package/node_modules/buffer/README.md +0 -410
  1478. package/node_modules/buffer/index.d.ts +0 -194
  1479. package/node_modules/buffer/index.js +0 -2106
  1480. package/node_modules/buffer/package.json +0 -93
  1481. package/node_modules/bufferutil/LICENSE +0 -20
  1482. package/node_modules/bufferutil/README.md +0 -79
  1483. package/node_modules/bufferutil/binding.gyp +0 -19
  1484. package/node_modules/bufferutil/fallback.js +0 -34
  1485. package/node_modules/bufferutil/index.js +0 -7
  1486. package/node_modules/bufferutil/package.json +0 -35
  1487. package/node_modules/bufferutil/prebuilds/darwin-arm64/bufferutil.node +0 -0
  1488. package/node_modules/bufferutil/prebuilds/darwin-x64/bufferutil.node +0 -0
  1489. package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
  1490. package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
  1491. package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
  1492. package/node_modules/bufferutil/src/bufferutil.c +0 -169
  1493. package/node_modules/chalk/license +0 -9
  1494. package/node_modules/chalk/package.json +0 -83
  1495. package/node_modules/chalk/readme.md +0 -297
  1496. package/node_modules/chalk/source/index.d.ts +0 -325
  1497. package/node_modules/chalk/source/index.js +0 -225
  1498. package/node_modules/chalk/source/utilities.js +0 -33
  1499. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  1500. package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  1501. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  1502. package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  1503. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  1504. package/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  1505. package/node_modules/commander/LICENSE +0 -22
  1506. package/node_modules/commander/Readme.md +0 -1176
  1507. package/node_modules/commander/esm.mjs +0 -16
  1508. package/node_modules/commander/index.js +0 -24
  1509. package/node_modules/commander/lib/argument.js +0 -150
  1510. package/node_modules/commander/lib/command.js +0 -2777
  1511. package/node_modules/commander/lib/error.js +0 -39
  1512. package/node_modules/commander/lib/help.js +0 -747
  1513. package/node_modules/commander/lib/option.js +0 -380
  1514. package/node_modules/commander/lib/suggestSimilar.js +0 -101
  1515. package/node_modules/commander/package-support.json +0 -19
  1516. package/node_modules/commander/package.json +0 -82
  1517. package/node_modules/commander/typings/esm.d.mts +0 -3
  1518. package/node_modules/commander/typings/index.d.ts +0 -1113
  1519. package/node_modules/delay/index.d.ts +0 -107
  1520. package/node_modules/delay/index.js +0 -72
  1521. package/node_modules/delay/license +0 -9
  1522. package/node_modules/delay/package.json +0 -54
  1523. package/node_modules/delay/readme.md +0 -173
  1524. package/node_modules/es6-promise/CHANGELOG.md +0 -155
  1525. package/node_modules/es6-promise/LICENSE +0 -19
  1526. package/node_modules/es6-promise/README.md +0 -97
  1527. package/node_modules/es6-promise/auto.js +0 -4
  1528. package/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
  1529. package/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
  1530. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
  1531. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
  1532. package/node_modules/es6-promise/dist/es6-promise.js +0 -1174
  1533. package/node_modules/es6-promise/dist/es6-promise.map +0 -1
  1534. package/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
  1535. package/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
  1536. package/node_modules/es6-promise/es6-promise.d.ts +0 -85
  1537. package/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
  1538. package/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
  1539. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
  1540. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
  1541. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
  1542. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
  1543. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
  1544. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
  1545. package/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
  1546. package/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
  1547. package/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
  1548. package/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
  1549. package/node_modules/es6-promise/lib/es6-promise.js +0 -7
  1550. package/node_modules/es6-promise/package.json +0 -78
  1551. package/node_modules/es6-promisify/README.md +0 -89
  1552. package/node_modules/es6-promisify/dist/promise.js +0 -73
  1553. package/node_modules/es6-promisify/dist/promisify.js +0 -85
  1554. package/node_modules/es6-promisify/package.json +0 -41
  1555. package/node_modules/eventemitter3/LICENSE +0 -21
  1556. package/node_modules/eventemitter3/README.md +0 -85
  1557. package/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -355
  1558. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  1559. package/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  1560. package/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -363
  1561. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  1562. package/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  1563. package/node_modules/eventemitter3/index.d.ts +0 -135
  1564. package/node_modules/eventemitter3/index.js +0 -336
  1565. package/node_modules/eventemitter3/index.mjs +0 -4
  1566. package/node_modules/eventemitter3/package.json +0 -62
  1567. package/node_modules/eyes/LICENSE +0 -20
  1568. package/node_modules/eyes/Makefile +0 -4
  1569. package/node_modules/eyes/README.md +0 -73
  1570. package/node_modules/eyes/lib/eyes.js +0 -236
  1571. package/node_modules/eyes/package.json +0 -14
  1572. package/node_modules/eyes/test/eyes-test.js +0 -56
  1573. package/node_modules/fast-stable-stringify/.npmignore +0 -4
  1574. package/node_modules/fast-stable-stringify/.travis.yml +0 -10
  1575. package/node_modules/fast-stable-stringify/LICENSE +0 -21
  1576. package/node_modules/fast-stable-stringify/README.md +0 -81
  1577. package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +0 -67
  1578. package/node_modules/fast-stable-stringify/cli/format-table.js +0 -70
  1579. package/node_modules/fast-stable-stringify/cli/index.js +0 -19
  1580. package/node_modules/fast-stable-stringify/fixtures/index.js +0 -5
  1581. package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +0 -191
  1582. package/node_modules/fast-stable-stringify/fixtures/log-result.json +0 -22
  1583. package/node_modules/fast-stable-stringify/fixtures/log.txt +0 -24
  1584. package/node_modules/fast-stable-stringify/index.js +0 -73
  1585. package/node_modules/fast-stable-stringify/karma.conf.js +0 -124
  1586. package/node_modules/fast-stable-stringify/karma.conf.travis.js +0 -95
  1587. package/node_modules/fast-stable-stringify/package.json +0 -47
  1588. package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  1589. package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  1590. package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  1591. package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  1592. package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  1593. package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  1594. package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  1595. package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  1596. package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  1597. package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  1598. package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  1599. package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  1600. package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  1601. package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  1602. package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  1603. package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  1604. package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  1605. package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  1606. package/node_modules/fast-stable-stringify/results/escape.md +0 -20
  1607. package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  1608. package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  1609. package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  1610. package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  1611. package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1612. package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1613. package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1614. package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  1615. package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  1616. package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  1617. package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  1618. package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  1619. package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  1620. package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1621. package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1622. package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1623. package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  1624. package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  1625. package/node_modules/fast-stable-stringify/results/itar.md +0 -20
  1626. package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  1627. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +0 -35
  1628. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  1629. package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  1630. package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  1631. package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1632. package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1633. package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1634. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  1635. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +0 -35
  1636. package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  1637. package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +0 -35
  1638. package/node_modules/fast-stable-stringify/results/iter.md +0 -14
  1639. package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -46
  1640. package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -46
  1641. package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -46
  1642. package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -46
  1643. package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  1644. package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  1645. package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  1646. package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -46
  1647. package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -46
  1648. package/node_modules/fast-stable-stringify/results/libs.md +0 -15
  1649. package/node_modules/fast-stable-stringify/test/escape-long.js +0 -147
  1650. package/node_modules/fast-stable-stringify/test/escape-short.js +0 -147
  1651. package/node_modules/fast-stable-stringify/test/index.js +0 -6
  1652. package/node_modules/fast-stable-stringify/test/itar-long.js +0 -52
  1653. package/node_modules/fast-stable-stringify/test/itar-short.js +0 -52
  1654. package/node_modules/fast-stable-stringify/test/iter.js +0 -84
  1655. package/node_modules/fast-stable-stringify/test/libs.js +0 -57
  1656. package/node_modules/fast-stable-stringify/test/travis.js +0 -43
  1657. package/node_modules/fast-stable-stringify/test/validate.js +0 -24
  1658. package/node_modules/fast-stable-stringify/util/eachRecursive.js +0 -9
  1659. package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +0 -21
  1660. package/node_modules/fast-stable-stringify/util/get-lib-info.js +0 -22
  1661. package/node_modules/fast-stable-stringify/util/object-path.js +0 -47
  1662. package/node_modules/fast-stable-stringify/v8-profile/bench.js +0 -8
  1663. package/node_modules/fast-stable-stringify/v8-profile/run.sh +0 -2
  1664. package/node_modules/fast-stable-stringify/zuul-local.sh +0 -2
  1665. package/node_modules/humanize-ms/History.md +0 -25
  1666. package/node_modules/humanize-ms/LICENSE +0 -17
  1667. package/node_modules/humanize-ms/README.md +0 -40
  1668. package/node_modules/humanize-ms/index.js +0 -24
  1669. package/node_modules/humanize-ms/package.json +0 -37
  1670. package/node_modules/ieee754/LICENSE +0 -11
  1671. package/node_modules/ieee754/README.md +0 -51
  1672. package/node_modules/ieee754/index.d.ts +0 -10
  1673. package/node_modules/ieee754/index.js +0 -85
  1674. package/node_modules/ieee754/package.json +0 -52
  1675. package/node_modules/isomorphic-ws/LICENSE +0 -21
  1676. package/node_modules/isomorphic-ws/README.md +0 -58
  1677. package/node_modules/isomorphic-ws/browser.js +0 -17
  1678. package/node_modules/isomorphic-ws/index.d.ts +0 -8
  1679. package/node_modules/isomorphic-ws/node.js +0 -3
  1680. package/node_modules/isomorphic-ws/package.json +0 -34
  1681. package/node_modules/jayson/.npmignore +0 -8
  1682. package/node_modules/jayson/LICENSE +0 -22
  1683. package/node_modules/jayson/README.md +0 -1387
  1684. package/node_modules/jayson/bin/jayson.js +0 -111
  1685. package/node_modules/jayson/index.d.ts +0 -391
  1686. package/node_modules/jayson/index.js +0 -1
  1687. package/node_modules/jayson/lib/client/browser/index.d.ts +0 -14
  1688. package/node_modules/jayson/lib/client/browser/index.js +0 -167
  1689. package/node_modules/jayson/lib/client/http.js +0 -118
  1690. package/node_modules/jayson/lib/client/https.js +0 -34
  1691. package/node_modules/jayson/lib/client/index.js +0 -221
  1692. package/node_modules/jayson/lib/client/tcp.js +0 -92
  1693. package/node_modules/jayson/lib/client/tls.js +0 -91
  1694. package/node_modules/jayson/lib/client/websocket.js +0 -135
  1695. package/node_modules/jayson/lib/generateRequest.js +0 -63
  1696. package/node_modules/jayson/lib/index.js +0 -31
  1697. package/node_modules/jayson/lib/method.js +0 -120
  1698. package/node_modules/jayson/lib/server/http.js +0 -26
  1699. package/node_modules/jayson/lib/server/https.js +0 -26
  1700. package/node_modules/jayson/lib/server/index.js +0 -476
  1701. package/node_modules/jayson/lib/server/middleware.js +0 -75
  1702. package/node_modules/jayson/lib/server/tcp.js +0 -72
  1703. package/node_modules/jayson/lib/server/tls.js +0 -72
  1704. package/node_modules/jayson/lib/server/websocket.js +0 -62
  1705. package/node_modules/jayson/lib/utils.js +0 -517
  1706. package/node_modules/jayson/node_modules/commander/CHANGELOG.md +0 -419
  1707. package/node_modules/jayson/node_modules/commander/LICENSE +0 -22
  1708. package/node_modules/jayson/node_modules/commander/Readme.md +0 -428
  1709. package/node_modules/jayson/node_modules/commander/index.js +0 -1224
  1710. package/node_modules/jayson/node_modules/commander/package.json +0 -38
  1711. package/node_modules/jayson/node_modules/commander/typings/index.d.ts +0 -310
  1712. package/node_modules/jayson/package.json +0 -87
  1713. package/node_modules/jayson/promise/index.d.ts +0 -391
  1714. package/node_modules/jayson/promise/index.js +0 -3
  1715. package/node_modules/jayson/promise/lib/client/browser/index.d.ts +0 -12
  1716. package/node_modules/jayson/promise/lib/client/browser/index.js +0 -28
  1717. package/node_modules/jayson/promise/lib/client/http.js +0 -23
  1718. package/node_modules/jayson/promise/lib/client/https.js +0 -24
  1719. package/node_modules/jayson/promise/lib/client/index.js +0 -53
  1720. package/node_modules/jayson/promise/lib/client/tcp.js +0 -23
  1721. package/node_modules/jayson/promise/lib/client/tls.js +0 -23
  1722. package/node_modules/jayson/promise/lib/client/websocket.js +0 -23
  1723. package/node_modules/jayson/promise/lib/index.js +0 -33
  1724. package/node_modules/jayson/promise/lib/method.js +0 -54
  1725. package/node_modules/jayson/promise/lib/server.js +0 -23
  1726. package/node_modules/jayson/promise/lib/utils.js +0 -23
  1727. package/node_modules/json-stringify-safe/.npmignore +0 -1
  1728. package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1729. package/node_modules/json-stringify-safe/LICENSE +0 -15
  1730. package/node_modules/json-stringify-safe/Makefile +0 -35
  1731. package/node_modules/json-stringify-safe/README.md +0 -52
  1732. package/node_modules/json-stringify-safe/package.json +0 -31
  1733. package/node_modules/json-stringify-safe/stringify.js +0 -27
  1734. package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1735. package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1736. package/node_modules/ms/index.js +0 -162
  1737. package/node_modules/ms/license.md +0 -21
  1738. package/node_modules/ms/package.json +0 -38
  1739. package/node_modules/ms/readme.md +0 -59
  1740. package/node_modules/node-fetch/LICENSE.md +0 -22
  1741. package/node_modules/node-fetch/README.md +0 -634
  1742. package/node_modules/node-fetch/browser.js +0 -25
  1743. package/node_modules/node-fetch/lib/index.es.js +0 -1777
  1744. package/node_modules/node-fetch/lib/index.js +0 -1787
  1745. package/node_modules/node-fetch/lib/index.mjs +0 -1775
  1746. package/node_modules/node-fetch/package.json +0 -89
  1747. package/node_modules/node-gyp-build/LICENSE +0 -21
  1748. package/node_modules/node-gyp-build/README.md +0 -58
  1749. package/node_modules/node-gyp-build/SECURITY.md +0 -5
  1750. package/node_modules/node-gyp-build/bin.js +0 -84
  1751. package/node_modules/node-gyp-build/build-test.js +0 -19
  1752. package/node_modules/node-gyp-build/index.js +0 -6
  1753. package/node_modules/node-gyp-build/node-gyp-build.js +0 -207
  1754. package/node_modules/node-gyp-build/optional.js +0 -7
  1755. package/node_modules/node-gyp-build/package.json +0 -43
  1756. package/node_modules/rpc-websockets/LICENSE +0 -10
  1757. package/node_modules/rpc-websockets/README.md +0 -153
  1758. package/node_modules/rpc-websockets/dist/index.browser-bundle.js +0 -5
  1759. package/node_modules/rpc-websockets/dist/index.browser.cjs +0 -425
  1760. package/node_modules/rpc-websockets/dist/index.browser.cjs.map +0 -1
  1761. package/node_modules/rpc-websockets/dist/index.browser.d.mts +0 -255
  1762. package/node_modules/rpc-websockets/dist/index.browser.d.ts +0 -255
  1763. package/node_modules/rpc-websockets/dist/index.browser.mjs +0 -420
  1764. package/node_modules/rpc-websockets/dist/index.browser.mjs.map +0 -1
  1765. package/node_modules/rpc-websockets/dist/index.cjs +0 -936
  1766. package/node_modules/rpc-websockets/dist/index.cjs.map +0 -1
  1767. package/node_modules/rpc-websockets/dist/index.d.mts +0 -452
  1768. package/node_modules/rpc-websockets/dist/index.d.ts +0 -452
  1769. package/node_modules/rpc-websockets/dist/index.mjs +0 -924
  1770. package/node_modules/rpc-websockets/dist/index.mjs.map +0 -1
  1771. package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +0 -21
  1772. package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +0 -15
  1773. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +0 -451
  1774. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +0 -445
  1775. package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +0 -72
  1776. package/node_modules/rpc-websockets/node_modules/utf-8-validate/LICENSE +0 -51
  1777. package/node_modules/rpc-websockets/node_modules/utf-8-validate/README.md +0 -52
  1778. package/node_modules/rpc-websockets/node_modules/utf-8-validate/binding.gyp +0 -22
  1779. package/node_modules/rpc-websockets/node_modules/utf-8-validate/deps/is_utf8/LICENSE-MIT +0 -18
  1780. package/node_modules/rpc-websockets/node_modules/utf-8-validate/deps/is_utf8/include/is_utf8.h +0 -10
  1781. package/node_modules/rpc-websockets/node_modules/utf-8-validate/deps/is_utf8/src/is_utf8.cpp +0 -6755
  1782. package/node_modules/rpc-websockets/node_modules/utf-8-validate/fallback.js +0 -62
  1783. package/node_modules/rpc-websockets/node_modules/utf-8-validate/index.js +0 -7
  1784. package/node_modules/rpc-websockets/node_modules/utf-8-validate/package.json +0 -47
  1785. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/darwin-arm64/utf-8-validate.node +0 -0
  1786. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/darwin-x64/utf-8-validate.node +0 -0
  1787. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/linux-x64/utf-8-validate.musl.node +0 -0
  1788. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/linux-x64/utf-8-validate.node +0 -0
  1789. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/win32-ia32/utf-8-validate.node +0 -0
  1790. package/node_modules/rpc-websockets/node_modules/utf-8-validate/prebuilds/win32-x64/utf-8-validate.node +0 -0
  1791. package/node_modules/rpc-websockets/node_modules/utf-8-validate/src/validation.cc +0 -40
  1792. package/node_modules/rpc-websockets/package.json +0 -91
  1793. package/node_modules/safe-buffer/LICENSE +0 -21
  1794. package/node_modules/safe-buffer/README.md +0 -584
  1795. package/node_modules/safe-buffer/index.d.ts +0 -187
  1796. package/node_modules/safe-buffer/index.js +0 -65
  1797. package/node_modules/safe-buffer/package.json +0 -51
  1798. package/node_modules/stream-chain/LICENSE +0 -11
  1799. package/node_modules/stream-chain/README.md +0 -334
  1800. package/node_modules/stream-chain/defs.js +0 -22
  1801. package/node_modules/stream-chain/index.js +0 -203
  1802. package/node_modules/stream-chain/package.json +0 -31
  1803. package/node_modules/stream-chain/utils/FromIterable.js +0 -94
  1804. package/node_modules/stream-chain/utils/Reduce.js +0 -40
  1805. package/node_modules/stream-chain/utils/asFun.js +0 -85
  1806. package/node_modules/stream-chain/utils/asGen.js +0 -77
  1807. package/node_modules/stream-chain/utils/comp.js +0 -20
  1808. package/node_modules/stream-chain/utils/fold.js +0 -43
  1809. package/node_modules/stream-chain/utils/gen.js +0 -24
  1810. package/node_modules/stream-chain/utils/scan.js +0 -41
  1811. package/node_modules/stream-chain/utils/skip.js +0 -32
  1812. package/node_modules/stream-chain/utils/skipWhile.js +0 -46
  1813. package/node_modules/stream-chain/utils/take.js +0 -39
  1814. package/node_modules/stream-chain/utils/takeWhile.js +0 -47
  1815. package/node_modules/stream-json/Assembler.js +0 -154
  1816. package/node_modules/stream-json/Disassembler.js +0 -209
  1817. package/node_modules/stream-json/Emitter.js +0 -22
  1818. package/node_modules/stream-json/LICENSE +0 -34
  1819. package/node_modules/stream-json/Parser.js +0 -545
  1820. package/node_modules/stream-json/README.md +0 -128
  1821. package/node_modules/stream-json/Stringer.js +0 -153
  1822. package/node_modules/stream-json/filters/Filter.js +0 -130
  1823. package/node_modules/stream-json/filters/FilterBase.js +0 -201
  1824. package/node_modules/stream-json/filters/Ignore.js +0 -24
  1825. package/node_modules/stream-json/filters/Pick.js +0 -58
  1826. package/node_modules/stream-json/filters/Replace.js +0 -115
  1827. package/node_modules/stream-json/index.js +0 -11
  1828. package/node_modules/stream-json/jsonl/Parser.js +0 -131
  1829. package/node_modules/stream-json/jsonl/Stringer.js +0 -29
  1830. package/node_modules/stream-json/package.json +0 -45
  1831. package/node_modules/stream-json/streamers/StreamArray.js +0 -44
  1832. package/node_modules/stream-json/streamers/StreamBase.js +0 -101
  1833. package/node_modules/stream-json/streamers/StreamObject.js +0 -43
  1834. package/node_modules/stream-json/streamers/StreamValues.js +0 -33
  1835. package/node_modules/stream-json/utils/Batch.js +0 -44
  1836. package/node_modules/stream-json/utils/Utf8Stream.js +0 -53
  1837. package/node_modules/stream-json/utils/Verifier.js +0 -485
  1838. package/node_modules/stream-json/utils/emit.js +0 -5
  1839. package/node_modules/stream-json/utils/withParser.js +0 -10
  1840. package/node_modules/superstruct/License.md +0 -9
  1841. package/node_modules/superstruct/Readme.md +0 -230
  1842. package/node_modules/superstruct/dist/error.d.ts +0 -33
  1843. package/node_modules/superstruct/dist/error.d.ts.map +0 -1
  1844. package/node_modules/superstruct/dist/index.cjs +0 -1084
  1845. package/node_modules/superstruct/dist/index.cjs.map +0 -1
  1846. package/node_modules/superstruct/dist/index.d.ts +0 -7
  1847. package/node_modules/superstruct/dist/index.d.ts.map +0 -1
  1848. package/node_modules/superstruct/dist/index.mjs +0 -1026
  1849. package/node_modules/superstruct/dist/index.mjs.map +0 -1
  1850. package/node_modules/superstruct/dist/struct.d.ts +0 -119
  1851. package/node_modules/superstruct/dist/struct.d.ts.map +0 -1
  1852. package/node_modules/superstruct/dist/structs/coercions.d.ts +0 -29
  1853. package/node_modules/superstruct/dist/structs/coercions.d.ts.map +0 -1
  1854. package/node_modules/superstruct/dist/structs/refinements.d.ts +0 -38
  1855. package/node_modules/superstruct/dist/structs/refinements.d.ts.map +0 -1
  1856. package/node_modules/superstruct/dist/structs/types.d.ts +0 -142
  1857. package/node_modules/superstruct/dist/structs/types.d.ts.map +0 -1
  1858. package/node_modules/superstruct/dist/structs/utilities.d.ts +0 -66
  1859. package/node_modules/superstruct/dist/structs/utilities.d.ts.map +0 -1
  1860. package/node_modules/superstruct/dist/utils.d.ts +0 -144
  1861. package/node_modules/superstruct/dist/utils.d.ts.map +0 -1
  1862. package/node_modules/superstruct/package.json +0 -85
  1863. package/node_modules/text-encoding-utf-8/LICENSE.md +0 -29
  1864. package/node_modules/text-encoding-utf-8/README.md +0 -63
  1865. package/node_modules/text-encoding-utf-8/lib/encoding.js +0 -655
  1866. package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +0 -642
  1867. package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +0 -665
  1868. package/node_modules/text-encoding-utf-8/package.json +0 -26
  1869. package/node_modules/text-encoding-utf-8/src/encoding.js +0 -665
  1870. package/node_modules/text-encoding-utf-8/src/polyfill.js +0 -21
  1871. package/node_modules/tr46/.npmignore +0 -4
  1872. package/node_modules/tr46/index.js +0 -193
  1873. package/node_modules/tr46/lib/.gitkeep +0 -0
  1874. package/node_modules/tr46/lib/mappingTable.json +0 -1
  1875. package/node_modules/tr46/package.json +0 -31
  1876. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  1877. package/node_modules/tslib/LICENSE.txt +0 -12
  1878. package/node_modules/tslib/README.md +0 -164
  1879. package/node_modules/tslib/SECURITY.md +0 -41
  1880. package/node_modules/tslib/modules/index.d.ts +0 -38
  1881. package/node_modules/tslib/modules/index.js +0 -70
  1882. package/node_modules/tslib/modules/package.json +0 -3
  1883. package/node_modules/tslib/package.json +0 -47
  1884. package/node_modules/tslib/tslib.d.ts +0 -460
  1885. package/node_modules/tslib/tslib.es6.html +0 -1
  1886. package/node_modules/tslib/tslib.es6.js +0 -402
  1887. package/node_modules/tslib/tslib.es6.mjs +0 -401
  1888. package/node_modules/tslib/tslib.html +0 -1
  1889. package/node_modules/tslib/tslib.js +0 -484
  1890. package/node_modules/uuid/LICENSE.md +0 -9
  1891. package/node_modules/uuid/README.md +0 -510
  1892. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  1893. package/node_modules/uuid/dist/cjs/index.js +0 -31
  1894. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  1895. package/node_modules/uuid/dist/cjs/max.js +0 -3
  1896. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  1897. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  1898. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  1899. package/node_modules/uuid/dist/cjs/native.js +0 -4
  1900. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  1901. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  1902. package/node_modules/uuid/dist/cjs/package.json +0 -1
  1903. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  1904. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  1905. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  1906. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  1907. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  1908. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  1909. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  1910. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  1911. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  1912. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  1913. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  1914. package/node_modules/uuid/dist/cjs/types.js +0 -2
  1915. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  1916. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  1917. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  1918. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  1919. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  1920. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  1921. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  1922. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  1923. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  1924. package/node_modules/uuid/dist/cjs/v35.js +0 -44
  1925. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  1926. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  1927. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  1928. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  1929. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  1930. package/node_modules/uuid/dist/cjs/v6.js +0 -22
  1931. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  1932. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  1933. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  1934. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  1935. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  1936. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  1937. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  1938. package/node_modules/uuid/dist/cjs/version.js +0 -10
  1939. package/node_modules/uuid/dist/cjs-browser/index.d.ts +0 -15
  1940. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  1941. package/node_modules/uuid/dist/cjs-browser/max.d.ts +0 -2
  1942. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  1943. package/node_modules/uuid/dist/cjs-browser/md5.d.ts +0 -2
  1944. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  1945. package/node_modules/uuid/dist/cjs-browser/native.d.ts +0 -4
  1946. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  1947. package/node_modules/uuid/dist/cjs-browser/nil.d.ts +0 -2
  1948. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  1949. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  1950. package/node_modules/uuid/dist/cjs-browser/parse.d.ts +0 -2
  1951. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  1952. package/node_modules/uuid/dist/cjs-browser/regex.d.ts +0 -2
  1953. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  1954. package/node_modules/uuid/dist/cjs-browser/rng.d.ts +0 -1
  1955. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  1956. package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +0 -2
  1957. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  1958. package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +0 -3
  1959. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  1960. package/node_modules/uuid/dist/cjs-browser/types.d.ts +0 -21
  1961. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  1962. package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +0 -1
  1963. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  1964. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +0 -11
  1965. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  1966. package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +0 -2
  1967. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  1968. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +0 -9
  1969. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  1970. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +0 -7
  1971. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -44
  1972. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +0 -4
  1973. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  1974. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +0 -9
  1975. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  1976. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +0 -4
  1977. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -22
  1978. package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +0 -2
  1979. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  1980. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +0 -9
  1981. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  1982. package/node_modules/uuid/dist/cjs-browser/validate.d.ts +0 -2
  1983. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  1984. package/node_modules/uuid/dist/cjs-browser/version.d.ts +0 -2
  1985. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  1986. package/node_modules/uuid/dist/esm/bin/uuid +0 -2
  1987. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  1988. package/node_modules/uuid/dist/esm/index.js +0 -14
  1989. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  1990. package/node_modules/uuid/dist/esm/max.js +0 -1
  1991. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  1992. package/node_modules/uuid/dist/esm/md5.js +0 -11
  1993. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  1994. package/node_modules/uuid/dist/esm/native.js +0 -2
  1995. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  1996. package/node_modules/uuid/dist/esm/nil.js +0 -1
  1997. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  1998. package/node_modules/uuid/dist/esm/parse.js +0 -9
  1999. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  2000. package/node_modules/uuid/dist/esm/regex.js +0 -1
  2001. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  2002. package/node_modules/uuid/dist/esm/rng.js +0 -10
  2003. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  2004. package/node_modules/uuid/dist/esm/sha1.js +0 -11
  2005. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  2006. package/node_modules/uuid/dist/esm/stringify.js +0 -35
  2007. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  2008. package/node_modules/uuid/dist/esm/types.js +0 -1
  2009. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  2010. package/node_modules/uuid/dist/esm/uuid-bin.js +0 -70
  2011. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  2012. package/node_modules/uuid/dist/esm/v1.js +0 -83
  2013. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  2014. package/node_modules/uuid/dist/esm/v1ToV6.js +0 -10
  2015. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  2016. package/node_modules/uuid/dist/esm/v3.js +0 -9
  2017. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  2018. package/node_modules/uuid/dist/esm/v35.js +0 -39
  2019. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  2020. package/node_modules/uuid/dist/esm/v4.js +0 -27
  2021. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  2022. package/node_modules/uuid/dist/esm/v5.js +0 -9
  2023. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  2024. package/node_modules/uuid/dist/esm/v6.js +0 -20
  2025. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  2026. package/node_modules/uuid/dist/esm/v6ToV1.js +0 -10
  2027. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  2028. package/node_modules/uuid/dist/esm/v7.js +0 -65
  2029. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  2030. package/node_modules/uuid/dist/esm/validate.js +0 -5
  2031. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  2032. package/node_modules/uuid/dist/esm/version.js +0 -8
  2033. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  2034. package/node_modules/uuid/dist/esm-browser/index.js +0 -14
  2035. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  2036. package/node_modules/uuid/dist/esm-browser/max.js +0 -1
  2037. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  2038. package/node_modules/uuid/dist/esm-browser/md5.js +0 -135
  2039. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  2040. package/node_modules/uuid/dist/esm-browser/native.js +0 -2
  2041. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  2042. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2043. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  2044. package/node_modules/uuid/dist/esm-browser/parse.js +0 -9
  2045. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  2046. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2047. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  2048. package/node_modules/uuid/dist/esm-browser/rng.js +0 -11
  2049. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  2050. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -70
  2051. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  2052. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -35
  2053. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  2054. package/node_modules/uuid/dist/esm-browser/types.js +0 -1
  2055. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  2056. package/node_modules/uuid/dist/esm-browser/uuid-bin.js +0 -70
  2057. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  2058. package/node_modules/uuid/dist/esm-browser/v1.js +0 -83
  2059. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  2060. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +0 -10
  2061. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  2062. package/node_modules/uuid/dist/esm-browser/v3.js +0 -9
  2063. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  2064. package/node_modules/uuid/dist/esm-browser/v35.js +0 -39
  2065. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  2066. package/node_modules/uuid/dist/esm-browser/v4.js +0 -27
  2067. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  2068. package/node_modules/uuid/dist/esm-browser/v5.js +0 -9
  2069. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  2070. package/node_modules/uuid/dist/esm-browser/v6.js +0 -20
  2071. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  2072. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +0 -10
  2073. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  2074. package/node_modules/uuid/dist/esm-browser/v7.js +0 -65
  2075. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  2076. package/node_modules/uuid/dist/esm-browser/validate.js +0 -5
  2077. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  2078. package/node_modules/uuid/dist/esm-browser/version.js +0 -8
  2079. package/node_modules/uuid/package.json +0 -132
  2080. package/node_modules/webidl-conversions/LICENSE.md +0 -12
  2081. package/node_modules/webidl-conversions/README.md +0 -53
  2082. package/node_modules/webidl-conversions/lib/index.js +0 -189
  2083. package/node_modules/webidl-conversions/package.json +0 -23
  2084. package/node_modules/whatwg-url/LICENSE.txt +0 -21
  2085. package/node_modules/whatwg-url/README.md +0 -67
  2086. package/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2087. package/node_modules/whatwg-url/lib/URL.js +0 -196
  2088. package/node_modules/whatwg-url/lib/public-api.js +0 -11
  2089. package/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2090. package/node_modules/whatwg-url/lib/utils.js +0 -20
  2091. package/node_modules/whatwg-url/package.json +0 -32
  2092. package/node_modules/ws/LICENSE +0 -20
  2093. package/node_modules/ws/README.md +0 -548
  2094. package/node_modules/ws/browser.js +0 -8
  2095. package/node_modules/ws/index.js +0 -22
  2096. package/node_modules/ws/lib/buffer-util.js +0 -131
  2097. package/node_modules/ws/lib/constants.js +0 -19
  2098. package/node_modules/ws/lib/event-target.js +0 -292
  2099. package/node_modules/ws/lib/extension.js +0 -203
  2100. package/node_modules/ws/lib/limiter.js +0 -55
  2101. package/node_modules/ws/lib/permessage-deflate.js +0 -530
  2102. package/node_modules/ws/lib/receiver.js +0 -743
  2103. package/node_modules/ws/lib/sender.js +0 -607
  2104. package/node_modules/ws/lib/stream.js +0 -161
  2105. package/node_modules/ws/lib/subprotocol.js +0 -62
  2106. package/node_modules/ws/lib/validation.js +0 -152
  2107. package/node_modules/ws/lib/websocket-server.js +0 -562
  2108. package/node_modules/ws/lib/websocket.js +0 -1407
  2109. package/node_modules/ws/package.json +0 -74
  2110. package/node_modules/ws/wrapper.mjs +0 -21
@@ -1,1387 +0,0 @@
1
- # Jayson
2
-
3
- Jayson is a [JSON-RPC 2.0][jsonrpc-spec] and [1.0][jsonrpc1-spec] compliant server and client written in JavaScript for [node.js][node.js] that aims to be as simple as possible to use.
4
-
5
- [jsonrpc-spec]: http://jsonrpc.org/spec.html
6
- [jsonrpc1-spec]: http://json-rpc.org/wiki/specification
7
- [node.js]: http://nodejs.org/
8
- [jayson-npm]: https://www.npmjs.com/package/jayson
9
- [badge-npm]: https://img.shields.io/npm/v/jayson.svg
10
- [badge-downloads-month]: https://img.shields.io/npm/dm/jayson.svg
11
-
12
- [![Coverage Status](https://coveralls.io/repos/github/tedeh/jayson/badge.svg?branch=master)](https://coveralls.io/github/tedeh/jayson?branch=master)
13
- ![GitHub issues](https://img.shields.io/github/issues/tedeh/jayson)
14
- ![Dependents (via libraries.io)](https://img.shields.io/librariesio/dependents/npm/jayson)
15
- ![node-current](https://img.shields.io/node/v/jayson)
16
- ![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/jayson)
17
- [![npm version][badge-npm]][jayson-npm]
18
- [![npm][badge-downloads-month]][jayson-npm]
19
- ![npm bundle size](https://img.shields.io/bundlephobia/min/jayson)
20
- ![npm bundle size](https://img.shields.io/bundlephobia/minzip/jayson)
21
- [![Known Vulnerabilities](https://snyk.io/test/npm/jayson/badge.svg)](https://snyk.io/test/npm/jayson)
22
-
23
- ## Table of contents
24
-
25
- - [Features](#features)
26
- - [Example](#example)
27
- - [Installation](#installation)
28
- - [Changelog](#changelog-only-notable-milestoneschanges)
29
- - [Requirements](#requirements)
30
- - [Class Documentation](#class-documentation)
31
- - [Running tests](#running-tests)
32
- - [Typescript](#typescript)
33
- - [Usage](#usage)
34
- - [Client](#client)
35
- - [Interface description](#client-interface-description)
36
- - [Browser usage](#clientbrowser)
37
- - [Notifications](#notifications)
38
- - [Batches](#batches)
39
- - [Callback syntactic sugar](#client-callback-syntactic-sugar)
40
- - [Events](#client-events)
41
- - [Server](#server)
42
- - [Interface description](#server-interface-description)
43
- - [Many interfaces at the same time](#many-interfaces-at-the-same-time)
44
- - [Using the server as a relay](#using-the-server-as-a-relay)
45
- - [Method routing](#method-routing)
46
- - [Method definition](#method-definition)
47
- - [Events](#server-events)
48
- - [Errors](#server-errors)
49
- - [CORS](#server-cors)
50
- - [Context](#server-context)
51
- - [Revivers and replacers](#revivers-and-replacers)
52
- - [Named parameters](#named-parameters)
53
- - [Promises](#promises)
54
- - [Batches](#promise-batches)
55
- - [Browser client](#promise-browser-client)
56
- - [FAQ](#faq)
57
- - [Recommended usage](#what-is-the-recommended-way-to-use-jayson)
58
- - [Contributing](#contributing)
59
-
60
- ## Features
61
-
62
- * [Servers that can listen to several interfaces at the same time](#many-interfaces-at-the-same-time)
63
- * Supports both HTTP and TCP client and server connections
64
- * [Server-side method routing](#method-routing)
65
- * [Relaying of requests to other servers](#using-the-server-as-a-relay)
66
- * [JSON reviving and replacing for transparent serialization of complex objects](#revivers-and-replacers)
67
- * [CLI client](#cli-client)
68
- * [Promises](#promises)
69
- * Fully tested to comply with the [official JSON-RPC 2.0 specification][jsonrpc-spec]
70
- * Also supports [JSON-RPC 1.0][jsonrpc1-spec]
71
-
72
- ## Example
73
-
74
- A basic JSON-RPC 2.0 server via HTTP:
75
-
76
- Server example in [examples/simple_example/server.js](examples/simple_example/server.js):
77
-
78
- ```javascript
79
- const jayson = require('jayson');
80
-
81
- // create a server
82
- const server = new jayson.Server({
83
- add: function(args, callback) {
84
- callback(null, args[0] + args[1]);
85
- }
86
- });
87
-
88
- server.http().listen(3000);
89
- ```
90
-
91
- Client example in [examples/simple_example/client.js](examples/simple_example/client.js) invoking `add` on the above server:
92
-
93
- ```javascript
94
- const jayson = require('jayson');
95
-
96
- // create a client
97
- const client = jayson.Client.http({
98
- port: 3000
99
- });
100
-
101
- // invoke "add"
102
- client.request('add', [1, 1], function(err, response) {
103
- if(err) throw err;
104
- console.log(response.result); // 2
105
- });
106
- ```
107
-
108
- ## Installation
109
-
110
- Install the latest version of _jayson_ from [npm](https://www.npmjs.com) by executing `npm install jayson` in your shell. Do a global install with `npm install --global jayson` if you want the `jayson` client CLI in your PATH.
111
-
112
- ## Changelog (only notable milestones/changes)
113
-
114
- - *4.1.0*
115
- - New server option `maxBatchLength`
116
- - *4.0.0*
117
- - Remove `lodash` dependency which should halve bundle size. There might be minor incompatibilities if you pass funky object or array types to jayson methods.
118
- - *3.6.4*
119
- - Websocket client and server support
120
- - *3.6.1*
121
- - JSON-RPC 2.0 notifications no longer have id property unless overridden
122
- - *3.3.3*
123
- - Promise support for browser client
124
- - TypeScript declaration for promise browser client
125
- - TypeScript declaration for browser client
126
- - *3.3.0*
127
- - Remove URL parsing when passing a string option to the TLS and TCP client, string options are instead treated as an IPC path
128
- - *3.0.0*
129
- - Can pass a [context object](#server-context) to handlers
130
- - _Breaking_: `collect` option removed from `jayson.Server/Method`. JSON-RPC params to handlers are now **always** in the first argument.
131
- - *2.1.0*
132
- - Experimental typescript support
133
- - *2.0.6*
134
- - Clarified how to use [in the browser](#clientbrowser)
135
- - *2.0.0*
136
- - Added [support for promises](#promises)
137
- - _Breaking_: `collect: true` is now the default option for a new `jayson.Server` and `jayson.Method`
138
- - *1.2.0*
139
- - Greatly improved [server method definition](#method-definition)
140
- - *1.1.1*
141
- - More http server events
142
- - Remove fork server and client
143
- - Add server routing
144
- - *1.0.11*
145
- Add support for a HTTPS client
146
- - *1.0.9*
147
- Add support for TCP servers and clients
148
-
149
- ### CLI client
150
-
151
- There is a basic CLI client in `bin/jayson.js` and it should be available as `jayson` in your shell if you installed the package globally. Run `jayson --help` to see how it works.
152
-
153
- ## Requirements
154
-
155
- Jayson does not have any special dependencies that cannot be resolved with a simple `npm install` or `yarn install`.
156
-
157
- ## Class documentation
158
-
159
- In addition to this document, a comprehensive class documentation made with [jsdoc][jsdoc-spec] is available at [jayson.tedeh.net](http://jayson.tedeh.net).
160
-
161
- [jsdoc-spec]: http://usejsdoc.org/
162
-
163
- ## Running tests
164
-
165
- - Change directory to the repository root
166
- - Install the development packages by executing `npm install --dev`
167
- - Run the tests with `npm run test`
168
- - Run the typescript tests with `npm run test-tsc`
169
- - Run the coverage tests with `npm run coverage`
170
-
171
- ## Typescript
172
-
173
- Since `v2.1.0` there is typescript support available with jayson.
174
-
175
- If you encounter any problems with the type definitions, see the [Contributing](#contributing) section.
176
-
177
- ## Usage
178
-
179
- ### Client
180
-
181
- The client is available as the `Client` or `client` property of `require('jayson')`.
182
-
183
- #### Client interface description
184
-
185
- | Name | Description |
186
- |--------------------|---------------------|
187
- | `Client` | Base class |
188
- | `Client.tcp` | TCP sub-class |
189
- | `Client.tls` | TLS sub-class |
190
- | `Client.http` | HTTP sub-class |
191
- | `Client.https` | HTTPS sub-class |
192
- | `Client.browser` | Standalone class |
193
- | `Client.websocket` | Websocket sub-class |
194
-
195
- Every client supports these options:
196
-
197
- | Option | Default | Type | Description |
198
- |----------------------|------------------------------------|------------|------------------------------------------------------------------------------------------|
199
- | `reviver` | `undefined` | `Function` | `JSON.parse` reviver |
200
- | `replacer` | `undefined` | `Function` | `JSON.stringify` replacer |
201
- | `generator` | [RFC4122][rfc_4122_spec] generator | `Function` | Generates a `String` for request ID. |
202
- | `version` | 2 | `Number` | JSON-RPC version to support (1 or 2) |
203
- | `notificationIdNull` | `false` | `Boolean` | *Since 3.6.1*. When true "id" property of a request will be set to null when version 2. |
204
-
205
- [rfc_4122_spec]: http://www.ietf.org/rfc/rfc4122.txt
206
-
207
- ##### Client.http
208
-
209
- Uses the same options as [http.request][nodejs_docs_http_request] in addition to these options:
210
-
211
- | Option | Default | Type | Description |
212
- |------------ |------------ |---------- |---------------------------------------- |
213
- | `encoding` | `utf8` | `String` | Determines the encoding to use |
214
- | `headers` | `undefined` | `Object` | Extend the headers sent by the client |
215
-
216
- ###### Client.http Events
217
-
218
- The HTTP client will emit the following events:
219
-
220
- | Event | When | Arguments | Notes |
221
- |----------------- |----------------------------------- |--------------------------------------------------------------------------- |------------------------------------------- |
222
- | `http request` | Created an HTTP request | 1. Instance of `http.ClientRequest` | |
223
- | `http response` | Received an HTTP response | 1. Instance of `http.IncomingMessage` 2. Instance of `http.ClientRequest` | |
224
- | `http error` | Underlying stream emits `error` | 1. Error | |
225
- | `http timeout` | Underlying stream emits `timeout` | | Automatically causes the request to abort |
226
-
227
- It is possible to pass a string URL as the first argument. The URL will be run through [url.parse][nodejs_docs_url_parse]. Example:
228
-
229
- ```javascript
230
- const jayson = require('jayson');
231
- const client = jayson.Client.http('http://localhost:3000');
232
- // client.options is now the result of url.parse
233
- ```
234
-
235
- [nodejs_docs_http_request]: http://nodejs.org/docs/latest/api/http.html#http_http_request_options_callback
236
- [nodejs_docs_url_parse]: http://nodejs.org/api/url.html#url_url_parse_urlstr_parsequerystring_slashesdenotehost
237
-
238
- ##### Client.https
239
-
240
- Uses the same options as [https.request][nodejs_docs_https_request] in addition _to the same options as `Client.http`_. This means it is also possible
241
- to pass a string URL as the first argument and have it interpreted by [url.parse][nodejs_docs_url_parse].
242
-
243
- Will emit the [same custom events](#clienthttp-events) as `Client.http`.
244
-
245
- [nodejs_docs_https_request]: http://nodejs.org/api/all.html#all_https_request_options_callback
246
-
247
- ##### Client.tcp
248
-
249
- Uses the same options as [net.connect][nodejs_docs_net_connect].
250
-
251
- ###### Client.tcp Events
252
-
253
- *Since version 3.5.1*
254
-
255
- The TCP client will emit the following events:
256
-
257
- | Event | When | Arguments | Notes |
258
- |------------|------------------------|-------------------------------|-------------------------------|
259
- | tcp socket | TCP socket is opened | 1. `net.Socket` | Can be used to setup timeouts |
260
- | tcp error | TCP socket emits error | 1. Error emit by `net.Socket` | |
261
-
262
- [nodejs_docs_net_connect]: https://nodejs.org/api/net.html#net_net_connect
263
-
264
- ##### Client.tls
265
-
266
- Uses the same options as [tls.connect][nodejs_docs_tls_connect].
267
-
268
- ###### Client.tls Events
269
-
270
- *Since version 3.5.1*
271
-
272
- The TLS client will emit the following events:
273
-
274
- | Event | When | Arguments | Notes |
275
- |------------|------------------------|-------------------------------|-------------------------------|
276
- | tcp socket | TCP socket is opened | 1. `net.Socket` | Can be used to setup timeouts |
277
- | tcp error | TCP socket emits error | 1. Error emit by `net.Socket` | |
278
-
279
- [nodejs_docs_tls_connect]: https://nodejs.org/api/tls.html#tls_tls_connect_options_callback
280
-
281
- ##### Client.browser
282
-
283
- The browser client is a simplified version of the regular client for use browser-side. It does not have any dependencies on node.js core libraries, but does depend on the `uuid` package for generating request ids. It also does not know how to "send" a request to a server like the other clients.
284
-
285
- Because it does not depend on any core libraries, the browser client is **not** an instance of `JaysonClient` or `EventEmitter` and therefore does **not** emit any of the normal request events that the other clients do.
286
-
287
- To use the browser client, `require('jayson/lib/client/browser')` and pass a calling/transport function as the first argument. The transport function receives a JSON-RPC string request and is expected to callback with a string response received from the server (not JSON) or an error (not a JSON-RPC error).
288
-
289
- The reason for dealing with strings is to support the `reviver` and `replacer` options like the other clients.
290
-
291
- This client example in [examples/browser_client/client.js](examples/browser_client/client.js) below uses [node-fetch](https://github.com/bitinn/node-fetch) in the transport function, but a dropin replacement for use in an *actual* browser could instead use [whatwg-fetch](https://github.com/github/fetch/issues/184).
292
-
293
- The browser client has a separate TypeScript type declaration available in `jayson/lib/client/browser/index.d.ts` which depends on the main Jayson type declaration.
294
-
295
- ```javascript
296
- 'use strict';
297
-
298
- const jaysonBrowserClient = require('jayson/lib/client/browser');
299
- const fetch = require('node-fetch');
300
-
301
- const callServer = function(request, callback) {
302
- const options = {
303
- method: 'POST',
304
- body: request,
305
- headers: {
306
- 'Content-Type': 'application/json',
307
- }
308
- };
309
-
310
- fetch('http://localhost:3000', options)
311
- .then(function(res) { return res.text(); })
312
- .then(function(text) { callback(null, text); })
313
- .catch(function(err) { callback(err); });
314
- };
315
-
316
- const client = new jaysonBrowserClient(callServer, {
317
- // other options go here
318
- });
319
-
320
- client.request('multiply', [5, 5], function(err, error, result) {
321
- if(err) throw err;
322
- console.log(result); // 25
323
- });
324
- ```
325
-
326
- ##### Client.websocket
327
-
328
- *Since v3.6.4*
329
-
330
- Experimental websocket client that wraps around an `isomorphic-ws` instance. Will listen to every received (JSON) message and see if it matches any of the currently outstanding requests made, in which case the callback of that outstanding request will fire. If you do not provide the `timeout` option it will wait forever. Has a promise-based equivalent receiving the same options, and a [companion jayson server](#serverwebsocket) where you can find an example.
331
-
332
- Has the following options:
333
-
334
- | Option | Default | Type | Description |
335
- |-----------|-------------|-------------------------------------|----------------------------------------------------------------------|
336
- | `url` | `undefined` | `String` | First argument to `require('isomorphic-ws')` if `options.ws` not set |
337
- | `ws` | `undefined` | `require('isomorphic-ws')` instance | WebSocket instance |
338
- | `timeout` | `undefined` | `Number` | Timeout in ms before callbacking with an error |
339
-
340
- If you want to "unwrap" the `isomorphic-ws` instance you can use the `Client.websocket.prototype.unlisten` which stops listening for messages on the `isomorphic-ws` instance.
341
-
342
- - [isomorphic-ws docs](https://github.com/heineiuo/isomorphic-ws)
343
-
344
- #### Notifications
345
-
346
- Notification requests are for cases where the reply from the server is not important and should be ignored. This is accomplished by setting the `id` property of a request object to `null`.
347
-
348
- Client example in [examples/notifications/client.js](examples/notifications/client.js) doing a notification request:
349
-
350
- ```javascript
351
- const jayson = require('jayson');
352
-
353
- const client = jayson.Client.http({
354
- port: 3000
355
- });
356
-
357
- // the third parameter is set to "null" to indicate a notification
358
- client.request('ping', [], null, function(err) {
359
- if(err) throw err;
360
- console.log('ok'); // request was received successfully
361
- });
362
- ```
363
-
364
- Server example in [examples/notifications/server.js](examples/notifications/server.js):
365
-
366
- ```javascript
367
- const jayson = require('jayson');
368
-
369
- const server = new jayson.Server({
370
- ping: function(args, callback) {
371
- // do something, do nothing
372
- callback();
373
- }
374
- });
375
-
376
- server.http().listen(3000);
377
- ```
378
-
379
- ##### Notes
380
-
381
- * Any value that the server returns will be discarded when doing a notification request.
382
- * Omitting the third argument `null` to `Client.prototype.request` does not generate a notification request. This argument has to be set explicitly to `null` for this to happen.
383
- * Network errors and the like will still reach the callback. When the callback is invoked (with or without error) one can be certain that the server has received the request.
384
- * See the [Official JSON-RPC 2.0 Specification][jsonrpc-spec] for additional information on how Jayson handles notifications that are erroneous.
385
- * *Since 3.6.1* When making a JSON-RPC 2.0 notification request the "id" property will be omitted in the request object. In previous versions it was set to `null` against the recommendation of the official specification. This behaviour can be overridden with the `notificationIdNull` option.
386
-
387
-
388
- #### Batches
389
-
390
- A batch request is an array of individual requests that are sent to the server as one. Doing a batch request is very simple in Jayson and consists of constructing an array of individual requests (created by not passing a callback to `Client.prototype.request`) that is then itself passed to `Client.prototype.request`.
391
-
392
- Combined server/client example in [examples/batch_request/index.js](examples/batch_request/index.js):
393
-
394
- ```javascript
395
- const jayson = require('jayson');
396
-
397
- const server = new jayson.Server({
398
- add: function(args, callback) {
399
- callback(null, args[0] + args[1]);
400
- }
401
- });
402
-
403
- const client = new jayson.Client(server);
404
-
405
- const batch = [
406
- client.request('does_not_exist', [10, 5]),
407
- client.request('add', [1, 1]),
408
- client.request('add', [0, 0], null) // a notification
409
- ];
410
-
411
- client.request(batch, function(err, errors, successes) {
412
- if(err) throw err;
413
- console.log('errors', errors); // array of requests that errored
414
- console.log('successes', successes); // array of requests that succeeded
415
- });
416
-
417
- client.request(batch, function(err, responses) {
418
- if(err) throw err;
419
- console.log('responses', responses); // all responses together
420
- });
421
- ```
422
-
423
- ##### Notes
424
-
425
- * See the [Official JSON-RPC 2.0 Specification][jsonrpc-spec] for additional information on how Jayson handles different types of batches, mainly with regards to notifications, request errors and so forth.
426
- * There is no guarantee that the results will be in the same order as request Array `request`. To find the right result, compare the ID from the request with the ID in the result yourself.
427
-
428
- #### Client callback syntactic sugar
429
-
430
- When the length (number of arguments) of a client callback function is either 2 or 3 it receives slightly different values when invoked.
431
-
432
- * 2 arguments: first argument is an error or `null`, second argument is the response object as returned (containing _either_ a `result` or a `error` property) or `null` for notifications.
433
- * 3 arguments: first argument is an error or null, second argument is a JSON-RPC `error` property or `null` (if success), third argument is a JSON-RPC `result` property or `null` (if error).
434
-
435
- When doing a batch request with a 3-length callback, the second argument will be an array of requests with a `error` property and the third argument will be an array of requests with a `result` property.
436
-
437
- #### Client events
438
-
439
- A client will emit the following events (in addition to any special ones emitted by a specific interface):
440
-
441
- | Event | When | Arguments | Notes |
442
- |------------ |----------------------------- |----------------------------------------------- |------- |
443
- | `request` | About to dispatch a request | 1: Request object | |
444
- | `response` | Received a response | 1: Request object 2: Response object received | |
445
-
446
- ### Server
447
-
448
- The server classes are available as the `Server` or `server` property of `require('jayson')`.
449
-
450
- The server also sports several interfaces that can be accessed as properties of an instance of `Server`.
451
-
452
- #### Server interface description
453
-
454
- | Name | Description |
455
- |--------------------- |-------------------------------------------------------------------------------------------- |
456
- | `Server` | Base interface for a server that supports receiving JSON-RPC requests |
457
- | `Server.tcp` | TCP server that inherits from [net.Server][nodejs_doc_net_server] |
458
- | `Server.tls` | TLS server that inherits from [tls.Server][nodejs_doc_tls_server] |
459
- | `Server.http` | HTTP server that inherits from [http.Server][nodejs_doc_http_server] |
460
- | `Server.https` | HTTPS server that inherits from [https.Server][nodejs_doc_https_server] |
461
- | `Server.websocket` | Websocket server that uses [isomorphic-ws Server][isomorphic-ws-docs] |
462
- | `Server.middleware` | Method that returns a [Connect][connect]/[Express][express] compatible middleware function |
463
-
464
- [isomorphic-ws-docs]: https://github.com/heineiuo/isomorphic-ws
465
- [nodejs_doc_net_server]: http://nodejs.org/docs/latest/api/net.html#net_class_net_server
466
- [nodejs_doc_http_server]: http://nodejs.org/docs/latest/api/http.html#http_class_http_server
467
- [nodejs_doc_https_server]: http://nodejs.org/docs/latest/api/https.html#https_class_https_server
468
- [nodejs_doc_tls_server]: https://nodejs.org/api/tls.html#tls_class_tls_server
469
- [connect]: http://www.senchalabs.org/connect/
470
- [express]: http://expressjs.com/
471
-
472
- Servers supports these options:
473
-
474
- | Option | Default | Type | Description |
475
- |--------------------- |----------------- |--------------------- |----------------------------------------------------------- |
476
- | `reviver` | `null` | `Function` | `JSON.parse` reviver |
477
- | `replacer` | `null ` | `Function` | `JSON.stringify` replacer |
478
- | `router` | `null ` | `Function` | Return the function for [method routing](#method-routing) |
479
- | `useContext` | `false` | `Boolean` | Passed to `methodConstructor` options |
480
- | `params` | `undefined` | `Array/Object/null` | Passed to `methodConstructor` options |
481
- | `methodConstructor` | `jayson.Method` | `Function` | Server functions are made an instance of this class |
482
- | `version` | 2 | `Number` | JSON-RPC version to support (1 or 2) |
483
- | `maxBatchLength` | Infinity | `Number` | Maximum batch requests allowed |
484
-
485
- ##### Server.tcp
486
-
487
- Uses the same options as the base class. Inherits from [net.Server][nodejs_doc_net_server].
488
-
489
- ##### Server.tls
490
-
491
- Uses the same options as the base class. Inherits from [tls.Server][nodejs_doc_tls_server].
492
-
493
- ##### Server.http
494
-
495
- Uses the same options as the base class. Inherits from [http.Server][nodejs_doc_http_server].
496
-
497
- ###### Server.http Events
498
-
499
- | Event | When | Arguments | Notes |
500
- |----------------- |------------------------------- |------------------------------------------------------------------------------ |------- |
501
- | `http request` | Incoming HTTP request | 1. Instance of `http.IncomingMessage` | |
502
- | `http response` | About to send a HTTP response | 1. Instance of `http.ServerResponse` 2. Instance of `http. IncomingMessage ` | |
503
-
504
- ##### Server.https
505
-
506
- Uses the same options as the base class. Inherits from [https.Server][nodejs_doc_https_server] and `jayson.Server.http`. For information on how to configure certificates, [see the documentation on https.Server][nodejs_doc_https_server].
507
-
508
- Will emit the [same custom events](#serverhttp-events) as `Server.http`.
509
-
510
- ##### Server.middleware
511
-
512
- Uses the same options as the base class. Returns a function that is compatible with [Connect][connect] or [Express][express]. Will expect the request to be `req.body`, meaning that the request body must be parsed (typically using `connect.bodyParser`) before the middleware is invoked.
513
-
514
- The middleware supports the following options:
515
-
516
- | Option | Default | Type | Description |
517
- |-------- |--------- |----------- |------------------------------------------------------------------------------------------- |
518
- | `end` | `true` | `Boolean` | If set to `false` causes the middleware to `next()` instead of `res.end()` when finished. |
519
-
520
- Middleware example in [examples/middleware/server.js](examples/middleware/server.js):
521
-
522
- ```javascript
523
- const jayson = require('jayson');
524
- const jsonParser = require('body-parser').json;
525
- const connect = require('connect');
526
- const app = connect();
527
-
528
- const server = new jayson.Server({
529
- add: function(args, callback) {
530
- callback(null, args[0] + args[1]);
531
- }
532
- });
533
-
534
- // parse request body before the jayson middleware
535
- app.use(jsonParser());
536
- app.use(server.middleware());
537
-
538
- app.listen(3000);
539
- ```
540
-
541
- ##### Server.websocket
542
-
543
- Websocket server that either wraps around a provided `require('isomorphic-ws').Server` instance or creates one from scratch. Expects **every** incoming message on every connection to be a valid JSON-RPC call.
544
-
545
- The websocket server supports the following options in addition to the base class:
546
-
547
- | Option | Default | Type | Description |
548
- |--------|-------------|-----------------------------------|---------------------------------|
549
- | `wss` | `undefined` | `require('isomorphic-ws').Server` | If not provided will be created |
550
-
551
-
552
- Websocket server example in [examples/websocket/server.js](examples/websocket/server.js):
553
-
554
- ```javascript
555
- const jayson = require('jayson');
556
-
557
- const server = new jayson.Server({
558
- add: function (args, done) {
559
- const sum = args.reduce((sum, val) => sum + val, 0);
560
- done(null, sum);
561
- },
562
- });
563
-
564
- const wss = server.websocket({
565
- port: 12345,
566
- });
567
- ```
568
-
569
- Websocket client example in [examples/websocket/client.js](examples/websocket/client.js):
570
-
571
- ```javascript
572
- const jayson = require('jayson');
573
-
574
- const client = jayson.Client.websocket({
575
- url: 'ws://localhost:12345',
576
- });
577
-
578
- client.ws.on('open', function () {
579
- client.request('add', [1,2,3,4], function (err, result) {
580
- console.log(err, result);
581
- client.ws.close();
582
- });
583
- });
584
- ```
585
-
586
- #### Many interfaces at the same time
587
-
588
- A Jayson server can use many interfaces at the same time.
589
-
590
- Server example in [examples/many_interfaces/server.js](examples/many_interfaces/server.js) that listens to both `http` and a `https` requests:
591
-
592
- ```javascript
593
- const jayson = require('jayson');
594
-
595
- const server = new jayson.Server();
596
-
597
- // "http" will be an instance of require('http').Server
598
- const http = server.http();
599
-
600
- // "https" will be an instance of require('https').Server
601
- const https = server.https({
602
- //cert: require('fs').readFileSync('cert.pem'),
603
- //key require('fs').readFileSync('key.pem')
604
- });
605
-
606
- http.listen(80, function() {
607
- console.log('Listening on *:80');
608
- });
609
-
610
- https.listen(443, function() {
611
- console.log('Listening on *:443');
612
- });
613
- ```
614
-
615
- #### Using the server as a relay
616
-
617
- Passing an instance of a client as a method to the server makes the server relay incoming requests to wherever the client is pointing to. This might be used to delegate computationally expensive functions into a separate server or to abstract a cluster of servers behind a common interface.
618
-
619
- Frontend server example in [examples/relay/server_public.js](examples/relay/server_public.js) listening on `*:3000`:
620
-
621
- ```javascript
622
- const jayson = require('jayson');
623
-
624
- // create a server where "add" will relay a localhost-only server
625
- const server = new jayson.Server({
626
- add: jayson.Client.http({
627
- port: 3001
628
- })
629
- });
630
-
631
- // let the frontend server listen to *:3000
632
- server.http().listen(3000);
633
- ```
634
-
635
- Backend server example in [examples/relay/server_private.js](examples/relay/server_private.js) listening on `*:3001`:
636
-
637
- ```javascript
638
- const jayson = require('jayson');
639
-
640
- const server = new jayson.Server({
641
- add: function(args, callback) {
642
- callback(null, args[0] + args[1]);
643
- }
644
- });
645
-
646
- // let the backend listen to *:3001
647
- server.http().listen(3001);
648
- ```
649
-
650
- Every request to `add` on the public server will now relay the request to the private server. See the client example in [examples/relay/client.js](examples/relay/client.js).
651
-
652
- #### Method routing
653
-
654
- Passing a property named `router` in the server options will enable you to write your own logic for routing requests to specific functions.
655
-
656
- Server example with custom routing logic in [examples/method_routing/server.js](examples/method_routing/server.js):
657
-
658
- **Note:** You are strongly recommended to check method names using `Object.prototype.hasOwnProperty` to prevent a denial-of-service attack against your Jayson server when names such as `__defineGetter__` are used in JSON-RPC calls.
659
-
660
- ```javascript
661
- const jayson = require('jayson');
662
-
663
- const methods = {
664
- add: function(args, callback) {
665
- callback(null, args[0] + args[1]);
666
- }
667
- };
668
-
669
- const server = new jayson.Server(methods, {
670
- router: function(method, params) {
671
- // regular by-name routing first
672
- const fn = Object.prototype.hasOwnProperty.call(this._methods, method) ? this._methods[method] : null;
673
- if(typeof fn === 'function') {
674
- return fn;
675
- }
676
- if(method === 'add_2') {
677
- const fn = server.getMethod('add').getHandler();
678
- return new jayson.Method(function(args, done) {
679
- args.unshift(2);
680
- fn(args, done);
681
- });
682
- }
683
- }
684
- });
685
-
686
- server.http().listen(3000);
687
- ```
688
-
689
- Client example in [examples/method_routing/client.js](examples/method_routing/client.js) invoking `add_2` on the above server:
690
-
691
- ```javascript
692
- const jayson = require('jayson');
693
-
694
- // create a client
695
- const client = jayson.Client.http({
696
- port: 3000
697
- });
698
-
699
- // invoke "add_2"
700
- client.request('add_2', [3], function(err, response) {
701
- if(err) throw err;
702
- console.log(response.result); // 5!
703
- });
704
- ```
705
-
706
- Server example of nested routes where each property is separated by a dot (you do not need to use the router option for this):
707
-
708
- ```javascript
709
- const jayson = require('jayson');
710
-
711
- const methods = {
712
- foo: {
713
- bar: function(callback) {
714
- callback(null, 'ping pong');
715
- }
716
- },
717
- math: {
718
- add: function(args, callback) {
719
- callback(null, args[0] + args[1]);
720
- }
721
- }
722
- };
723
-
724
- // this reduction produces an object like this: {'foo.bar': [Function], 'math.add': [Function]}
725
- const map = Object.keys(methods).reduce(collapse('', '.', methods), {});
726
- const server = new jayson.Server(map);
727
-
728
- function collapse(stem, sep, obj) {
729
- return function(map, key) {
730
- const prop = stem ? stem + sep + key : key;
731
- const value = obj[key];
732
- if(typeof value === 'function') map[prop] = value;
733
- else if(typeof value === 'object' && value !== null) map = Object.keys(value).reduce(collapse(prop, sep, value), map);
734
- return map;
735
- }
736
- }
737
- ```
738
-
739
- ##### Notes
740
-
741
- * If `router` does not return anything, the server will respond with a `Method Not Found` error.
742
- * The `Server.prototype` methods `method`, `methods`, `removeMethod` and `hasMethod` will not use the `router` method, but will operate on the internal `Server.prototype._methods` map.
743
- * The `router` method is expected to return instances of `jayson.Method` (>=1.2.0)
744
-
745
- #### Method definition
746
-
747
- You can also define server methods inside a wrapping object named `jayson.Method`. This allows additional options about the method to be specified. Using this wrapper - explicitly or implicitly (via server options) - makes it trivial to have your method accept a variable amount of arguments.
748
-
749
- The method class is available as the `Method` or `method` property of `require('jayson')`. It supports these options:
750
-
751
- | Option | Default | Type | Description |
752
- |----------- |-------------------------------- |--------------------- |------------------------------------------------------------------------ |
753
- | `handler` | | `Function` | The actual function that will handle a JSON-RPC request to this method |
754
- | `useContext` | false | `Boolean` | When true, the handler will receive a context object as the second argument
755
- | `params` | null | `Array\|Object\|null` | Force JSON-RPC parameters to be of a certain type |
756
-
757
- Server example showcasing most features and options in [examples/method_definitions/server.js](examples/method_definitions/server.js):
758
-
759
- ```javascript
760
- const jayson = require('jayson');
761
-
762
- const methods = {
763
-
764
- // this function will be wrapped in jayson.Method with options given to the server
765
- sum: function(args, done) {
766
- done(null, sum(args));
767
- },
768
-
769
- // this function always receives a context object as second arg
770
- // it can be overriden on the server level
771
- context: jayson.Method(function(args, context, done) {
772
- done(null, context);
773
- }, {useContext: true}),
774
-
775
- // specifies some default values (alternate definition too)
776
- sumDefault: jayson.Method(function(args, done) {
777
- const total = sum(args);
778
- done(null, total);
779
- }, {
780
- params: {a: 2, b: 5} // map of defaults
781
- }),
782
-
783
- // this method returns true when it gets an array (which it always does)
784
- isArray: new jayson.Method({
785
- handler: function(args, done) {
786
- const result = Array.isArray(args);
787
- done(null, result);
788
- },
789
- params: Array // could also be "Object"
790
- })
791
-
792
- };
793
-
794
- const server = new jayson.Server(methods, {
795
- // these options are given as options to jayson.Method when adding the method "sum".
796
- // this is because it is not wrapped in jayson.Method like the others.
797
- useContext: false,
798
- params: Array
799
- });
800
-
801
- server.http().listen(3000);
802
-
803
- // sums all numbers in an array or object
804
- function sum(list) {
805
- return Object.keys(list).reduce(function(sum, key) { return sum + list[key]; }, 0);
806
- }
807
- ```
808
-
809
- Client example in [examples/method_definitions/client.js](examples/method_definitions/client.js):
810
-
811
- ```javascript
812
- const jayson = require('jayson');
813
-
814
- const client = jayson.Client.http({
815
- port: 3000
816
- });
817
-
818
- // invoke "sum" with array
819
- client.request('sum', [3, 5, 9, 11], function(err, response) {
820
- if(err) throw err;
821
- console.log(response.result); // 28
822
- });
823
-
824
- // invoke "sum" with an object
825
- client.request('sum', {a: 2, b: 3, c: 4}, function(err, response) {
826
- if(err) throw err;
827
- console.log(response.result); // 9
828
- });
829
-
830
- // invoke "sumDefault" with object missing some defined members
831
- client.request('sumDefault', {b: 10}, function(err, response) {
832
- if(err) throw err;
833
- console.log(response.result); // 12
834
- });
835
-
836
- // invoke "isArray" with an Object
837
- client.request('isArray', {a: 5, b: 2, c: 9}, function(err, response) {
838
- if(err) throw err;
839
- console.log(response.result); // true
840
- });
841
-
842
- // invoke "context"
843
- client.request('context', {hello: 'world'}, function(err, response) {
844
- if(err) throw err;
845
- console.log(response.result); // {} - just an empty object
846
- });
847
- ```
848
-
849
- #### Server events
850
-
851
- In addition to events that are specific to certain interfaces, all servers will emit the following events:
852
-
853
- | Event | When | Arguments | Notes |
854
- |------------ |------------------------------------------ |-------------------------------------- |-------------------------------- |
855
- | `request` | Interpretable non-batch request received | 1: Request object | |
856
- | `response` | Returning a response | 1: Request object 2: Response object | |
857
- | `batch` | Interpretable batch request received | 1. Array of requests | Emits `request` for every part |
858
-
859
- #### Server Errors
860
-
861
- If you should like to return an error from an method request to indicate a failure, remember that the [JSON-RPC 2.0][jsonrpc-spec] specification requires the error to be an `Object` with a `code (Integer/Number)` to be regarded as valid. You can also provide a `message (String)` and a `data (Object)` with additional information. Example:
862
-
863
- ```javascript
864
- const jayson = require('jayson');
865
-
866
- const server = new jayson.Server({
867
- i_cant_find_anything: function(args, callback) {
868
- const error = {code: 404, message: 'Cannot find ' + args.id};
869
- callback(error); // will return the error object as given
870
- },
871
- i_cant_return_a_valid_error: function(callback) {
872
- callback({message: 'I forgot to enter a code'}); // will return a pre-defined "Internal Error"
873
- }
874
- });
875
- ```
876
-
877
- ##### Predefined Errors
878
-
879
- It is also possible to cause a method to return one of the predefined [JSON-RPC 2.0 error codes][jsonrpc-spec#error_object] using the server helper function `Server.prototype.error` inside of a server method. Example:
880
-
881
- [jsonrpc-spec#error_object]: http://jsonrpc.org/spec.html#error_object
882
-
883
- ```javascript
884
- const jayson = require('jayson');
885
-
886
- const server = new jayson.Server({
887
- invalid_params: function(args, callback) {
888
- const error = this.error(-32602); // returns an error with the default properties set
889
- callback(error);
890
- }
891
- });
892
- ```
893
-
894
- You can even override the default messages:
895
-
896
- ```javascript
897
- const jayson = require('jayson');
898
-
899
- const server = new jayson.Server({
900
- error_giver_of_doom: function(callback) {
901
- callback(true) // invalid error format, which causes an Internal Error to be returned instead
902
- }
903
- });
904
-
905
- // Override the default message
906
- server.errorMessages[Server.errors.INTERNAL_ERROR] = 'I has a sad. I cant do anything right';
907
- ```
908
-
909
- #### Server CORS
910
-
911
- Jayson does not include functionality for supporting CORS requests natively but it is easy to use a CORS-enabling middleware
912
- like [cors](https://github.com/expressjs/cors). An example of this can be found in [examples/cors/server.js](examples/cors/server.js):
913
-
914
- ```javascript
915
- const jayson = require('jayson');
916
- const cors = require('cors');
917
- const connect = require('connect');
918
- const jsonParser = require('body-parser').json;
919
- const app = connect();
920
-
921
- const server = new jayson.Server({
922
- myNameIs: function(args, callback) {
923
- callback(null, 'Your name is: ' + args.name);
924
- }
925
- });
926
-
927
- app.use(cors({methods: ['POST']}));
928
- app.use(jsonParser());
929
- app.use(server.middleware());
930
-
931
- app.listen(3000);
932
- ```
933
-
934
- #### Server Context
935
-
936
- *Since version 3.0.0*
937
-
938
- You can provide an optional context object to JSON-RPC method handlers. This can be used to give extra data to a handler such as request headers, authentication tokens, and so on.
939
-
940
- This feature is unlocked by having `jayson.Method` accepts a boolean option called `useContext`. It always defaults to `false` for backwards compatibility. When it is set to `true` the method handler that `jayson.Method` wraps will **always** receive a context object as the second argument. The object can be given as the third argument to `jayson.Server.prototype.call`.
941
-
942
- Server example in [examples/context/server.js](examples/context/server.js):
943
-
944
- ```javascript
945
- const jayson = require('jayson');
946
- const jsonParser = require('body-parser').json;
947
- const express = require('express');
948
- const app = express();
949
-
950
- const server = new jayson.Server({
951
-
952
- getHeaders: function(args, context, callback) {
953
- callback(null, context.headers);
954
- },
955
-
956
- // old method not receiving a context object (here for reference)
957
- oldMethod: new jayson.Method(function(args, callback) {
958
- callback(null, {});
959
- }, {
960
- // this setting overrides the server option set below for this particular method only
961
- useContext: false
962
- })
963
-
964
- }, {
965
- // all methods will receive a context object as the second arg
966
- useContext: true
967
- });
968
-
969
- app.use(jsonParser());
970
- app.use(function(req, res, next) {
971
- // prepare a context object passed into the JSON-RPC method
972
- const context = {headers: req.headers};
973
- server.call(req.body, context, function(err, result) {
974
- if(err) return next(err);
975
- res.send(result || {});
976
- });
977
- });
978
-
979
- app.listen(3001);
980
- ```
981
-
982
- Client example in [examples/context/client.js](examples/context/client.js):
983
-
984
- ```javascript
985
- const jayson = require('jayson');
986
-
987
- // create a client
988
- const client = jayson.Client.http({
989
- port: 3001
990
- });
991
-
992
- // invoke "getHeaders"
993
- client.request('getHeaders', {}, function(err, response) {
994
- if(err) throw err;
995
- console.log(response.result);
996
- });
997
- ```
998
-
999
- ##### Notes
1000
-
1001
- - `jayson.Server` also accepts `useContext` as an option, and passes the value on to the `jayson.Method` constructor. This option can be overriden on a per-method basis as shown above.
1002
- - Individual requests in a JSON-RPC batch will all receive the exact same context object in their handler - take care not to mutate it
1003
- - If a falsy context value is given to `jayson.Server.prototype.call`, an empty object will be created
1004
- - None of the current jayson server transports (http, https, tls, tcp, middleware) can make use of the context object. You will need to rig your own transport implementation, like the one above based on an `express` http server. See the [FAQ](#faq) for more info about this.
1005
-
1006
- ### Revivers and Replacers
1007
-
1008
- JSON lacks support for representing types other than the simple ones defined in the [JSON specification][jsonrpc-spec]. Fortunately the JSON methods in JavaScript (`JSON.parse` and `JSON.stringify`) provide options for custom serialization/deserialization routines. Jayson allows you to pass your own routines as options to both clients and servers.
1009
-
1010
- Simple example transferring the state of an object between a client and a server:
1011
-
1012
- Shared code between the server and the client in [examples/reviving_and_replacing/shared.js](examples/reviving_and_replacing/shared.js):
1013
-
1014
- ```javascript
1015
- 'use strict';
1016
-
1017
- const Counter = exports.Counter = function(value) {
1018
- this.count = value || 0;
1019
- };
1020
-
1021
- Counter.prototype.increment = function() {
1022
- this.count += 1;
1023
- };
1024
-
1025
- exports.replacer = function(key, value) {
1026
- if(value instanceof Counter) {
1027
- return {$class: 'counter', $props: {count: value.count}};
1028
- }
1029
- return value;
1030
- };
1031
-
1032
- exports.reviver = function(key, value) {
1033
- if(value && value.$class === 'counter') {
1034
- const obj = new Counter();
1035
- for(const prop in value.$props) obj[prop] = value.$props[prop];
1036
- return obj;
1037
- }
1038
- return value;
1039
- };
1040
- ```
1041
-
1042
- Server example in [examples/reviving_and_replacing/server.js](examples/reviving_and_replacing/server.js):
1043
-
1044
- ```javascript
1045
- const jayson = require('jayson');
1046
- const shared = require('./shared');
1047
-
1048
- // Set the reviver/replacer options
1049
- const options = {
1050
- reviver: shared.reviver,
1051
- replacer: shared.replacer
1052
- };
1053
-
1054
- // create a server
1055
- const server = new jayson.Server({
1056
- increment: function(args, callback) {
1057
- args.counter.increment();
1058
- callback(null, args.counter);
1059
- }
1060
- }, options);
1061
-
1062
- server.http().listen(3000);
1063
- ```
1064
-
1065
- A client example in [examples/reviving_and_replacing/client.js](examples/reviving_and_replacing/client.js) invoking "increment" on the server:
1066
-
1067
- ```javascript
1068
- const jayson = require('jayson');
1069
- const shared = require('./shared');
1070
-
1071
- const client = jayson.Client.http({
1072
- port: 3000,
1073
- reviver: shared.reviver,
1074
- replacer: shared.replacer
1075
- });
1076
-
1077
- // create the object
1078
- const params = {
1079
- counter: new shared.Counter(2)
1080
- };
1081
-
1082
- // invoke "increment"
1083
- client.request('increment', params, function(err, response) {
1084
- if(err) throw err;
1085
- const result = response.result;
1086
- console.log(
1087
- result instanceof shared.Counter, // true
1088
- result.count, // 3
1089
- params.counter === result // false - result is a new object
1090
- );
1091
- });
1092
- ```
1093
-
1094
- #### Notes
1095
-
1096
- * Instead of using a replacer, it is possible to define a `toJSON` method for any JavaScript object. Unfortunately there is no corresponding method for reviving objects (that would not work, obviously), so the _reviver_ always has to be set up manually.
1097
-
1098
- ### Named parameters
1099
-
1100
- It is possible to specify named parameters when doing a client request by passing an Object instead of an Array.
1101
-
1102
- Client example in [examples/named_parameters/client.js](examples/named_parameters/client.js):
1103
-
1104
- ```javascript
1105
- const jayson = require('jayson');
1106
-
1107
- const client = jayson.Client.http({
1108
- port: 3000
1109
- });
1110
-
1111
- client.request('add', {b: 1, a: 2}, function(err, response) {
1112
- if(err) throw err;
1113
- console.log(response.result); // 3!
1114
- });
1115
- ```
1116
-
1117
- Server example in [examples/named_parameters/server.js](examples/named_parameters/server.js):
1118
-
1119
- ```javascript
1120
- const jayson = require('jayson');
1121
-
1122
- const server = new jayson.Server({
1123
- add: function(params, callback) {
1124
- callback(null, params.a + params.b);
1125
- }
1126
- });
1127
-
1128
- server.http().listen(3000);
1129
- ```
1130
-
1131
- #### Notes
1132
-
1133
- * If requesting methods on a Jayson server, arguments left out will be `undefined`
1134
- * Too many arguments or arguments with invalid names will be ignored
1135
- * It is assumed that the last argument to a server method is the callback and it will not be filled with something else
1136
- * Parsing a function signature and filling in arguments is generally *not recommended* and should be avoided
1137
-
1138
- ## Promises
1139
-
1140
- [es6-promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
1141
-
1142
- *Since version 2.0.0*
1143
-
1144
- A separate tree that does limited usage of the [ES6 Promise][es6-promise] object is available. The internal API remains callback based, with the addition that promises may be used for two things:
1145
-
1146
- * Returning a Promise when requesting a JSON-RPC method using a Client
1147
- * Returning a Promise inside of a Server method
1148
-
1149
- To use the separate tree, do a `require('jayson/promise')` instead of `require('jayson')`.
1150
-
1151
- Server example in [examples/promise/server.js](examples/promise/server.js) showing how to return a `Promise` in a server method:
1152
-
1153
- ```javascript
1154
- const jayson = require('jayson/promise');
1155
-
1156
- const server = new jayson.Server({
1157
-
1158
- add: async function(args) {
1159
- const sum = Object.keys(args).reduce(function(sum, key) { return sum + args[key]; }, 0);
1160
- return sum;
1161
- },
1162
-
1163
- // example on how to reject
1164
- rejection: async function(args) {
1165
- // server.error just returns {code: 501, message: 'not implemented'}
1166
- throw server.error(501, 'not implemented');
1167
- }
1168
-
1169
- });
1170
-
1171
- server.http().listen(3000);
1172
- ```
1173
-
1174
- Client example in [examples/promise/client.js](examples/promise/client.js) showing how to do a request:
1175
-
1176
- ```javascript
1177
- const jayson = require('jayson/promise');
1178
-
1179
- const client = jayson.Client.http({
1180
- port: 3000
1181
- });
1182
-
1183
- const reqs = [
1184
- client.request('add', [1, 2, 3, 4, 5]),
1185
- client.request('rejection', [])
1186
- ];
1187
-
1188
- Promise.all(reqs).then(function(responses) {
1189
- console.log(responses[0].result);
1190
- console.log(responses[1].error);
1191
- });
1192
- ```
1193
-
1194
- #### Notes
1195
-
1196
- * JSON-RPC errors will not result in rejection of the Promise. It is however possible that a future version will include a client setting to have JSON-RPC errors result in rejection. Please note that network errors and the like will result in rejection.
1197
- * A `Promise` is considered to have been returned from a server method if the returned object has a property `then` that is a function.
1198
-
1199
- #### Promise Batches
1200
-
1201
- *Since version 2.0.5*
1202
-
1203
- Sometimes you may want to return raw requests from a promise client. This needs to be handled differently, because `PromiseClient.prototype.request` would normally always be expected to *return a Promise* which we in this case don't want.
1204
-
1205
- To solve this, we need to set the fourth parameter to `PromiseClient.prototype.request` explicitly to `false` in order to *not* return a Promise.
1206
-
1207
- Client example in [examples/promise_batches/client.js](examples/promise_batches/client.js) showing how to properly execute a batch request:
1208
-
1209
- ```javascript
1210
- const jayson = require('jayson/promise');
1211
-
1212
- const client = jayson.Client.http({
1213
- port: 3000
1214
- });
1215
-
1216
- const batch = [
1217
- client.request('add', [1, 2, 3, 4, 5], undefined, false),
1218
- client.request('add', [5, 6, 7, 8, 9], undefined, false),
1219
- ];
1220
-
1221
- client.request(batch).then(function(responses) {
1222
- console.log(responses[0].result); // 15
1223
- console.log(responses[1].result); // 35
1224
- });
1225
- ```
1226
-
1227
- ##### Notes
1228
-
1229
- * The third parameter to `PromiseClient.prototype.request` above is explicitly set to `undefined` - this parameter would normally represent the desired ID of the call. Remember that `null` would mean a notification (which does not return a response) and other falsy values may actually be used as ids. Setting `undefined` ensures that the id is generated automatically.
1230
-
1231
- #### Promise Browser Client
1232
-
1233
- A browser client that has no dependencies on node.js core libraries is available too. It works similar to how the regular callback-style [Browser Client](#clientbrowser) works. Here is an example:
1234
-
1235
- ```javascript
1236
- 'use strict';
1237
-
1238
- const jaysonPromiseBrowserClient = require('jayson/promise/lib/client/browser');
1239
- const fetch = require('node-fetch');
1240
-
1241
- const callServer = function(request) {
1242
- const options = {
1243
- method: 'POST',
1244
- body: request,
1245
- headers: {
1246
- 'Content-Type': 'application/json',
1247
- }
1248
- };
1249
- return fetch('http://localhost:3000', options).then(res => res.text());
1250
- };
1251
-
1252
- const client = new jaysonPromiseBrowserClient(callServer, {
1253
- // other options go here
1254
- });
1255
-
1256
- client.request('multiply', [5, 5]).then(function(result) {
1257
- console.log(result);
1258
- }, function(err) {
1259
- console.error(err);
1260
- });
1261
- ```
1262
-
1263
- Please refer to the [regular browser client](#clientbrowser) section of the README for more information.
1264
-
1265
- ## FAQ
1266
-
1267
- ### How can I pass HTTP headers/session/etc into my JSON-RPC request handler?
1268
-
1269
- *Support for method context added in version 3.0.0*
1270
-
1271
- See [Server context](#server-context) section.
1272
-
1273
- ### What is the recommended way to use jayson?
1274
-
1275
- Using the provided clients and servers for http, https, tls, tcp and the express middleware is fine and works well for most use cases. However, sometimes issues like these crop up (quotes below are not directly from issue posters):
1276
-
1277
- - "The (non-jayson) HTTP/TCP server I'm interacting with expects every call to terminate with `\r\n` but the jayson client does not"
1278
- - ["How can my jayson TLS server support requests encoded such and such?"](https://github.com/tedeh/jayson/issues/86)
1279
- - ["How can I make the jayson HTTP middleware accept GET requests?"](https://github.com/tedeh/jayson/issues/70)
1280
- - ["My jayson client interacting with a (non-jayson) TLS server closes the connection after every sent request. I think this is wasteful!"](https://github.com/tedeh/jayson/issues/92)
1281
-
1282
- These are not issues with jayson, but stem from the fact that [JSON-RPC 2.0 specification][jsonrpc-spec] is **transport agnostic** and these kind of behaviours are **not defined** by that specification. The clients provided by jayson for http, https, tls, tcp are made to work and tested with their corresponding jayson server implementation. Any other compatibility with any other server or client is *accidental* when it comes to **details of the transport layer**. With that said, jayson is made to be 100 % compatible with the [JSON-RPC 2.0 specification][jsonrpc-spec] and compatibility with other non-jayson servers or clients when it comes to the *application layer* is pretty much guaranteed.
1283
-
1284
- The library author [tedeh](https://github.com/tedeh) therefore recommends that if you have particular needs when it comes to the transport layer you create an implementation satisfying these details yourself. **Doing this is actually quite simple.**
1285
-
1286
- Example of a http server built with express in [examples/faq_recommended_http_server/server.js](examples/faq_recommended_http_server/server.js):
1287
-
1288
- ```javascript
1289
- const jayson = require('jayson');
1290
- const jsonParser = require('body-parser').json;
1291
- const express = require('express');
1292
- const app = express();
1293
-
1294
- // create a plain jayson server
1295
- const server = new jayson.Server({
1296
- add: function(numbers, callback) {
1297
- const sum = Object.keys(numbers).reduce(function(sum, key) { return sum + numbers[key]; }, 0);
1298
- callback(null, sum);
1299
- }
1300
- });
1301
-
1302
- app.use(jsonParser()); // <- here we can deal with maximum body sizes, etc
1303
- app.use(function(req, res, next) {
1304
- const request = req.body;
1305
- // <- here we can check headers, modify the request, do logging, etc
1306
- server.call(request, function(err, response) {
1307
- if(err) {
1308
- // if err is an Error, err is NOT a json-rpc error
1309
- if(err instanceof Error) return next(err);
1310
- // <- deal with json-rpc errors here, typically caused by the user
1311
- res.status(400);
1312
- res.send(err);
1313
- return;
1314
- }
1315
- // <- here we can mutate the response, set response headers, etc
1316
- if(response) {
1317
- res.send(response);
1318
- } else {
1319
- // empty response (could be a notification)
1320
- res.status(204);
1321
- res.send('');
1322
- }
1323
- });
1324
- });
1325
-
1326
- app.listen(3001);
1327
- ```
1328
-
1329
- Using some of the utilities provided and exported by jayson, creating a client offering the same kind of flexibility is also simple. Example of a compatible http client built with superagent in [examples/faq_recommended_http_server/client.js](examples/faq_recommended_http_server/client.js):
1330
-
1331
- ```javascript
1332
- const jayson = require('jayson');
1333
- const request = require('superagent');
1334
-
1335
- // generate a json-rpc version 2 compatible request (non-notification)
1336
- const requestBody = jayson.Utils.request('add', [1,2,3,4], undefined, {
1337
- version: 2, // generate a version 2 request
1338
- });
1339
-
1340
- request.post('http://localhost:3001')
1341
- // <- here we can setup timeouts, set headers, cookies, etc
1342
- .timeout({response: 5000, deadline: 60000})
1343
- .send(requestBody)
1344
- .end(function(err, response) {
1345
- if(err) {
1346
- // superagent considers 300-499 status codes to be errors
1347
- // @see http://visionmedia.github.io/superagent/#error-handling
1348
- if(!err.status) throw err;
1349
- const body = err.response.body;
1350
- // body may be a JSON-RPC error, or something completely different
1351
- // it can be handled here
1352
- if(body && body.error && jayson.Utils.Response.isValidError(body.error, 2)) {
1353
- // the error body was a valid JSON-RPC version 2
1354
- // we may wish to deal with it differently
1355
- console.err(body.error);
1356
- return;
1357
- }
1358
- throw err; // error was something completely different
1359
- }
1360
-
1361
- const body = response.body;
1362
-
1363
- // check if we got a valid JSON-RPC 2.0 response
1364
- if(!jayson.Utils.Response.isValidResponse(body, 2)) {
1365
- console.err(body);
1366
- }
1367
-
1368
- if(body.error) {
1369
- // we have a json-rpc error...
1370
- console.err(body.error); // 10!
1371
- } else {
1372
- // do something useful with the result
1373
- console.log(body.result); // 10!
1374
- }
1375
- });
1376
- ```
1377
-
1378
- ## Contributing
1379
-
1380
- Highlighting [issues](https://github.com/tedeh/jayson/issues) or submitting pull
1381
- requests on [Github](https://github.com/tedeh/jayson) is most welcome.
1382
-
1383
- Please make sure to follow the style of the project, and lint your code with `npm run lint` before submitting a patch.
1384
-
1385
- ### Submitting issues or pull requests with the Typescript type definitions
1386
-
1387
- You are required to provide an easily reproducible code sample of any errors with the Typescript type definitions so that they can be added to the typescript test file in [typescript/test.ts](typescript/test.ts). Better yet, issue a pull request adding a test there yourself that shows up when running the `package.json` script `test-tsc`.