@meteora-ag/cp-amm-sdk 1.0.3 → 1.0.4

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