@meteora-ag/cp-amm-sdk 1.0.11-rc.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2743) hide show
  1. package/dist/index.d.mts +843 -781
  2. package/dist/index.d.ts +843 -781
  3. package/dist/index.js +2335 -854
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +2332 -851
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +41 -43
  8. package/node_modules/@babel/runtime/LICENSE +0 -22
  9. package/node_modules/@babel/runtime/README.md +0 -19
  10. package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  11. package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  12. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  13. package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  14. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  15. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  16. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  17. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  18. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  19. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  20. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  21. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  22. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  23. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  24. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  25. package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  26. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  27. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  28. package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  29. package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  30. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  31. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  33. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  34. package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  35. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  36. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  37. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  38. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  39. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  46. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  47. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  48. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  50. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  51. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  52. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  56. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  57. package/node_modules/@babel/runtime/helpers/construct.js +0 -10
  58. package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  59. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  60. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  61. package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  62. package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  63. package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  64. package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  65. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  66. package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  67. package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  68. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  69. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  70. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  76. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  77. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  78. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  79. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  80. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  81. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  82. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  83. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  84. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  85. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  86. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  87. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  88. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  89. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  91. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  92. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  93. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  94. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  95. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  96. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  97. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  109. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  110. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  114. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  115. package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  116. package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  117. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  118. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  119. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  120. package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  121. package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  122. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  123. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  124. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  125. package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  126. package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  127. package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  128. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  129. package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  130. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  131. package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  132. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  133. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  134. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  135. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  136. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  137. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  138. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  139. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  140. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  141. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  142. package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  143. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  144. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  145. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  146. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  147. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  148. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  149. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  150. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  151. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  152. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  153. package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  154. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  155. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  156. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  157. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -24
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  163. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  164. package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  165. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  166. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  167. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  168. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  169. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  170. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  171. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  172. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  173. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  174. package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  175. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  176. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  177. package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  178. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  179. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  180. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  181. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  182. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  183. package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  184. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  185. package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  186. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  187. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  188. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  189. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  190. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  191. package/node_modules/@babel/runtime/helpers/extends.js +0 -10
  192. package/node_modules/@babel/runtime/helpers/get.js +0 -11
  193. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  194. package/node_modules/@babel/runtime/helpers/identity.js +0 -4
  195. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  196. package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  197. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  198. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  199. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  200. package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  201. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  202. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  203. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  204. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  205. package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  206. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  207. package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  208. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  209. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  210. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  211. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  212. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  213. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  214. package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  215. package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  216. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  217. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  218. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  219. package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  220. package/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  221. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  223. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  224. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -24
  225. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  226. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  227. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  228. package/node_modules/@babel/runtime/helpers/set.js +0 -22
  229. package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  230. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  231. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  232. package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  233. package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  234. package/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  235. package/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  236. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  237. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  238. package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  239. package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  240. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  241. package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  242. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  243. package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  244. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  245. package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  246. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  247. package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  248. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  249. package/node_modules/@babel/runtime/helpers/using.js +0 -12
  250. package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  251. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  252. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  253. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  254. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  255. package/node_modules/@babel/runtime/package.json +0 -1107
  256. package/node_modules/@babel/runtime/regenerator/index.js +0 -15
  257. package/node_modules/@coral-xyz/anchor/README.md +0 -10
  258. package/node_modules/@coral-xyz/anchor/dist/browser/index.js +0 -7201
  259. package/node_modules/@coral-xyz/anchor/dist/browser/index.js.map +0 -1
  260. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts +0 -27
  261. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts.map +0 -1
  262. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts +0 -14
  263. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts.map +0 -1
  264. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts +0 -32
  265. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts.map +0 -1
  266. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts +0 -33
  267. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts.map +0 -1
  268. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts +0 -42
  269. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts.map +0 -1
  270. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts +0 -16
  271. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts.map +0 -1
  272. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts +0 -43
  273. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts.map +0 -1
  274. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts +0 -12
  275. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts.map +0 -1
  276. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts +0 -9
  277. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts.map +0 -1
  278. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts +0 -17
  279. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts.map +0 -1
  280. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts +0 -8
  281. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts.map +0 -1
  282. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts +0 -8
  283. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts.map +0 -1
  284. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts +0 -131
  285. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts.map +0 -1
  286. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts +0 -215
  287. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts.map +0 -1
  288. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts +0 -16
  289. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts.map +0 -1
  290. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts +0 -7
  291. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts.map +0 -1
  292. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts +0 -390
  293. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts.map +0 -1
  294. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts +0 -14
  295. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts.map +0 -1
  296. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts +0 -63
  297. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts.map +0 -1
  298. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts +0 -20
  299. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts.map +0 -1
  300. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts +0 -63
  301. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts.map +0 -1
  302. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts +0 -57
  303. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts.map +0 -1
  304. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts +0 -272
  305. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts.map +0 -1
  306. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts +0 -146
  307. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts.map +0 -1
  308. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts +0 -35
  309. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts.map +0 -1
  310. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts +0 -57
  311. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts.map +0 -1
  312. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts +0 -206
  313. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts.map +0 -1
  314. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts +0 -49
  315. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts.map +0 -1
  316. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts +0 -57
  317. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts.map +0 -1
  318. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts +0 -42
  319. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts.map +0 -1
  320. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts +0 -153
  321. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts.map +0 -1
  322. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts +0 -15
  323. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts.map +0 -1
  324. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts +0 -2
  325. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts.map +0 -1
  326. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts +0 -104
  327. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts.map +0 -1
  328. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts +0 -4
  329. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts.map +0 -1
  330. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts +0 -3
  331. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts.map +0 -1
  332. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts +0 -4
  333. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts.map +0 -1
  334. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts +0 -5
  335. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts.map +0 -1
  336. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts +0 -3
  337. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts.map +0 -1
  338. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts +0 -22
  339. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts.map +0 -1
  340. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts +0 -3
  341. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts.map +0 -1
  342. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts +0 -8
  343. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts.map +0 -1
  344. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts +0 -3
  345. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts.map +0 -1
  346. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts +0 -34
  347. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts.map +0 -1
  348. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts +0 -21
  349. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts.map +0 -1
  350. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts +0 -2
  351. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts.map +0 -1
  352. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts +0 -8
  353. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts.map +0 -1
  354. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts +0 -14
  355. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts.map +0 -1
  356. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts +0 -27
  357. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts.map +0 -1
  358. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js +0 -103
  359. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js.map +0 -1
  360. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts +0 -14
  361. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts.map +0 -1
  362. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js +0 -78
  363. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js.map +0 -1
  364. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts +0 -32
  365. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts.map +0 -1
  366. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js +0 -419
  367. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js.map +0 -1
  368. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts +0 -33
  369. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts.map +0 -1
  370. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js +0 -27
  371. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js.map +0 -1
  372. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts +0 -42
  373. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts.map +0 -1
  374. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js +0 -274
  375. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js.map +0 -1
  376. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts +0 -16
  377. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts.map +0 -1
  378. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js +0 -42
  379. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js.map +0 -1
  380. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts +0 -43
  381. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts.map +0 -1
  382. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js +0 -19
  383. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js.map +0 -1
  384. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts +0 -12
  385. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts.map +0 -1
  386. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js +0 -107
  387. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js.map +0 -1
  388. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts +0 -9
  389. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts.map +0 -1
  390. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js +0 -11
  391. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js.map +0 -1
  392. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts +0 -17
  393. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts.map +0 -1
  394. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js +0 -20
  395. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js.map +0 -1
  396. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts +0 -8
  397. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts.map +0 -1
  398. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js +0 -242
  399. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js.map +0 -1
  400. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts +0 -8
  401. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts.map +0 -1
  402. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js +0 -14
  403. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js.map +0 -1
  404. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts +0 -131
  405. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts.map +0 -1
  406. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js +0 -583
  407. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js.map +0 -1
  408. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts +0 -215
  409. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts.map +0 -1
  410. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js +0 -109
  411. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js.map +0 -1
  412. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts +0 -16
  413. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts.map +0 -1
  414. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js +0 -50
  415. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js.map +0 -1
  416. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts +0 -7
  417. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts.map +0 -1
  418. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js +0 -11
  419. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js.map +0 -1
  420. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts +0 -390
  421. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts.map +0 -1
  422. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js +0 -394
  423. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js.map +0 -1
  424. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts +0 -14
  425. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts.map +0 -1
  426. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js +0 -48
  427. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js.map +0 -1
  428. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts +0 -63
  429. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts.map +0 -1
  430. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js +0 -437
  431. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js.map +0 -1
  432. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts +0 -20
  433. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts.map +0 -1
  434. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js +0 -49
  435. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js.map +0 -1
  436. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts +0 -63
  437. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts.map +0 -1
  438. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js +0 -16
  439. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js.map +0 -1
  440. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts +0 -57
  441. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts.map +0 -1
  442. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js +0 -207
  443. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js.map +0 -1
  444. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts +0 -272
  445. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts.map +0 -1
  446. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js +0 -177
  447. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js.map +0 -1
  448. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts +0 -146
  449. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts.map +0 -1
  450. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js +0 -257
  451. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js.map +0 -1
  452. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts +0 -35
  453. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts.map +0 -1
  454. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js +0 -63
  455. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js.map +0 -1
  456. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts +0 -57
  457. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts.map +0 -1
  458. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js +0 -94
  459. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js.map +0 -1
  460. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts +0 -206
  461. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts.map +0 -1
  462. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js +0 -309
  463. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js.map +0 -1
  464. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts +0 -49
  465. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts.map +0 -1
  466. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js +0 -25
  467. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js.map +0 -1
  468. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts +0 -57
  469. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts.map +0 -1
  470. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js +0 -42
  471. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js.map +0 -1
  472. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts +0 -42
  473. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts.map +0 -1
  474. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js +0 -24
  475. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js.map +0 -1
  476. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts +0 -153
  477. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts.map +0 -1
  478. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js +0 -3
  479. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js.map +0 -1
  480. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts +0 -15
  481. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts.map +0 -1
  482. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js +0 -30
  483. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js.map +0 -1
  484. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts +0 -2
  485. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts.map +0 -1
  486. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js +0 -136
  487. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js.map +0 -1
  488. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts +0 -104
  489. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts.map +0 -1
  490. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js +0 -309
  491. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js.map +0 -1
  492. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts +0 -4
  493. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts.map +0 -1
  494. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js +0 -12
  495. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js.map +0 -1
  496. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts +0 -3
  497. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts.map +0 -1
  498. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js +0 -15
  499. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js.map +0 -1
  500. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts +0 -4
  501. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts.map +0 -1
  502. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js +0 -22
  503. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js.map +0 -1
  504. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts +0 -5
  505. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts.map +0 -1
  506. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js +0 -31
  507. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js.map +0 -1
  508. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts +0 -3
  509. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts.map +0 -1
  510. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js +0 -18
  511. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js.map +0 -1
  512. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts +0 -22
  513. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts.map +0 -1
  514. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js +0 -32
  515. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js.map +0 -1
  516. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts +0 -3
  517. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts.map +0 -1
  518. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js +0 -16
  519. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js.map +0 -1
  520. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts +0 -8
  521. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts.map +0 -1
  522. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js +0 -34
  523. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js.map +0 -1
  524. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts +0 -3
  525. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts.map +0 -1
  526. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js +0 -16
  527. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js.map +0 -1
  528. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts +0 -34
  529. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts.map +0 -1
  530. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js +0 -88
  531. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js.map +0 -1
  532. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts +0 -21
  533. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts.map +0 -1
  534. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js +0 -167
  535. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js.map +0 -1
  536. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts +0 -2
  537. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts.map +0 -1
  538. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js +0 -8
  539. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js.map +0 -1
  540. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts +0 -8
  541. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts.map +0 -1
  542. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js +0 -11
  543. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js.map +0 -1
  544. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts +0 -14
  545. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts.map +0 -1
  546. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js +0 -98
  547. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js.map +0 -1
  548. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts +0 -27
  549. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts.map +0 -1
  550. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js +0 -96
  551. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js.map +0 -1
  552. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts +0 -14
  553. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts.map +0 -1
  554. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js +0 -51
  555. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js.map +0 -1
  556. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts +0 -32
  557. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts.map +0 -1
  558. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js +0 -392
  559. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js.map +0 -1
  560. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts +0 -33
  561. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts.map +0 -1
  562. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js +0 -20
  563. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js.map +0 -1
  564. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts +0 -42
  565. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts.map +0 -1
  566. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js +0 -244
  567. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js.map +0 -1
  568. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts +0 -16
  569. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts.map +0 -1
  570. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js +0 -38
  571. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js.map +0 -1
  572. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts +0 -43
  573. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts.map +0 -1
  574. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js +0 -3
  575. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js.map +0 -1
  576. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts +0 -12
  577. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts.map +0 -1
  578. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js +0 -80
  579. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js.map +0 -1
  580. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts +0 -9
  581. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts.map +0 -1
  582. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js +0 -7
  583. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js.map +0 -1
  584. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts +0 -17
  585. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts.map +0 -1
  586. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js +0 -16
  587. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js.map +0 -1
  588. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts +0 -8
  589. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts.map +0 -1
  590. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js +0 -212
  591. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js.map +0 -1
  592. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts +0 -8
  593. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts.map +0 -1
  594. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js +0 -10
  595. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js.map +0 -1
  596. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts +0 -131
  597. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts.map +0 -1
  598. package/node_modules/@coral-xyz/anchor/dist/esm/error.js +0 -552
  599. package/node_modules/@coral-xyz/anchor/dist/esm/error.js.map +0 -1
  600. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts +0 -215
  601. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts.map +0 -1
  602. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js +0 -74
  603. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js.map +0 -1
  604. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts +0 -16
  605. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts.map +0 -1
  606. package/node_modules/@coral-xyz/anchor/dist/esm/index.js +0 -14
  607. package/node_modules/@coral-xyz/anchor/dist/esm/index.js.map +0 -1
  608. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts +0 -7
  609. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts.map +0 -1
  610. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js +0 -7
  611. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js.map +0 -1
  612. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts +0 -390
  613. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts.map +0 -1
  614. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js +0 -389
  615. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js.map +0 -1
  616. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts +0 -14
  617. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts.map +0 -1
  618. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js +0 -45
  619. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js.map +0 -1
  620. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts +0 -63
  621. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts.map +0 -1
  622. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js +0 -429
  623. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js.map +0 -1
  624. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts +0 -20
  625. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts.map +0 -1
  626. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js +0 -43
  627. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js.map +0 -1
  628. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts +0 -63
  629. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts.map +0 -1
  630. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js +0 -13
  631. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js.map +0 -1
  632. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts +0 -57
  633. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts.map +0 -1
  634. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js +0 -202
  635. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js.map +0 -1
  636. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts +0 -272
  637. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts.map +0 -1
  638. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js +0 -156
  639. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js.map +0 -1
  640. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts +0 -146
  641. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts.map +0 -1
  642. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js +0 -226
  643. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js.map +0 -1
  644. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts +0 -35
  645. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts.map +0 -1
  646. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js +0 -54
  647. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js.map +0 -1
  648. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts +0 -57
  649. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts.map +0 -1
  650. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js +0 -68
  651. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js.map +0 -1
  652. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts +0 -206
  653. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts.map +0 -1
  654. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js +0 -302
  655. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js.map +0 -1
  656. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts +0 -49
  657. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts.map +0 -1
  658. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js +0 -22
  659. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js.map +0 -1
  660. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts +0 -57
  661. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts.map +0 -1
  662. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js +0 -39
  663. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js.map +0 -1
  664. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts +0 -42
  665. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts.map +0 -1
  666. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js +0 -21
  667. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js.map +0 -1
  668. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts +0 -153
  669. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts.map +0 -1
  670. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js +0 -2
  671. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js.map +0 -1
  672. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts +0 -15
  673. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts.map +0 -1
  674. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js +0 -27
  675. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js.map +0 -1
  676. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts +0 -2
  677. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts.map +0 -1
  678. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js +0 -107
  679. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js.map +0 -1
  680. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts +0 -104
  681. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts.map +0 -1
  682. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js +0 -303
  683. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js.map +0 -1
  684. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts +0 -4
  685. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts.map +0 -1
  686. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js +0 -8
  687. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js.map +0 -1
  688. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts +0 -3
  689. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts.map +0 -1
  690. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js +0 -8
  691. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js.map +0 -1
  692. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts +0 -4
  693. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts.map +0 -1
  694. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js +0 -18
  695. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js.map +0 -1
  696. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts +0 -5
  697. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts.map +0 -1
  698. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js +0 -5
  699. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js.map +0 -1
  700. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts +0 -3
  701. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts.map +0 -1
  702. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js +0 -14
  703. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js.map +0 -1
  704. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts +0 -22
  705. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts.map +0 -1
  706. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js +0 -27
  707. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js.map +0 -1
  708. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts +0 -3
  709. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts.map +0 -1
  710. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js +0 -12
  711. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js.map +0 -1
  712. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts +0 -8
  713. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts.map +0 -1
  714. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js +0 -8
  715. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js.map +0 -1
  716. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts +0 -3
  717. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts.map +0 -1
  718. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js +0 -13
  719. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js.map +0 -1
  720. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts +0 -34
  721. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts.map +0 -1
  722. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js +0 -57
  723. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js.map +0 -1
  724. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts +0 -21
  725. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts.map +0 -1
  726. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js +0 -161
  727. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js.map +0 -1
  728. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts +0 -2
  729. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts.map +0 -1
  730. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js +0 -5
  731. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js.map +0 -1
  732. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts +0 -8
  733. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts.map +0 -1
  734. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js +0 -7
  735. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js.map +0 -1
  736. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts +0 -14
  737. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts.map +0 -1
  738. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js +0 -70
  739. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js.map +0 -1
  740. package/node_modules/@coral-xyz/anchor/dist/tsconfig.cjs.tsbuildinfo +0 -1
  741. package/node_modules/@coral-xyz/anchor/dist/tsconfig.tsbuildinfo +0 -1
  742. package/node_modules/@coral-xyz/anchor/package.json +0 -84
  743. package/node_modules/@coral-xyz/anchor/types/buffer-layout/index.d.ts +0 -88
  744. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts +0 -157
  745. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts.map +0 -1
  746. package/node_modules/@coral-xyz/anchor-errors/dist/index.js +0 -167
  747. package/node_modules/@coral-xyz/anchor-errors/dist/index.js.map +0 -1
  748. package/node_modules/@coral-xyz/anchor-errors/package.json +0 -32
  749. package/node_modules/@coral-xyz/borsh/dist/index.d.ts +0 -31
  750. package/node_modules/@coral-xyz/borsh/dist/index.d.ts.map +0 -1
  751. package/node_modules/@coral-xyz/borsh/dist/index.js +0 -222
  752. package/node_modules/@coral-xyz/borsh/dist/index.js.map +0 -1
  753. package/node_modules/@coral-xyz/borsh/package.json +0 -35
  754. package/node_modules/@noble/curves/LICENSE +0 -21
  755. package/node_modules/@noble/curves/README.md +0 -1029
  756. package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -18
  757. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  758. package/node_modules/@noble/curves/_shortw_utils.js +0 -19
  759. package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  760. package/node_modules/@noble/curves/abstract/bls.d.ts +0 -165
  761. package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  762. package/node_modules/@noble/curves/abstract/bls.js +0 -404
  763. package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  764. package/node_modules/@noble/curves/abstract/curve.d.ts +0 -144
  765. package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  766. package/node_modules/@noble/curves/abstract/curve.js +0 -471
  767. package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  768. package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -179
  769. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  770. package/node_modules/@noble/curves/abstract/edwards.js +0 -488
  771. package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  772. package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
  773. package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
  774. package/node_modules/@noble/curves/abstract/fft.js +0 -438
  775. package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
  776. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -98
  777. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  778. package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -199
  779. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  780. package/node_modules/@noble/curves/abstract/modular.d.ts +0 -166
  781. package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  782. package/node_modules/@noble/curves/abstract/modular.js +0 -510
  783. package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  784. package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -21
  785. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  786. package/node_modules/@noble/curves/abstract/montgomery.js +0 -141
  787. package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  788. package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
  789. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  790. package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
  791. package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  792. package/node_modules/@noble/curves/abstract/tower.d.ts +0 -93
  793. package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
  794. package/node_modules/@noble/curves/abstract/tower.js +0 -506
  795. package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
  796. package/node_modules/@noble/curves/abstract/utils.d.ts +0 -5
  797. package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  798. package/node_modules/@noble/curves/abstract/utils.js +0 -23
  799. package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  800. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -316
  801. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  802. package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1290
  803. package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  804. package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
  805. package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  806. package/node_modules/@noble/curves/bls12-381.js +0 -741
  807. package/node_modules/@noble/curves/bls12-381.js.map +0 -1
  808. package/node_modules/@noble/curves/bn254.d.ts +0 -18
  809. package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  810. package/node_modules/@noble/curves/bn254.js +0 -250
  811. package/node_modules/@noble/curves/bn254.js.map +0 -1
  812. package/node_modules/@noble/curves/ed25519.d.ts +0 -120
  813. package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  814. package/node_modules/@noble/curves/ed25519.js +0 -496
  815. package/node_modules/@noble/curves/ed25519.js.map +0 -1
  816. package/node_modules/@noble/curves/ed448.d.ts +0 -102
  817. package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  818. package/node_modules/@noble/curves/ed448.js +0 -461
  819. package/node_modules/@noble/curves/ed448.js.map +0 -1
  820. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -18
  821. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  822. package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -15
  823. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  824. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -165
  825. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  826. package/node_modules/@noble/curves/esm/abstract/bls.js +0 -401
  827. package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  828. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -144
  829. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  830. package/node_modules/@noble/curves/esm/abstract/curve.js +0 -461
  831. package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  832. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -179
  833. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  834. package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -483
  835. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  836. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
  837. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
  838. package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
  839. package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
  840. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -98
  841. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  842. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -192
  843. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  844. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -166
  845. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  846. package/node_modules/@noble/curves/esm/abstract/modular.js +0 -486
  847. package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  848. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -21
  849. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  850. package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -138
  851. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  852. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
  853. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  854. package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
  855. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  856. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -93
  857. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
  858. package/node_modules/@noble/curves/esm/abstract/tower.js +0 -502
  859. package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
  860. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -5
  861. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  862. package/node_modules/@noble/curves/esm/abstract/utils.js +0 -7
  863. package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  864. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -316
  865. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  866. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1278
  867. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  868. package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
  869. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  870. package/node_modules/@noble/curves/esm/bls12-381.js +0 -738
  871. package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  872. package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
  873. package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  874. package/node_modules/@noble/curves/esm/bn254.js +0 -246
  875. package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  876. package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -120
  877. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  878. package/node_modules/@noble/curves/esm/ed25519.js +0 -490
  879. package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  880. package/node_modules/@noble/curves/esm/ed448.d.ts +0 -102
  881. package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  882. package/node_modules/@noble/curves/esm/ed448.js +0 -456
  883. package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  884. package/node_modules/@noble/curves/esm/index.d.ts +0 -2
  885. package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  886. package/node_modules/@noble/curves/esm/index.js +0 -19
  887. package/node_modules/@noble/curves/esm/index.js.map +0 -1
  888. package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
  889. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  890. package/node_modules/@noble/curves/esm/jubjub.js +0 -12
  891. package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  892. package/node_modules/@noble/curves/esm/misc.d.ts +0 -21
  893. package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
  894. package/node_modules/@noble/curves/esm/misc.js +0 -112
  895. package/node_modules/@noble/curves/esm/misc.js.map +0 -1
  896. package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
  897. package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
  898. package/node_modules/@noble/curves/esm/nist.js +0 -110
  899. package/node_modules/@noble/curves/esm/nist.js.map +0 -1
  900. package/node_modules/@noble/curves/esm/p256.d.ts +0 -12
  901. package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  902. package/node_modules/@noble/curves/esm/p256.js +0 -12
  903. package/node_modules/@noble/curves/esm/p256.js.map +0 -1
  904. package/node_modules/@noble/curves/esm/p384.d.ts +0 -13
  905. package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  906. package/node_modules/@noble/curves/esm/p384.js +0 -13
  907. package/node_modules/@noble/curves/esm/p384.js.map +0 -1
  908. package/node_modules/@noble/curves/esm/p521.d.ts +0 -12
  909. package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  910. package/node_modules/@noble/curves/esm/p521.js +0 -12
  911. package/node_modules/@noble/curves/esm/p521.js.map +0 -1
  912. package/node_modules/@noble/curves/esm/package.json +0 -4
  913. package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
  914. package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  915. package/node_modules/@noble/curves/esm/pasta.js +0 -10
  916. package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  917. package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -76
  918. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  919. package/node_modules/@noble/curves/esm/secp256k1.js +0 -290
  920. package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  921. package/node_modules/@noble/curves/esm/utils.d.ts +0 -96
  922. package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
  923. package/node_modules/@noble/curves/esm/utils.js +0 -279
  924. package/node_modules/@noble/curves/esm/utils.js.map +0 -1
  925. package/node_modules/@noble/curves/index.d.ts +0 -1
  926. package/node_modules/@noble/curves/index.d.ts.map +0 -1
  927. package/node_modules/@noble/curves/index.js +0 -19
  928. package/node_modules/@noble/curves/index.js.map +0 -1
  929. package/node_modules/@noble/curves/jubjub.d.ts +0 -12
  930. package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  931. package/node_modules/@noble/curves/jubjub.js +0 -15
  932. package/node_modules/@noble/curves/jubjub.js.map +0 -1
  933. package/node_modules/@noble/curves/misc.d.ts +0 -21
  934. package/node_modules/@noble/curves/misc.d.ts.map +0 -1
  935. package/node_modules/@noble/curves/misc.js +0 -117
  936. package/node_modules/@noble/curves/misc.js.map +0 -1
  937. package/node_modules/@noble/curves/nist.d.ts +0 -21
  938. package/node_modules/@noble/curves/nist.d.ts.map +0 -1
  939. package/node_modules/@noble/curves/nist.js +0 -113
  940. package/node_modules/@noble/curves/nist.js.map +0 -1
  941. package/node_modules/@noble/curves/p256.d.ts +0 -12
  942. package/node_modules/@noble/curves/p256.d.ts.map +0 -1
  943. package/node_modules/@noble/curves/p256.js +0 -9
  944. package/node_modules/@noble/curves/p256.js.map +0 -1
  945. package/node_modules/@noble/curves/p384.d.ts +0 -13
  946. package/node_modules/@noble/curves/p384.d.ts.map +0 -1
  947. package/node_modules/@noble/curves/p384.js +0 -10
  948. package/node_modules/@noble/curves/p384.js.map +0 -1
  949. package/node_modules/@noble/curves/p521.d.ts +0 -12
  950. package/node_modules/@noble/curves/p521.d.ts.map +0 -1
  951. package/node_modules/@noble/curves/p521.js +0 -9
  952. package/node_modules/@noble/curves/p521.js.map +0 -1
  953. package/node_modules/@noble/curves/package.json +0 -293
  954. package/node_modules/@noble/curves/pasta.d.ts +0 -10
  955. package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  956. package/node_modules/@noble/curves/pasta.js +0 -13
  957. package/node_modules/@noble/curves/pasta.js.map +0 -1
  958. package/node_modules/@noble/curves/secp256k1.d.ts +0 -76
  959. package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  960. package/node_modules/@noble/curves/secp256k1.js +0 -293
  961. package/node_modules/@noble/curves/secp256k1.js.map +0 -1
  962. package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -20
  963. package/node_modules/@noble/curves/src/abstract/bls.ts +0 -685
  964. package/node_modules/@noble/curves/src/abstract/curve.ts +0 -573
  965. package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -710
  966. package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
  967. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -289
  968. package/node_modules/@noble/curves/src/abstract/modular.ts +0 -554
  969. package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -167
  970. package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
  971. package/node_modules/@noble/curves/src/abstract/tower.ts +0 -619
  972. package/node_modules/@noble/curves/src/abstract/utils.ts +0 -7
  973. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1684
  974. package/node_modules/@noble/curves/src/bls12-381.ts +0 -805
  975. package/node_modules/@noble/curves/src/bn254.ts +0 -274
  976. package/node_modules/@noble/curves/src/ed25519.ts +0 -568
  977. package/node_modules/@noble/curves/src/ed448.ts +0 -561
  978. package/node_modules/@noble/curves/src/index.ts +0 -17
  979. package/node_modules/@noble/curves/src/jubjub.ts +0 -12
  980. package/node_modules/@noble/curves/src/misc.ts +0 -128
  981. package/node_modules/@noble/curves/src/nist.ts +0 -166
  982. package/node_modules/@noble/curves/src/p256.ts +0 -11
  983. package/node_modules/@noble/curves/src/p384.ts +0 -13
  984. package/node_modules/@noble/curves/src/p521.ts +0 -11
  985. package/node_modules/@noble/curves/src/package.json +0 -3
  986. package/node_modules/@noble/curves/src/pasta.ts +0 -9
  987. package/node_modules/@noble/curves/src/secp256k1.ts +0 -345
  988. package/node_modules/@noble/curves/src/utils.ts +0 -328
  989. package/node_modules/@noble/curves/utils.d.ts +0 -96
  990. package/node_modules/@noble/curves/utils.d.ts.map +0 -1
  991. package/node_modules/@noble/curves/utils.js +0 -313
  992. package/node_modules/@noble/curves/utils.js.map +0 -1
  993. package/node_modules/@noble/hashes/LICENSE +0 -21
  994. package/node_modules/@noble/hashes/README.md +0 -521
  995. package/node_modules/@noble/hashes/_assert.d.ts +0 -17
  996. package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  997. package/node_modules/@noble/hashes/_assert.js +0 -18
  998. package/node_modules/@noble/hashes/_assert.js.map +0 -1
  999. package/node_modules/@noble/hashes/_blake.d.ts +0 -14
  1000. package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  1001. package/node_modules/@noble/hashes/_blake.js +0 -50
  1002. package/node_modules/@noble/hashes/_blake.js.map +0 -1
  1003. package/node_modules/@noble/hashes/_md.d.ts +0 -51
  1004. package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  1005. package/node_modules/@noble/hashes/_md.js +0 -162
  1006. package/node_modules/@noble/hashes/_md.js.map +0 -1
  1007. package/node_modules/@noble/hashes/_u64.d.ts +0 -55
  1008. package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  1009. package/node_modules/@noble/hashes/_u64.js +0 -90
  1010. package/node_modules/@noble/hashes/_u64.js.map +0 -1
  1011. package/node_modules/@noble/hashes/argon2.d.ts +0 -32
  1012. package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  1013. package/node_modules/@noble/hashes/argon2.js +0 -401
  1014. package/node_modules/@noble/hashes/argon2.js.map +0 -1
  1015. package/node_modules/@noble/hashes/blake1.d.ts +0 -106
  1016. package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  1017. package/node_modules/@noble/hashes/blake1.js +0 -459
  1018. package/node_modules/@noble/hashes/blake1.js.map +0 -1
  1019. package/node_modules/@noble/hashes/blake2.d.ts +0 -116
  1020. package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  1021. package/node_modules/@noble/hashes/blake2.js +0 -420
  1022. package/node_modules/@noble/hashes/blake2.js.map +0 -1
  1023. package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  1024. package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  1025. package/node_modules/@noble/hashes/blake2b.js +0 -14
  1026. package/node_modules/@noble/hashes/blake2b.js.map +0 -1
  1027. package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  1028. package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  1029. package/node_modules/@noble/hashes/blake2s.js +0 -24
  1030. package/node_modules/@noble/hashes/blake2s.js.map +0 -1
  1031. package/node_modules/@noble/hashes/blake3.d.ts +0 -54
  1032. package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  1033. package/node_modules/@noble/hashes/blake3.js +0 -255
  1034. package/node_modules/@noble/hashes/blake3.js.map +0 -1
  1035. package/node_modules/@noble/hashes/crypto.d.ts +0 -2
  1036. package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  1037. package/node_modules/@noble/hashes/crypto.js +0 -5
  1038. package/node_modules/@noble/hashes/crypto.js.map +0 -1
  1039. package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  1040. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  1041. package/node_modules/@noble/hashes/cryptoNode.js +0 -18
  1042. package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  1043. package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  1044. package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  1045. package/node_modules/@noble/hashes/eskdf.js +0 -166
  1046. package/node_modules/@noble/hashes/eskdf.js.map +0 -1
  1047. package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  1048. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  1049. package/node_modules/@noble/hashes/esm/_assert.js +0 -15
  1050. package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  1051. package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  1052. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  1053. package/node_modules/@noble/hashes/esm/_blake.js +0 -45
  1054. package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  1055. package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  1056. package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  1057. package/node_modules/@noble/hashes/esm/_md.js +0 -155
  1058. package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  1059. package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  1060. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  1061. package/node_modules/@noble/hashes/esm/_u64.js +0 -67
  1062. package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  1063. package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  1064. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  1065. package/node_modules/@noble/hashes/esm/argon2.js +0 -392
  1066. package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  1067. package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  1068. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  1069. package/node_modules/@noble/hashes/esm/blake1.js +0 -452
  1070. package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  1071. package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  1072. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  1073. package/node_modules/@noble/hashes/esm/blake2.js +0 -413
  1074. package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  1075. package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  1076. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  1077. package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  1078. package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  1079. package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  1080. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  1081. package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  1082. package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  1083. package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  1084. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  1085. package/node_modules/@noble/hashes/esm/blake3.js +0 -251
  1086. package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  1087. package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  1088. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  1089. package/node_modules/@noble/hashes/esm/crypto.js +0 -2
  1090. package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  1091. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  1092. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  1093. package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  1094. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  1095. package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  1096. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  1097. package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  1098. package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  1099. package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  1100. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  1101. package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  1102. package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  1103. package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  1104. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  1105. package/node_modules/@noble/hashes/esm/hmac.js +0 -86
  1106. package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  1107. package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  1108. package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  1109. package/node_modules/@noble/hashes/esm/index.js +0 -33
  1110. package/node_modules/@noble/hashes/esm/index.js.map +0 -1
  1111. package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  1112. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  1113. package/node_modules/@noble/hashes/esm/legacy.js +0 -281
  1114. package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  1115. package/node_modules/@noble/hashes/esm/package.json +0 -10
  1116. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  1117. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  1118. package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  1119. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  1120. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  1121. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  1122. package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  1123. package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  1124. package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  1125. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  1126. package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  1127. package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  1128. package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  1129. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  1130. package/node_modules/@noble/hashes/esm/sha1.js +0 -11
  1131. package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  1132. package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  1133. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  1134. package/node_modules/@noble/hashes/esm/sha2.js +0 -375
  1135. package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  1136. package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  1137. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  1138. package/node_modules/@noble/hashes/esm/sha256.js +0 -20
  1139. package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  1140. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  1141. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  1142. package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  1143. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  1144. package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  1145. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  1146. package/node_modules/@noble/hashes/esm/sha3.js +0 -234
  1147. package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  1148. package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  1149. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  1150. package/node_modules/@noble/hashes/esm/sha512.js +0 -26
  1151. package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  1152. package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  1153. package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  1154. package/node_modules/@noble/hashes/esm/utils.js +0 -281
  1155. package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  1156. package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  1157. package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  1158. package/node_modules/@noble/hashes/hkdf.js +0 -88
  1159. package/node_modules/@noble/hashes/hkdf.js.map +0 -1
  1160. package/node_modules/@noble/hashes/hmac.d.ts +0 -35
  1161. package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  1162. package/node_modules/@noble/hashes/hmac.js +0 -91
  1163. package/node_modules/@noble/hashes/hmac.js.map +0 -1
  1164. package/node_modules/@noble/hashes/index.d.ts +0 -1
  1165. package/node_modules/@noble/hashes/index.d.ts.map +0 -1
  1166. package/node_modules/@noble/hashes/index.js +0 -33
  1167. package/node_modules/@noble/hashes/index.js.map +0 -1
  1168. package/node_modules/@noble/hashes/legacy.d.ts +0 -71
  1169. package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  1170. package/node_modules/@noble/hashes/legacy.js +0 -287
  1171. package/node_modules/@noble/hashes/legacy.js.map +0 -1
  1172. package/node_modules/@noble/hashes/package.json +0 -266
  1173. package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  1174. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  1175. package/node_modules/@noble/hashes/pbkdf2.js +0 -101
  1176. package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  1177. package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  1178. package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  1179. package/node_modules/@noble/hashes/ripemd160.js +0 -16
  1180. package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  1181. package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  1182. package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  1183. package/node_modules/@noble/hashes/scrypt.js +0 -232
  1184. package/node_modules/@noble/hashes/scrypt.js.map +0 -1
  1185. package/node_modules/@noble/hashes/sha1.d.ts +0 -11
  1186. package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  1187. package/node_modules/@noble/hashes/sha1.js +0 -14
  1188. package/node_modules/@noble/hashes/sha1.js.map +0 -1
  1189. package/node_modules/@noble/hashes/sha2.d.ts +0 -159
  1190. package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  1191. package/node_modules/@noble/hashes/sha2.js +0 -384
  1192. package/node_modules/@noble/hashes/sha2.js.map +0 -1
  1193. package/node_modules/@noble/hashes/sha256.d.ts +0 -20
  1194. package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  1195. package/node_modules/@noble/hashes/sha256.js +0 -23
  1196. package/node_modules/@noble/hashes/sha256.js.map +0 -1
  1197. package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  1198. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  1199. package/node_modules/@noble/hashes/sha3-addons.js +0 -402
  1200. package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  1201. package/node_modules/@noble/hashes/sha3.d.ts +0 -53
  1202. package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  1203. package/node_modules/@noble/hashes/sha3.js +0 -239
  1204. package/node_modules/@noble/hashes/sha3.js.map +0 -1
  1205. package/node_modules/@noble/hashes/sha512.d.ts +0 -26
  1206. package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  1207. package/node_modules/@noble/hashes/sha512.js +0 -29
  1208. package/node_modules/@noble/hashes/sha512.js.map +0 -1
  1209. package/node_modules/@noble/hashes/src/_assert.ts +0 -22
  1210. package/node_modules/@noble/hashes/src/_blake.ts +0 -50
  1211. package/node_modules/@noble/hashes/src/_md.ts +0 -176
  1212. package/node_modules/@noble/hashes/src/_u64.ts +0 -91
  1213. package/node_modules/@noble/hashes/src/argon2.ts +0 -497
  1214. package/node_modules/@noble/hashes/src/blake1.ts +0 -534
  1215. package/node_modules/@noble/hashes/src/blake2.ts +0 -486
  1216. package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  1217. package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  1218. package/node_modules/@noble/hashes/src/blake3.ts +0 -272
  1219. package/node_modules/@noble/hashes/src/crypto.ts +0 -9
  1220. package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  1221. package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  1222. package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  1223. package/node_modules/@noble/hashes/src/hmac.ts +0 -94
  1224. package/node_modules/@noble/hashes/src/index.ts +0 -31
  1225. package/node_modules/@noble/hashes/src/legacy.ts +0 -293
  1226. package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  1227. package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  1228. package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  1229. package/node_modules/@noble/hashes/src/sha1.ts +0 -10
  1230. package/node_modules/@noble/hashes/src/sha2.ts +0 -402
  1231. package/node_modules/@noble/hashes/src/sha256.ts +0 -24
  1232. package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  1233. package/node_modules/@noble/hashes/src/sha3.ts +0 -258
  1234. package/node_modules/@noble/hashes/src/sha512.ts +0 -34
  1235. package/node_modules/@noble/hashes/src/utils.ts +0 -395
  1236. package/node_modules/@noble/hashes/utils.d.ts +0 -161
  1237. package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  1238. package/node_modules/@noble/hashes/utils.js +0 -313
  1239. package/node_modules/@noble/hashes/utils.js.map +0 -1
  1240. package/node_modules/@solana/buffer-layout/LICENSE +0 -21
  1241. package/node_modules/@solana/buffer-layout/README.md +0 -403
  1242. package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +0 -1191
  1243. package/node_modules/@solana/buffer-layout/lib/Layout.js +0 -2390
  1244. package/node_modules/@solana/buffer-layout/lib/Layout.js.map +0 -1
  1245. package/node_modules/@solana/buffer-layout/package.json +0 -55
  1246. package/node_modules/@solana/web3.js/LICENSE +0 -20
  1247. package/node_modules/@solana/web3.js/README.md +0 -145
  1248. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +0 -10562
  1249. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +0 -1
  1250. package/node_modules/@solana/web3.js/lib/index.browser.esm.js +0 -10461
  1251. package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +0 -1
  1252. package/node_modules/@solana/web3.js/lib/index.cjs.js +0 -11311
  1253. package/node_modules/@solana/web3.js/lib/index.cjs.js.map +0 -1
  1254. package/node_modules/@solana/web3.js/lib/index.d.ts +0 -4021
  1255. package/node_modules/@solana/web3.js/lib/index.esm.js +0 -11206
  1256. package/node_modules/@solana/web3.js/lib/index.esm.js.map +0 -1
  1257. package/node_modules/@solana/web3.js/lib/index.iife.js +0 -26083
  1258. package/node_modules/@solana/web3.js/lib/index.iife.js.map +0 -1
  1259. package/node_modules/@solana/web3.js/lib/index.iife.min.js +0 -20
  1260. package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +0 -1
  1261. package/node_modules/@solana/web3.js/lib/index.native.js +0 -10562
  1262. package/node_modules/@solana/web3.js/lib/index.native.js.map +0 -1
  1263. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/LICENSE +0 -20
  1264. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/README.md +0 -662
  1265. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
  1266. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
  1267. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
  1268. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
  1269. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
  1270. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
  1271. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
  1272. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
  1273. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
  1274. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
  1275. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
  1276. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
  1277. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
  1278. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
  1279. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
  1280. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
  1281. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
  1282. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
  1283. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
  1284. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
  1285. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
  1286. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
  1287. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
  1288. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
  1289. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
  1290. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
  1291. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
  1292. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
  1293. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
  1294. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
  1295. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
  1296. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
  1297. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
  1298. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
  1299. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
  1300. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
  1301. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
  1302. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
  1303. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/package.json +0 -83
  1304. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/LICENSE +0 -20
  1305. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/README.md +0 -130
  1306. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
  1307. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
  1308. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
  1309. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
  1310. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
  1311. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
  1312. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
  1313. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
  1314. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
  1315. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
  1316. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
  1317. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
  1318. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
  1319. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
  1320. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
  1321. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
  1322. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
  1323. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
  1324. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
  1325. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
  1326. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
  1327. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
  1328. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
  1329. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
  1330. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
  1331. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
  1332. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
  1333. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
  1334. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
  1335. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
  1336. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
  1337. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
  1338. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
  1339. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
  1340. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
  1341. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
  1342. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
  1343. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
  1344. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
  1345. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
  1346. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
  1347. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
  1348. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
  1349. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
  1350. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/package.json +0 -83
  1351. package/node_modules/@solana/web3.js/node_modules/@solana/errors/LICENSE +0 -20
  1352. package/node_modules/@solana/web3.js/node_modules/@solana/errors/README.md +0 -87
  1353. package/node_modules/@solana/web3.js/node_modules/@solana/errors/bin/cli.mjs +0 -7
  1354. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/cli.mjs +0 -570
  1355. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs +0 -1084
  1356. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
  1357. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs +0 -852
  1358. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
  1359. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs +0 -852
  1360. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
  1361. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs +0 -1084
  1362. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
  1363. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs +0 -852
  1364. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
  1365. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts +0 -275
  1366. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
  1367. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts +0 -398
  1368. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
  1369. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
  1370. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
  1371. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
  1372. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
  1373. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
  1374. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
  1375. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -51
  1376. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
  1377. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
  1378. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
  1379. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
  1380. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
  1381. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
  1382. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
  1383. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
  1384. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
  1385. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
  1386. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
  1387. package/node_modules/@solana/web3.js/node_modules/@solana/errors/package.json +0 -84
  1388. package/node_modules/@solana/web3.js/node_modules/commander/LICENSE +0 -22
  1389. package/node_modules/@solana/web3.js/node_modules/commander/Readme.md +0 -1149
  1390. package/node_modules/@solana/web3.js/node_modules/commander/esm.mjs +0 -16
  1391. package/node_modules/@solana/web3.js/node_modules/commander/index.js +0 -24
  1392. package/node_modules/@solana/web3.js/node_modules/commander/lib/argument.js +0 -149
  1393. package/node_modules/@solana/web3.js/node_modules/commander/lib/command.js +0 -2662
  1394. package/node_modules/@solana/web3.js/node_modules/commander/lib/error.js +0 -39
  1395. package/node_modules/@solana/web3.js/node_modules/commander/lib/help.js +0 -709
  1396. package/node_modules/@solana/web3.js/node_modules/commander/lib/option.js +0 -367
  1397. package/node_modules/@solana/web3.js/node_modules/commander/lib/suggestSimilar.js +0 -101
  1398. package/node_modules/@solana/web3.js/node_modules/commander/package-support.json +0 -16
  1399. package/node_modules/@solana/web3.js/node_modules/commander/package.json +0 -82
  1400. package/node_modules/@solana/web3.js/node_modules/commander/typings/esm.d.mts +0 -3
  1401. package/node_modules/@solana/web3.js/node_modules/commander/typings/index.d.ts +0 -1045
  1402. package/node_modules/@solana/web3.js/node_modules/superstruct/License.md +0 -9
  1403. package/node_modules/@solana/web3.js/node_modules/superstruct/Readme.md +0 -230
  1404. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts +0 -33
  1405. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts.map +0 -1
  1406. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs +0 -1084
  1407. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs.map +0 -1
  1408. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts +0 -7
  1409. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts.map +0 -1
  1410. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs +0 -1026
  1411. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs.map +0 -1
  1412. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts +0 -119
  1413. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts.map +0 -1
  1414. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts +0 -29
  1415. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts.map +0 -1
  1416. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts +0 -38
  1417. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts.map +0 -1
  1418. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts +0 -142
  1419. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts.map +0 -1
  1420. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts +0 -66
  1421. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts.map +0 -1
  1422. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts +0 -144
  1423. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts.map +0 -1
  1424. package/node_modules/@solana/web3.js/node_modules/superstruct/package.json +0 -85
  1425. package/node_modules/@solana/web3.js/package.json +0 -75
  1426. package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +0 -4
  1427. package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +0 -4
  1428. package/node_modules/@solana/web3.js/src/account-data.ts +0 -39
  1429. package/node_modules/@solana/web3.js/src/account.ts +0 -55
  1430. package/node_modules/@solana/web3.js/src/blockhash.ts +0 -4
  1431. package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +0 -5
  1432. package/node_modules/@solana/web3.js/src/bpf-loader.ts +0 -50
  1433. package/node_modules/@solana/web3.js/src/connection.ts +0 -6955
  1434. package/node_modules/@solana/web3.js/src/epoch-schedule.ts +0 -102
  1435. package/node_modules/@solana/web3.js/src/errors.ts +0 -133
  1436. package/node_modules/@solana/web3.js/src/fee-calculator.ts +0 -18
  1437. package/node_modules/@solana/web3.js/src/fetch-impl.ts +0 -16
  1438. package/node_modules/@solana/web3.js/src/index.ts +0 -24
  1439. package/node_modules/@solana/web3.js/src/instruction.ts +0 -58
  1440. package/node_modules/@solana/web3.js/src/keypair.ts +0 -102
  1441. package/node_modules/@solana/web3.js/src/layout.ts +0 -188
  1442. package/node_modules/@solana/web3.js/src/loader.ts +0 -267
  1443. package/node_modules/@solana/web3.js/src/message/account-keys.ts +0 -79
  1444. package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +0 -165
  1445. package/node_modules/@solana/web3.js/src/message/index.ts +0 -47
  1446. package/node_modules/@solana/web3.js/src/message/legacy.ts +0 -323
  1447. package/node_modules/@solana/web3.js/src/message/v0.ts +0 -513
  1448. package/node_modules/@solana/web3.js/src/message/versioned.ts +0 -36
  1449. package/node_modules/@solana/web3.js/src/nonce-account.ts +0 -82
  1450. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +0 -438
  1451. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +0 -84
  1452. package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +0 -281
  1453. package/node_modules/@solana/web3.js/src/programs/ed25519.ts +0 -157
  1454. package/node_modules/@solana/web3.js/src/programs/index.ts +0 -7
  1455. package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +0 -228
  1456. package/node_modules/@solana/web3.js/src/programs/stake.ts +0 -952
  1457. package/node_modules/@solana/web3.js/src/programs/system.ts +0 -1048
  1458. package/node_modules/@solana/web3.js/src/programs/vote.ts +0 -586
  1459. package/node_modules/@solana/web3.js/src/publickey.ts +0 -259
  1460. package/node_modules/@solana/web3.js/src/rpc-websocket.ts +0 -75
  1461. package/node_modules/@solana/web3.js/src/sysvar.ts +0 -37
  1462. package/node_modules/@solana/web3.js/src/timing.ts +0 -23
  1463. package/node_modules/@solana/web3.js/src/transaction/constants.ts +0 -12
  1464. package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +0 -48
  1465. package/node_modules/@solana/web3.js/src/transaction/index.ts +0 -5
  1466. package/node_modules/@solana/web3.js/src/transaction/legacy.ts +0 -970
  1467. package/node_modules/@solana/web3.js/src/transaction/message.ts +0 -140
  1468. package/node_modules/@solana/web3.js/src/transaction/versioned.ts +0 -127
  1469. package/node_modules/@solana/web3.js/src/utils/assert.ts +0 -8
  1470. package/node_modules/@solana/web3.js/src/utils/bigint.ts +0 -24
  1471. package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +0 -38
  1472. package/node_modules/@solana/web3.js/src/utils/cluster.ts +0 -35
  1473. package/node_modules/@solana/web3.js/src/utils/ed25519.ts +0 -43
  1474. package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +0 -34
  1475. package/node_modules/@solana/web3.js/src/utils/index.ts +0 -5
  1476. package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +0 -26
  1477. package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +0 -14
  1478. package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +0 -11
  1479. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +0 -110
  1480. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +0 -106
  1481. package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +0 -28
  1482. package/node_modules/@solana/web3.js/src/utils/sleep.ts +0 -4
  1483. package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +0 -11
  1484. package/node_modules/@solana/web3.js/src/validator-info.ts +0 -108
  1485. package/node_modules/@solana/web3.js/src/vote-account.ts +0 -236
  1486. package/node_modules/@swc/helpers/LICENSE +0 -201
  1487. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +0 -4
  1488. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +0 -4
  1489. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +0 -4
  1490. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +0 -4
  1491. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +0 -4
  1492. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +0 -4
  1493. package/node_modules/@swc/helpers/_/_async_generator/package.json +0 -4
  1494. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +0 -4
  1495. package/node_modules/@swc/helpers/_/_async_iterator/package.json +0 -4
  1496. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +0 -4
  1497. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +0 -4
  1498. package/node_modules/@swc/helpers/_/_await_value/package.json +0 -4
  1499. package/node_modules/@swc/helpers/_/_call_super/package.json +0 -4
  1500. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +0 -4
  1501. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +0 -4
  1502. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +0 -4
  1503. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +0 -4
  1504. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +0 -4
  1505. package/node_modules/@swc/helpers/_/_class_call_check/package.json +0 -4
  1506. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +0 -4
  1507. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +0 -4
  1508. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +0 -4
  1509. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +0 -4
  1510. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +0 -4
  1511. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +0 -4
  1512. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +0 -4
  1513. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +0 -4
  1514. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +0 -4
  1515. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +0 -4
  1516. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +0 -4
  1517. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +0 -4
  1518. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +0 -4
  1519. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +0 -4
  1520. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +0 -4
  1521. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +0 -4
  1522. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +0 -4
  1523. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +0 -4
  1524. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +0 -4
  1525. package/node_modules/@swc/helpers/_/_construct/package.json +0 -4
  1526. package/node_modules/@swc/helpers/_/_create_class/package.json +0 -4
  1527. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +0 -4
  1528. package/node_modules/@swc/helpers/_/_create_super/package.json +0 -4
  1529. package/node_modules/@swc/helpers/_/_decorate/package.json +0 -4
  1530. package/node_modules/@swc/helpers/_/_defaults/package.json +0 -4
  1531. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +0 -4
  1532. package/node_modules/@swc/helpers/_/_define_property/package.json +0 -4
  1533. package/node_modules/@swc/helpers/_/_dispose/package.json +0 -4
  1534. package/node_modules/@swc/helpers/_/_export_star/package.json +0 -4
  1535. package/node_modules/@swc/helpers/_/_extends/package.json +0 -4
  1536. package/node_modules/@swc/helpers/_/_get/package.json +0 -4
  1537. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +0 -4
  1538. package/node_modules/@swc/helpers/_/_identity/package.json +0 -4
  1539. package/node_modules/@swc/helpers/_/_inherits/package.json +0 -4
  1540. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +0 -4
  1541. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +0 -4
  1542. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +0 -4
  1543. package/node_modules/@swc/helpers/_/_instanceof/package.json +0 -4
  1544. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +0 -4
  1545. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +0 -4
  1546. package/node_modules/@swc/helpers/_/_is_native_function/package.json +0 -4
  1547. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +0 -4
  1548. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +0 -4
  1549. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +0 -4
  1550. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +0 -4
  1551. package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
  1552. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +0 -4
  1553. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +0 -4
  1554. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +0 -4
  1555. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +0 -4
  1556. package/node_modules/@swc/helpers/_/_object_spread/package.json +0 -4
  1557. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +0 -4
  1558. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +0 -4
  1559. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +0 -4
  1560. package/node_modules/@swc/helpers/_/_overload_yield/package.json +0 -4
  1561. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +0 -4
  1562. package/node_modules/@swc/helpers/_/_read_only_error/package.json +0 -4
  1563. package/node_modules/@swc/helpers/_/_set/package.json +0 -4
  1564. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +0 -4
  1565. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +0 -4
  1566. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +0 -4
  1567. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +0 -4
  1568. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +0 -4
  1569. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +0 -4
  1570. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +0 -4
  1571. package/node_modules/@swc/helpers/_/_throw/package.json +0 -4
  1572. package/node_modules/@swc/helpers/_/_to_array/package.json +0 -4
  1573. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +0 -4
  1574. package/node_modules/@swc/helpers/_/_to_primitive/package.json +0 -4
  1575. package/node_modules/@swc/helpers/_/_to_property_key/package.json +0 -4
  1576. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +0 -4
  1577. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +0 -4
  1578. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +0 -4
  1579. package/node_modules/@swc/helpers/_/_ts_generator/package.json +0 -4
  1580. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +0 -4
  1581. package/node_modules/@swc/helpers/_/_ts_param/package.json +0 -4
  1582. package/node_modules/@swc/helpers/_/_ts_values/package.json +0 -4
  1583. package/node_modules/@swc/helpers/_/_type_of/package.json +0 -4
  1584. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +0 -4
  1585. package/node_modules/@swc/helpers/_/_update/package.json +0 -4
  1586. package/node_modules/@swc/helpers/_/_using/package.json +0 -4
  1587. package/node_modules/@swc/helpers/_/_using_ctx/package.json +0 -4
  1588. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +0 -4
  1589. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +0 -4
  1590. package/node_modules/@swc/helpers/_/_write_only_error/package.json +0 -4
  1591. package/node_modules/@swc/helpers/_/index/package.json +0 -4
  1592. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +0 -35
  1593. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +0 -550
  1594. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +0 -10
  1595. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +0 -6
  1596. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +0 -8
  1597. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +0 -8
  1598. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +0 -76
  1599. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +0 -53
  1600. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +0 -46
  1601. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +0 -33
  1602. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +0 -8
  1603. package/node_modules/@swc/helpers/cjs/_await_value.cjs +0 -6
  1604. package/node_modules/@swc/helpers/cjs/_call_super.cjs +0 -19
  1605. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +0 -8
  1606. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +0 -25
  1607. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +0 -8
  1608. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +0 -15
  1609. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +0 -30
  1610. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +0 -6
  1611. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +0 -6
  1612. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +0 -8
  1613. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +0 -8
  1614. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +0 -6
  1615. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +0 -10
  1616. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +0 -10
  1617. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +0 -9
  1618. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +0 -10
  1619. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +0 -8
  1620. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +0 -11
  1621. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +0 -10
  1622. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +0 -8
  1623. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +0 -9
  1624. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +0 -6
  1625. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +0 -13
  1626. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +0 -13
  1627. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +0 -14
  1628. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +0 -13
  1629. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +0 -10
  1630. package/node_modules/@swc/helpers/cjs/_construct.cjs +0 -22
  1631. package/node_modules/@swc/helpers/cjs/_create_class.cjs +0 -20
  1632. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +0 -24
  1633. package/node_modules/@swc/helpers/cjs/_create_super.cjs +0 -23
  1634. package/node_modules/@swc/helpers/cjs/_decorate.cjs +0 -270
  1635. package/node_modules/@swc/helpers/cjs/_defaults.cjs +0 -15
  1636. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +0 -26
  1637. package/node_modules/@swc/helpers/cjs/_define_property.cjs +0 -10
  1638. package/node_modules/@swc/helpers/cjs/_dispose.cjs +0 -43
  1639. package/node_modules/@swc/helpers/cjs/_export_star.cjs +0 -17
  1640. package/node_modules/@swc/helpers/cjs/_extends.cjs +0 -15
  1641. package/node_modules/@swc/helpers/cjs/_get.cjs +0 -23
  1642. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +0 -10
  1643. package/node_modules/@swc/helpers/cjs/_identity.cjs +0 -7
  1644. package/node_modules/@swc/helpers/cjs/_inherits.cjs +0 -14
  1645. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +0 -8
  1646. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +0 -13
  1647. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +0 -11
  1648. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +0 -8
  1649. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
  1650. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
  1651. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +0 -6
  1652. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +0 -18
  1653. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +0 -8
  1654. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +0 -31
  1655. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +0 -17
  1656. package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
  1657. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +0 -6
  1658. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +0 -6
  1659. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +0 -6
  1660. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +0 -8
  1661. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +0 -25
  1662. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +0 -30
  1663. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +0 -23
  1664. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +0 -18
  1665. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +0 -8
  1666. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +0 -11
  1667. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +0 -6
  1668. package/node_modules/@swc/helpers/cjs/_set.cjs +0 -44
  1669. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +0 -12
  1670. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +0 -11
  1671. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +0 -11
  1672. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +0 -11
  1673. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +0 -13
  1674. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +0 -8
  1675. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +0 -10
  1676. package/node_modules/@swc/helpers/cjs/_throw.cjs +0 -6
  1677. package/node_modules/@swc/helpers/cjs/_to_array.cjs +0 -11
  1678. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +0 -11
  1679. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +0 -18
  1680. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +0 -11
  1681. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +0 -3
  1682. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +0 -3
  1683. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +0 -3
  1684. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +0 -3
  1685. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +0 -3
  1686. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +0 -3
  1687. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +0 -3
  1688. package/node_modules/@swc/helpers/cjs/_type_of.cjs +0 -8
  1689. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +0 -15
  1690. package/node_modules/@swc/helpers/cjs/_update.cjs +0 -16
  1691. package/node_modules/@swc/helpers/cjs/_using.cjs +0 -24
  1692. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +0 -75
  1693. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +0 -10
  1694. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +0 -28
  1695. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +0 -6
  1696. package/node_modules/@swc/helpers/cjs/index.cjs +0 -427
  1697. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +0 -33
  1698. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +0 -548
  1699. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +0 -8
  1700. package/node_modules/@swc/helpers/esm/_array_with_holes.js +0 -4
  1701. package/node_modules/@swc/helpers/esm/_array_without_holes.js +0 -6
  1702. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +0 -6
  1703. package/node_modules/@swc/helpers/esm/_async_generator.js +0 -74
  1704. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +0 -51
  1705. package/node_modules/@swc/helpers/esm/_async_iterator.js +0 -44
  1706. package/node_modules/@swc/helpers/esm/_async_to_generator.js +0 -31
  1707. package/node_modules/@swc/helpers/esm/_await_async_generator.js +0 -6
  1708. package/node_modules/@swc/helpers/esm/_await_value.js +0 -4
  1709. package/node_modules/@swc/helpers/esm/_call_super.js +0 -17
  1710. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
  1711. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +0 -23
  1712. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
  1713. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
  1714. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +0 -28
  1715. package/node_modules/@swc/helpers/esm/_class_call_check.js +0 -4
  1716. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +0 -4
  1717. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +0 -6
  1718. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
  1719. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +0 -4
  1720. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +0 -8
  1721. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
  1722. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
  1723. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +0 -8
  1724. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +0 -6
  1725. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
  1726. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +0 -8
  1727. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +0 -6
  1728. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +0 -7
  1729. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +0 -4
  1730. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +0 -11
  1731. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +0 -11
  1732. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +0 -12
  1733. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +0 -11
  1734. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +0 -8
  1735. package/node_modules/@swc/helpers/esm/_construct.js +0 -20
  1736. package/node_modules/@swc/helpers/esm/_create_class.js +0 -18
  1737. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +0 -22
  1738. package/node_modules/@swc/helpers/esm/_create_super.js +0 -21
  1739. package/node_modules/@swc/helpers/esm/_decorate.js +0 -268
  1740. package/node_modules/@swc/helpers/esm/_defaults.js +0 -13
  1741. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +0 -24
  1742. package/node_modules/@swc/helpers/esm/_define_property.js +0 -8
  1743. package/node_modules/@swc/helpers/esm/_dispose.js +0 -41
  1744. package/node_modules/@swc/helpers/esm/_export_star.js +0 -15
  1745. package/node_modules/@swc/helpers/esm/_extends.js +0 -13
  1746. package/node_modules/@swc/helpers/esm/_get.js +0 -21
  1747. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +0 -8
  1748. package/node_modules/@swc/helpers/esm/_identity.js +0 -5
  1749. package/node_modules/@swc/helpers/esm/_inherits.js +0 -12
  1750. package/node_modules/@swc/helpers/esm/_inherits_loose.js +0 -6
  1751. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +0 -11
  1752. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +0 -9
  1753. package/node_modules/@swc/helpers/esm/_instanceof.js +0 -6
  1754. package/node_modules/@swc/helpers/esm/_interop_require_default.js +0 -4
  1755. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +0 -36
  1756. package/node_modules/@swc/helpers/esm/_is_native_function.js +0 -4
  1757. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +0 -16
  1758. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +0 -6
  1759. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +0 -29
  1760. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +0 -15
  1761. package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
  1762. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +0 -4
  1763. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +0 -4
  1764. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +0 -4
  1765. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +0 -6
  1766. package/node_modules/@swc/helpers/esm/_object_spread.js +0 -23
  1767. package/node_modules/@swc/helpers/esm/_object_spread_props.js +0 -28
  1768. package/node_modules/@swc/helpers/esm/_object_without_properties.js +0 -21
  1769. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +0 -16
  1770. package/node_modules/@swc/helpers/esm/_overload_yield.js +0 -6
  1771. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +0 -9
  1772. package/node_modules/@swc/helpers/esm/_read_only_error.js +0 -4
  1773. package/node_modules/@swc/helpers/esm/_set.js +0 -42
  1774. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +0 -10
  1775. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +0 -9
  1776. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +0 -9
  1777. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +0 -9
  1778. package/node_modules/@swc/helpers/esm/_super_prop_base.js +0 -11
  1779. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +0 -6
  1780. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +0 -8
  1781. package/node_modules/@swc/helpers/esm/_throw.js +0 -4
  1782. package/node_modules/@swc/helpers/esm/_to_array.js +0 -9
  1783. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +0 -9
  1784. package/node_modules/@swc/helpers/esm/_to_primitive.js +0 -16
  1785. package/node_modules/@swc/helpers/esm/_to_property_key.js +0 -9
  1786. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +0 -1
  1787. package/node_modules/@swc/helpers/esm/_ts_decorate.js +0 -1
  1788. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +0 -1
  1789. package/node_modules/@swc/helpers/esm/_ts_generator.js +0 -1
  1790. package/node_modules/@swc/helpers/esm/_ts_metadata.js +0 -1
  1791. package/node_modules/@swc/helpers/esm/_ts_param.js +0 -1
  1792. package/node_modules/@swc/helpers/esm/_ts_values.js +0 -1
  1793. package/node_modules/@swc/helpers/esm/_type_of.js +0 -6
  1794. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +0 -13
  1795. package/node_modules/@swc/helpers/esm/_update.js +0 -14
  1796. package/node_modules/@swc/helpers/esm/_using.js +0 -22
  1797. package/node_modules/@swc/helpers/esm/_using_ctx.js +0 -73
  1798. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +0 -8
  1799. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +0 -26
  1800. package/node_modules/@swc/helpers/esm/_write_only_error.js +0 -4
  1801. package/node_modules/@swc/helpers/esm/index.js +0 -107
  1802. package/node_modules/@swc/helpers/package.json +0 -689
  1803. package/node_modules/@swc/helpers/scripts/ast_grep.js +0 -229
  1804. package/node_modules/@swc/helpers/scripts/build.js +0 -133
  1805. package/node_modules/@swc/helpers/scripts/errors.js +0 -1
  1806. package/node_modules/@swc/helpers/scripts/utils.js +0 -3
  1807. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +0 -1
  1808. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +0 -1
  1809. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +0 -1
  1810. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +0 -1
  1811. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +0 -1
  1812. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +0 -1
  1813. package/node_modules/@swc/helpers/src/_async_generator.mjs +0 -1
  1814. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +0 -1
  1815. package/node_modules/@swc/helpers/src/_async_iterator.mjs +0 -1
  1816. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +0 -1
  1817. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +0 -1
  1818. package/node_modules/@swc/helpers/src/_await_value.mjs +0 -1
  1819. package/node_modules/@swc/helpers/src/_call_super.mjs +0 -1
  1820. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +0 -1
  1821. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +0 -1
  1822. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +0 -1
  1823. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +0 -1
  1824. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +0 -1
  1825. package/node_modules/@swc/helpers/src/_class_call_check.mjs +0 -1
  1826. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +0 -1
  1827. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +0 -1
  1828. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +0 -1
  1829. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +0 -1
  1830. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +0 -1
  1831. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +0 -1
  1832. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +0 -1
  1833. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +0 -1
  1834. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +0 -1
  1835. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +0 -1
  1836. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +0 -1
  1837. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +0 -1
  1838. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +0 -1
  1839. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +0 -1
  1840. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +0 -1
  1841. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +0 -1
  1842. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +0 -1
  1843. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +0 -1
  1844. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +0 -1
  1845. package/node_modules/@swc/helpers/src/_construct.mjs +0 -1
  1846. package/node_modules/@swc/helpers/src/_create_class.mjs +0 -1
  1847. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +0 -1
  1848. package/node_modules/@swc/helpers/src/_create_super.mjs +0 -1
  1849. package/node_modules/@swc/helpers/src/_decorate.mjs +0 -1
  1850. package/node_modules/@swc/helpers/src/_defaults.mjs +0 -1
  1851. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +0 -1
  1852. package/node_modules/@swc/helpers/src/_define_property.mjs +0 -1
  1853. package/node_modules/@swc/helpers/src/_dispose.mjs +0 -1
  1854. package/node_modules/@swc/helpers/src/_export_star.mjs +0 -1
  1855. package/node_modules/@swc/helpers/src/_extends.mjs +0 -1
  1856. package/node_modules/@swc/helpers/src/_get.mjs +0 -1
  1857. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +0 -1
  1858. package/node_modules/@swc/helpers/src/_identity.mjs +0 -1
  1859. package/node_modules/@swc/helpers/src/_inherits.mjs +0 -1
  1860. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +0 -1
  1861. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +0 -1
  1862. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +0 -1
  1863. package/node_modules/@swc/helpers/src/_instanceof.mjs +0 -1
  1864. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +0 -1
  1865. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +0 -1
  1866. package/node_modules/@swc/helpers/src/_is_native_function.mjs +0 -1
  1867. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +0 -1
  1868. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +0 -1
  1869. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +0 -1
  1870. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +0 -1
  1871. package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
  1872. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +0 -1
  1873. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +0 -1
  1874. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +0 -1
  1875. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +0 -1
  1876. package/node_modules/@swc/helpers/src/_object_spread.mjs +0 -1
  1877. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +0 -1
  1878. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +0 -1
  1879. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +0 -1
  1880. package/node_modules/@swc/helpers/src/_overload_yield.mjs +0 -1
  1881. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +0 -1
  1882. package/node_modules/@swc/helpers/src/_read_only_error.mjs +0 -1
  1883. package/node_modules/@swc/helpers/src/_set.mjs +0 -1
  1884. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +0 -1
  1885. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +0 -1
  1886. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +0 -1
  1887. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +0 -1
  1888. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +0 -1
  1889. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +0 -1
  1890. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +0 -1
  1891. package/node_modules/@swc/helpers/src/_throw.mjs +0 -1
  1892. package/node_modules/@swc/helpers/src/_to_array.mjs +0 -1
  1893. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +0 -1
  1894. package/node_modules/@swc/helpers/src/_to_primitive.mjs +0 -1
  1895. package/node_modules/@swc/helpers/src/_to_property_key.mjs +0 -1
  1896. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +0 -1
  1897. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +0 -1
  1898. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +0 -1
  1899. package/node_modules/@swc/helpers/src/_ts_generator.mjs +0 -1
  1900. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +0 -1
  1901. package/node_modules/@swc/helpers/src/_ts_param.mjs +0 -1
  1902. package/node_modules/@swc/helpers/src/_ts_values.mjs +0 -1
  1903. package/node_modules/@swc/helpers/src/_type_of.mjs +0 -1
  1904. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +0 -1
  1905. package/node_modules/@swc/helpers/src/_update.mjs +0 -1
  1906. package/node_modules/@swc/helpers/src/_using.mjs +0 -1
  1907. package/node_modules/@swc/helpers/src/_using_ctx.mjs +0 -1
  1908. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +0 -1
  1909. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +0 -1
  1910. package/node_modules/@swc/helpers/src/_write_only_error.mjs +0 -1
  1911. package/node_modules/@swc/helpers/src/index.mjs +0 -1
  1912. package/node_modules/@types/connect/LICENSE +0 -21
  1913. package/node_modules/@types/connect/README.md +0 -15
  1914. package/node_modules/@types/connect/index.d.ts +0 -91
  1915. package/node_modules/@types/connect/package.json +0 -32
  1916. package/node_modules/@types/node/LICENSE +0 -21
  1917. package/node_modules/@types/node/README.md +0 -15
  1918. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  1919. package/node_modules/@types/node/assert.d.ts +0 -1056
  1920. package/node_modules/@types/node/async_hooks.d.ts +0 -623
  1921. package/node_modules/@types/node/buffer.buffer.d.ts +0 -463
  1922. package/node_modules/@types/node/buffer.d.ts +0 -1927
  1923. package/node_modules/@types/node/child_process.d.ts +0 -1549
  1924. package/node_modules/@types/node/cluster.d.ts +0 -579
  1925. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  1926. package/node_modules/@types/node/console.d.ts +0 -452
  1927. package/node_modules/@types/node/constants.d.ts +0 -21
  1928. package/node_modules/@types/node/crypto.d.ts +0 -4516
  1929. package/node_modules/@types/node/dgram.d.ts +0 -599
  1930. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  1931. package/node_modules/@types/node/dns/promises.d.ts +0 -502
  1932. package/node_modules/@types/node/dns.d.ts +0 -919
  1933. package/node_modules/@types/node/dom-events.d.ts +0 -99
  1934. package/node_modules/@types/node/domain.d.ts +0 -170
  1935. package/node_modules/@types/node/events.d.ts +0 -930
  1936. package/node_modules/@types/node/fs/promises.d.ts +0 -1280
  1937. package/node_modules/@types/node/fs.d.ts +0 -4446
  1938. package/node_modules/@types/node/globals.d.ts +0 -367
  1939. package/node_modules/@types/node/globals.typedarray.d.ts +0 -22
  1940. package/node_modules/@types/node/http.d.ts +0 -2061
  1941. package/node_modules/@types/node/http2.d.ts +0 -2628
  1942. package/node_modules/@types/node/https.d.ts +0 -545
  1943. package/node_modules/@types/node/index.d.ts +0 -94
  1944. package/node_modules/@types/node/inspector.d.ts +0 -3998
  1945. package/node_modules/@types/node/module.d.ts +0 -869
  1946. package/node_modules/@types/node/net.d.ts +0 -1032
  1947. package/node_modules/@types/node/os.d.ts +0 -496
  1948. package/node_modules/@types/node/package.json +0 -240
  1949. package/node_modules/@types/node/path.d.ts +0 -200
  1950. package/node_modules/@types/node/perf_hooks.d.ts +0 -970
  1951. package/node_modules/@types/node/process.d.ts +0 -2073
  1952. package/node_modules/@types/node/punycode.d.ts +0 -117
  1953. package/node_modules/@types/node/querystring.d.ts +0 -152
  1954. package/node_modules/@types/node/readline/promises.d.ts +0 -161
  1955. package/node_modules/@types/node/readline.d.ts +0 -594
  1956. package/node_modules/@types/node/repl.d.ts +0 -428
  1957. package/node_modules/@types/node/sea.d.ts +0 -153
  1958. package/node_modules/@types/node/sqlite.d.ts +0 -688
  1959. package/node_modules/@types/node/stream/consumers.d.ts +0 -38
  1960. package/node_modules/@types/node/stream/promises.d.ts +0 -90
  1961. package/node_modules/@types/node/stream/web.d.ts +0 -618
  1962. package/node_modules/@types/node/stream.d.ts +0 -1657
  1963. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  1964. package/node_modules/@types/node/test.d.ts +0 -2215
  1965. package/node_modules/@types/node/timers/promises.d.ts +0 -108
  1966. package/node_modules/@types/node/timers.d.ts +0 -287
  1967. package/node_modules/@types/node/tls.d.ts +0 -1213
  1968. package/node_modules/@types/node/trace_events.d.ts +0 -197
  1969. package/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
  1970. package/node_modules/@types/node/ts5.1/index.d.ts +0 -98
  1971. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  1972. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  1973. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -20
  1974. package/node_modules/@types/node/ts5.6/index.d.ts +0 -96
  1975. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  1976. package/node_modules/@types/node/ts5.7/index.d.ts +0 -96
  1977. package/node_modules/@types/node/tty.d.ts +0 -208
  1978. package/node_modules/@types/node/url.d.ts +0 -1014
  1979. package/node_modules/@types/node/util.d.ts +0 -2305
  1980. package/node_modules/@types/node/v8.d.ts +0 -919
  1981. package/node_modules/@types/node/vm.d.ts +0 -1036
  1982. package/node_modules/@types/node/wasi.d.ts +0 -181
  1983. package/node_modules/@types/node/worker_threads.d.ts +0 -775
  1984. package/node_modules/@types/node/zlib.d.ts +0 -668
  1985. package/node_modules/@types/uuid/LICENSE +0 -21
  1986. package/node_modules/@types/uuid/README.md +0 -16
  1987. package/node_modules/@types/uuid/index.d.mts +0 -10
  1988. package/node_modules/@types/uuid/index.d.ts +0 -80
  1989. package/node_modules/@types/uuid/package.json +0 -54
  1990. package/node_modules/@types/ws/LICENSE +0 -21
  1991. package/node_modules/@types/ws/README.md +0 -16
  1992. package/node_modules/@types/ws/index.d.ts +0 -353
  1993. package/node_modules/@types/ws/package.json +0 -57
  1994. package/node_modules/agentkeepalive/LICENSE +0 -23
  1995. package/node_modules/agentkeepalive/README.md +0 -256
  1996. package/node_modules/agentkeepalive/browser.js +0 -5
  1997. package/node_modules/agentkeepalive/index.d.ts +0 -69
  1998. package/node_modules/agentkeepalive/index.js +0 -7
  1999. package/node_modules/agentkeepalive/lib/agent.js +0 -402
  2000. package/node_modules/agentkeepalive/lib/constants.js +0 -14
  2001. package/node_modules/agentkeepalive/lib/https_agent.js +0 -51
  2002. package/node_modules/agentkeepalive/package.json +0 -56
  2003. package/node_modules/base-x/LICENSE.md +0 -22
  2004. package/node_modules/base-x/README.md +0 -67
  2005. package/node_modules/base-x/package.json +0 -49
  2006. package/node_modules/base-x/src/index.d.ts +0 -10
  2007. package/node_modules/base-x/src/index.js +0 -123
  2008. package/node_modules/base64-js/LICENSE +0 -21
  2009. package/node_modules/base64-js/README.md +0 -34
  2010. package/node_modules/base64-js/base64js.min.js +0 -1
  2011. package/node_modules/base64-js/index.d.ts +0 -3
  2012. package/node_modules/base64-js/index.js +0 -150
  2013. package/node_modules/base64-js/package.json +0 -47
  2014. package/node_modules/bn.js/LICENSE +0 -19
  2015. package/node_modules/bn.js/README.md +0 -214
  2016. package/node_modules/bn.js/lib/bn.js +0 -3548
  2017. package/node_modules/bn.js/package.json +0 -39
  2018. package/node_modules/borsh/LICENSE-APACHE +0 -201
  2019. package/node_modules/borsh/LICENSE-MIT.txt +0 -23
  2020. package/node_modules/borsh/README.md +0 -83
  2021. package/node_modules/borsh/lib/index.d.ts +0 -52
  2022. package/node_modules/borsh/lib/index.js +0 -440
  2023. package/node_modules/borsh/package.json +0 -61
  2024. package/node_modules/bs58/README.md +0 -71
  2025. package/node_modules/bs58/index.js +0 -4
  2026. package/node_modules/bs58/package.json +0 -37
  2027. package/node_modules/buffer/AUTHORS.md +0 -73
  2028. package/node_modules/buffer/LICENSE +0 -21
  2029. package/node_modules/buffer/README.md +0 -410
  2030. package/node_modules/buffer/index.d.ts +0 -194
  2031. package/node_modules/buffer/index.js +0 -2106
  2032. package/node_modules/buffer/package.json +0 -93
  2033. package/node_modules/buffer-layout/.eslintrc.js +0 -45
  2034. package/node_modules/buffer-layout/.travis.yml +0 -9
  2035. package/node_modules/buffer-layout/CHANGELOG.md +0 -222
  2036. package/node_modules/buffer-layout/LICENSE +0 -21
  2037. package/node_modules/buffer-layout/README.md +0 -397
  2038. package/node_modules/buffer-layout/jsdoc/conf.json +0 -10
  2039. package/node_modules/buffer-layout/jsdoc/custom/local.js +0 -75
  2040. package/node_modules/buffer-layout/lib/Layout.js +0 -2712
  2041. package/node_modules/buffer-layout/package.json +0 -40
  2042. package/node_modules/buffer-layout/test/LayoutTest.js +0 -2162
  2043. package/node_modules/buffer-layout/test/examples.c +0 -112
  2044. package/node_modules/buffer-layout/test/examples.js +0 -259
  2045. package/node_modules/buffer-layout/test/n64.c +0 -71
  2046. package/node_modules/buffer-layout/x.js +0 -36
  2047. package/node_modules/bufferutil/LICENSE +0 -20
  2048. package/node_modules/bufferutil/README.md +0 -79
  2049. package/node_modules/bufferutil/binding.gyp +0 -32
  2050. package/node_modules/bufferutil/fallback.js +0 -34
  2051. package/node_modules/bufferutil/index.js +0 -7
  2052. package/node_modules/bufferutil/package.json +0 -36
  2053. package/node_modules/bufferutil/prebuilds/darwin-x64+arm64/bufferutil.node +0 -0
  2054. package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
  2055. package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
  2056. package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
  2057. package/node_modules/bufferutil/src/bufferutil.c +0 -171
  2058. package/node_modules/camelcase/index.d.ts +0 -103
  2059. package/node_modules/camelcase/index.js +0 -113
  2060. package/node_modules/camelcase/license +0 -9
  2061. package/node_modules/camelcase/package.json +0 -44
  2062. package/node_modules/camelcase/readme.md +0 -144
  2063. package/node_modules/chalk/license +0 -9
  2064. package/node_modules/chalk/package.json +0 -83
  2065. package/node_modules/chalk/readme.md +0 -297
  2066. package/node_modules/chalk/source/index.d.ts +0 -325
  2067. package/node_modules/chalk/source/index.js +0 -225
  2068. package/node_modules/chalk/source/utilities.js +0 -33
  2069. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  2070. package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  2071. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  2072. package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  2073. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  2074. package/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  2075. package/node_modules/cross-fetch/LICENSE +0 -21
  2076. package/node_modules/cross-fetch/README.md +0 -169
  2077. package/node_modules/cross-fetch/dist/browser-polyfill.js +0 -658
  2078. package/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -686
  2079. package/node_modules/cross-fetch/dist/cross-fetch.js +0 -2
  2080. package/node_modules/cross-fetch/dist/cross-fetch.js.map +0 -1
  2081. package/node_modules/cross-fetch/dist/node-polyfill.js +0 -11
  2082. package/node_modules/cross-fetch/dist/node-ponyfill.js +0 -22
  2083. package/node_modules/cross-fetch/dist/react-native-polyfill.js +0 -12
  2084. package/node_modules/cross-fetch/dist/react-native-ponyfill.js +0 -6
  2085. package/node_modules/cross-fetch/index.d.ts +0 -14
  2086. package/node_modules/cross-fetch/package.json +0 -127
  2087. package/node_modules/cross-fetch/polyfill/package.json +0 -8
  2088. package/node_modules/delay/index.d.ts +0 -107
  2089. package/node_modules/delay/index.js +0 -72
  2090. package/node_modules/delay/license +0 -9
  2091. package/node_modules/delay/package.json +0 -54
  2092. package/node_modules/delay/readme.md +0 -173
  2093. package/node_modules/es6-promise/LICENSE +0 -19
  2094. package/node_modules/es6-promise/README.md +0 -97
  2095. package/node_modules/es6-promise/auto.js +0 -4
  2096. package/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
  2097. package/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
  2098. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
  2099. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
  2100. package/node_modules/es6-promise/dist/es6-promise.js +0 -1174
  2101. package/node_modules/es6-promise/dist/es6-promise.map +0 -1
  2102. package/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
  2103. package/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
  2104. package/node_modules/es6-promise/es6-promise.d.ts +0 -85
  2105. package/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
  2106. package/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
  2107. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
  2108. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
  2109. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
  2110. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
  2111. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
  2112. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
  2113. package/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
  2114. package/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
  2115. package/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
  2116. package/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
  2117. package/node_modules/es6-promise/lib/es6-promise.js +0 -7
  2118. package/node_modules/es6-promise/package.json +0 -78
  2119. package/node_modules/es6-promisify/README.md +0 -89
  2120. package/node_modules/es6-promisify/dist/promise.js +0 -73
  2121. package/node_modules/es6-promisify/dist/promisify.js +0 -85
  2122. package/node_modules/es6-promisify/package.json +0 -41
  2123. package/node_modules/eventemitter3/LICENSE +0 -21
  2124. package/node_modules/eventemitter3/README.md +0 -94
  2125. package/node_modules/eventemitter3/index.d.ts +0 -134
  2126. package/node_modules/eventemitter3/index.js +0 -336
  2127. package/node_modules/eventemitter3/package.json +0 -56
  2128. package/node_modules/eventemitter3/umd/eventemitter3.js +0 -340
  2129. package/node_modules/eventemitter3/umd/eventemitter3.min.js +0 -1
  2130. package/node_modules/eventemitter3/umd/eventemitter3.min.js.map +0 -1
  2131. package/node_modules/eyes/LICENSE +0 -20
  2132. package/node_modules/eyes/Makefile +0 -4
  2133. package/node_modules/eyes/README.md +0 -73
  2134. package/node_modules/eyes/lib/eyes.js +0 -236
  2135. package/node_modules/eyes/package.json +0 -14
  2136. package/node_modules/eyes/test/eyes-test.js +0 -56
  2137. package/node_modules/fast-stable-stringify/.npmignore +0 -4
  2138. package/node_modules/fast-stable-stringify/.travis.yml +0 -10
  2139. package/node_modules/fast-stable-stringify/LICENSE +0 -21
  2140. package/node_modules/fast-stable-stringify/README.md +0 -81
  2141. package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +0 -67
  2142. package/node_modules/fast-stable-stringify/cli/format-table.js +0 -70
  2143. package/node_modules/fast-stable-stringify/cli/index.js +0 -19
  2144. package/node_modules/fast-stable-stringify/fixtures/index.js +0 -5
  2145. package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +0 -191
  2146. package/node_modules/fast-stable-stringify/fixtures/log-result.json +0 -22
  2147. package/node_modules/fast-stable-stringify/fixtures/log.txt +0 -24
  2148. package/node_modules/fast-stable-stringify/index.js +0 -73
  2149. package/node_modules/fast-stable-stringify/karma.conf.js +0 -124
  2150. package/node_modules/fast-stable-stringify/karma.conf.travis.js +0 -95
  2151. package/node_modules/fast-stable-stringify/package.json +0 -47
  2152. package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  2153. package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  2154. package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  2155. package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  2156. package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  2157. package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  2158. package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  2159. package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  2160. package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  2161. package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  2162. package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  2163. package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  2164. package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  2165. package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  2166. package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  2167. package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  2168. package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  2169. package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  2170. package/node_modules/fast-stable-stringify/results/escape.md +0 -20
  2171. package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2172. package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2173. package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2174. package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2175. package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2176. package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2177. package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2178. package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2179. package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2180. package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2181. package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2182. package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2183. package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2184. package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2185. package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2186. package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2187. package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2188. package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2189. package/node_modules/fast-stable-stringify/results/itar.md +0 -20
  2190. package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2191. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +0 -35
  2192. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2193. package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2194. package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2195. package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2196. package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2197. package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2198. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2199. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +0 -35
  2200. package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2201. package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +0 -35
  2202. package/node_modules/fast-stable-stringify/results/iter.md +0 -14
  2203. package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -46
  2204. package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -46
  2205. package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -46
  2206. package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -46
  2207. package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2208. package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2209. package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2210. package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -46
  2211. package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -46
  2212. package/node_modules/fast-stable-stringify/results/libs.md +0 -15
  2213. package/node_modules/fast-stable-stringify/test/escape-long.js +0 -147
  2214. package/node_modules/fast-stable-stringify/test/escape-short.js +0 -147
  2215. package/node_modules/fast-stable-stringify/test/index.js +0 -6
  2216. package/node_modules/fast-stable-stringify/test/itar-long.js +0 -52
  2217. package/node_modules/fast-stable-stringify/test/itar-short.js +0 -52
  2218. package/node_modules/fast-stable-stringify/test/iter.js +0 -84
  2219. package/node_modules/fast-stable-stringify/test/libs.js +0 -57
  2220. package/node_modules/fast-stable-stringify/test/travis.js +0 -43
  2221. package/node_modules/fast-stable-stringify/test/validate.js +0 -24
  2222. package/node_modules/fast-stable-stringify/util/eachRecursive.js +0 -9
  2223. package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +0 -21
  2224. package/node_modules/fast-stable-stringify/util/get-lib-info.js +0 -22
  2225. package/node_modules/fast-stable-stringify/util/object-path.js +0 -47
  2226. package/node_modules/fast-stable-stringify/v8-profile/bench.js +0 -8
  2227. package/node_modules/fast-stable-stringify/v8-profile/run.sh +0 -2
  2228. package/node_modules/fast-stable-stringify/zuul-local.sh +0 -2
  2229. package/node_modules/humanize-ms/LICENSE +0 -17
  2230. package/node_modules/humanize-ms/README.md +0 -40
  2231. package/node_modules/humanize-ms/index.js +0 -24
  2232. package/node_modules/humanize-ms/package.json +0 -37
  2233. package/node_modules/ieee754/LICENSE +0 -11
  2234. package/node_modules/ieee754/README.md +0 -51
  2235. package/node_modules/ieee754/index.d.ts +0 -10
  2236. package/node_modules/ieee754/index.js +0 -85
  2237. package/node_modules/ieee754/package.json +0 -52
  2238. package/node_modules/isomorphic-ws/LICENSE +0 -21
  2239. package/node_modules/isomorphic-ws/README.md +0 -58
  2240. package/node_modules/isomorphic-ws/browser.js +0 -17
  2241. package/node_modules/isomorphic-ws/index.d.ts +0 -8
  2242. package/node_modules/isomorphic-ws/node.js +0 -3
  2243. package/node_modules/isomorphic-ws/package.json +0 -34
  2244. package/node_modules/jayson/.gitignore +0 -8
  2245. package/node_modules/jayson/LICENSE +0 -22
  2246. package/node_modules/jayson/README.md +0 -1387
  2247. package/node_modules/jayson/bin/jayson.js +0 -111
  2248. package/node_modules/jayson/index.d.ts +0 -370
  2249. package/node_modules/jayson/index.js +0 -1
  2250. package/node_modules/jayson/lib/client/browser/index.d.ts +0 -14
  2251. package/node_modules/jayson/lib/client/browser/index.js +0 -163
  2252. package/node_modules/jayson/lib/client/http.js +0 -116
  2253. package/node_modules/jayson/lib/client/https.js +0 -34
  2254. package/node_modules/jayson/lib/client/index.js +0 -220
  2255. package/node_modules/jayson/lib/client/tcp.js +0 -90
  2256. package/node_modules/jayson/lib/client/tls.js +0 -89
  2257. package/node_modules/jayson/lib/client/websocket.js +0 -135
  2258. package/node_modules/jayson/lib/generateRequest.js +0 -63
  2259. package/node_modules/jayson/lib/index.js +0 -31
  2260. package/node_modules/jayson/lib/method.js +0 -120
  2261. package/node_modules/jayson/lib/server/http.js +0 -26
  2262. package/node_modules/jayson/lib/server/https.js +0 -26
  2263. package/node_modules/jayson/lib/server/index.js +0 -475
  2264. package/node_modules/jayson/lib/server/middleware.js +0 -75
  2265. package/node_modules/jayson/lib/server/tcp.js +0 -72
  2266. package/node_modules/jayson/lib/server/tls.js +0 -72
  2267. package/node_modules/jayson/lib/server/websocket.js +0 -62
  2268. package/node_modules/jayson/lib/utils.js +0 -514
  2269. package/node_modules/jayson/node_modules/@types/node/LICENSE +0 -21
  2270. package/node_modules/jayson/node_modules/@types/node/README.md +0 -16
  2271. package/node_modules/jayson/node_modules/@types/node/assert.d.ts +0 -117
  2272. package/node_modules/jayson/node_modules/@types/node/async_hooks.d.ts +0 -246
  2273. package/node_modules/jayson/node_modules/@types/node/buffer.d.ts +0 -22
  2274. package/node_modules/jayson/node_modules/@types/node/child_process.d.ts +0 -507
  2275. package/node_modules/jayson/node_modules/@types/node/cluster.d.ts +0 -260
  2276. package/node_modules/jayson/node_modules/@types/node/console.d.ts +0 -3
  2277. package/node_modules/jayson/node_modules/@types/node/constants.d.ts +0 -448
  2278. package/node_modules/jayson/node_modules/@types/node/crypto.d.ts +0 -1183
  2279. package/node_modules/jayson/node_modules/@types/node/dgram.d.ts +0 -118
  2280. package/node_modules/jayson/node_modules/@types/node/dns.d.ts +0 -372
  2281. package/node_modules/jayson/node_modules/@types/node/domain.d.ts +0 -16
  2282. package/node_modules/jayson/node_modules/@types/node/events.d.ts +0 -47
  2283. package/node_modules/jayson/node_modules/@types/node/fs.d.ts +0 -2567
  2284. package/node_modules/jayson/node_modules/@types/node/globals.d.ts +0 -1351
  2285. package/node_modules/jayson/node_modules/@types/node/globals.global.d.ts +0 -1
  2286. package/node_modules/jayson/node_modules/@types/node/http.d.ts +0 -456
  2287. package/node_modules/jayson/node_modules/@types/node/http2.d.ts +0 -952
  2288. package/node_modules/jayson/node_modules/@types/node/https.d.ts +0 -156
  2289. package/node_modules/jayson/node_modules/@types/node/index.d.ts +0 -91
  2290. package/node_modules/jayson/node_modules/@types/node/inspector.d.ts +0 -3040
  2291. package/node_modules/jayson/node_modules/@types/node/module.d.ts +0 -3
  2292. package/node_modules/jayson/node_modules/@types/node/net.d.ts +0 -290
  2293. package/node_modules/jayson/node_modules/@types/node/os.d.ts +0 -263
  2294. package/node_modules/jayson/node_modules/@types/node/package.json +0 -195
  2295. package/node_modules/jayson/node_modules/@types/node/path.d.ts +0 -159
  2296. package/node_modules/jayson/node_modules/@types/node/perf_hooks.d.ts +0 -259
  2297. package/node_modules/jayson/node_modules/@types/node/process.d.ts +0 -15
  2298. package/node_modules/jayson/node_modules/@types/node/punycode.d.ts +0 -75
  2299. package/node_modules/jayson/node_modules/@types/node/querystring.d.ts +0 -29
  2300. package/node_modules/jayson/node_modules/@types/node/readline.d.ts +0 -158
  2301. package/node_modules/jayson/node_modules/@types/node/repl.d.ts +0 -390
  2302. package/node_modules/jayson/node_modules/@types/node/stream.d.ts +0 -334
  2303. package/node_modules/jayson/node_modules/@types/node/string_decoder.d.ts +0 -7
  2304. package/node_modules/jayson/node_modules/@types/node/timers.d.ts +0 -16
  2305. package/node_modules/jayson/node_modules/@types/node/tls.d.ts +0 -713
  2306. package/node_modules/jayson/node_modules/@types/node/trace_events.d.ts +0 -61
  2307. package/node_modules/jayson/node_modules/@types/node/tty.d.ts +0 -66
  2308. package/node_modules/jayson/node_modules/@types/node/url.d.ts +0 -147
  2309. package/node_modules/jayson/node_modules/@types/node/util.d.ts +0 -200
  2310. package/node_modules/jayson/node_modules/@types/node/v8.d.ts +0 -197
  2311. package/node_modules/jayson/node_modules/@types/node/vm.d.ts +0 -112
  2312. package/node_modules/jayson/node_modules/@types/node/wasi.d.ts +0 -55
  2313. package/node_modules/jayson/node_modules/@types/node/worker_threads.d.ts +0 -207
  2314. package/node_modules/jayson/node_modules/@types/node/zlib.d.ts +0 -356
  2315. package/node_modules/jayson/node_modules/commander/LICENSE +0 -22
  2316. package/node_modules/jayson/node_modules/commander/Readme.md +0 -428
  2317. package/node_modules/jayson/node_modules/commander/index.js +0 -1224
  2318. package/node_modules/jayson/node_modules/commander/package.json +0 -38
  2319. package/node_modules/jayson/node_modules/commander/typings/index.d.ts +0 -310
  2320. package/node_modules/jayson/package.json +0 -89
  2321. package/node_modules/jayson/promise/index.d.ts +0 -367
  2322. package/node_modules/jayson/promise/index.js +0 -3
  2323. package/node_modules/jayson/promise/lib/client/browser/index.d.ts +0 -12
  2324. package/node_modules/jayson/promise/lib/client/browser/index.js +0 -28
  2325. package/node_modules/jayson/promise/lib/client/http.js +0 -23
  2326. package/node_modules/jayson/promise/lib/client/https.js +0 -24
  2327. package/node_modules/jayson/promise/lib/client/index.js +0 -53
  2328. package/node_modules/jayson/promise/lib/client/tcp.js +0 -23
  2329. package/node_modules/jayson/promise/lib/client/tls.js +0 -23
  2330. package/node_modules/jayson/promise/lib/client/websocket.js +0 -23
  2331. package/node_modules/jayson/promise/lib/index.js +0 -33
  2332. package/node_modules/jayson/promise/lib/method.js +0 -54
  2333. package/node_modules/jayson/promise/lib/server.js +0 -23
  2334. package/node_modules/jayson/promise/lib/utils.js +0 -23
  2335. package/node_modules/json-stringify-safe/.npmignore +0 -1
  2336. package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  2337. package/node_modules/json-stringify-safe/LICENSE +0 -15
  2338. package/node_modules/json-stringify-safe/Makefile +0 -35
  2339. package/node_modules/json-stringify-safe/README.md +0 -52
  2340. package/node_modules/json-stringify-safe/package.json +0 -31
  2341. package/node_modules/json-stringify-safe/stringify.js +0 -27
  2342. package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  2343. package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  2344. package/node_modules/ms/index.js +0 -162
  2345. package/node_modules/ms/license.md +0 -21
  2346. package/node_modules/ms/package.json +0 -38
  2347. package/node_modules/ms/readme.md +0 -59
  2348. package/node_modules/node-fetch/LICENSE.md +0 -22
  2349. package/node_modules/node-fetch/README.md +0 -634
  2350. package/node_modules/node-fetch/browser.js +0 -25
  2351. package/node_modules/node-fetch/lib/index.es.js +0 -1777
  2352. package/node_modules/node-fetch/lib/index.js +0 -1787
  2353. package/node_modules/node-fetch/lib/index.mjs +0 -1775
  2354. package/node_modules/node-fetch/package.json +0 -89
  2355. package/node_modules/node-gyp-build/LICENSE +0 -21
  2356. package/node_modules/node-gyp-build/README.md +0 -58
  2357. package/node_modules/node-gyp-build/SECURITY.md +0 -5
  2358. package/node_modules/node-gyp-build/bin.js +0 -84
  2359. package/node_modules/node-gyp-build/build-test.js +0 -19
  2360. package/node_modules/node-gyp-build/index.js +0 -6
  2361. package/node_modules/node-gyp-build/node-gyp-build.js +0 -207
  2362. package/node_modules/node-gyp-build/optional.js +0 -7
  2363. package/node_modules/node-gyp-build/package.json +0 -43
  2364. package/node_modules/pako/LICENSE +0 -21
  2365. package/node_modules/pako/README.md +0 -177
  2366. package/node_modules/pako/dist/pako.es5.js +0 -6688
  2367. package/node_modules/pako/dist/pako.es5.min.js +0 -2
  2368. package/node_modules/pako/dist/pako.esm.mjs +0 -6877
  2369. package/node_modules/pako/dist/pako.js +0 -6896
  2370. package/node_modules/pako/dist/pako.min.js +0 -2
  2371. package/node_modules/pako/dist/pako_deflate.es5.js +0 -3924
  2372. package/node_modules/pako/dist/pako_deflate.es5.min.js +0 -2
  2373. package/node_modules/pako/dist/pako_deflate.js +0 -4126
  2374. package/node_modules/pako/dist/pako_deflate.min.js +0 -2
  2375. package/node_modules/pako/dist/pako_inflate.es5.js +0 -3229
  2376. package/node_modules/pako/dist/pako_inflate.es5.min.js +0 -2
  2377. package/node_modules/pako/dist/pako_inflate.js +0 -3239
  2378. package/node_modules/pako/dist/pako_inflate.min.js +0 -2
  2379. package/node_modules/pako/index.js +0 -18
  2380. package/node_modules/pako/lib/deflate.js +0 -380
  2381. package/node_modules/pako/lib/inflate.js +0 -419
  2382. package/node_modules/pako/lib/utils/common.js +0 -48
  2383. package/node_modules/pako/lib/utils/strings.js +0 -174
  2384. package/node_modules/pako/lib/zlib/README +0 -59
  2385. package/node_modules/pako/lib/zlib/adler32.js +0 -51
  2386. package/node_modules/pako/lib/zlib/constants.js +0 -68
  2387. package/node_modules/pako/lib/zlib/crc32.js +0 -59
  2388. package/node_modules/pako/lib/zlib/deflate.js +0 -2048
  2389. package/node_modules/pako/lib/zlib/gzheader.js +0 -58
  2390. package/node_modules/pako/lib/zlib/inffast.js +0 -344
  2391. package/node_modules/pako/lib/zlib/inflate.js +0 -1572
  2392. package/node_modules/pako/lib/zlib/inftrees.js +0 -340
  2393. package/node_modules/pako/lib/zlib/messages.js +0 -32
  2394. package/node_modules/pako/lib/zlib/trees.js +0 -1179
  2395. package/node_modules/pako/lib/zlib/zstream.js +0 -47
  2396. package/node_modules/pako/package.json +0 -64
  2397. package/node_modules/rpc-websockets/LICENSE +0 -10
  2398. package/node_modules/rpc-websockets/README.md +0 -156
  2399. package/node_modules/rpc-websockets/dist/index.browser-bundle.js +0 -14
  2400. package/node_modules/rpc-websockets/dist/index.browser.cjs +0 -389
  2401. package/node_modules/rpc-websockets/dist/index.browser.cjs.map +0 -1
  2402. package/node_modules/rpc-websockets/dist/index.browser.d.mts +0 -225
  2403. package/node_modules/rpc-websockets/dist/index.browser.d.ts +0 -225
  2404. package/node_modules/rpc-websockets/dist/index.browser.mjs +0 -384
  2405. package/node_modules/rpc-websockets/dist/index.browser.mjs.map +0 -1
  2406. package/node_modules/rpc-websockets/dist/index.cjs +0 -898
  2407. package/node_modules/rpc-websockets/dist/index.cjs.map +0 -1
  2408. package/node_modules/rpc-websockets/dist/index.d.mts +0 -415
  2409. package/node_modules/rpc-websockets/dist/index.d.ts +0 -415
  2410. package/node_modules/rpc-websockets/dist/index.mjs +0 -886
  2411. package/node_modules/rpc-websockets/dist/index.mjs.map +0 -1
  2412. package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +0 -21
  2413. package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +0 -15
  2414. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +0 -451
  2415. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +0 -445
  2416. package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +0 -72
  2417. package/node_modules/rpc-websockets/node_modules/eventemitter3/LICENSE +0 -21
  2418. package/node_modules/rpc-websockets/node_modules/eventemitter3/README.md +0 -94
  2419. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  2420. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  2421. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  2422. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  2423. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  2424. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  2425. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.d.ts +0 -135
  2426. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.js +0 -336
  2427. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.mjs +0 -4
  2428. package/node_modules/rpc-websockets/node_modules/eventemitter3/package.json +0 -67
  2429. package/node_modules/rpc-websockets/node_modules/ws/LICENSE +0 -20
  2430. package/node_modules/rpc-websockets/node_modules/ws/README.md +0 -548
  2431. package/node_modules/rpc-websockets/node_modules/ws/browser.js +0 -8
  2432. package/node_modules/rpc-websockets/node_modules/ws/index.js +0 -13
  2433. package/node_modules/rpc-websockets/node_modules/ws/lib/buffer-util.js +0 -131
  2434. package/node_modules/rpc-websockets/node_modules/ws/lib/constants.js +0 -18
  2435. package/node_modules/rpc-websockets/node_modules/ws/lib/event-target.js +0 -292
  2436. package/node_modules/rpc-websockets/node_modules/ws/lib/extension.js +0 -203
  2437. package/node_modules/rpc-websockets/node_modules/ws/lib/limiter.js +0 -55
  2438. package/node_modules/rpc-websockets/node_modules/ws/lib/permessage-deflate.js +0 -528
  2439. package/node_modules/rpc-websockets/node_modules/ws/lib/receiver.js +0 -706
  2440. package/node_modules/rpc-websockets/node_modules/ws/lib/sender.js +0 -602
  2441. package/node_modules/rpc-websockets/node_modules/ws/lib/stream.js +0 -161
  2442. package/node_modules/rpc-websockets/node_modules/ws/lib/subprotocol.js +0 -62
  2443. package/node_modules/rpc-websockets/node_modules/ws/lib/validation.js +0 -152
  2444. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket-server.js +0 -550
  2445. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket.js +0 -1388
  2446. package/node_modules/rpc-websockets/node_modules/ws/package.json +0 -69
  2447. package/node_modules/rpc-websockets/node_modules/ws/wrapper.mjs +0 -8
  2448. package/node_modules/rpc-websockets/package.json +0 -90
  2449. package/node_modules/safe-buffer/LICENSE +0 -21
  2450. package/node_modules/safe-buffer/README.md +0 -584
  2451. package/node_modules/safe-buffer/index.d.ts +0 -187
  2452. package/node_modules/safe-buffer/index.js +0 -65
  2453. package/node_modules/safe-buffer/package.json +0 -51
  2454. package/node_modules/stream-chain/LICENSE +0 -11
  2455. package/node_modules/stream-chain/README.md +0 -334
  2456. package/node_modules/stream-chain/defs.js +0 -22
  2457. package/node_modules/stream-chain/index.js +0 -203
  2458. package/node_modules/stream-chain/package.json +0 -31
  2459. package/node_modules/stream-chain/utils/FromIterable.js +0 -94
  2460. package/node_modules/stream-chain/utils/Reduce.js +0 -40
  2461. package/node_modules/stream-chain/utils/asFun.js +0 -85
  2462. package/node_modules/stream-chain/utils/asGen.js +0 -77
  2463. package/node_modules/stream-chain/utils/comp.js +0 -20
  2464. package/node_modules/stream-chain/utils/fold.js +0 -43
  2465. package/node_modules/stream-chain/utils/gen.js +0 -24
  2466. package/node_modules/stream-chain/utils/scan.js +0 -41
  2467. package/node_modules/stream-chain/utils/skip.js +0 -32
  2468. package/node_modules/stream-chain/utils/skipWhile.js +0 -46
  2469. package/node_modules/stream-chain/utils/take.js +0 -39
  2470. package/node_modules/stream-chain/utils/takeWhile.js +0 -47
  2471. package/node_modules/stream-json/Assembler.js +0 -154
  2472. package/node_modules/stream-json/Disassembler.js +0 -209
  2473. package/node_modules/stream-json/Emitter.js +0 -22
  2474. package/node_modules/stream-json/LICENSE +0 -34
  2475. package/node_modules/stream-json/Parser.js +0 -545
  2476. package/node_modules/stream-json/README.md +0 -128
  2477. package/node_modules/stream-json/Stringer.js +0 -153
  2478. package/node_modules/stream-json/filters/Filter.js +0 -130
  2479. package/node_modules/stream-json/filters/FilterBase.js +0 -201
  2480. package/node_modules/stream-json/filters/Ignore.js +0 -24
  2481. package/node_modules/stream-json/filters/Pick.js +0 -58
  2482. package/node_modules/stream-json/filters/Replace.js +0 -115
  2483. package/node_modules/stream-json/index.js +0 -11
  2484. package/node_modules/stream-json/jsonl/Parser.js +0 -131
  2485. package/node_modules/stream-json/jsonl/Stringer.js +0 -29
  2486. package/node_modules/stream-json/package.json +0 -45
  2487. package/node_modules/stream-json/streamers/StreamArray.js +0 -44
  2488. package/node_modules/stream-json/streamers/StreamBase.js +0 -101
  2489. package/node_modules/stream-json/streamers/StreamObject.js +0 -43
  2490. package/node_modules/stream-json/streamers/StreamValues.js +0 -33
  2491. package/node_modules/stream-json/utils/Batch.js +0 -44
  2492. package/node_modules/stream-json/utils/Utf8Stream.js +0 -53
  2493. package/node_modules/stream-json/utils/Verifier.js +0 -485
  2494. package/node_modules/stream-json/utils/emit.js +0 -5
  2495. package/node_modules/stream-json/utils/withParser.js +0 -10
  2496. package/node_modules/superstruct/License.md +0 -9
  2497. package/node_modules/superstruct/Readme.md +0 -228
  2498. package/node_modules/superstruct/lib/coercions.d.ts +0 -19
  2499. package/node_modules/superstruct/lib/coercions.d.ts.map +0 -1
  2500. package/node_modules/superstruct/lib/error.d.ts +0 -32
  2501. package/node_modules/superstruct/lib/error.d.ts.map +0 -1
  2502. package/node_modules/superstruct/lib/index.cjs +0 -1257
  2503. package/node_modules/superstruct/lib/index.cjs.d.ts +0 -579
  2504. package/node_modules/superstruct/lib/index.cjs.map +0 -1
  2505. package/node_modules/superstruct/lib/index.d.cts +0 -579
  2506. package/node_modules/superstruct/lib/index.d.ts +0 -7
  2507. package/node_modules/superstruct/lib/index.d.ts.map +0 -1
  2508. package/node_modules/superstruct/lib/index.es.d.ts +0 -579
  2509. package/node_modules/superstruct/lib/index.es.js +0 -1203
  2510. package/node_modules/superstruct/lib/index.es.js.map +0 -1
  2511. package/node_modules/superstruct/lib/refinements.d.ts +0 -19
  2512. package/node_modules/superstruct/lib/refinements.d.ts.map +0 -1
  2513. package/node_modules/superstruct/lib/struct.d.ts +0 -110
  2514. package/node_modules/superstruct/lib/struct.d.ts.map +0 -1
  2515. package/node_modules/superstruct/lib/structs/coercions.d.ts +0 -29
  2516. package/node_modules/superstruct/lib/structs/coercions.d.ts.map +0 -1
  2517. package/node_modules/superstruct/lib/structs/refinements.d.ts +0 -38
  2518. package/node_modules/superstruct/lib/structs/refinements.d.ts.map +0 -1
  2519. package/node_modules/superstruct/lib/structs/types.d.ts +0 -142
  2520. package/node_modules/superstruct/lib/structs/types.d.ts.map +0 -1
  2521. package/node_modules/superstruct/lib/structs/utilities.d.ts +0 -66
  2522. package/node_modules/superstruct/lib/structs/utilities.d.ts.map +0 -1
  2523. package/node_modules/superstruct/lib/types.d.ts +0 -200
  2524. package/node_modules/superstruct/lib/types.d.ts.map +0 -1
  2525. package/node_modules/superstruct/lib/typings.d.ts +0 -36
  2526. package/node_modules/superstruct/lib/typings.d.ts.map +0 -1
  2527. package/node_modules/superstruct/lib/utilities.d.ts +0 -56
  2528. package/node_modules/superstruct/lib/utilities.d.ts.map +0 -1
  2529. package/node_modules/superstruct/lib/utils.d.ts +0 -139
  2530. package/node_modules/superstruct/lib/utils.d.ts.map +0 -1
  2531. package/node_modules/superstruct/lib/xtras.d.ts +0 -56
  2532. package/node_modules/superstruct/lib/xtras.d.ts.map +0 -1
  2533. package/node_modules/superstruct/package.json +0 -110
  2534. package/node_modules/superstruct/umd/coercions.d.ts +0 -18
  2535. package/node_modules/superstruct/umd/index.d.ts +0 -4
  2536. package/node_modules/superstruct/umd/refinements.d.ts +0 -14
  2537. package/node_modules/superstruct/umd/struct.d.ts +0 -80
  2538. package/node_modules/superstruct/umd/superstruct.d.ts +0 -579
  2539. package/node_modules/superstruct/umd/superstruct.js +0 -1262
  2540. package/node_modules/superstruct/umd/superstruct.min.d.ts +0 -579
  2541. package/node_modules/superstruct/umd/superstruct.min.js +0 -1
  2542. package/node_modules/superstruct/umd/types.d.ts +0 -127
  2543. package/node_modules/superstruct/umd/utils.d.ts +0 -9
  2544. package/node_modules/text-encoding-utf-8/LICENSE.md +0 -29
  2545. package/node_modules/text-encoding-utf-8/README.md +0 -63
  2546. package/node_modules/text-encoding-utf-8/lib/encoding.js +0 -655
  2547. package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +0 -642
  2548. package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +0 -665
  2549. package/node_modules/text-encoding-utf-8/package.json +0 -26
  2550. package/node_modules/text-encoding-utf-8/src/encoding.js +0 -665
  2551. package/node_modules/text-encoding-utf-8/src/polyfill.js +0 -21
  2552. package/node_modules/toml/.jshintrc +0 -18
  2553. package/node_modules/toml/.travis.yml +0 -7
  2554. package/node_modules/toml/CHANGELOG.md +0 -116
  2555. package/node_modules/toml/LICENSE +0 -22
  2556. package/node_modules/toml/README.md +0 -93
  2557. package/node_modules/toml/benchmark.js +0 -12
  2558. package/node_modules/toml/index.d.ts +0 -3
  2559. package/node_modules/toml/index.js +0 -9
  2560. package/node_modules/toml/lib/compiler.js +0 -195
  2561. package/node_modules/toml/lib/parser.js +0 -3841
  2562. package/node_modules/toml/package.json +0 -24
  2563. package/node_modules/toml/src/toml.pegjs +0 -231
  2564. package/node_modules/toml/test/bad.toml +0 -5
  2565. package/node_modules/toml/test/example.toml +0 -32
  2566. package/node_modules/toml/test/hard_example.toml +0 -33
  2567. package/node_modules/toml/test/inline_tables.toml +0 -10
  2568. package/node_modules/toml/test/literal_strings.toml +0 -5
  2569. package/node_modules/toml/test/multiline_eat_whitespace.toml +0 -15
  2570. package/node_modules/toml/test/multiline_literal_strings.toml +0 -7
  2571. package/node_modules/toml/test/multiline_strings.toml +0 -6
  2572. package/node_modules/toml/test/smoke.js +0 -22
  2573. package/node_modules/toml/test/table_arrays_easy.toml +0 -10
  2574. package/node_modules/toml/test/table_arrays_hard.toml +0 -31
  2575. package/node_modules/toml/test/test_toml.js +0 -596
  2576. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  2577. package/node_modules/tslib/LICENSE.txt +0 -12
  2578. package/node_modules/tslib/README.md +0 -164
  2579. package/node_modules/tslib/SECURITY.md +0 -41
  2580. package/node_modules/tslib/modules/index.d.ts +0 -38
  2581. package/node_modules/tslib/modules/index.js +0 -70
  2582. package/node_modules/tslib/modules/package.json +0 -3
  2583. package/node_modules/tslib/package.json +0 -47
  2584. package/node_modules/tslib/tslib.d.ts +0 -460
  2585. package/node_modules/tslib/tslib.es6.html +0 -1
  2586. package/node_modules/tslib/tslib.es6.js +0 -402
  2587. package/node_modules/tslib/tslib.es6.mjs +0 -401
  2588. package/node_modules/tslib/tslib.html +0 -1
  2589. package/node_modules/tslib/tslib.js +0 -484
  2590. package/node_modules/undici-types/LICENSE +0 -21
  2591. package/node_modules/undici-types/README.md +0 -6
  2592. package/node_modules/undici-types/agent.d.ts +0 -31
  2593. package/node_modules/undici-types/api.d.ts +0 -43
  2594. package/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2595. package/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  2596. package/node_modules/undici-types/cache.d.ts +0 -36
  2597. package/node_modules/undici-types/client.d.ts +0 -107
  2598. package/node_modules/undici-types/connector.d.ts +0 -34
  2599. package/node_modules/undici-types/content-type.d.ts +0 -21
  2600. package/node_modules/undici-types/cookies.d.ts +0 -30
  2601. package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  2602. package/node_modules/undici-types/dispatcher.d.ts +0 -281
  2603. package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  2604. package/node_modules/undici-types/errors.d.ts +0 -171
  2605. package/node_modules/undici-types/eventsource.d.ts +0 -61
  2606. package/node_modules/undici-types/fetch.d.ts +0 -210
  2607. package/node_modules/undici-types/formdata.d.ts +0 -108
  2608. package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  2609. package/node_modules/undici-types/global-origin.d.ts +0 -7
  2610. package/node_modules/undici-types/h2c-client.d.ts +0 -75
  2611. package/node_modules/undici-types/handlers.d.ts +0 -15
  2612. package/node_modules/undici-types/header.d.ts +0 -160
  2613. package/node_modules/undici-types/index.d.ts +0 -75
  2614. package/node_modules/undici-types/interceptors.d.ts +0 -34
  2615. package/node_modules/undici-types/mock-agent.d.ts +0 -65
  2616. package/node_modules/undici-types/mock-call-history.d.ts +0 -111
  2617. package/node_modules/undici-types/mock-client.d.ts +0 -25
  2618. package/node_modules/undici-types/mock-errors.d.ts +0 -12
  2619. package/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  2620. package/node_modules/undici-types/mock-pool.d.ts +0 -25
  2621. package/node_modules/undici-types/package.json +0 -55
  2622. package/node_modules/undici-types/patch.d.ts +0 -29
  2623. package/node_modules/undici-types/pool-stats.d.ts +0 -19
  2624. package/node_modules/undici-types/pool.d.ts +0 -39
  2625. package/node_modules/undici-types/proxy-agent.d.ts +0 -28
  2626. package/node_modules/undici-types/readable.d.ts +0 -68
  2627. package/node_modules/undici-types/retry-agent.d.ts +0 -8
  2628. package/node_modules/undici-types/retry-handler.d.ts +0 -116
  2629. package/node_modules/undici-types/util.d.ts +0 -18
  2630. package/node_modules/undici-types/utility.d.ts +0 -7
  2631. package/node_modules/undici-types/webidl.d.ts +0 -266
  2632. package/node_modules/undici-types/websocket.d.ts +0 -184
  2633. package/node_modules/utf-8-validate/LICENSE +0 -30
  2634. package/node_modules/utf-8-validate/README.md +0 -50
  2635. package/node_modules/utf-8-validate/binding.gyp +0 -18
  2636. package/node_modules/utf-8-validate/fallback.js +0 -62
  2637. package/node_modules/utf-8-validate/index.js +0 -7
  2638. package/node_modules/utf-8-validate/package.json +0 -36
  2639. package/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  2640. package/node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node +0 -0
  2641. package/node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node +0 -0
  2642. package/node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node +0 -0
  2643. package/node_modules/utf-8-validate/src/validation.c +0 -109
  2644. package/node_modules/uuid/CHANGELOG.md +0 -229
  2645. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  2646. package/node_modules/uuid/LICENSE.md +0 -9
  2647. package/node_modules/uuid/README.md +0 -505
  2648. package/node_modules/uuid/dist/bin/uuid +0 -2
  2649. package/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2650. package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2651. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2652. package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2653. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2654. package/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  2655. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2656. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  2657. package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2658. package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2659. package/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  2660. package/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  2661. package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2662. package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2663. package/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2664. package/node_modules/uuid/dist/esm-node/index.js +0 -9
  2665. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2666. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2667. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2668. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2669. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2670. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2671. package/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  2672. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2673. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2674. package/node_modules/uuid/dist/esm-node/v35.js +0 -64
  2675. package/node_modules/uuid/dist/esm-node/v4.js +0 -24
  2676. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2677. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2678. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  2679. package/node_modules/uuid/dist/index.js +0 -79
  2680. package/node_modules/uuid/dist/md5-browser.js +0 -223
  2681. package/node_modules/uuid/dist/md5.js +0 -23
  2682. package/node_modules/uuid/dist/nil.js +0 -8
  2683. package/node_modules/uuid/dist/parse.js +0 -45
  2684. package/node_modules/uuid/dist/regex.js +0 -8
  2685. package/node_modules/uuid/dist/rng-browser.js +0 -26
  2686. package/node_modules/uuid/dist/rng.js +0 -24
  2687. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  2688. package/node_modules/uuid/dist/sha1.js +0 -23
  2689. package/node_modules/uuid/dist/stringify.js +0 -39
  2690. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  2691. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  2692. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  2693. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  2694. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  2695. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  2696. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  2697. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  2698. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  2699. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  2700. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  2701. package/node_modules/uuid/dist/v1.js +0 -107
  2702. package/node_modules/uuid/dist/v3.js +0 -16
  2703. package/node_modules/uuid/dist/v35.js +0 -78
  2704. package/node_modules/uuid/dist/v4.js +0 -37
  2705. package/node_modules/uuid/dist/v5.js +0 -16
  2706. package/node_modules/uuid/dist/validate.js +0 -17
  2707. package/node_modules/uuid/dist/version.js +0 -21
  2708. package/node_modules/uuid/package.json +0 -135
  2709. package/node_modules/uuid/wrapper.mjs +0 -10
  2710. package/node_modules/webidl-conversions/LICENSE.md +0 -12
  2711. package/node_modules/webidl-conversions/README.md +0 -53
  2712. package/node_modules/webidl-conversions/lib/index.js +0 -189
  2713. package/node_modules/webidl-conversions/package.json +0 -23
  2714. package/node_modules/whatwg-url/LICENSE.txt +0 -21
  2715. package/node_modules/whatwg-url/README.md +0 -67
  2716. package/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2717. package/node_modules/whatwg-url/lib/URL.js +0 -196
  2718. package/node_modules/whatwg-url/lib/public-api.js +0 -11
  2719. package/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2720. package/node_modules/whatwg-url/lib/utils.js +0 -20
  2721. package/node_modules/whatwg-url/node_modules/tr46/.npmignore +0 -4
  2722. package/node_modules/whatwg-url/node_modules/tr46/index.js +0 -193
  2723. package/node_modules/whatwg-url/node_modules/tr46/lib/.gitkeep +0 -0
  2724. package/node_modules/whatwg-url/node_modules/tr46/lib/mappingTable.json +0 -1
  2725. package/node_modules/whatwg-url/node_modules/tr46/package.json +0 -31
  2726. package/node_modules/whatwg-url/package.json +0 -32
  2727. package/node_modules/ws/LICENSE +0 -21
  2728. package/node_modules/ws/README.md +0 -495
  2729. package/node_modules/ws/browser.js +0 -8
  2730. package/node_modules/ws/index.js +0 -10
  2731. package/node_modules/ws/lib/buffer-util.js +0 -129
  2732. package/node_modules/ws/lib/constants.js +0 -10
  2733. package/node_modules/ws/lib/event-target.js +0 -184
  2734. package/node_modules/ws/lib/extension.js +0 -223
  2735. package/node_modules/ws/lib/limiter.js +0 -55
  2736. package/node_modules/ws/lib/permessage-deflate.js +0 -518
  2737. package/node_modules/ws/lib/receiver.js +0 -607
  2738. package/node_modules/ws/lib/sender.js +0 -409
  2739. package/node_modules/ws/lib/stream.js +0 -180
  2740. package/node_modules/ws/lib/validation.js +0 -104
  2741. package/node_modules/ws/lib/websocket-server.js +0 -449
  2742. package/node_modules/ws/lib/websocket.js +0 -1197
  2743. package/node_modules/ws/package.json +0 -56
@@ -1,2712 +0,0 @@
1
- /* The MIT License (MIT)
2
- *
3
- * Copyright 2015-2018 Peter A. Bigot
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- */
23
-
24
- /**
25
- * Support for translating between Buffer instances and JavaScript
26
- * native types.
27
- *
28
- * {@link module:Layout~Layout|Layout} is the basis of a class
29
- * hierarchy that associates property names with sequences of encoded
30
- * bytes.
31
- *
32
- * Layouts are supported for these scalar (numeric) types:
33
- * * {@link module:Layout~UInt|Unsigned integers in little-endian
34
- * format} with {@link module:Layout.u8|8-bit}, {@link
35
- * module:Layout.u16|16-bit}, {@link module:Layout.u24|24-bit},
36
- * {@link module:Layout.u32|32-bit}, {@link
37
- * module:Layout.u40|40-bit}, and {@link module:Layout.u48|48-bit}
38
- * representation ranges;
39
- * * {@link module:Layout~UIntBE|Unsigned integers in big-endian
40
- * format} with {@link module:Layout.u16be|16-bit}, {@link
41
- * module:Layout.u24be|24-bit}, {@link module:Layout.u32be|32-bit},
42
- * {@link module:Layout.u40be|40-bit}, and {@link
43
- * module:Layout.u48be|48-bit} representation ranges;
44
- * * {@link module:Layout~Int|Signed integers in little-endian
45
- * format} with {@link module:Layout.s8|8-bit}, {@link
46
- * module:Layout.s16|16-bit}, {@link module:Layout.s24|24-bit},
47
- * {@link module:Layout.s32|32-bit}, {@link
48
- * module:Layout.s40|40-bit}, and {@link module:Layout.s48|48-bit}
49
- * representation ranges;
50
- * * {@link module:Layout~IntBE|Signed integers in big-endian format}
51
- * with {@link module:Layout.s16be|16-bit}, {@link
52
- * module:Layout.s24be|24-bit}, {@link module:Layout.s32be|32-bit},
53
- * {@link module:Layout.s40be|40-bit}, and {@link
54
- * module:Layout.s48be|48-bit} representation ranges;
55
- * * 64-bit integral values that decode to an exact (if magnitude is
56
- * less than 2^53) or nearby integral Number in {@link
57
- * module:Layout.nu64|unsigned little-endian}, {@link
58
- * module:Layout.nu64be|unsigned big-endian}, {@link
59
- * module:Layout.ns64|signed little-endian}, and {@link
60
- * module:Layout.ns64be|unsigned big-endian} encodings;
61
- * * 32-bit floating point values with {@link
62
- * module:Layout.f32|little-endian} and {@link
63
- * module:Layout.f32be|big-endian} representations;
64
- * * 64-bit floating point values with {@link
65
- * module:Layout.f64|little-endian} and {@link
66
- * module:Layout.f64be|big-endian} representations;
67
- * * {@link module:Layout.const|Constants} that take no space in the
68
- * encoded expression.
69
- *
70
- * and for these aggregate types:
71
- * * {@link module:Layout.seq|Sequence}s of instances of a {@link
72
- * module:Layout~Layout|Layout}, with JavaScript representation as
73
- * an Array and constant or data-dependent {@link
74
- * module:Layout~Sequence#count|length};
75
- * * {@link module:Layout.struct|Structure}s that aggregate a
76
- * heterogeneous sequence of {@link module:Layout~Layout|Layout}
77
- * instances, with JavaScript representation as an Object;
78
- * * {@link module:Layout.union|Union}s that support multiple {@link
79
- * module:Layout~VariantLayout|variant layouts} over a fixed
80
- * (padded) or variable (not padded) span of bytes, using an
81
- * unsigned integer at the start of the data or a separate {@link
82
- * module:Layout.unionLayoutDiscriminator|layout element} to
83
- * determine which layout to use when interpreting the buffer
84
- * contents;
85
- * * {@link module:Layout.bits|BitStructure}s that contain a sequence
86
- * of individual {@link
87
- * module:Layout~BitStructure#addField|BitField}s packed into an 8,
88
- * 16, 24, or 32-bit unsigned integer starting at the least- or
89
- * most-significant bit;
90
- * * {@link module:Layout.cstr|C strings} of varying length;
91
- * * {@link module:Layout.blob|Blobs} of fixed- or variable-{@link
92
- * module:Layout~Blob#length|length} raw data.
93
- *
94
- * All {@link module:Layout~Layout|Layout} instances are immutable
95
- * after construction, to prevent internal state from becoming
96
- * inconsistent.
97
- *
98
- * @local Layout
99
- * @local ExternalLayout
100
- * @local GreedyCount
101
- * @local OffsetLayout
102
- * @local UInt
103
- * @local UIntBE
104
- * @local Int
105
- * @local IntBE
106
- * @local NearUInt64
107
- * @local NearUInt64BE
108
- * @local NearInt64
109
- * @local NearInt64BE
110
- * @local Float
111
- * @local FloatBE
112
- * @local Double
113
- * @local DoubleBE
114
- * @local Sequence
115
- * @local Structure
116
- * @local UnionDiscriminator
117
- * @local UnionLayoutDiscriminator
118
- * @local Union
119
- * @local VariantLayout
120
- * @local BitStructure
121
- * @local BitField
122
- * @local Boolean
123
- * @local Blob
124
- * @local CString
125
- * @local Constant
126
- * @local bindConstructorLayout
127
- * @module Layout
128
- * @license MIT
129
- * @author Peter A. Bigot
130
- * @see {@link https://github.com/pabigot/buffer-layout|buffer-layout on GitHub}
131
- */
132
-
133
- 'use strict';
134
-
135
- /**
136
- * Base class for layout objects.
137
- *
138
- * **NOTE** This is an abstract base class; you can create instances
139
- * if it amuses you, but they won't support the {@link
140
- * Layout#encode|encode} or {@link Layout#decode|decode} functions.
141
- *
142
- * @param {Number} span - Initializer for {@link Layout#span|span}. The
143
- * parameter must be an integer; a negative value signifies that the
144
- * span is {@link Layout#getSpan|value-specific}.
145
- *
146
- * @param {string} [property] - Initializer for {@link
147
- * Layout#property|property}.
148
- *
149
- * @abstract
150
- */
151
- class Layout {
152
- constructor(span, property) {
153
- if (!Number.isInteger(span)) {
154
- throw new TypeError('span must be an integer');
155
- }
156
-
157
- /** The span of the layout in bytes.
158
- *
159
- * Positive values are generally expected.
160
- *
161
- * Zero will only appear in {@link Constant}s and in {@link
162
- * Sequence}s where the {@link Sequence#count|count} is zero.
163
- *
164
- * A negative value indicates that the span is value-specific, and
165
- * must be obtained using {@link Layout#getSpan|getSpan}. */
166
- this.span = span;
167
-
168
- /** The property name used when this layout is represented in an
169
- * Object.
170
- *
171
- * Used only for layouts that {@link Layout#decode|decode} to Object
172
- * instances. If left undefined the span of the unnamed layout will
173
- * be treated as padding: it will not be mutated by {@link
174
- * Layout#encode|encode} nor represented as a property in the
175
- * decoded Object. */
176
- this.property = property;
177
- }
178
-
179
- /** Function to create an Object into which decoded properties will
180
- * be written.
181
- *
182
- * Used only for layouts that {@link Layout#decode|decode} to Object
183
- * instances, which means:
184
- * * {@link Structure}
185
- * * {@link Union}
186
- * * {@link VariantLayout}
187
- * * {@link BitStructure}
188
- *
189
- * If left undefined the JavaScript representation of these layouts
190
- * will be Object instances.
191
- *
192
- * See {@link bindConstructorLayout}.
193
- */
194
- makeDestinationObject() {
195
- return {};
196
- }
197
-
198
- /**
199
- * Decode from a Buffer into an JavaScript value.
200
- *
201
- * @param {Buffer} b - the buffer from which encoded data is read.
202
- *
203
- * @param {Number} [offset] - the offset at which the encoded data
204
- * starts. If absent a zero offset is inferred.
205
- *
206
- * @returns {(Number|Array|Object)} - the value of the decoded data.
207
- *
208
- * @abstract
209
- */
210
- decode(b, offset) {
211
- throw new Error('Layout is abstract');
212
- }
213
-
214
- /**
215
- * Encode a JavaScript value into a Buffer.
216
- *
217
- * @param {(Number|Array|Object)} src - the value to be encoded into
218
- * the buffer. The type accepted depends on the (sub-)type of {@link
219
- * Layout}.
220
- *
221
- * @param {Buffer} b - the buffer into which encoded data will be
222
- * written.
223
- *
224
- * @param {Number} [offset] - the offset at which the encoded data
225
- * starts. If absent a zero offset is inferred.
226
- *
227
- * @returns {Number} - the number of bytes encoded, including the
228
- * space skipped for internal padding, but excluding data such as
229
- * {@link Sequence#count|lengths} when stored {@link
230
- * ExternalLayout|externally}. This is the adjustment to `offset`
231
- * producing the offset where data for the next layout would be
232
- * written.
233
- *
234
- * @abstract
235
- */
236
- encode(src, b, offset) {
237
- throw new Error('Layout is abstract');
238
- }
239
-
240
- /**
241
- * Calculate the span of a specific instance of a layout.
242
- *
243
- * @param {Buffer} b - the buffer that contains an encoded instance.
244
- *
245
- * @param {Number} [offset] - the offset at which the encoded instance
246
- * starts. If absent a zero offset is inferred.
247
- *
248
- * @return {Number} - the number of bytes covered by the layout
249
- * instance. If this method is not overridden in a subclass the
250
- * definition-time constant {@link Layout#span|span} will be
251
- * returned.
252
- *
253
- * @throws {RangeError} - if the length of the value cannot be
254
- * determined.
255
- */
256
- getSpan(b, offset) {
257
- if (0 > this.span) {
258
- throw new RangeError('indeterminate span');
259
- }
260
- return this.span;
261
- }
262
-
263
- /**
264
- * Replicate the layout using a new property.
265
- *
266
- * This function must be used to get a structurally-equivalent layout
267
- * with a different name since all {@link Layout} instances are
268
- * immutable.
269
- *
270
- * **NOTE** This is a shallow copy. All fields except {@link
271
- * Layout#property|property} are strictly equal to the origin layout.
272
- *
273
- * @param {String} property - the value for {@link
274
- * Layout#property|property} in the replica.
275
- *
276
- * @returns {Layout} - the copy with {@link Layout#property|property}
277
- * set to `property`.
278
- */
279
- replicate(property) {
280
- const rv = Object.create(this.constructor.prototype);
281
- Object.assign(rv, this);
282
- rv.property = property;
283
- return rv;
284
- }
285
-
286
- /**
287
- * Create an object from layout properties and an array of values.
288
- *
289
- * **NOTE** This function returns `undefined` if invoked on a layout
290
- * that does not return its value as an Object. Objects are
291
- * returned for things that are a {@link Structure}, which includes
292
- * {@link VariantLayout|variant layouts} if they are structures, and
293
- * excludes {@link Union}s. If you want this feature for a union
294
- * you must use {@link Union.getVariant|getVariant} to select the
295
- * desired layout.
296
- *
297
- * @param {Array} values - an array of values that correspond to the
298
- * default order for properties. As with {@link Layout#decode|decode}
299
- * layout elements that have no property name are skipped when
300
- * iterating over the array values. Only the top-level properties are
301
- * assigned; arguments are not assigned to properties of contained
302
- * layouts. Any unused values are ignored.
303
- *
304
- * @return {(Object|undefined)}
305
- */
306
- fromArray(values) {
307
- return undefined;
308
- }
309
- }
310
- exports.Layout = Layout;
311
-
312
- /* Provide text that carries a name (such as for a function that will
313
- * be throwing an error) annotated with the property of a given layout
314
- * (such as one for which the value was unacceptable).
315
- *
316
- * @ignore */
317
- function nameWithProperty(name, lo) {
318
- if (lo.property) {
319
- return name + '[' + lo.property + ']';
320
- }
321
- return name;
322
- }
323
- exports.nameWithProperty = nameWithProperty;
324
-
325
- /**
326
- * Augment a class so that instances can be encoded/decoded using a
327
- * given layout.
328
- *
329
- * Calling this function couples `Class` with `layout` in several ways:
330
- *
331
- * * `Class.layout_` becomes a static member property equal to `layout`;
332
- * * `layout.boundConstructor_` becomes a static member property equal
333
- * to `Class`;
334
- * * The {@link Layout#makeDestinationObject|makeDestinationObject()}
335
- * property of `layout` is set to a function that returns a `new
336
- * Class()`;
337
- * * `Class.decode(b, offset)` becomes a static member function that
338
- * delegates to {@link Layout#decode|layout.decode}. The
339
- * synthesized function may be captured and extended.
340
- * * `Class.prototype.encode(b, offset)` provides an instance member
341
- * function that delegates to {@link Layout#encode|layout.encode}
342
- * with `src` set to `this`. The synthesized function may be
343
- * captured and extended, but when the extension is invoked `this`
344
- * must be explicitly bound to the instance.
345
- *
346
- * @param {class} Class - a JavaScript class with a nullary
347
- * constructor.
348
- *
349
- * @param {Layout} layout - the {@link Layout} instance used to encode
350
- * instances of `Class`.
351
- */
352
- function bindConstructorLayout(Class, layout) {
353
- if ('function' !== typeof Class) {
354
- throw new TypeError('Class must be constructor');
355
- }
356
- if (Class.hasOwnProperty('layout_')) {
357
- throw new Error('Class is already bound to a layout');
358
- }
359
- if (!(layout && (layout instanceof Layout))) {
360
- throw new TypeError('layout must be a Layout');
361
- }
362
- if (layout.hasOwnProperty('boundConstructor_')) {
363
- throw new Error('layout is already bound to a constructor');
364
- }
365
- Class.layout_ = layout;
366
- layout.boundConstructor_ = Class;
367
- layout.makeDestinationObject = (() => new Class());
368
- Object.defineProperty(Class.prototype, 'encode', {
369
- value: function(b, offset) {
370
- return layout.encode(this, b, offset);
371
- },
372
- writable: true,
373
- });
374
- Object.defineProperty(Class, 'decode', {
375
- value: function(b, offset) {
376
- return layout.decode(b, offset);
377
- },
378
- writable: true,
379
- });
380
- }
381
- exports.bindConstructorLayout = bindConstructorLayout;
382
-
383
- /**
384
- * An object that behaves like a layout but does not consume space
385
- * within its containing layout.
386
- *
387
- * This is primarily used to obtain metadata about a member, such as a
388
- * {@link OffsetLayout} that can provide data about a {@link
389
- * Layout#getSpan|value-specific span}.
390
- *
391
- * **NOTE** This is an abstract base class; you can create instances
392
- * if it amuses you, but they won't support {@link
393
- * ExternalLayout#isCount|isCount} or other {@link Layout} functions.
394
- *
395
- * @param {Number} span - initializer for {@link Layout#span|span}.
396
- * The parameter can range from 1 through 6.
397
- *
398
- * @param {string} [property] - initializer for {@link
399
- * Layout#property|property}.
400
- *
401
- * @abstract
402
- * @augments {Layout}
403
- */
404
- class ExternalLayout extends Layout {
405
- /**
406
- * Return `true` iff the external layout decodes to an unsigned
407
- * integer layout.
408
- *
409
- * In that case it can be used as the source of {@link
410
- * Sequence#count|Sequence counts}, {@link Blob#length|Blob lengths},
411
- * or as {@link UnionLayoutDiscriminator#layout|external union
412
- * discriminators}.
413
- *
414
- * @abstract
415
- */
416
- isCount() {
417
- throw new Error('ExternalLayout is abstract');
418
- }
419
- }
420
-
421
- /**
422
- * An {@link ExternalLayout} that determines its {@link
423
- * Layout#decode|value} based on offset into and length of the buffer
424
- * on which it is invoked.
425
- *
426
- * *Factory*: {@link module:Layout.greedy|greedy}
427
- *
428
- * @param {Number} [elementSpan] - initializer for {@link
429
- * GreedyCount#elementSpan|elementSpan}.
430
- *
431
- * @param {string} [property] - initializer for {@link
432
- * Layout#property|property}.
433
- *
434
- * @augments {ExternalLayout}
435
- */
436
- class GreedyCount extends ExternalLayout {
437
- constructor(elementSpan, property) {
438
- if (undefined === elementSpan) {
439
- elementSpan = 1;
440
- }
441
- if ((!Number.isInteger(elementSpan)) || (0 >= elementSpan)) {
442
- throw new TypeError('elementSpan must be a (positive) integer');
443
- }
444
- super(-1, property);
445
-
446
- /** The layout for individual elements of the sequence. The value
447
- * must be a positive integer. If not provided, the value will be
448
- * 1. */
449
- this.elementSpan = elementSpan;
450
- }
451
-
452
- /** @override */
453
- isCount() {
454
- return true;
455
- }
456
-
457
- /** @override */
458
- decode(b, offset) {
459
- if (undefined === offset) {
460
- offset = 0;
461
- }
462
- const rem = b.length - offset;
463
- return Math.floor(rem / this.elementSpan);
464
- }
465
-
466
- /** @override */
467
- encode(src, b, offset) {
468
- return 0;
469
- }
470
- }
471
-
472
- /**
473
- * An {@link ExternalLayout} that supports accessing a {@link Layout}
474
- * at a fixed offset from the start of another Layout. The offset may
475
- * be before, within, or after the base layout.
476
- *
477
- * *Factory*: {@link module:Layout.offset|offset}
478
- *
479
- * @param {Layout} layout - initializer for {@link
480
- * OffsetLayout#layout|layout}, modulo `property`.
481
- *
482
- * @param {Number} [offset] - Initializes {@link
483
- * OffsetLayout#offset|offset}. Defaults to zero.
484
- *
485
- * @param {string} [property] - Optional new property name for a
486
- * {@link Layout#replicate| replica} of `layout` to be used as {@link
487
- * OffsetLayout#layout|layout}. If not provided the `layout` is used
488
- * unchanged.
489
- *
490
- * @augments {Layout}
491
- */
492
- class OffsetLayout extends ExternalLayout {
493
- constructor(layout, offset, property) {
494
- if (!(layout instanceof Layout)) {
495
- throw new TypeError('layout must be a Layout');
496
- }
497
-
498
- if (undefined === offset) {
499
- offset = 0;
500
- } else if (!Number.isInteger(offset)) {
501
- throw new TypeError('offset must be integer or undefined');
502
- }
503
-
504
- super(layout.span, property || layout.property);
505
-
506
- /** The subordinated layout. */
507
- this.layout = layout;
508
-
509
- /** The location of {@link OffsetLayout#layout} relative to the
510
- * start of another layout.
511
- *
512
- * The value may be positive or negative, but an error will thrown
513
- * if at the point of use it goes outside the span of the Buffer
514
- * being accessed. */
515
- this.offset = offset;
516
- }
517
-
518
- /** @override */
519
- isCount() {
520
- return ((this.layout instanceof UInt)
521
- || (this.layout instanceof UIntBE));
522
- }
523
-
524
- /** @override */
525
- decode(b, offset) {
526
- if (undefined === offset) {
527
- offset = 0;
528
- }
529
- return this.layout.decode(b, offset + this.offset);
530
- }
531
-
532
- /** @override */
533
- encode(src, b, offset) {
534
- if (undefined === offset) {
535
- offset = 0;
536
- }
537
- return this.layout.encode(src, b, offset + this.offset);
538
- }
539
- }
540
-
541
- /**
542
- * Represent an unsigned integer in little-endian format.
543
- *
544
- * *Factory*: {@link module:Layout.u8|u8}, {@link
545
- * module:Layout.u16|u16}, {@link module:Layout.u24|u24}, {@link
546
- * module:Layout.u32|u32}, {@link module:Layout.u40|u40}, {@link
547
- * module:Layout.u48|u48}
548
- *
549
- * @param {Number} span - initializer for {@link Layout#span|span}.
550
- * The parameter can range from 1 through 6.
551
- *
552
- * @param {string} [property] - initializer for {@link
553
- * Layout#property|property}.
554
- *
555
- * @augments {Layout}
556
- */
557
- class UInt extends Layout {
558
- constructor(span, property) {
559
- super(span, property);
560
- if (6 < this.span) {
561
- throw new RangeError('span must not exceed 6 bytes');
562
- }
563
- }
564
-
565
- /** @override */
566
- decode(b, offset) {
567
- if (undefined === offset) {
568
- offset = 0;
569
- }
570
- return b.readUIntLE(offset, this.span);
571
- }
572
-
573
- /** @override */
574
- encode(src, b, offset) {
575
- if (undefined === offset) {
576
- offset = 0;
577
- }
578
- b.writeUIntLE(src, offset, this.span);
579
- return this.span;
580
- }
581
- }
582
-
583
- /**
584
- * Represent an unsigned integer in big-endian format.
585
- *
586
- * *Factory*: {@link module:Layout.u8be|u8be}, {@link
587
- * module:Layout.u16be|u16be}, {@link module:Layout.u24be|u24be},
588
- * {@link module:Layout.u32be|u32be}, {@link
589
- * module:Layout.u40be|u40be}, {@link module:Layout.u48be|u48be}
590
- *
591
- * @param {Number} span - initializer for {@link Layout#span|span}.
592
- * The parameter can range from 1 through 6.
593
- *
594
- * @param {string} [property] - initializer for {@link
595
- * Layout#property|property}.
596
- *
597
- * @augments {Layout}
598
- */
599
- class UIntBE extends Layout {
600
- constructor(span, property) {
601
- super( span, property);
602
- if (6 < this.span) {
603
- throw new RangeError('span must not exceed 6 bytes');
604
- }
605
- }
606
-
607
- /** @override */
608
- decode(b, offset) {
609
- if (undefined === offset) {
610
- offset = 0;
611
- }
612
- return b.readUIntBE(offset, this.span);
613
- }
614
-
615
- /** @override */
616
- encode(src, b, offset) {
617
- if (undefined === offset) {
618
- offset = 0;
619
- }
620
- b.writeUIntBE(src, offset, this.span);
621
- return this.span;
622
- }
623
- }
624
-
625
- /**
626
- * Represent a signed integer in little-endian format.
627
- *
628
- * *Factory*: {@link module:Layout.s8|s8}, {@link
629
- * module:Layout.s16|s16}, {@link module:Layout.s24|s24}, {@link
630
- * module:Layout.s32|s32}, {@link module:Layout.s40|s40}, {@link
631
- * module:Layout.s48|s48}
632
- *
633
- * @param {Number} span - initializer for {@link Layout#span|span}.
634
- * The parameter can range from 1 through 6.
635
- *
636
- * @param {string} [property] - initializer for {@link
637
- * Layout#property|property}.
638
- *
639
- * @augments {Layout}
640
- */
641
- class Int extends Layout {
642
- constructor(span, property) {
643
- super(span, property);
644
- if (6 < this.span) {
645
- throw new RangeError('span must not exceed 6 bytes');
646
- }
647
- }
648
-
649
- /** @override */
650
- decode(b, offset) {
651
- if (undefined === offset) {
652
- offset = 0;
653
- }
654
- return b.readIntLE(offset, this.span);
655
- }
656
-
657
- /** @override */
658
- encode(src, b, offset) {
659
- if (undefined === offset) {
660
- offset = 0;
661
- }
662
- b.writeIntLE(src, offset, this.span);
663
- return this.span;
664
- }
665
- }
666
-
667
- /**
668
- * Represent a signed integer in big-endian format.
669
- *
670
- * *Factory*: {@link module:Layout.s8be|s8be}, {@link
671
- * module:Layout.s16be|s16be}, {@link module:Layout.s24be|s24be},
672
- * {@link module:Layout.s32be|s32be}, {@link
673
- * module:Layout.s40be|s40be}, {@link module:Layout.s48be|s48be}
674
- *
675
- * @param {Number} span - initializer for {@link Layout#span|span}.
676
- * The parameter can range from 1 through 6.
677
- *
678
- * @param {string} [property] - initializer for {@link
679
- * Layout#property|property}.
680
- *
681
- * @augments {Layout}
682
- */
683
- class IntBE extends Layout {
684
- constructor(span, property) {
685
- super(span, property);
686
- if (6 < this.span) {
687
- throw new RangeError('span must not exceed 6 bytes');
688
- }
689
- }
690
-
691
- /** @override */
692
- decode(b, offset) {
693
- if (undefined === offset) {
694
- offset = 0;
695
- }
696
- return b.readIntBE(offset, this.span);
697
- }
698
-
699
- /** @override */
700
- encode(src, b, offset) {
701
- if (undefined === offset) {
702
- offset = 0;
703
- }
704
- b.writeIntBE(src, offset, this.span);
705
- return this.span;
706
- }
707
- }
708
-
709
- const V2E32 = Math.pow(2, 32);
710
-
711
- /* True modulus high and low 32-bit words, where low word is always
712
- * non-negative. */
713
- function divmodInt64(src) {
714
- const hi32 = Math.floor(src / V2E32);
715
- const lo32 = src - (hi32 * V2E32);
716
- return {hi32, lo32};
717
- }
718
- /* Reconstruct Number from quotient and non-negative remainder */
719
- function roundedInt64(hi32, lo32) {
720
- return hi32 * V2E32 + lo32;
721
- }
722
-
723
- /**
724
- * Represent an unsigned 64-bit integer in little-endian format when
725
- * encoded and as a near integral JavaScript Number when decoded.
726
- *
727
- * *Factory*: {@link module:Layout.nu64|nu64}
728
- *
729
- * **NOTE** Values with magnitude greater than 2^52 may not decode to
730
- * the exact value of the encoded representation.
731
- *
732
- * @augments {Layout}
733
- */
734
- class NearUInt64 extends Layout {
735
- constructor(property) {
736
- super(8, property);
737
- }
738
-
739
- /** @override */
740
- decode(b, offset) {
741
- if (undefined === offset) {
742
- offset = 0;
743
- }
744
- const lo32 = b.readUInt32LE(offset);
745
- const hi32 = b.readUInt32LE(offset + 4);
746
- return roundedInt64(hi32, lo32);
747
- }
748
-
749
- /** @override */
750
- encode(src, b, offset) {
751
- if (undefined === offset) {
752
- offset = 0;
753
- }
754
- const split = divmodInt64(src);
755
- b.writeUInt32LE(split.lo32, offset);
756
- b.writeUInt32LE(split.hi32, offset + 4);
757
- return 8;
758
- }
759
- }
760
-
761
- /**
762
- * Represent an unsigned 64-bit integer in big-endian format when
763
- * encoded and as a near integral JavaScript Number when decoded.
764
- *
765
- * *Factory*: {@link module:Layout.nu64be|nu64be}
766
- *
767
- * **NOTE** Values with magnitude greater than 2^52 may not decode to
768
- * the exact value of the encoded representation.
769
- *
770
- * @augments {Layout}
771
- */
772
- class NearUInt64BE extends Layout {
773
- constructor(property) {
774
- super(8, property);
775
- }
776
-
777
- /** @override */
778
- decode(b, offset) {
779
- if (undefined === offset) {
780
- offset = 0;
781
- }
782
- const hi32 = b.readUInt32BE(offset);
783
- const lo32 = b.readUInt32BE(offset + 4);
784
- return roundedInt64(hi32, lo32);
785
- }
786
-
787
- /** @override */
788
- encode(src, b, offset) {
789
- if (undefined === offset) {
790
- offset = 0;
791
- }
792
- const split = divmodInt64(src);
793
- b.writeUInt32BE(split.hi32, offset);
794
- b.writeUInt32BE(split.lo32, offset + 4);
795
- return 8;
796
- }
797
- }
798
-
799
- /**
800
- * Represent a signed 64-bit integer in little-endian format when
801
- * encoded and as a near integral JavaScript Number when decoded.
802
- *
803
- * *Factory*: {@link module:Layout.ns64|ns64}
804
- *
805
- * **NOTE** Values with magnitude greater than 2^52 may not decode to
806
- * the exact value of the encoded representation.
807
- *
808
- * @augments {Layout}
809
- */
810
- class NearInt64 extends Layout {
811
- constructor(property) {
812
- super(8, property);
813
- }
814
-
815
- /** @override */
816
- decode(b, offset) {
817
- if (undefined === offset) {
818
- offset = 0;
819
- }
820
- const lo32 = b.readUInt32LE(offset);
821
- const hi32 = b.readInt32LE(offset + 4);
822
- return roundedInt64(hi32, lo32);
823
- }
824
-
825
- /** @override */
826
- encode(src, b, offset) {
827
- if (undefined === offset) {
828
- offset = 0;
829
- }
830
- const split = divmodInt64(src);
831
- b.writeUInt32LE(split.lo32, offset);
832
- b.writeInt32LE(split.hi32, offset + 4);
833
- return 8;
834
- }
835
- }
836
-
837
- /**
838
- * Represent a signed 64-bit integer in big-endian format when
839
- * encoded and as a near integral JavaScript Number when decoded.
840
- *
841
- * *Factory*: {@link module:Layout.ns64be|ns64be}
842
- *
843
- * **NOTE** Values with magnitude greater than 2^52 may not decode to
844
- * the exact value of the encoded representation.
845
- *
846
- * @augments {Layout}
847
- */
848
- class NearInt64BE extends Layout {
849
- constructor(property) {
850
- super(8, property);
851
- }
852
-
853
- /** @override */
854
- decode(b, offset) {
855
- if (undefined === offset) {
856
- offset = 0;
857
- }
858
- const hi32 = b.readInt32BE(offset);
859
- const lo32 = b.readUInt32BE(offset + 4);
860
- return roundedInt64(hi32, lo32);
861
- }
862
-
863
- /** @override */
864
- encode(src, b, offset) {
865
- if (undefined === offset) {
866
- offset = 0;
867
- }
868
- const split = divmodInt64(src);
869
- b.writeInt32BE(split.hi32, offset);
870
- b.writeUInt32BE(split.lo32, offset + 4);
871
- return 8;
872
- }
873
- }
874
-
875
- /**
876
- * Represent a 32-bit floating point number in little-endian format.
877
- *
878
- * *Factory*: {@link module:Layout.f32|f32}
879
- *
880
- * @param {string} [property] - initializer for {@link
881
- * Layout#property|property}.
882
- *
883
- * @augments {Layout}
884
- */
885
- class Float extends Layout {
886
- constructor(property) {
887
- super(4, property);
888
- }
889
-
890
- /** @override */
891
- decode(b, offset) {
892
- if (undefined === offset) {
893
- offset = 0;
894
- }
895
- return b.readFloatLE(offset);
896
- }
897
-
898
- /** @override */
899
- encode(src, b, offset) {
900
- if (undefined === offset) {
901
- offset = 0;
902
- }
903
- b.writeFloatLE(src, offset);
904
- return 4;
905
- }
906
- }
907
-
908
- /**
909
- * Represent a 32-bit floating point number in big-endian format.
910
- *
911
- * *Factory*: {@link module:Layout.f32be|f32be}
912
- *
913
- * @param {string} [property] - initializer for {@link
914
- * Layout#property|property}.
915
- *
916
- * @augments {Layout}
917
- */
918
- class FloatBE extends Layout {
919
- constructor(property) {
920
- super(4, property);
921
- }
922
-
923
- /** @override */
924
- decode(b, offset) {
925
- if (undefined === offset) {
926
- offset = 0;
927
- }
928
- return b.readFloatBE(offset);
929
- }
930
-
931
- /** @override */
932
- encode(src, b, offset) {
933
- if (undefined === offset) {
934
- offset = 0;
935
- }
936
- b.writeFloatBE(src, offset);
937
- return 4;
938
- }
939
- }
940
-
941
- /**
942
- * Represent a 64-bit floating point number in little-endian format.
943
- *
944
- * *Factory*: {@link module:Layout.f64|f64}
945
- *
946
- * @param {string} [property] - initializer for {@link
947
- * Layout#property|property}.
948
- *
949
- * @augments {Layout}
950
- */
951
- class Double extends Layout {
952
- constructor(property) {
953
- super(8, property);
954
- }
955
-
956
- /** @override */
957
- decode(b, offset) {
958
- if (undefined === offset) {
959
- offset = 0;
960
- }
961
- return b.readDoubleLE(offset);
962
- }
963
-
964
- /** @override */
965
- encode(src, b, offset) {
966
- if (undefined === offset) {
967
- offset = 0;
968
- }
969
- b.writeDoubleLE(src, offset);
970
- return 8;
971
- }
972
- }
973
-
974
- /**
975
- * Represent a 64-bit floating point number in big-endian format.
976
- *
977
- * *Factory*: {@link module:Layout.f64be|f64be}
978
- *
979
- * @param {string} [property] - initializer for {@link
980
- * Layout#property|property}.
981
- *
982
- * @augments {Layout}
983
- */
984
- class DoubleBE extends Layout {
985
- constructor(property) {
986
- super(8, property);
987
- }
988
-
989
- /** @override */
990
- decode(b, offset) {
991
- if (undefined === offset) {
992
- offset = 0;
993
- }
994
- return b.readDoubleBE(offset);
995
- }
996
-
997
- /** @override */
998
- encode(src, b, offset) {
999
- if (undefined === offset) {
1000
- offset = 0;
1001
- }
1002
- b.writeDoubleBE(src, offset);
1003
- return 8;
1004
- }
1005
- }
1006
-
1007
- /**
1008
- * Represent a contiguous sequence of a specific layout as an Array.
1009
- *
1010
- * *Factory*: {@link module:Layout.seq|seq}
1011
- *
1012
- * @param {Layout} elementLayout - initializer for {@link
1013
- * Sequence#elementLayout|elementLayout}.
1014
- *
1015
- * @param {(Number|ExternalLayout)} count - initializer for {@link
1016
- * Sequence#count|count}. The parameter must be either a positive
1017
- * integer or an instance of {@link ExternalLayout}.
1018
- *
1019
- * @param {string} [property] - initializer for {@link
1020
- * Layout#property|property}.
1021
- *
1022
- * @augments {Layout}
1023
- */
1024
- class Sequence extends Layout {
1025
- constructor(elementLayout, count, property) {
1026
- if (!(elementLayout instanceof Layout)) {
1027
- throw new TypeError('elementLayout must be a Layout');
1028
- }
1029
- if (!(((count instanceof ExternalLayout) && count.isCount())
1030
- || (Number.isInteger(count) && (0 <= count)))) {
1031
- throw new TypeError('count must be non-negative integer '
1032
- + 'or an unsigned integer ExternalLayout');
1033
- }
1034
- let span = -1;
1035
- if ((!(count instanceof ExternalLayout))
1036
- && (0 < elementLayout.span)) {
1037
- span = count * elementLayout.span;
1038
- }
1039
-
1040
- super(span, property);
1041
-
1042
- /** The layout for individual elements of the sequence. */
1043
- this.elementLayout = elementLayout;
1044
-
1045
- /** The number of elements in the sequence.
1046
- *
1047
- * This will be either a non-negative integer or an instance of
1048
- * {@link ExternalLayout} for which {@link
1049
- * ExternalLayout#isCount|isCount()} is `true`. */
1050
- this.count = count;
1051
- }
1052
-
1053
- /** @override */
1054
- getSpan(b, offset) {
1055
- if (0 <= this.span) {
1056
- return this.span;
1057
- }
1058
- if (undefined === offset) {
1059
- offset = 0;
1060
- }
1061
- let span = 0;
1062
- let count = this.count;
1063
- if (count instanceof ExternalLayout) {
1064
- count = count.decode(b, offset);
1065
- }
1066
- if (0 < this.elementLayout.span) {
1067
- span = count * this.elementLayout.span;
1068
- } else {
1069
- let idx = 0;
1070
- while (idx < count) {
1071
- span += this.elementLayout.getSpan(b, offset + span);
1072
- ++idx;
1073
- }
1074
- }
1075
- return span;
1076
- }
1077
-
1078
- /** @override */
1079
- decode(b, offset) {
1080
- if (undefined === offset) {
1081
- offset = 0;
1082
- }
1083
- const rv = [];
1084
- let i = 0;
1085
- let count = this.count;
1086
- if (count instanceof ExternalLayout) {
1087
- count = count.decode(b, offset);
1088
- }
1089
- while (i < count) {
1090
- rv.push(this.elementLayout.decode(b, offset));
1091
- offset += this.elementLayout.getSpan(b, offset);
1092
- i += 1;
1093
- }
1094
- return rv;
1095
- }
1096
-
1097
- /** Implement {@link Layout#encode|encode} for {@link Sequence}.
1098
- *
1099
- * **NOTE** If `src` is shorter than {@link Sequence#count|count} then
1100
- * the unused space in the buffer is left unchanged. If `src` is
1101
- * longer than {@link Sequence#count|count} the unneeded elements are
1102
- * ignored.
1103
- *
1104
- * **NOTE** If {@link Layout#count|count} is an instance of {@link
1105
- * ExternalLayout} then the length of `src` will be encoded as the
1106
- * count after `src` is encoded. */
1107
- encode(src, b, offset) {
1108
- if (undefined === offset) {
1109
- offset = 0;
1110
- }
1111
- const elo = this.elementLayout;
1112
- const span = src.reduce((span, v) => {
1113
- return span + elo.encode(v, b, offset + span);
1114
- }, 0);
1115
- if (this.count instanceof ExternalLayout) {
1116
- this.count.encode(src.length, b, offset);
1117
- }
1118
- return span;
1119
- }
1120
- }
1121
-
1122
- /**
1123
- * Represent a contiguous sequence of arbitrary layout elements as an
1124
- * Object.
1125
- *
1126
- * *Factory*: {@link module:Layout.struct|struct}
1127
- *
1128
- * **NOTE** The {@link Layout#span|span} of the structure is variable
1129
- * if any layout in {@link Structure#fields|fields} has a variable
1130
- * span. When {@link Layout#encode|encoding} we must have a value for
1131
- * all variable-length fields, or we wouldn't be able to figure out
1132
- * how much space to use for storage. We can only identify the value
1133
- * for a field when it has a {@link Layout#property|property}. As
1134
- * such, although a structure may contain both unnamed fields and
1135
- * variable-length fields, it cannot contain an unnamed
1136
- * variable-length field.
1137
- *
1138
- * @param {Layout[]} fields - initializer for {@link
1139
- * Structure#fields|fields}. An error is raised if this contains a
1140
- * variable-length field for which a {@link Layout#property|property}
1141
- * is not defined.
1142
- *
1143
- * @param {string} [property] - initializer for {@link
1144
- * Layout#property|property}.
1145
- *
1146
- * @param {Boolean} [decodePrefixes] - initializer for {@link
1147
- * Structure#decodePrefixes|property}.
1148
- *
1149
- * @throws {Error} - if `fields` contains an unnamed variable-length
1150
- * layout.
1151
- *
1152
- * @augments {Layout}
1153
- */
1154
- class Structure extends Layout {
1155
- constructor(fields, property, decodePrefixes) {
1156
- if (!(Array.isArray(fields)
1157
- && fields.reduce((acc, v) => acc && (v instanceof Layout), true))) {
1158
- throw new TypeError('fields must be array of Layout instances');
1159
- }
1160
- if (('boolean' === typeof property)
1161
- && (undefined === decodePrefixes)) {
1162
- decodePrefixes = property;
1163
- property = undefined;
1164
- }
1165
-
1166
- /* Verify absence of unnamed variable-length fields. */
1167
- for (const fd of fields) {
1168
- if ((0 > fd.span)
1169
- && (undefined === fd.property)) {
1170
- throw new Error('fields cannot contain unnamed variable-length layout');
1171
- }
1172
- }
1173
-
1174
- let span = -1;
1175
- try {
1176
- span = fields.reduce((span, fd) => span + fd.getSpan(), 0);
1177
- } catch (e) {
1178
- }
1179
- super(span, property);
1180
-
1181
- /** The sequence of {@link Layout} values that comprise the
1182
- * structure.
1183
- *
1184
- * The individual elements need not be the same type, and may be
1185
- * either scalar or aggregate layouts. If a member layout leaves
1186
- * its {@link Layout#property|property} undefined the
1187
- * corresponding region of the buffer associated with the element
1188
- * will not be mutated.
1189
- *
1190
- * @type {Layout[]} */
1191
- this.fields = fields;
1192
-
1193
- /** Control behavior of {@link Layout#decode|decode()} given short
1194
- * buffers.
1195
- *
1196
- * In some situations a structure many be extended with additional
1197
- * fields over time, with older installations providing only a
1198
- * prefix of the full structure. If this property is `true`
1199
- * decoding will accept those buffers and leave subsequent fields
1200
- * undefined, as long as the buffer ends at a field boundary.
1201
- * Defaults to `false`. */
1202
- this.decodePrefixes = !!decodePrefixes;
1203
- }
1204
-
1205
- /** @override */
1206
- getSpan(b, offset) {
1207
- if (0 <= this.span) {
1208
- return this.span;
1209
- }
1210
- if (undefined === offset) {
1211
- offset = 0;
1212
- }
1213
- let span = 0;
1214
- try {
1215
- span = this.fields.reduce((span, fd) => {
1216
- const fsp = fd.getSpan(b, offset);
1217
- offset += fsp;
1218
- return span + fsp;
1219
- }, 0);
1220
- } catch (e) {
1221
- throw new RangeError('indeterminate span');
1222
- }
1223
- return span;
1224
- }
1225
-
1226
- /** @override */
1227
- decode(b, offset) {
1228
- if (undefined === offset) {
1229
- offset = 0;
1230
- }
1231
- const dest = this.makeDestinationObject();
1232
- for (const fd of this.fields) {
1233
- if (undefined !== fd.property) {
1234
- dest[fd.property] = fd.decode(b, offset);
1235
- }
1236
- offset += fd.getSpan(b, offset);
1237
- if (this.decodePrefixes
1238
- && (b.length === offset)) {
1239
- break;
1240
- }
1241
- }
1242
- return dest;
1243
- }
1244
-
1245
- /** Implement {@link Layout#encode|encode} for {@link Structure}.
1246
- *
1247
- * If `src` is missing a property for a member with a defined {@link
1248
- * Layout#property|property} the corresponding region of the buffer is
1249
- * left unmodified. */
1250
- encode(src, b, offset) {
1251
- if (undefined === offset) {
1252
- offset = 0;
1253
- }
1254
- const firstOffset = offset;
1255
- let lastOffset = 0;
1256
- let lastWrote = 0;
1257
- for (const fd of this.fields) {
1258
- let span = fd.span;
1259
- lastWrote = (0 < span) ? span : 0;
1260
- if (undefined !== fd.property) {
1261
- const fv = src[fd.property];
1262
- if (undefined !== fv) {
1263
- lastWrote = fd.encode(fv, b, offset);
1264
- if (0 > span) {
1265
- /* Read the as-encoded span, which is not necessarily the
1266
- * same as what we wrote. */
1267
- span = fd.getSpan(b, offset);
1268
- }
1269
- }
1270
- }
1271
- lastOffset = offset;
1272
- offset += span;
1273
- }
1274
- /* Use (lastOffset + lastWrote) instead of offset because the last
1275
- * item may have had a dynamic length and we don't want to include
1276
- * the padding between it and the end of the space reserved for
1277
- * it. */
1278
- return (lastOffset + lastWrote) - firstOffset;
1279
- }
1280
-
1281
- /** @override */
1282
- fromArray(values) {
1283
- const dest = this.makeDestinationObject();
1284
- for (const fd of this.fields) {
1285
- if ((undefined !== fd.property)
1286
- && (0 < values.length)) {
1287
- dest[fd.property] = values.shift();
1288
- }
1289
- }
1290
- return dest;
1291
- }
1292
-
1293
- /**
1294
- * Get access to the layout of a given property.
1295
- *
1296
- * @param {String} property - the structure member of interest.
1297
- *
1298
- * @return {Layout} - the layout associated with `property`, or
1299
- * undefined if there is no such property.
1300
- */
1301
- layoutFor(property) {
1302
- if ('string' !== typeof property) {
1303
- throw new TypeError('property must be string');
1304
- }
1305
- for (const fd of this.fields) {
1306
- if (fd.property === property) {
1307
- return fd;
1308
- }
1309
- }
1310
- }
1311
-
1312
- /**
1313
- * Get the offset of a structure member.
1314
- *
1315
- * @param {String} property - the structure member of interest.
1316
- *
1317
- * @return {Number} - the offset in bytes to the start of `property`
1318
- * within the structure, or undefined if `property` is not a field
1319
- * within the structure. If the property is a member but follows a
1320
- * variable-length structure member a negative number will be
1321
- * returned.
1322
- */
1323
- offsetOf(property) {
1324
- if ('string' !== typeof property) {
1325
- throw new TypeError('property must be string');
1326
- }
1327
- let offset = 0;
1328
- for (const fd of this.fields) {
1329
- if (fd.property === property) {
1330
- return offset;
1331
- }
1332
- if (0 > fd.span) {
1333
- offset = -1;
1334
- } else if (0 <= offset) {
1335
- offset += fd.span;
1336
- }
1337
- }
1338
- }
1339
- }
1340
-
1341
- /**
1342
- * An object that can provide a {@link
1343
- * Union#discriminator|discriminator} API for {@link Union}.
1344
- *
1345
- * **NOTE** This is an abstract base class; you can create instances
1346
- * if it amuses you, but they won't support the {@link
1347
- * UnionDiscriminator#encode|encode} or {@link
1348
- * UnionDiscriminator#decode|decode} functions.
1349
- *
1350
- * @param {string} [property] - Default for {@link
1351
- * UnionDiscriminator#property|property}.
1352
- *
1353
- * @abstract
1354
- */
1355
- class UnionDiscriminator {
1356
- constructor(property) {
1357
- /** The {@link Layout#property|property} to be used when the
1358
- * discriminator is referenced in isolation (generally when {@link
1359
- * Union#decode|Union decode} cannot delegate to a specific
1360
- * variant). */
1361
- this.property = property;
1362
- }
1363
-
1364
- /** Analog to {@link Layout#decode|Layout decode} for union discriminators.
1365
- *
1366
- * The implementation of this method need not reference the buffer if
1367
- * variant information is available through other means. */
1368
- decode() {
1369
- throw new Error('UnionDiscriminator is abstract');
1370
- }
1371
-
1372
- /** Analog to {@link Layout#decode|Layout encode} for union discriminators.
1373
- *
1374
- * The implementation of this method need not store the value if
1375
- * variant information is maintained through other means. */
1376
- encode() {
1377
- throw new Error('UnionDiscriminator is abstract');
1378
- }
1379
- }
1380
-
1381
- /**
1382
- * An object that can provide a {@link
1383
- * UnionDiscriminator|discriminator API} for {@link Union} using an
1384
- * unsigned integral {@link Layout} instance located either inside or
1385
- * outside the union.
1386
- *
1387
- * @param {ExternalLayout} layout - initializes {@link
1388
- * UnionLayoutDiscriminator#layout|layout}. Must satisfy {@link
1389
- * ExternalLayout#isCount|isCount()}.
1390
- *
1391
- * @param {string} [property] - Default for {@link
1392
- * UnionDiscriminator#property|property}, superseding the property
1393
- * from `layout`, but defaulting to `variant` if neither `property`
1394
- * nor layout provide a property name.
1395
- *
1396
- * @augments {UnionDiscriminator}
1397
- */
1398
- class UnionLayoutDiscriminator extends UnionDiscriminator {
1399
- constructor(layout, property) {
1400
- if (!((layout instanceof ExternalLayout)
1401
- && layout.isCount())) {
1402
- throw new TypeError('layout must be an unsigned integer ExternalLayout');
1403
- }
1404
-
1405
- super(property || layout.property || 'variant');
1406
-
1407
- /** The {@link ExternalLayout} used to access the discriminator
1408
- * value. */
1409
- this.layout = layout;
1410
- }
1411
-
1412
- /** Delegate decoding to {@link UnionLayoutDiscriminator#layout|layout}. */
1413
- decode(b, offset) {
1414
- return this.layout.decode(b, offset);
1415
- }
1416
-
1417
- /** Delegate encoding to {@link UnionLayoutDiscriminator#layout|layout}. */
1418
- encode(src, b, offset) {
1419
- return this.layout.encode(src, b, offset);
1420
- }
1421
- }
1422
-
1423
- /**
1424
- * Represent any number of span-compatible layouts.
1425
- *
1426
- * *Factory*: {@link module:Layout.union|union}
1427
- *
1428
- * If the union has a {@link Union#defaultLayout|default layout} that
1429
- * layout must have a non-negative {@link Layout#span|span}. The span
1430
- * of a fixed-span union includes its {@link
1431
- * Union#discriminator|discriminator} if the variant is a {@link
1432
- * Union#usesPrefixDiscriminator|prefix of the union}, plus the span
1433
- * of its {@link Union#defaultLayout|default layout}.
1434
- *
1435
- * If the union does not have a default layout then the encoded span
1436
- * of the union depends on the encoded span of its variant (which may
1437
- * be fixed or variable).
1438
- *
1439
- * {@link VariantLayout#layout|Variant layout}s are added through
1440
- * {@link Union#addVariant|addVariant}. If the union has a default
1441
- * layout, the span of the {@link VariantLayout#layout|layout
1442
- * contained by the variant} must not exceed the span of the {@link
1443
- * Union#defaultLayout|default layout} (minus the span of a {@link
1444
- * Union#usesPrefixDiscriminator|prefix disriminator}, if used). The
1445
- * span of the variant will equal the span of the union itself.
1446
- *
1447
- * The variant for a buffer can only be identified from the {@link
1448
- * Union#discriminator|discriminator} {@link
1449
- * UnionDiscriminator#property|property} (in the case of the {@link
1450
- * Union#defaultLayout|default layout}), or by using {@link
1451
- * Union#getVariant|getVariant} and examining the resulting {@link
1452
- * VariantLayout} instance.
1453
- *
1454
- * A variant compatible with a JavaScript object can be identified
1455
- * using {@link Union#getSourceVariant|getSourceVariant}.
1456
- *
1457
- * @param {(UnionDiscriminator|ExternalLayout|Layout)} discr - How to
1458
- * identify the layout used to interpret the union contents. The
1459
- * parameter must be an instance of {@link UnionDiscriminator}, an
1460
- * {@link ExternalLayout} that satisfies {@link
1461
- * ExternalLayout#isCount|isCount()}, or {@link UInt} (or {@link
1462
- * UIntBE}). When a non-external layout element is passed the layout
1463
- * appears at the start of the union. In all cases the (synthesized)
1464
- * {@link UnionDiscriminator} instance is recorded as {@link
1465
- * Union#discriminator|discriminator}.
1466
- *
1467
- * @param {(Layout|null)} defaultLayout - initializer for {@link
1468
- * Union#defaultLayout|defaultLayout}. If absent defaults to `null`.
1469
- * If `null` there is no default layout: the union has data-dependent
1470
- * length and attempts to decode or encode unrecognized variants will
1471
- * throw an exception. A {@link Layout} instance must have a
1472
- * non-negative {@link Layout#span|span}, and if it lacks a {@link
1473
- * Layout#property|property} the {@link
1474
- * Union#defaultLayout|defaultLayout} will be a {@link
1475
- * Layout#replicate|replica} with property `content`.
1476
- *
1477
- * @param {string} [property] - initializer for {@link
1478
- * Layout#property|property}.
1479
- *
1480
- * @augments {Layout}
1481
- */
1482
- class Union extends Layout {
1483
- constructor(discr, defaultLayout, property) {
1484
- const upv = ((discr instanceof UInt)
1485
- || (discr instanceof UIntBE));
1486
- if (upv) {
1487
- discr = new UnionLayoutDiscriminator(new OffsetLayout(discr));
1488
- } else if ((discr instanceof ExternalLayout)
1489
- && discr.isCount()) {
1490
- discr = new UnionLayoutDiscriminator(discr);
1491
- } else if (!(discr instanceof UnionDiscriminator)) {
1492
- throw new TypeError('discr must be a UnionDiscriminator '
1493
- + 'or an unsigned integer layout');
1494
- }
1495
- if (undefined === defaultLayout) {
1496
- defaultLayout = null;
1497
- }
1498
- if (!((null === defaultLayout)
1499
- || (defaultLayout instanceof Layout))) {
1500
- throw new TypeError('defaultLayout must be null or a Layout');
1501
- }
1502
- if (null !== defaultLayout) {
1503
- if (0 > defaultLayout.span) {
1504
- throw new Error('defaultLayout must have constant span');
1505
- }
1506
- if (undefined === defaultLayout.property) {
1507
- defaultLayout = defaultLayout.replicate('content');
1508
- }
1509
- }
1510
-
1511
- /* The union span can be estimated only if there's a default
1512
- * layout. The union spans its default layout, plus any prefix
1513
- * variant layout. By construction both layouts, if present, have
1514
- * non-negative span. */
1515
- let span = -1;
1516
- if (defaultLayout) {
1517
- span = defaultLayout.span;
1518
- if ((0 <= span) && upv) {
1519
- span += discr.layout.span;
1520
- }
1521
- }
1522
- super(span, property);
1523
-
1524
- /** The interface for the discriminator value in isolation.
1525
- *
1526
- * This a {@link UnionDiscriminator} either passed to the
1527
- * constructor or synthesized from the `discr` constructor
1528
- * argument. {@link
1529
- * Union#usesPrefixDiscriminator|usesPrefixDiscriminator} will be
1530
- * `true` iff the `discr` parameter was a non-offset {@link
1531
- * Layout} instance. */
1532
- this.discriminator = discr;
1533
-
1534
- /** `true` if the {@link Union#discriminator|discriminator} is the
1535
- * first field in the union.
1536
- *
1537
- * If `false` the discriminator is obtained from somewhere
1538
- * else. */
1539
- this.usesPrefixDiscriminator = upv;
1540
-
1541
- /** The layout for non-discriminator content when the value of the
1542
- * discriminator is not recognized.
1543
- *
1544
- * This is the value passed to the constructor. It is
1545
- * structurally equivalent to the second component of {@link
1546
- * Union#layout|layout} but may have a different property
1547
- * name. */
1548
- this.defaultLayout = defaultLayout;
1549
-
1550
- /** A registry of allowed variants.
1551
- *
1552
- * The keys are unsigned integers which should be compatible with
1553
- * {@link Union.discriminator|discriminator}. The property value
1554
- * is the corresponding {@link VariantLayout} instances assigned
1555
- * to this union by {@link Union#addVariant|addVariant}.
1556
- *
1557
- * **NOTE** The registry remains mutable so that variants can be
1558
- * {@link Union#addVariant|added} at any time. Users should not
1559
- * manipulate the content of this property. */
1560
- this.registry = {};
1561
-
1562
- /* Private variable used when invoking getSourceVariant */
1563
- let boundGetSourceVariant = this.defaultGetSourceVariant.bind(this);
1564
-
1565
- /** Function to infer the variant selected by a source object.
1566
- *
1567
- * Defaults to {@link
1568
- * Union#defaultGetSourceVariant|defaultGetSourceVariant} but may
1569
- * be overridden using {@link
1570
- * Union#configGetSourceVariant|configGetSourceVariant}.
1571
- *
1572
- * @param {Object} src - as with {@link
1573
- * Union#defaultGetSourceVariant|defaultGetSourceVariant}.
1574
- *
1575
- * @returns {(undefined|VariantLayout)} The default variant
1576
- * (`undefined`) or first registered variant that uses a property
1577
- * available in `src`. */
1578
- this.getSourceVariant = function(src) {
1579
- return boundGetSourceVariant(src);
1580
- };
1581
-
1582
- /** Function to override the implementation of {@link
1583
- * Union#getSourceVariant|getSourceVariant}.
1584
- *
1585
- * Use this if the desired variant cannot be identified using the
1586
- * algorithm of {@link
1587
- * Union#defaultGetSourceVariant|defaultGetSourceVariant}.
1588
- *
1589
- * **NOTE** The provided function will be invoked bound to this
1590
- * Union instance, providing local access to {@link
1591
- * Union#registry|registry}.
1592
- *
1593
- * @param {Function} gsv - a function that follows the API of
1594
- * {@link Union#defaultGetSourceVariant|defaultGetSourceVariant}. */
1595
- this.configGetSourceVariant = function(gsv) {
1596
- boundGetSourceVariant = gsv.bind(this);
1597
- };
1598
- }
1599
-
1600
- /** @override */
1601
- getSpan(b, offset) {
1602
- if (0 <= this.span) {
1603
- return this.span;
1604
- }
1605
- if (undefined === offset) {
1606
- offset = 0;
1607
- }
1608
- /* Default layouts always have non-negative span, so we don't have
1609
- * one and we have to recognize the variant which will in turn
1610
- * determine the span. */
1611
- const vlo = this.getVariant(b, offset);
1612
- if (!vlo) {
1613
- throw new Error('unable to determine span for unrecognized variant');
1614
- }
1615
- return vlo.getSpan(b, offset);
1616
- }
1617
-
1618
- /**
1619
- * Method to infer a registered Union variant compatible with `src`.
1620
- *
1621
- * The first satisified rule in the following sequence defines the
1622
- * return value:
1623
- * * If `src` has properties matching the Union discriminator and
1624
- * the default layout, `undefined` is returned regardless of the
1625
- * value of the discriminator property (this ensures the default
1626
- * layout will be used);
1627
- * * If `src` has a property matching the Union discriminator, the
1628
- * value of the discriminator identifies a registered variant, and
1629
- * either (a) the variant has no layout, or (b) `src` has the
1630
- * variant's property, then the variant is returned (because the
1631
- * source satisfies the constraints of the variant it identifies);
1632
- * * If `src` does not have a property matching the Union
1633
- * discriminator, but does have a property matching a registered
1634
- * variant, then the variant is returned (because the source
1635
- * matches a variant without an explicit conflict);
1636
- * * An error is thrown (because we either can't identify a variant,
1637
- * or we were explicitly told the variant but can't satisfy it).
1638
- *
1639
- * @param {Object} src - an object presumed to be compatible with
1640
- * the content of the Union.
1641
- *
1642
- * @return {(undefined|VariantLayout)} - as described above.
1643
- *
1644
- * @throws {Error} - if `src` cannot be associated with a default or
1645
- * registered variant.
1646
- */
1647
- defaultGetSourceVariant(src) {
1648
- if (src.hasOwnProperty(this.discriminator.property)) {
1649
- if (this.defaultLayout
1650
- && src.hasOwnProperty(this.defaultLayout.property)) {
1651
- return undefined;
1652
- }
1653
- const vlo = this.registry[src[this.discriminator.property]];
1654
- if (vlo
1655
- && ((!vlo.layout)
1656
- || src.hasOwnProperty(vlo.property))) {
1657
- return vlo;
1658
- }
1659
- } else {
1660
- for (const tag in this.registry) {
1661
- const vlo = this.registry[tag];
1662
- if (src.hasOwnProperty(vlo.property)) {
1663
- return vlo;
1664
- }
1665
- }
1666
- }
1667
- throw new Error('unable to infer src variant');
1668
- }
1669
-
1670
- /** Implement {@link Layout#decode|decode} for {@link Union}.
1671
- *
1672
- * If the variant is {@link Union#addVariant|registered} the return
1673
- * value is an instance of that variant, with no explicit
1674
- * discriminator. Otherwise the {@link Union#defaultLayout|default
1675
- * layout} is used to decode the content. */
1676
- decode(b, offset) {
1677
- if (undefined === offset) {
1678
- offset = 0;
1679
- }
1680
- let dest;
1681
- const dlo = this.discriminator;
1682
- const discr = dlo.decode(b, offset);
1683
- let clo = this.registry[discr];
1684
- if (undefined === clo) {
1685
- let contentOffset = 0;
1686
- clo = this.defaultLayout;
1687
- if (this.usesPrefixDiscriminator) {
1688
- contentOffset = dlo.layout.span;
1689
- }
1690
- dest = this.makeDestinationObject();
1691
- dest[dlo.property] = discr;
1692
- dest[clo.property] = this.defaultLayout.decode(b, offset + contentOffset);
1693
- } else {
1694
- dest = clo.decode(b, offset);
1695
- }
1696
- return dest;
1697
- }
1698
-
1699
- /** Implement {@link Layout#encode|encode} for {@link Union}.
1700
- *
1701
- * This API assumes the `src` object is consistent with the union's
1702
- * {@link Union#defaultLayout|default layout}. To encode variants
1703
- * use the appropriate variant-specific {@link VariantLayout#encode}
1704
- * method. */
1705
- encode(src, b, offset) {
1706
- if (undefined === offset) {
1707
- offset = 0;
1708
- }
1709
- const vlo = this.getSourceVariant(src);
1710
- if (undefined === vlo) {
1711
- const dlo = this.discriminator;
1712
- const clo = this.defaultLayout;
1713
- let contentOffset = 0;
1714
- if (this.usesPrefixDiscriminator) {
1715
- contentOffset = dlo.layout.span;
1716
- }
1717
- dlo.encode(src[dlo.property], b, offset);
1718
- return contentOffset + clo.encode(src[clo.property], b,
1719
- offset + contentOffset);
1720
- }
1721
- return vlo.encode(src, b, offset);
1722
- }
1723
-
1724
- /** Register a new variant structure within a union. The newly
1725
- * created variant is returned.
1726
- *
1727
- * @param {Number} variant - initializer for {@link
1728
- * VariantLayout#variant|variant}.
1729
- *
1730
- * @param {Layout} layout - initializer for {@link
1731
- * VariantLayout#layout|layout}.
1732
- *
1733
- * @param {String} property - initializer for {@link
1734
- * Layout#property|property}.
1735
- *
1736
- * @return {VariantLayout} */
1737
- addVariant(variant, layout, property) {
1738
- const rv = new VariantLayout(this, variant, layout, property);
1739
- this.registry[variant] = rv;
1740
- return rv;
1741
- }
1742
-
1743
- /**
1744
- * Get the layout associated with a registered variant.
1745
- *
1746
- * If `vb` does not produce a registered variant the function returns
1747
- * `undefined`.
1748
- *
1749
- * @param {(Number|Buffer)} vb - either the variant number, or a
1750
- * buffer from which the discriminator is to be read.
1751
- *
1752
- * @param {Number} offset - offset into `vb` for the start of the
1753
- * union. Used only when `vb` is an instance of {Buffer}.
1754
- *
1755
- * @return {({VariantLayout}|undefined)}
1756
- */
1757
- getVariant(vb, offset) {
1758
- let variant = vb;
1759
- if (Buffer.isBuffer(vb)) {
1760
- if (undefined === offset) {
1761
- offset = 0;
1762
- }
1763
- variant = this.discriminator.decode(vb, offset);
1764
- }
1765
- return this.registry[variant];
1766
- }
1767
- }
1768
-
1769
- /**
1770
- * Represent a specific variant within a containing union.
1771
- *
1772
- * **NOTE** The {@link Layout#span|span} of the variant may include
1773
- * the span of the {@link Union#discriminator|discriminator} used to
1774
- * identify it, but values read and written using the variant strictly
1775
- * conform to the content of {@link VariantLayout#layout|layout}.
1776
- *
1777
- * **NOTE** User code should not invoke this constructor directly. Use
1778
- * the union {@link Union#addVariant|addVariant} helper method.
1779
- *
1780
- * @param {Union} union - initializer for {@link
1781
- * VariantLayout#union|union}.
1782
- *
1783
- * @param {Number} variant - initializer for {@link
1784
- * VariantLayout#variant|variant}.
1785
- *
1786
- * @param {Layout} [layout] - initializer for {@link
1787
- * VariantLayout#layout|layout}. If absent the variant carries no
1788
- * data.
1789
- *
1790
- * @param {String} [property] - initializer for {@link
1791
- * Layout#property|property}. Unlike many other layouts, variant
1792
- * layouts normally include a property name so they can be identified
1793
- * within their containing {@link Union}. The property identifier may
1794
- * be absent only if `layout` is is absent.
1795
- *
1796
- * @augments {Layout}
1797
- */
1798
- class VariantLayout extends Layout {
1799
- constructor(union, variant, layout, property) {
1800
- if (!(union instanceof Union)) {
1801
- throw new TypeError('union must be a Union');
1802
- }
1803
- if ((!Number.isInteger(variant)) || (0 > variant)) {
1804
- throw new TypeError('variant must be a (non-negative) integer');
1805
- }
1806
- if (('string' === typeof layout)
1807
- && (undefined === property)) {
1808
- property = layout;
1809
- layout = null;
1810
- }
1811
- if (layout) {
1812
- if (!(layout instanceof Layout)) {
1813
- throw new TypeError('layout must be a Layout');
1814
- }
1815
- if ((null !== union.defaultLayout)
1816
- && (0 <= layout.span)
1817
- && (layout.span > union.defaultLayout.span)) {
1818
- throw new Error('variant span exceeds span of containing union');
1819
- }
1820
- if ('string' !== typeof property) {
1821
- throw new TypeError('variant must have a String property');
1822
- }
1823
- }
1824
- let span = union.span;
1825
- if (0 > union.span) {
1826
- span = layout ? layout.span : 0;
1827
- if ((0 <= span) && union.usesPrefixDiscriminator) {
1828
- span += union.discriminator.layout.span;
1829
- }
1830
- }
1831
- super(span, property);
1832
-
1833
- /** The {@link Union} to which this variant belongs. */
1834
- this.union = union;
1835
-
1836
- /** The unsigned integral value identifying this variant within
1837
- * the {@link Union#discriminator|discriminator} of the containing
1838
- * union. */
1839
- this.variant = variant;
1840
-
1841
- /** The {@link Layout} to be used when reading/writing the
1842
- * non-discriminator part of the {@link
1843
- * VariantLayout#union|union}. If `null` the variant carries no
1844
- * data. */
1845
- this.layout = layout || null;
1846
- }
1847
-
1848
- /** @override */
1849
- getSpan(b, offset) {
1850
- if (0 <= this.span) {
1851
- /* Will be equal to the containing union span if that is not
1852
- * variable. */
1853
- return this.span;
1854
- }
1855
- if (undefined === offset) {
1856
- offset = 0;
1857
- }
1858
- let contentOffset = 0;
1859
- if (this.union.usesPrefixDiscriminator) {
1860
- contentOffset = this.union.discriminator.layout.span;
1861
- }
1862
- /* Span is defined solely by the variant (and prefix discriminator) */
1863
- return contentOffset + this.layout.getSpan(b, offset + contentOffset);
1864
- }
1865
-
1866
- /** @override */
1867
- decode(b, offset) {
1868
- const dest = this.makeDestinationObject();
1869
- if (undefined === offset) {
1870
- offset = 0;
1871
- }
1872
- if (this !== this.union.getVariant(b, offset)) {
1873
- throw new Error('variant mismatch');
1874
- }
1875
- let contentOffset = 0;
1876
- if (this.union.usesPrefixDiscriminator) {
1877
- contentOffset = this.union.discriminator.layout.span;
1878
- }
1879
- if (this.layout) {
1880
- dest[this.property] = this.layout.decode(b, offset + contentOffset);
1881
- } else if (this.property) {
1882
- dest[this.property] = true;
1883
- } else if (this.union.usesPrefixDiscriminator) {
1884
- dest[this.union.discriminator.property] = this.variant;
1885
- }
1886
- return dest;
1887
- }
1888
-
1889
- /** @override */
1890
- encode(src, b, offset) {
1891
- if (undefined === offset) {
1892
- offset = 0;
1893
- }
1894
- let contentOffset = 0;
1895
- if (this.union.usesPrefixDiscriminator) {
1896
- contentOffset = this.union.discriminator.layout.span;
1897
- }
1898
- if (this.layout
1899
- && (!src.hasOwnProperty(this.property))) {
1900
- throw new TypeError('variant lacks property ' + this.property);
1901
- }
1902
- this.union.discriminator.encode(this.variant, b, offset);
1903
- let span = contentOffset;
1904
- if (this.layout) {
1905
- this.layout.encode(src[this.property], b, offset + contentOffset);
1906
- span += this.layout.getSpan(b, offset + contentOffset);
1907
- if ((0 <= this.union.span)
1908
- && (span > this.union.span)) {
1909
- throw new Error('encoded variant overruns containing union');
1910
- }
1911
- }
1912
- return span;
1913
- }
1914
-
1915
- /** Delegate {@link Layout#fromArray|fromArray} to {@link
1916
- * VariantLayout#layout|layout}. */
1917
- fromArray(values) {
1918
- if (this.layout) {
1919
- return this.layout.fromArray(values);
1920
- }
1921
- }
1922
- }
1923
-
1924
- /** JavaScript chose to define bitwise operations as operating on
1925
- * signed 32-bit values in 2's complement form, meaning any integer
1926
- * with bit 31 set is going to look negative. For right shifts that's
1927
- * not a problem, because `>>>` is a logical shift, but for every
1928
- * other bitwise operator we have to compensate for possible negative
1929
- * results. */
1930
- function fixBitwiseResult(v) {
1931
- if (0 > v) {
1932
- v += 0x100000000;
1933
- }
1934
- return v;
1935
- }
1936
-
1937
- /**
1938
- * Contain a sequence of bit fields as an unsigned integer.
1939
- *
1940
- * *Factory*: {@link module:Layout.bits|bits}
1941
- *
1942
- * This is a container element; within it there are {@link BitField}
1943
- * instances that provide the extracted properties. The container
1944
- * simply defines the aggregate representation and its bit ordering.
1945
- * The representation is an object containing properties with numeric
1946
- * or {@link Boolean} values.
1947
- *
1948
- * {@link BitField}s are added with the {@link
1949
- * BitStructure#addField|addField} and {@link
1950
- * BitStructure#addBoolean|addBoolean} methods.
1951
-
1952
- * @param {Layout} word - initializer for {@link
1953
- * BitStructure#word|word}. The parameter must be an instance of
1954
- * {@link UInt} (or {@link UIntBE}) that is no more than 4 bytes wide.
1955
- *
1956
- * @param {bool} [msb] - `true` if the bit numbering starts at the
1957
- * most significant bit of the containing word; `false` (default) if
1958
- * it starts at the least significant bit of the containing word. If
1959
- * the parameter at this position is a string and `property` is
1960
- * `undefined` the value of this argument will instead be used as the
1961
- * value of `property`.
1962
- *
1963
- * @param {string} [property] - initializer for {@link
1964
- * Layout#property|property}.
1965
- *
1966
- * @augments {Layout}
1967
- */
1968
- class BitStructure extends Layout {
1969
- constructor(word, msb, property) {
1970
- if (!((word instanceof UInt)
1971
- || (word instanceof UIntBE))) {
1972
- throw new TypeError('word must be a UInt or UIntBE layout');
1973
- }
1974
- if (('string' === typeof msb)
1975
- && (undefined === property)) {
1976
- property = msb;
1977
- msb = undefined;
1978
- }
1979
- if (4 < word.span) {
1980
- throw new RangeError('word cannot exceed 32 bits');
1981
- }
1982
- super(word.span, property);
1983
-
1984
- /** The layout used for the packed value. {@link BitField}
1985
- * instances are packed sequentially depending on {@link
1986
- * BitStructure#msb|msb}. */
1987
- this.word = word;
1988
-
1989
- /** Whether the bit sequences are packed starting at the most
1990
- * significant bit growing down (`true`), or the least significant
1991
- * bit growing up (`false`).
1992
- *
1993
- * **NOTE** Regardless of this value, the least significant bit of
1994
- * any {@link BitField} value is the least significant bit of the
1995
- * corresponding section of the packed value. */
1996
- this.msb = !!msb;
1997
-
1998
- /** The sequence of {@link BitField} layouts that comprise the
1999
- * packed structure.
2000
- *
2001
- * **NOTE** The array remains mutable to allow fields to be {@link
2002
- * BitStructure#addField|added} after construction. Users should
2003
- * not manipulate the content of this property.*/
2004
- this.fields = [];
2005
-
2006
- /* Storage for the value. Capture a variable instead of using an
2007
- * instance property because we don't want anything to change the
2008
- * value without going through the mutator. */
2009
- let value = 0;
2010
- this._packedSetValue = function(v) {
2011
- value = fixBitwiseResult(v);
2012
- return this;
2013
- };
2014
- this._packedGetValue = function() {
2015
- return value;
2016
- };
2017
- }
2018
-
2019
- /** @override */
2020
- decode(b, offset) {
2021
- const dest = this.makeDestinationObject();
2022
- if (undefined === offset) {
2023
- offset = 0;
2024
- }
2025
- const value = this.word.decode(b, offset);
2026
- this._packedSetValue(value);
2027
- for (const fd of this.fields) {
2028
- if (undefined !== fd.property) {
2029
- dest[fd.property] = fd.decode(value);
2030
- }
2031
- }
2032
- return dest;
2033
- }
2034
-
2035
- /** Implement {@link Layout#encode|encode} for {@link BitStructure}.
2036
- *
2037
- * If `src` is missing a property for a member with a defined {@link
2038
- * Layout#property|property} the corresponding region of the packed
2039
- * value is left unmodified. Unused bits are also left unmodified. */
2040
- encode(src, b, offset) {
2041
- if (undefined === offset) {
2042
- offset = 0;
2043
- }
2044
- const value = this.word.decode(b, offset);
2045
- this._packedSetValue(value);
2046
- for (const fd of this.fields) {
2047
- if (undefined !== fd.property) {
2048
- const fv = src[fd.property];
2049
- if (undefined !== fv) {
2050
- fd.encode(fv);
2051
- }
2052
- }
2053
- }
2054
- return this.word.encode(this._packedGetValue(), b, offset);
2055
- }
2056
-
2057
- /** Register a new bitfield with a containing bit structure. The
2058
- * resulting bitfield is returned.
2059
- *
2060
- * @param {Number} bits - initializer for {@link BitField#bits|bits}.
2061
- *
2062
- * @param {string} property - initializer for {@link
2063
- * Layout#property|property}.
2064
- *
2065
- * @return {BitField} */
2066
- addField(bits, property) {
2067
- const bf = new BitField(this, bits, property);
2068
- this.fields.push(bf);
2069
- return bf;
2070
- }
2071
-
2072
- /** As with {@link BitStructure#addField|addField} for single-bit
2073
- * fields with `boolean` value representation.
2074
- *
2075
- * @param {string} property - initializer for {@link
2076
- * Layout#property|property}.
2077
- *
2078
- * @return {Boolean} */
2079
- addBoolean(property) {
2080
- // This is my Boolean, not the Javascript one.
2081
- // eslint-disable-next-line no-new-wrappers
2082
- const bf = new Boolean(this, property);
2083
- this.fields.push(bf);
2084
- return bf;
2085
- }
2086
-
2087
- /**
2088
- * Get access to the bit field for a given property.
2089
- *
2090
- * @param {String} property - the bit field of interest.
2091
- *
2092
- * @return {BitField} - the field associated with `property`, or
2093
- * undefined if there is no such property.
2094
- */
2095
- fieldFor(property) {
2096
- if ('string' !== typeof property) {
2097
- throw new TypeError('property must be string');
2098
- }
2099
- for (const fd of this.fields) {
2100
- if (fd.property === property) {
2101
- return fd;
2102
- }
2103
- }
2104
- }
2105
- }
2106
-
2107
- /**
2108
- * Represent a sequence of bits within a {@link BitStructure}.
2109
- *
2110
- * All bit field values are represented as unsigned integers.
2111
- *
2112
- * **NOTE** User code should not invoke this constructor directly.
2113
- * Use the container {@link BitStructure#addField|addField} helper
2114
- * method.
2115
- *
2116
- * **NOTE** BitField instances are not instances of {@link Layout}
2117
- * since {@link Layout#span|span} measures 8-bit units.
2118
- *
2119
- * @param {BitStructure} container - initializer for {@link
2120
- * BitField#container|container}.
2121
- *
2122
- * @param {Number} bits - initializer for {@link BitField#bits|bits}.
2123
- *
2124
- * @param {string} [property] - initializer for {@link
2125
- * Layout#property|property}.
2126
- */
2127
- class BitField {
2128
- constructor(container, bits, property) {
2129
- if (!(container instanceof BitStructure)) {
2130
- throw new TypeError('container must be a BitStructure');
2131
- }
2132
- if ((!Number.isInteger(bits)) || (0 >= bits)) {
2133
- throw new TypeError('bits must be positive integer');
2134
- }
2135
- const totalBits = 8 * container.span;
2136
- const usedBits = container.fields.reduce((sum, fd) => sum + fd.bits, 0);
2137
- if ((bits + usedBits) > totalBits) {
2138
- throw new Error('bits too long for span remainder ('
2139
- + (totalBits - usedBits) + ' of '
2140
- + totalBits + ' remain)');
2141
- }
2142
-
2143
- /** The {@link BitStructure} instance to which this bit field
2144
- * belongs. */
2145
- this.container = container;
2146
-
2147
- /** The span of this value in bits. */
2148
- this.bits = bits;
2149
-
2150
- /** A mask of {@link BitField#bits|bits} bits isolating value bits
2151
- * that fit within the field.
2152
- *
2153
- * That is, it masks a value that has not yet been shifted into
2154
- * position within its containing packed integer. */
2155
- this.valueMask = (1 << bits) - 1;
2156
- if (32 === bits) { // shifted value out of range
2157
- this.valueMask = 0xFFFFFFFF;
2158
- }
2159
-
2160
- /** The offset of the value within the containing packed unsigned
2161
- * integer. The least significant bit of the packed value is at
2162
- * offset zero, regardless of bit ordering used. */
2163
- this.start = usedBits;
2164
- if (this.container.msb) {
2165
- this.start = totalBits - usedBits - bits;
2166
- }
2167
-
2168
- /** A mask of {@link BitField#bits|bits} isolating the field value
2169
- * within the containing packed unsigned integer. */
2170
- this.wordMask = fixBitwiseResult(this.valueMask << this.start);
2171
-
2172
- /** The property name used when this bitfield is represented in an
2173
- * Object.
2174
- *
2175
- * Intended to be functionally equivalent to {@link
2176
- * Layout#property}.
2177
- *
2178
- * If left undefined the corresponding span of bits will be
2179
- * treated as padding: it will not be mutated by {@link
2180
- * Layout#encode|encode} nor represented as a property in the
2181
- * decoded Object. */
2182
- this.property = property;
2183
- }
2184
-
2185
- /** Store a value into the corresponding subsequence of the containing
2186
- * bit field. */
2187
- decode() {
2188
- const word = this.container._packedGetValue();
2189
- const wordValue = fixBitwiseResult(word & this.wordMask);
2190
- const value = wordValue >>> this.start;
2191
- return value;
2192
- }
2193
-
2194
- /** Store a value into the corresponding subsequence of the containing
2195
- * bit field.
2196
- *
2197
- * **NOTE** This is not a specialization of {@link
2198
- * Layout#encode|Layout.encode} and there is no return value. */
2199
- encode(value) {
2200
- if ((!Number.isInteger(value))
2201
- || (value !== fixBitwiseResult(value & this.valueMask))) {
2202
- throw new TypeError(nameWithProperty('BitField.encode', this)
2203
- + ' value must be integer not exceeding ' + this.valueMask);
2204
- }
2205
- const word = this.container._packedGetValue();
2206
- const wordValue = fixBitwiseResult(value << this.start);
2207
- this.container._packedSetValue(fixBitwiseResult(word & ~this.wordMask)
2208
- | wordValue);
2209
- };
2210
- }
2211
-
2212
- /**
2213
- * Represent a single bit within a {@link BitStructure} as a
2214
- * JavaScript boolean.
2215
- *
2216
- * **NOTE** User code should not invoke this constructor directly.
2217
- * Use the container {@link BitStructure#addBoolean|addBoolean} helper
2218
- * method.
2219
- *
2220
- * @param {BitStructure} container - initializer for {@link
2221
- * BitField#container|container}.
2222
- *
2223
- * @param {string} [property] - initializer for {@link
2224
- * Layout#property|property}.
2225
- *
2226
- * @augments {BitField}
2227
- */
2228
- /* eslint-disable no-extend-native */
2229
- class Boolean extends BitField {
2230
- constructor(container, property) {
2231
- super(container, 1, property);
2232
- }
2233
-
2234
- /** Override {@link BitField#decode|decode} for {@link Boolean|Boolean}.
2235
- *
2236
- * @returns {boolean} */
2237
- decode(b, offset) {
2238
- return !!BitField.prototype.decode.call(this, b, offset);
2239
- }
2240
-
2241
- /** @override */
2242
- encode(value) {
2243
- if ('boolean' === typeof value) {
2244
- // BitField requires integer values
2245
- value = +value;
2246
- }
2247
- return BitField.prototype.encode.call(this, value);
2248
- }
2249
- }
2250
- /* eslint-enable no-extend-native */
2251
-
2252
- /**
2253
- * Contain a fixed-length block of arbitrary data, represented as a
2254
- * Buffer.
2255
- *
2256
- * *Factory*: {@link module:Layout.blob|blob}
2257
- *
2258
- * @param {(Number|ExternalLayout)} length - initializes {@link
2259
- * Blob#length|length}.
2260
- *
2261
- * @param {String} [property] - initializer for {@link
2262
- * Layout#property|property}.
2263
- *
2264
- * @augments {Layout}
2265
- */
2266
- class Blob extends Layout {
2267
- constructor(length, property) {
2268
- if (!(((length instanceof ExternalLayout) && length.isCount())
2269
- || (Number.isInteger(length) && (0 <= length)))) {
2270
- throw new TypeError('length must be positive integer '
2271
- + 'or an unsigned integer ExternalLayout');
2272
- }
2273
-
2274
- let span = -1;
2275
- if (!(length instanceof ExternalLayout)) {
2276
- span = length;
2277
- }
2278
- super(span, property);
2279
-
2280
- /** The number of bytes in the blob.
2281
- *
2282
- * This may be a non-negative integer, or an instance of {@link
2283
- * ExternalLayout} that satisfies {@link
2284
- * ExternalLayout#isCount|isCount()}. */
2285
- this.length = length;
2286
- }
2287
-
2288
- /** @override */
2289
- getSpan(b, offset) {
2290
- let span = this.span;
2291
- if (0 > span) {
2292
- span = this.length.decode(b, offset);
2293
- }
2294
- return span;
2295
- }
2296
-
2297
- /** @override */
2298
- decode(b, offset) {
2299
- if (undefined === offset) {
2300
- offset = 0;
2301
- }
2302
- let span = this.span;
2303
- if (0 > span) {
2304
- span = this.length.decode(b, offset);
2305
- }
2306
- return b.slice(offset, offset + span);
2307
- }
2308
-
2309
- /** Implement {@link Layout#encode|encode} for {@link Blob}.
2310
- *
2311
- * **NOTE** If {@link Layout#count|count} is an instance of {@link
2312
- * ExternalLayout} then the length of `src` will be encoded as the
2313
- * count after `src` is encoded. */
2314
- encode(src, b, offset) {
2315
- let span = this.length;
2316
- if (this.length instanceof ExternalLayout) {
2317
- span = src.length;
2318
- }
2319
- if (!(Buffer.isBuffer(src)
2320
- && (span === src.length))) {
2321
- throw new TypeError(nameWithProperty('Blob.encode', this)
2322
- + ' requires (length ' + span + ') Buffer as src');
2323
- }
2324
- if ((offset + span) > b.length) {
2325
- throw new RangeError('encoding overruns Buffer');
2326
- }
2327
- b.write(src.toString('hex'), offset, span, 'hex');
2328
- if (this.length instanceof ExternalLayout) {
2329
- this.length.encode(span, b, offset);
2330
- }
2331
- return span;
2332
- }
2333
- }
2334
-
2335
- /**
2336
- * Contain a `NUL`-terminated UTF8 string.
2337
- *
2338
- * *Factory*: {@link module:Layout.cstr|cstr}
2339
- *
2340
- * **NOTE** Any UTF8 string that incorporates a zero-valued byte will
2341
- * not be correctly decoded by this layout.
2342
- *
2343
- * @param {String} [property] - initializer for {@link
2344
- * Layout#property|property}.
2345
- *
2346
- * @augments {Layout}
2347
- */
2348
- class CString extends Layout {
2349
- constructor(property) {
2350
- super(-1, property);
2351
- }
2352
-
2353
- /** @override */
2354
- getSpan(b, offset) {
2355
- if (!Buffer.isBuffer(b)) {
2356
- throw new TypeError('b must be a Buffer');
2357
- }
2358
- if (undefined === offset) {
2359
- offset = 0;
2360
- }
2361
- let idx = offset;
2362
- while ((idx < b.length) && (0 !== b[idx])) {
2363
- idx += 1;
2364
- }
2365
- return 1 + idx - offset;
2366
- }
2367
-
2368
- /** @override */
2369
- decode(b, offset, dest) {
2370
- if (undefined === offset) {
2371
- offset = 0;
2372
- }
2373
- let span = this.getSpan(b, offset);
2374
- return b.slice(offset, offset + span - 1).toString('utf-8');
2375
- }
2376
-
2377
- /** @override */
2378
- encode(src, b, offset) {
2379
- if (undefined === offset) {
2380
- offset = 0;
2381
- }
2382
- /* Must force this to a string, lest it be a number and the
2383
- * "utf8-encoding" below actually allocate a buffer of length
2384
- * src */
2385
- if ('string' !== typeof src) {
2386
- src = src.toString();
2387
- }
2388
- const srcb = new Buffer(src, 'utf8');
2389
- const span = srcb.length;
2390
- if ((offset + span) > b.length) {
2391
- throw new RangeError('encoding overruns Buffer');
2392
- }
2393
- srcb.copy(b, offset);
2394
- b[offset + span] = 0;
2395
- return span + 1;
2396
- }
2397
- }
2398
-
2399
- /**
2400
- * Contain a UTF8 string with implicit length.
2401
- *
2402
- * *Factory*: {@link module:Layout.utf8|utf8}
2403
- *
2404
- * **NOTE** Because the length is implicit in the size of the buffer
2405
- * this layout should be used only in isolation, or in a situation
2406
- * where the length can be expressed by operating on a slice of the
2407
- * containing buffer.
2408
- *
2409
- * @param {Number} [maxSpan] - the maximum length allowed for encoded
2410
- * string content. If not provided there is no bound on the allowed
2411
- * content.
2412
- *
2413
- * @param {String} [property] - initializer for {@link
2414
- * Layout#property|property}.
2415
- *
2416
- * @augments {Layout}
2417
- */
2418
- class UTF8 extends Layout {
2419
- constructor(maxSpan, property) {
2420
- if (('string' === typeof maxSpan)
2421
- && (undefined === property)) {
2422
- property = maxSpan;
2423
- maxSpan = undefined;
2424
- }
2425
- if (undefined === maxSpan) {
2426
- maxSpan = -1;
2427
- } else if (!Number.isInteger(maxSpan)) {
2428
- throw new TypeError('maxSpan must be an integer');
2429
- }
2430
-
2431
- super(-1, property);
2432
-
2433
- /** The maximum span of the layout in bytes.
2434
- *
2435
- * Positive values are generally expected. Zero is abnormal.
2436
- * Attempts to encode or decode a value that exceeds this length
2437
- * will throw a `RangeError`.
2438
- *
2439
- * A negative value indicates that there is no bound on the length
2440
- * of the content. */
2441
- this.maxSpan = maxSpan;
2442
- }
2443
-
2444
- /** @override */
2445
- getSpan(b, offset) {
2446
- if (!Buffer.isBuffer(b)) {
2447
- throw new TypeError('b must be a Buffer');
2448
- }
2449
- if (undefined === offset) {
2450
- offset = 0;
2451
- }
2452
- return b.length - offset;
2453
- }
2454
-
2455
- /** @override */
2456
- decode(b, offset, dest) {
2457
- if (undefined === offset) {
2458
- offset = 0;
2459
- }
2460
- let span = this.getSpan(b, offset);
2461
- if ((0 <= this.maxSpan)
2462
- && (this.maxSpan < span)) {
2463
- throw new RangeError('text length exceeds maxSpan');
2464
- }
2465
- return b.slice(offset, offset + span).toString('utf-8');
2466
- }
2467
-
2468
- /** @override */
2469
- encode(src, b, offset) {
2470
- if (undefined === offset) {
2471
- offset = 0;
2472
- }
2473
- /* Must force this to a string, lest it be a number and the
2474
- * "utf8-encoding" below actually allocate a buffer of length
2475
- * src */
2476
- if ('string' !== typeof src) {
2477
- src = src.toString();
2478
- }
2479
- const srcb = new Buffer(src, 'utf8');
2480
- const span = srcb.length;
2481
- if ((0 <= this.maxSpan)
2482
- && (this.maxSpan < span)) {
2483
- throw new RangeError('text length exceeds maxSpan');
2484
- }
2485
- if ((offset + span) > b.length) {
2486
- throw new RangeError('encoding overruns Buffer');
2487
- }
2488
- srcb.copy(b, offset);
2489
- return span;
2490
- }
2491
- }
2492
-
2493
- /**
2494
- * Contain a constant value.
2495
- *
2496
- * This layout may be used in cases where a JavaScript value can be
2497
- * inferred without an expression in the binary encoding. An example
2498
- * would be a {@link VariantLayout|variant layout} where the content
2499
- * is implied by the union {@link Union#discriminator|discriminator}.
2500
- *
2501
- * @param {Object|Number|String} value - initializer for {@link
2502
- * Constant#value|value}. If the value is an object (or array) and
2503
- * the application intends the object to remain unchanged regardless
2504
- * of what is done to values decoded by this layout, the value should
2505
- * be frozen prior passing it to this constructor.
2506
- *
2507
- * @param {String} [property] - initializer for {@link
2508
- * Layout#property|property}.
2509
- *
2510
- * @augments {Layout}
2511
- */
2512
- class Constant extends Layout {
2513
- constructor(value, property) {
2514
- super(0, property);
2515
-
2516
- /** The value produced by this constant when the layout is {@link
2517
- * Constant#decode|decoded}.
2518
- *
2519
- * Any JavaScript value including `null` and `undefined` is
2520
- * permitted.
2521
- *
2522
- * **WARNING** If `value` passed in the constructor was not
2523
- * frozen, it is possible for users of decoded values to change
2524
- * the content of the value. */
2525
- this.value = value;
2526
- }
2527
-
2528
- /** @override */
2529
- decode(b, offset, dest) {
2530
- return this.value;
2531
- }
2532
-
2533
- /** @override */
2534
- encode(src, b, offset) {
2535
- /* Constants take no space */
2536
- return 0;
2537
- }
2538
- }
2539
-
2540
- exports.ExternalLayout = ExternalLayout;
2541
- exports.GreedyCount = GreedyCount;
2542
- exports.OffsetLayout = OffsetLayout;
2543
- exports.UInt = UInt;
2544
- exports.UIntBE = UIntBE;
2545
- exports.Int = Int;
2546
- exports.IntBE = IntBE;
2547
- exports.Float = Float;
2548
- exports.FloatBE = FloatBE;
2549
- exports.Double = Double;
2550
- exports.DoubleBE = DoubleBE;
2551
- exports.Sequence = Sequence;
2552
- exports.Structure = Structure;
2553
- exports.UnionDiscriminator = UnionDiscriminator;
2554
- exports.UnionLayoutDiscriminator = UnionLayoutDiscriminator;
2555
- exports.Union = Union;
2556
- exports.VariantLayout = VariantLayout;
2557
- exports.BitStructure = BitStructure;
2558
- exports.BitField = BitField;
2559
- exports.Boolean = Boolean;
2560
- exports.Blob = Blob;
2561
- exports.CString = CString;
2562
- exports.UTF8 = UTF8;
2563
- exports.Constant = Constant;
2564
-
2565
- /** Factory for {@link GreedyCount}. */
2566
- exports.greedy = ((elementSpan, property) => new GreedyCount(elementSpan, property));
2567
-
2568
- /** Factory for {@link OffsetLayout}. */
2569
- exports.offset = ((layout, offset, property) => new OffsetLayout(layout, offset, property));
2570
-
2571
- /** Factory for {@link UInt|unsigned int layouts} spanning one
2572
- * byte. */
2573
- exports.u8 = (property => new UInt(1, property));
2574
-
2575
- /** Factory for {@link UInt|little-endian unsigned int layouts}
2576
- * spanning two bytes. */
2577
- exports.u16 = (property => new UInt(2, property));
2578
-
2579
- /** Factory for {@link UInt|little-endian unsigned int layouts}
2580
- * spanning three bytes. */
2581
- exports.u24 = (property => new UInt(3, property));
2582
-
2583
- /** Factory for {@link UInt|little-endian unsigned int layouts}
2584
- * spanning four bytes. */
2585
- exports.u32 = (property => new UInt(4, property));
2586
-
2587
- /** Factory for {@link UInt|little-endian unsigned int layouts}
2588
- * spanning five bytes. */
2589
- exports.u40 = (property => new UInt(5, property));
2590
-
2591
- /** Factory for {@link UInt|little-endian unsigned int layouts}
2592
- * spanning six bytes. */
2593
- exports.u48 = (property => new UInt(6, property));
2594
-
2595
- /** Factory for {@link NearUInt64|little-endian unsigned int
2596
- * layouts} interpreted as Numbers. */
2597
- exports.nu64 = (property => new NearUInt64(property));
2598
-
2599
- /** Factory for {@link UInt|big-endian unsigned int layouts}
2600
- * spanning two bytes. */
2601
- exports.u16be = (property => new UIntBE(2, property));
2602
-
2603
- /** Factory for {@link UInt|big-endian unsigned int layouts}
2604
- * spanning three bytes. */
2605
- exports.u24be = (property => new UIntBE(3, property));
2606
-
2607
- /** Factory for {@link UInt|big-endian unsigned int layouts}
2608
- * spanning four bytes. */
2609
- exports.u32be = (property => new UIntBE(4, property));
2610
-
2611
- /** Factory for {@link UInt|big-endian unsigned int layouts}
2612
- * spanning five bytes. */
2613
- exports.u40be = (property => new UIntBE(5, property));
2614
-
2615
- /** Factory for {@link UInt|big-endian unsigned int layouts}
2616
- * spanning six bytes. */
2617
- exports.u48be = (property => new UIntBE(6, property));
2618
-
2619
- /** Factory for {@link NearUInt64BE|big-endian unsigned int
2620
- * layouts} interpreted as Numbers. */
2621
- exports.nu64be = (property => new NearUInt64BE(property));
2622
-
2623
- /** Factory for {@link Int|signed int layouts} spanning one
2624
- * byte. */
2625
- exports.s8 = (property => new Int(1, property));
2626
-
2627
- /** Factory for {@link Int|little-endian signed int layouts}
2628
- * spanning two bytes. */
2629
- exports.s16 = (property => new Int(2, property));
2630
-
2631
- /** Factory for {@link Int|little-endian signed int layouts}
2632
- * spanning three bytes. */
2633
- exports.s24 = (property => new Int(3, property));
2634
-
2635
- /** Factory for {@link Int|little-endian signed int layouts}
2636
- * spanning four bytes. */
2637
- exports.s32 = (property => new Int(4, property));
2638
-
2639
- /** Factory for {@link Int|little-endian signed int layouts}
2640
- * spanning five bytes. */
2641
- exports.s40 = (property => new Int(5, property));
2642
-
2643
- /** Factory for {@link Int|little-endian signed int layouts}
2644
- * spanning six bytes. */
2645
- exports.s48 = (property => new Int(6, property));
2646
-
2647
- /** Factory for {@link NearInt64|little-endian signed int layouts}
2648
- * interpreted as Numbers. */
2649
- exports.ns64 = (property => new NearInt64(property));
2650
-
2651
- /** Factory for {@link Int|big-endian signed int layouts}
2652
- * spanning two bytes. */
2653
- exports.s16be = (property => new IntBE(2, property));
2654
-
2655
- /** Factory for {@link Int|big-endian signed int layouts}
2656
- * spanning three bytes. */
2657
- exports.s24be = (property => new IntBE(3, property));
2658
-
2659
- /** Factory for {@link Int|big-endian signed int layouts}
2660
- * spanning four bytes. */
2661
- exports.s32be = (property => new IntBE(4, property));
2662
-
2663
- /** Factory for {@link Int|big-endian signed int layouts}
2664
- * spanning five bytes. */
2665
- exports.s40be = (property => new IntBE(5, property));
2666
-
2667
- /** Factory for {@link Int|big-endian signed int layouts}
2668
- * spanning six bytes. */
2669
- exports.s48be = (property => new IntBE(6, property));
2670
-
2671
- /** Factory for {@link NearInt64BE|big-endian signed int layouts}
2672
- * interpreted as Numbers. */
2673
- exports.ns64be = (property => new NearInt64BE(property));
2674
-
2675
- /** Factory for {@link Float|little-endian 32-bit floating point} values. */
2676
- exports.f32 = (property => new Float(property));
2677
-
2678
- /** Factory for {@link FloatBE|big-endian 32-bit floating point} values. */
2679
- exports.f32be = (property => new FloatBE(property));
2680
-
2681
- /** Factory for {@link Double|little-endian 64-bit floating point} values. */
2682
- exports.f64 = (property => new Double(property));
2683
-
2684
- /** Factory for {@link DoubleBE|big-endian 64-bit floating point} values. */
2685
- exports.f64be = (property => new DoubleBE(property));
2686
-
2687
- /** Factory for {@link Structure} values. */
2688
- exports.struct = ((fields, property, decodePrefixes) => new Structure(fields, property, decodePrefixes));
2689
-
2690
- /** Factory for {@link BitStructure} values. */
2691
- exports.bits = ((word, msb, property) => new BitStructure(word, msb, property));
2692
-
2693
- /** Factory for {@link Sequence} values. */
2694
- exports.seq = ((elementLayout, count, property) => new Sequence(elementLayout, count, property));
2695
-
2696
- /** Factory for {@link Union} values. */
2697
- exports.union = ((discr, defaultLayout, property) => new Union(discr, defaultLayout, property));
2698
-
2699
- /** Factory for {@link UnionLayoutDiscriminator} values. */
2700
- exports.unionLayoutDiscriminator = ((layout, property) => new UnionLayoutDiscriminator(layout, property));
2701
-
2702
- /** Factory for {@link Blob} values. */
2703
- exports.blob = ((length, property) => new Blob(length, property));
2704
-
2705
- /** Factory for {@link CString} values. */
2706
- exports.cstr = (property => new CString(property));
2707
-
2708
- /** Factory for {@link UTF8} values. */
2709
- exports.utf8 = ((maxSpan, property) => new UTF8(maxSpan, property));
2710
-
2711
- /** Factory for {@link Constant} values. */
2712
- exports.const = ((value, property) => new Constant(value, property));