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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2743) hide show
  1. package/dist/index.d.mts +97 -228
  2. package/dist/index.d.ts +97 -228
  3. package/dist/index.js +1941 -610
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1942 -611
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +1 -4
  8. package/node_modules/@babel/runtime/LICENSE +0 -22
  9. package/node_modules/@babel/runtime/README.md +0 -19
  10. package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
  11. package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
  12. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
  13. package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
  14. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
  15. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
  16. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
  17. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
  18. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
  19. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
  20. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
  21. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
  22. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
  23. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
  24. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
  25. package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
  26. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
  27. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
  28. package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
  29. package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
  30. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
  31. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
  33. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
  34. package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
  35. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
  36. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
  37. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
  38. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
  39. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
  46. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
  47. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
  48. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
  50. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
  51. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
  52. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
  56. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
  57. package/node_modules/@babel/runtime/helpers/construct.js +0 -10
  58. package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
  59. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
  60. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
  61. package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
  62. package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
  63. package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
  64. package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
  65. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
  66. package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
  67. package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
  68. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
  69. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
  70. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
  76. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
  77. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
  78. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
  79. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
  80. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
  81. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
  82. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
  83. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
  84. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
  85. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
  86. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
  87. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
  88. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
  89. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
  91. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
  92. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
  93. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
  94. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
  95. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
  96. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
  97. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
  109. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
  110. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
  114. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
  115. package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
  116. package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
  117. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
  118. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
  119. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
  120. package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
  121. package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
  122. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
  123. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
  124. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
  125. package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
  126. package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
  127. package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
  128. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
  129. package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
  130. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
  131. package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  132. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
  133. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
  134. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
  135. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
  136. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
  137. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
  138. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
  139. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
  140. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
  141. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
  142. package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
  143. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
  144. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
  145. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
  146. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
  147. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
  148. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
  149. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
  150. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
  151. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
  152. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
  153. package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
  154. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
  155. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
  156. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
  157. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -24
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
  163. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
  164. package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
  165. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
  166. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
  167. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
  168. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
  169. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
  170. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
  171. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
  172. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  173. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
  174. package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
  175. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
  176. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
  177. package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
  178. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
  179. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
  180. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
  181. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
  182. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
  183. package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
  184. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
  185. package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
  186. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
  187. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
  188. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
  189. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
  190. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
  191. package/node_modules/@babel/runtime/helpers/extends.js +0 -10
  192. package/node_modules/@babel/runtime/helpers/get.js +0 -11
  193. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
  194. package/node_modules/@babel/runtime/helpers/identity.js +0 -4
  195. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
  196. package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
  197. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
  198. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
  199. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
  200. package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
  201. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
  202. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
  203. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
  204. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
  205. package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
  206. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
  207. package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
  208. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
  209. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
  210. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
  211. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
  212. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
  213. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
  214. package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
  215. package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
  216. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
  217. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
  218. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
  219. package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
  220. package/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
  221. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
  223. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
  224. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -24
  225. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
  226. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
  227. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
  228. package/node_modules/@babel/runtime/helpers/set.js +0 -22
  229. package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
  230. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
  231. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
  232. package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
  233. package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
  234. package/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
  235. package/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
  236. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
  237. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
  238. package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
  239. package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
  240. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
  241. package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
  242. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
  243. package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
  244. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
  245. package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
  246. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
  247. package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
  248. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
  249. package/node_modules/@babel/runtime/helpers/using.js +0 -12
  250. package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
  251. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
  252. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
  253. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
  254. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
  255. package/node_modules/@babel/runtime/package.json +0 -1107
  256. package/node_modules/@babel/runtime/regenerator/index.js +0 -15
  257. package/node_modules/@coral-xyz/anchor/README.md +0 -10
  258. package/node_modules/@coral-xyz/anchor/dist/browser/index.js +0 -7201
  259. package/node_modules/@coral-xyz/anchor/dist/browser/index.js.map +0 -1
  260. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts +0 -27
  261. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts.map +0 -1
  262. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts +0 -14
  263. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts.map +0 -1
  264. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts +0 -32
  265. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts.map +0 -1
  266. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts +0 -33
  267. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts.map +0 -1
  268. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts +0 -42
  269. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts.map +0 -1
  270. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts +0 -16
  271. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts.map +0 -1
  272. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts +0 -43
  273. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts.map +0 -1
  274. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts +0 -12
  275. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts.map +0 -1
  276. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts +0 -9
  277. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts.map +0 -1
  278. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts +0 -17
  279. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts.map +0 -1
  280. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts +0 -8
  281. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts.map +0 -1
  282. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts +0 -8
  283. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts.map +0 -1
  284. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts +0 -131
  285. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts.map +0 -1
  286. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts +0 -215
  287. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts.map +0 -1
  288. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts +0 -16
  289. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts.map +0 -1
  290. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts +0 -7
  291. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts.map +0 -1
  292. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts +0 -390
  293. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts.map +0 -1
  294. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts +0 -14
  295. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts.map +0 -1
  296. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts +0 -63
  297. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts.map +0 -1
  298. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts +0 -20
  299. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts.map +0 -1
  300. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts +0 -63
  301. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts.map +0 -1
  302. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts +0 -57
  303. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts.map +0 -1
  304. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts +0 -272
  305. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts.map +0 -1
  306. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts +0 -146
  307. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts.map +0 -1
  308. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts +0 -35
  309. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts.map +0 -1
  310. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts +0 -57
  311. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts.map +0 -1
  312. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts +0 -206
  313. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts.map +0 -1
  314. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts +0 -49
  315. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts.map +0 -1
  316. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts +0 -57
  317. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts.map +0 -1
  318. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts +0 -42
  319. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts.map +0 -1
  320. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts +0 -153
  321. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts.map +0 -1
  322. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts +0 -15
  323. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts.map +0 -1
  324. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts +0 -2
  325. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts.map +0 -1
  326. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts +0 -104
  327. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts.map +0 -1
  328. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts +0 -4
  329. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts.map +0 -1
  330. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts +0 -3
  331. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts.map +0 -1
  332. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts +0 -4
  333. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts.map +0 -1
  334. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts +0 -5
  335. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts.map +0 -1
  336. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts +0 -3
  337. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts.map +0 -1
  338. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts +0 -22
  339. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts.map +0 -1
  340. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts +0 -3
  341. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts.map +0 -1
  342. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts +0 -8
  343. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts.map +0 -1
  344. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts +0 -3
  345. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts.map +0 -1
  346. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts +0 -34
  347. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts.map +0 -1
  348. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts +0 -21
  349. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts.map +0 -1
  350. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts +0 -2
  351. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts.map +0 -1
  352. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts +0 -8
  353. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts.map +0 -1
  354. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts +0 -14
  355. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts.map +0 -1
  356. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts +0 -27
  357. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts.map +0 -1
  358. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js +0 -103
  359. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js.map +0 -1
  360. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts +0 -14
  361. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts.map +0 -1
  362. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js +0 -78
  363. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js.map +0 -1
  364. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts +0 -32
  365. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts.map +0 -1
  366. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js +0 -419
  367. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js.map +0 -1
  368. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts +0 -33
  369. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts.map +0 -1
  370. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js +0 -27
  371. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js.map +0 -1
  372. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts +0 -42
  373. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts.map +0 -1
  374. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js +0 -274
  375. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js.map +0 -1
  376. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts +0 -16
  377. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts.map +0 -1
  378. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js +0 -42
  379. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js.map +0 -1
  380. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts +0 -43
  381. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts.map +0 -1
  382. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js +0 -19
  383. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js.map +0 -1
  384. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts +0 -12
  385. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts.map +0 -1
  386. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js +0 -107
  387. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js.map +0 -1
  388. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts +0 -9
  389. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts.map +0 -1
  390. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js +0 -11
  391. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js.map +0 -1
  392. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts +0 -17
  393. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts.map +0 -1
  394. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js +0 -20
  395. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js.map +0 -1
  396. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts +0 -8
  397. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts.map +0 -1
  398. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js +0 -242
  399. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js.map +0 -1
  400. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts +0 -8
  401. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts.map +0 -1
  402. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js +0 -14
  403. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js.map +0 -1
  404. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts +0 -131
  405. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts.map +0 -1
  406. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js +0 -583
  407. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js.map +0 -1
  408. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts +0 -215
  409. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts.map +0 -1
  410. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js +0 -109
  411. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js.map +0 -1
  412. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts +0 -16
  413. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts.map +0 -1
  414. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js +0 -50
  415. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js.map +0 -1
  416. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts +0 -7
  417. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts.map +0 -1
  418. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js +0 -11
  419. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js.map +0 -1
  420. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts +0 -390
  421. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts.map +0 -1
  422. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js +0 -394
  423. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js.map +0 -1
  424. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts +0 -14
  425. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts.map +0 -1
  426. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js +0 -48
  427. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js.map +0 -1
  428. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts +0 -63
  429. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts.map +0 -1
  430. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js +0 -437
  431. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js.map +0 -1
  432. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts +0 -20
  433. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts.map +0 -1
  434. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js +0 -49
  435. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js.map +0 -1
  436. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts +0 -63
  437. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts.map +0 -1
  438. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js +0 -16
  439. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js.map +0 -1
  440. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts +0 -57
  441. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts.map +0 -1
  442. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js +0 -207
  443. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js.map +0 -1
  444. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts +0 -272
  445. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts.map +0 -1
  446. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js +0 -177
  447. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js.map +0 -1
  448. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts +0 -146
  449. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts.map +0 -1
  450. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js +0 -257
  451. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js.map +0 -1
  452. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts +0 -35
  453. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts.map +0 -1
  454. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js +0 -63
  455. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js.map +0 -1
  456. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts +0 -57
  457. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts.map +0 -1
  458. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js +0 -94
  459. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js.map +0 -1
  460. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts +0 -206
  461. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts.map +0 -1
  462. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js +0 -309
  463. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js.map +0 -1
  464. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts +0 -49
  465. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts.map +0 -1
  466. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js +0 -25
  467. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js.map +0 -1
  468. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts +0 -57
  469. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts.map +0 -1
  470. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js +0 -42
  471. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js.map +0 -1
  472. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts +0 -42
  473. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts.map +0 -1
  474. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js +0 -24
  475. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js.map +0 -1
  476. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts +0 -153
  477. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts.map +0 -1
  478. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js +0 -3
  479. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js.map +0 -1
  480. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts +0 -15
  481. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts.map +0 -1
  482. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js +0 -30
  483. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js.map +0 -1
  484. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts +0 -2
  485. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts.map +0 -1
  486. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js +0 -136
  487. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js.map +0 -1
  488. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts +0 -104
  489. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts.map +0 -1
  490. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js +0 -309
  491. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js.map +0 -1
  492. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts +0 -4
  493. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts.map +0 -1
  494. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js +0 -12
  495. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js.map +0 -1
  496. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts +0 -3
  497. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts.map +0 -1
  498. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js +0 -15
  499. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js.map +0 -1
  500. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts +0 -4
  501. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts.map +0 -1
  502. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js +0 -22
  503. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js.map +0 -1
  504. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts +0 -5
  505. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts.map +0 -1
  506. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js +0 -31
  507. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js.map +0 -1
  508. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts +0 -3
  509. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts.map +0 -1
  510. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js +0 -18
  511. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js.map +0 -1
  512. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts +0 -22
  513. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts.map +0 -1
  514. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js +0 -32
  515. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js.map +0 -1
  516. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts +0 -3
  517. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts.map +0 -1
  518. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js +0 -16
  519. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js.map +0 -1
  520. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts +0 -8
  521. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts.map +0 -1
  522. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js +0 -34
  523. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js.map +0 -1
  524. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts +0 -3
  525. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts.map +0 -1
  526. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js +0 -16
  527. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js.map +0 -1
  528. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts +0 -34
  529. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts.map +0 -1
  530. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js +0 -88
  531. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js.map +0 -1
  532. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts +0 -21
  533. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts.map +0 -1
  534. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js +0 -167
  535. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js.map +0 -1
  536. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts +0 -2
  537. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts.map +0 -1
  538. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js +0 -8
  539. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js.map +0 -1
  540. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts +0 -8
  541. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts.map +0 -1
  542. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js +0 -11
  543. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js.map +0 -1
  544. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts +0 -14
  545. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts.map +0 -1
  546. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js +0 -98
  547. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js.map +0 -1
  548. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts +0 -27
  549. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts.map +0 -1
  550. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js +0 -96
  551. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js.map +0 -1
  552. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts +0 -14
  553. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts.map +0 -1
  554. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js +0 -51
  555. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js.map +0 -1
  556. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts +0 -32
  557. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts.map +0 -1
  558. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js +0 -392
  559. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js.map +0 -1
  560. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts +0 -33
  561. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts.map +0 -1
  562. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js +0 -20
  563. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js.map +0 -1
  564. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts +0 -42
  565. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts.map +0 -1
  566. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js +0 -244
  567. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js.map +0 -1
  568. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts +0 -16
  569. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts.map +0 -1
  570. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js +0 -38
  571. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js.map +0 -1
  572. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts +0 -43
  573. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts.map +0 -1
  574. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js +0 -3
  575. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js.map +0 -1
  576. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts +0 -12
  577. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts.map +0 -1
  578. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js +0 -80
  579. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js.map +0 -1
  580. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts +0 -9
  581. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts.map +0 -1
  582. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js +0 -7
  583. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js.map +0 -1
  584. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts +0 -17
  585. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts.map +0 -1
  586. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js +0 -16
  587. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js.map +0 -1
  588. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts +0 -8
  589. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts.map +0 -1
  590. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js +0 -212
  591. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js.map +0 -1
  592. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts +0 -8
  593. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts.map +0 -1
  594. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js +0 -10
  595. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js.map +0 -1
  596. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts +0 -131
  597. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts.map +0 -1
  598. package/node_modules/@coral-xyz/anchor/dist/esm/error.js +0 -552
  599. package/node_modules/@coral-xyz/anchor/dist/esm/error.js.map +0 -1
  600. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts +0 -215
  601. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts.map +0 -1
  602. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js +0 -74
  603. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js.map +0 -1
  604. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts +0 -16
  605. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts.map +0 -1
  606. package/node_modules/@coral-xyz/anchor/dist/esm/index.js +0 -14
  607. package/node_modules/@coral-xyz/anchor/dist/esm/index.js.map +0 -1
  608. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts +0 -7
  609. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts.map +0 -1
  610. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js +0 -7
  611. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js.map +0 -1
  612. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts +0 -390
  613. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts.map +0 -1
  614. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js +0 -389
  615. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js.map +0 -1
  616. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts +0 -14
  617. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts.map +0 -1
  618. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js +0 -45
  619. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js.map +0 -1
  620. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts +0 -63
  621. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts.map +0 -1
  622. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js +0 -429
  623. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js.map +0 -1
  624. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts +0 -20
  625. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts.map +0 -1
  626. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js +0 -43
  627. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js.map +0 -1
  628. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts +0 -63
  629. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts.map +0 -1
  630. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js +0 -13
  631. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js.map +0 -1
  632. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts +0 -57
  633. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts.map +0 -1
  634. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js +0 -202
  635. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js.map +0 -1
  636. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts +0 -272
  637. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts.map +0 -1
  638. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js +0 -156
  639. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js.map +0 -1
  640. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts +0 -146
  641. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts.map +0 -1
  642. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js +0 -226
  643. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js.map +0 -1
  644. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts +0 -35
  645. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts.map +0 -1
  646. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js +0 -54
  647. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js.map +0 -1
  648. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts +0 -57
  649. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts.map +0 -1
  650. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js +0 -68
  651. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js.map +0 -1
  652. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts +0 -206
  653. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts.map +0 -1
  654. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js +0 -302
  655. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js.map +0 -1
  656. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts +0 -49
  657. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts.map +0 -1
  658. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js +0 -22
  659. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js.map +0 -1
  660. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts +0 -57
  661. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts.map +0 -1
  662. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js +0 -39
  663. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js.map +0 -1
  664. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts +0 -42
  665. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts.map +0 -1
  666. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js +0 -21
  667. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js.map +0 -1
  668. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts +0 -153
  669. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts.map +0 -1
  670. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js +0 -2
  671. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js.map +0 -1
  672. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts +0 -15
  673. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts.map +0 -1
  674. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js +0 -27
  675. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js.map +0 -1
  676. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts +0 -2
  677. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts.map +0 -1
  678. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js +0 -107
  679. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js.map +0 -1
  680. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts +0 -104
  681. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts.map +0 -1
  682. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js +0 -303
  683. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js.map +0 -1
  684. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts +0 -4
  685. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts.map +0 -1
  686. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js +0 -8
  687. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js.map +0 -1
  688. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts +0 -3
  689. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts.map +0 -1
  690. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js +0 -8
  691. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js.map +0 -1
  692. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts +0 -4
  693. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts.map +0 -1
  694. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js +0 -18
  695. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js.map +0 -1
  696. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts +0 -5
  697. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts.map +0 -1
  698. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js +0 -5
  699. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js.map +0 -1
  700. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts +0 -3
  701. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts.map +0 -1
  702. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js +0 -14
  703. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js.map +0 -1
  704. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts +0 -22
  705. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts.map +0 -1
  706. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js +0 -27
  707. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js.map +0 -1
  708. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts +0 -3
  709. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts.map +0 -1
  710. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js +0 -12
  711. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js.map +0 -1
  712. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts +0 -8
  713. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts.map +0 -1
  714. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js +0 -8
  715. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js.map +0 -1
  716. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts +0 -3
  717. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts.map +0 -1
  718. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js +0 -13
  719. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js.map +0 -1
  720. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts +0 -34
  721. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts.map +0 -1
  722. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js +0 -57
  723. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js.map +0 -1
  724. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts +0 -21
  725. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts.map +0 -1
  726. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js +0 -161
  727. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js.map +0 -1
  728. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts +0 -2
  729. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts.map +0 -1
  730. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js +0 -5
  731. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js.map +0 -1
  732. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts +0 -8
  733. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts.map +0 -1
  734. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js +0 -7
  735. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js.map +0 -1
  736. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts +0 -14
  737. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts.map +0 -1
  738. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js +0 -70
  739. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js.map +0 -1
  740. package/node_modules/@coral-xyz/anchor/dist/tsconfig.cjs.tsbuildinfo +0 -1
  741. package/node_modules/@coral-xyz/anchor/dist/tsconfig.tsbuildinfo +0 -1
  742. package/node_modules/@coral-xyz/anchor/package.json +0 -84
  743. package/node_modules/@coral-xyz/anchor/types/buffer-layout/index.d.ts +0 -88
  744. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts +0 -157
  745. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts.map +0 -1
  746. package/node_modules/@coral-xyz/anchor-errors/dist/index.js +0 -167
  747. package/node_modules/@coral-xyz/anchor-errors/dist/index.js.map +0 -1
  748. package/node_modules/@coral-xyz/anchor-errors/package.json +0 -32
  749. package/node_modules/@coral-xyz/borsh/dist/index.d.ts +0 -31
  750. package/node_modules/@coral-xyz/borsh/dist/index.d.ts.map +0 -1
  751. package/node_modules/@coral-xyz/borsh/dist/index.js +0 -222
  752. package/node_modules/@coral-xyz/borsh/dist/index.js.map +0 -1
  753. package/node_modules/@coral-xyz/borsh/package.json +0 -35
  754. package/node_modules/@noble/curves/LICENSE +0 -21
  755. package/node_modules/@noble/curves/README.md +0 -1029
  756. package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -18
  757. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
  758. package/node_modules/@noble/curves/_shortw_utils.js +0 -19
  759. package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
  760. package/node_modules/@noble/curves/abstract/bls.d.ts +0 -165
  761. package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
  762. package/node_modules/@noble/curves/abstract/bls.js +0 -404
  763. package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
  764. package/node_modules/@noble/curves/abstract/curve.d.ts +0 -144
  765. package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
  766. package/node_modules/@noble/curves/abstract/curve.js +0 -471
  767. package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
  768. package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -179
  769. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
  770. package/node_modules/@noble/curves/abstract/edwards.js +0 -488
  771. package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
  772. package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
  773. package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
  774. package/node_modules/@noble/curves/abstract/fft.js +0 -438
  775. package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
  776. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -98
  777. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
  778. package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -199
  779. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
  780. package/node_modules/@noble/curves/abstract/modular.d.ts +0 -166
  781. package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
  782. package/node_modules/@noble/curves/abstract/modular.js +0 -510
  783. package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
  784. package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -21
  785. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
  786. package/node_modules/@noble/curves/abstract/montgomery.js +0 -141
  787. package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
  788. package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
  789. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
  790. package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
  791. package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
  792. package/node_modules/@noble/curves/abstract/tower.d.ts +0 -93
  793. package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
  794. package/node_modules/@noble/curves/abstract/tower.js +0 -506
  795. package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
  796. package/node_modules/@noble/curves/abstract/utils.d.ts +0 -5
  797. package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
  798. package/node_modules/@noble/curves/abstract/utils.js +0 -23
  799. package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
  800. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -316
  801. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
  802. package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1290
  803. package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
  804. package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
  805. package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
  806. package/node_modules/@noble/curves/bls12-381.js +0 -741
  807. package/node_modules/@noble/curves/bls12-381.js.map +0 -1
  808. package/node_modules/@noble/curves/bn254.d.ts +0 -18
  809. package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
  810. package/node_modules/@noble/curves/bn254.js +0 -250
  811. package/node_modules/@noble/curves/bn254.js.map +0 -1
  812. package/node_modules/@noble/curves/ed25519.d.ts +0 -120
  813. package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
  814. package/node_modules/@noble/curves/ed25519.js +0 -496
  815. package/node_modules/@noble/curves/ed25519.js.map +0 -1
  816. package/node_modules/@noble/curves/ed448.d.ts +0 -102
  817. package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
  818. package/node_modules/@noble/curves/ed448.js +0 -461
  819. package/node_modules/@noble/curves/ed448.js.map +0 -1
  820. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -18
  821. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
  822. package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -15
  823. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
  824. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -165
  825. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
  826. package/node_modules/@noble/curves/esm/abstract/bls.js +0 -401
  827. package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
  828. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -144
  829. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
  830. package/node_modules/@noble/curves/esm/abstract/curve.js +0 -461
  831. package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
  832. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -179
  833. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
  834. package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -483
  835. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
  836. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
  837. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
  838. package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
  839. package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
  840. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -98
  841. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
  842. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -192
  843. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
  844. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -166
  845. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
  846. package/node_modules/@noble/curves/esm/abstract/modular.js +0 -486
  847. package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
  848. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -21
  849. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
  850. package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -138
  851. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
  852. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
  853. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
  854. package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
  855. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
  856. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -93
  857. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
  858. package/node_modules/@noble/curves/esm/abstract/tower.js +0 -502
  859. package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
  860. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -5
  861. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
  862. package/node_modules/@noble/curves/esm/abstract/utils.js +0 -7
  863. package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
  864. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -316
  865. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
  866. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1278
  867. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
  868. package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
  869. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
  870. package/node_modules/@noble/curves/esm/bls12-381.js +0 -738
  871. package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
  872. package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
  873. package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
  874. package/node_modules/@noble/curves/esm/bn254.js +0 -246
  875. package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
  876. package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -120
  877. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
  878. package/node_modules/@noble/curves/esm/ed25519.js +0 -490
  879. package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
  880. package/node_modules/@noble/curves/esm/ed448.d.ts +0 -102
  881. package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
  882. package/node_modules/@noble/curves/esm/ed448.js +0 -456
  883. package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
  884. package/node_modules/@noble/curves/esm/index.d.ts +0 -2
  885. package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
  886. package/node_modules/@noble/curves/esm/index.js +0 -19
  887. package/node_modules/@noble/curves/esm/index.js.map +0 -1
  888. package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
  889. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
  890. package/node_modules/@noble/curves/esm/jubjub.js +0 -12
  891. package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
  892. package/node_modules/@noble/curves/esm/misc.d.ts +0 -21
  893. package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
  894. package/node_modules/@noble/curves/esm/misc.js +0 -112
  895. package/node_modules/@noble/curves/esm/misc.js.map +0 -1
  896. package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
  897. package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
  898. package/node_modules/@noble/curves/esm/nist.js +0 -110
  899. package/node_modules/@noble/curves/esm/nist.js.map +0 -1
  900. package/node_modules/@noble/curves/esm/p256.d.ts +0 -12
  901. package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
  902. package/node_modules/@noble/curves/esm/p256.js +0 -12
  903. package/node_modules/@noble/curves/esm/p256.js.map +0 -1
  904. package/node_modules/@noble/curves/esm/p384.d.ts +0 -13
  905. package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
  906. package/node_modules/@noble/curves/esm/p384.js +0 -13
  907. package/node_modules/@noble/curves/esm/p384.js.map +0 -1
  908. package/node_modules/@noble/curves/esm/p521.d.ts +0 -12
  909. package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
  910. package/node_modules/@noble/curves/esm/p521.js +0 -12
  911. package/node_modules/@noble/curves/esm/p521.js.map +0 -1
  912. package/node_modules/@noble/curves/esm/package.json +0 -4
  913. package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
  914. package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
  915. package/node_modules/@noble/curves/esm/pasta.js +0 -10
  916. package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
  917. package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -76
  918. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
  919. package/node_modules/@noble/curves/esm/secp256k1.js +0 -290
  920. package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
  921. package/node_modules/@noble/curves/esm/utils.d.ts +0 -96
  922. package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
  923. package/node_modules/@noble/curves/esm/utils.js +0 -279
  924. package/node_modules/@noble/curves/esm/utils.js.map +0 -1
  925. package/node_modules/@noble/curves/index.d.ts +0 -1
  926. package/node_modules/@noble/curves/index.d.ts.map +0 -1
  927. package/node_modules/@noble/curves/index.js +0 -19
  928. package/node_modules/@noble/curves/index.js.map +0 -1
  929. package/node_modules/@noble/curves/jubjub.d.ts +0 -12
  930. package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
  931. package/node_modules/@noble/curves/jubjub.js +0 -15
  932. package/node_modules/@noble/curves/jubjub.js.map +0 -1
  933. package/node_modules/@noble/curves/misc.d.ts +0 -21
  934. package/node_modules/@noble/curves/misc.d.ts.map +0 -1
  935. package/node_modules/@noble/curves/misc.js +0 -117
  936. package/node_modules/@noble/curves/misc.js.map +0 -1
  937. package/node_modules/@noble/curves/nist.d.ts +0 -21
  938. package/node_modules/@noble/curves/nist.d.ts.map +0 -1
  939. package/node_modules/@noble/curves/nist.js +0 -113
  940. package/node_modules/@noble/curves/nist.js.map +0 -1
  941. package/node_modules/@noble/curves/p256.d.ts +0 -12
  942. package/node_modules/@noble/curves/p256.d.ts.map +0 -1
  943. package/node_modules/@noble/curves/p256.js +0 -9
  944. package/node_modules/@noble/curves/p256.js.map +0 -1
  945. package/node_modules/@noble/curves/p384.d.ts +0 -13
  946. package/node_modules/@noble/curves/p384.d.ts.map +0 -1
  947. package/node_modules/@noble/curves/p384.js +0 -10
  948. package/node_modules/@noble/curves/p384.js.map +0 -1
  949. package/node_modules/@noble/curves/p521.d.ts +0 -12
  950. package/node_modules/@noble/curves/p521.d.ts.map +0 -1
  951. package/node_modules/@noble/curves/p521.js +0 -9
  952. package/node_modules/@noble/curves/p521.js.map +0 -1
  953. package/node_modules/@noble/curves/package.json +0 -293
  954. package/node_modules/@noble/curves/pasta.d.ts +0 -10
  955. package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
  956. package/node_modules/@noble/curves/pasta.js +0 -13
  957. package/node_modules/@noble/curves/pasta.js.map +0 -1
  958. package/node_modules/@noble/curves/secp256k1.d.ts +0 -76
  959. package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
  960. package/node_modules/@noble/curves/secp256k1.js +0 -293
  961. package/node_modules/@noble/curves/secp256k1.js.map +0 -1
  962. package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -20
  963. package/node_modules/@noble/curves/src/abstract/bls.ts +0 -685
  964. package/node_modules/@noble/curves/src/abstract/curve.ts +0 -573
  965. package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -710
  966. package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
  967. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -289
  968. package/node_modules/@noble/curves/src/abstract/modular.ts +0 -554
  969. package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -167
  970. package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
  971. package/node_modules/@noble/curves/src/abstract/tower.ts +0 -619
  972. package/node_modules/@noble/curves/src/abstract/utils.ts +0 -7
  973. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1684
  974. package/node_modules/@noble/curves/src/bls12-381.ts +0 -805
  975. package/node_modules/@noble/curves/src/bn254.ts +0 -274
  976. package/node_modules/@noble/curves/src/ed25519.ts +0 -568
  977. package/node_modules/@noble/curves/src/ed448.ts +0 -561
  978. package/node_modules/@noble/curves/src/index.ts +0 -17
  979. package/node_modules/@noble/curves/src/jubjub.ts +0 -12
  980. package/node_modules/@noble/curves/src/misc.ts +0 -128
  981. package/node_modules/@noble/curves/src/nist.ts +0 -166
  982. package/node_modules/@noble/curves/src/p256.ts +0 -11
  983. package/node_modules/@noble/curves/src/p384.ts +0 -13
  984. package/node_modules/@noble/curves/src/p521.ts +0 -11
  985. package/node_modules/@noble/curves/src/package.json +0 -3
  986. package/node_modules/@noble/curves/src/pasta.ts +0 -9
  987. package/node_modules/@noble/curves/src/secp256k1.ts +0 -345
  988. package/node_modules/@noble/curves/src/utils.ts +0 -328
  989. package/node_modules/@noble/curves/utils.d.ts +0 -96
  990. package/node_modules/@noble/curves/utils.d.ts.map +0 -1
  991. package/node_modules/@noble/curves/utils.js +0 -313
  992. package/node_modules/@noble/curves/utils.js.map +0 -1
  993. package/node_modules/@noble/hashes/LICENSE +0 -21
  994. package/node_modules/@noble/hashes/README.md +0 -521
  995. package/node_modules/@noble/hashes/_assert.d.ts +0 -17
  996. package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  997. package/node_modules/@noble/hashes/_assert.js +0 -18
  998. package/node_modules/@noble/hashes/_assert.js.map +0 -1
  999. package/node_modules/@noble/hashes/_blake.d.ts +0 -14
  1000. package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  1001. package/node_modules/@noble/hashes/_blake.js +0 -50
  1002. package/node_modules/@noble/hashes/_blake.js.map +0 -1
  1003. package/node_modules/@noble/hashes/_md.d.ts +0 -51
  1004. package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  1005. package/node_modules/@noble/hashes/_md.js +0 -162
  1006. package/node_modules/@noble/hashes/_md.js.map +0 -1
  1007. package/node_modules/@noble/hashes/_u64.d.ts +0 -55
  1008. package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  1009. package/node_modules/@noble/hashes/_u64.js +0 -90
  1010. package/node_modules/@noble/hashes/_u64.js.map +0 -1
  1011. package/node_modules/@noble/hashes/argon2.d.ts +0 -32
  1012. package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  1013. package/node_modules/@noble/hashes/argon2.js +0 -401
  1014. package/node_modules/@noble/hashes/argon2.js.map +0 -1
  1015. package/node_modules/@noble/hashes/blake1.d.ts +0 -106
  1016. package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  1017. package/node_modules/@noble/hashes/blake1.js +0 -459
  1018. package/node_modules/@noble/hashes/blake1.js.map +0 -1
  1019. package/node_modules/@noble/hashes/blake2.d.ts +0 -116
  1020. package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  1021. package/node_modules/@noble/hashes/blake2.js +0 -420
  1022. package/node_modules/@noble/hashes/blake2.js.map +0 -1
  1023. package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  1024. package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  1025. package/node_modules/@noble/hashes/blake2b.js +0 -14
  1026. package/node_modules/@noble/hashes/blake2b.js.map +0 -1
  1027. package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  1028. package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  1029. package/node_modules/@noble/hashes/blake2s.js +0 -24
  1030. package/node_modules/@noble/hashes/blake2s.js.map +0 -1
  1031. package/node_modules/@noble/hashes/blake3.d.ts +0 -54
  1032. package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  1033. package/node_modules/@noble/hashes/blake3.js +0 -255
  1034. package/node_modules/@noble/hashes/blake3.js.map +0 -1
  1035. package/node_modules/@noble/hashes/crypto.d.ts +0 -2
  1036. package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  1037. package/node_modules/@noble/hashes/crypto.js +0 -5
  1038. package/node_modules/@noble/hashes/crypto.js.map +0 -1
  1039. package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  1040. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  1041. package/node_modules/@noble/hashes/cryptoNode.js +0 -18
  1042. package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  1043. package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  1044. package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  1045. package/node_modules/@noble/hashes/eskdf.js +0 -166
  1046. package/node_modules/@noble/hashes/eskdf.js.map +0 -1
  1047. package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  1048. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  1049. package/node_modules/@noble/hashes/esm/_assert.js +0 -15
  1050. package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  1051. package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  1052. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  1053. package/node_modules/@noble/hashes/esm/_blake.js +0 -45
  1054. package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  1055. package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  1056. package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  1057. package/node_modules/@noble/hashes/esm/_md.js +0 -155
  1058. package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  1059. package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  1060. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  1061. package/node_modules/@noble/hashes/esm/_u64.js +0 -67
  1062. package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  1063. package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  1064. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  1065. package/node_modules/@noble/hashes/esm/argon2.js +0 -392
  1066. package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  1067. package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  1068. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  1069. package/node_modules/@noble/hashes/esm/blake1.js +0 -452
  1070. package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  1071. package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  1072. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  1073. package/node_modules/@noble/hashes/esm/blake2.js +0 -413
  1074. package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  1075. package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  1076. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  1077. package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  1078. package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  1079. package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  1080. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  1081. package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  1082. package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  1083. package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  1084. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  1085. package/node_modules/@noble/hashes/esm/blake3.js +0 -251
  1086. package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  1087. package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  1088. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  1089. package/node_modules/@noble/hashes/esm/crypto.js +0 -2
  1090. package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  1091. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  1092. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  1093. package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  1094. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  1095. package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  1096. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  1097. package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  1098. package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  1099. package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  1100. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  1101. package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  1102. package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  1103. package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  1104. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  1105. package/node_modules/@noble/hashes/esm/hmac.js +0 -86
  1106. package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  1107. package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  1108. package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  1109. package/node_modules/@noble/hashes/esm/index.js +0 -33
  1110. package/node_modules/@noble/hashes/esm/index.js.map +0 -1
  1111. package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  1112. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  1113. package/node_modules/@noble/hashes/esm/legacy.js +0 -281
  1114. package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  1115. package/node_modules/@noble/hashes/esm/package.json +0 -10
  1116. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  1117. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  1118. package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  1119. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  1120. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  1121. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  1122. package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  1123. package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  1124. package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  1125. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  1126. package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  1127. package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  1128. package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  1129. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  1130. package/node_modules/@noble/hashes/esm/sha1.js +0 -11
  1131. package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  1132. package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  1133. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  1134. package/node_modules/@noble/hashes/esm/sha2.js +0 -375
  1135. package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  1136. package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  1137. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  1138. package/node_modules/@noble/hashes/esm/sha256.js +0 -20
  1139. package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  1140. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  1141. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  1142. package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  1143. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  1144. package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  1145. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  1146. package/node_modules/@noble/hashes/esm/sha3.js +0 -234
  1147. package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  1148. package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  1149. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  1150. package/node_modules/@noble/hashes/esm/sha512.js +0 -26
  1151. package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  1152. package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  1153. package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  1154. package/node_modules/@noble/hashes/esm/utils.js +0 -281
  1155. package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  1156. package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  1157. package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  1158. package/node_modules/@noble/hashes/hkdf.js +0 -88
  1159. package/node_modules/@noble/hashes/hkdf.js.map +0 -1
  1160. package/node_modules/@noble/hashes/hmac.d.ts +0 -35
  1161. package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  1162. package/node_modules/@noble/hashes/hmac.js +0 -91
  1163. package/node_modules/@noble/hashes/hmac.js.map +0 -1
  1164. package/node_modules/@noble/hashes/index.d.ts +0 -1
  1165. package/node_modules/@noble/hashes/index.d.ts.map +0 -1
  1166. package/node_modules/@noble/hashes/index.js +0 -33
  1167. package/node_modules/@noble/hashes/index.js.map +0 -1
  1168. package/node_modules/@noble/hashes/legacy.d.ts +0 -71
  1169. package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  1170. package/node_modules/@noble/hashes/legacy.js +0 -287
  1171. package/node_modules/@noble/hashes/legacy.js.map +0 -1
  1172. package/node_modules/@noble/hashes/package.json +0 -266
  1173. package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  1174. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  1175. package/node_modules/@noble/hashes/pbkdf2.js +0 -101
  1176. package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  1177. package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  1178. package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  1179. package/node_modules/@noble/hashes/ripemd160.js +0 -16
  1180. package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  1181. package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  1182. package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  1183. package/node_modules/@noble/hashes/scrypt.js +0 -232
  1184. package/node_modules/@noble/hashes/scrypt.js.map +0 -1
  1185. package/node_modules/@noble/hashes/sha1.d.ts +0 -11
  1186. package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  1187. package/node_modules/@noble/hashes/sha1.js +0 -14
  1188. package/node_modules/@noble/hashes/sha1.js.map +0 -1
  1189. package/node_modules/@noble/hashes/sha2.d.ts +0 -159
  1190. package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  1191. package/node_modules/@noble/hashes/sha2.js +0 -384
  1192. package/node_modules/@noble/hashes/sha2.js.map +0 -1
  1193. package/node_modules/@noble/hashes/sha256.d.ts +0 -20
  1194. package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  1195. package/node_modules/@noble/hashes/sha256.js +0 -23
  1196. package/node_modules/@noble/hashes/sha256.js.map +0 -1
  1197. package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  1198. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  1199. package/node_modules/@noble/hashes/sha3-addons.js +0 -402
  1200. package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  1201. package/node_modules/@noble/hashes/sha3.d.ts +0 -53
  1202. package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  1203. package/node_modules/@noble/hashes/sha3.js +0 -239
  1204. package/node_modules/@noble/hashes/sha3.js.map +0 -1
  1205. package/node_modules/@noble/hashes/sha512.d.ts +0 -26
  1206. package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  1207. package/node_modules/@noble/hashes/sha512.js +0 -29
  1208. package/node_modules/@noble/hashes/sha512.js.map +0 -1
  1209. package/node_modules/@noble/hashes/src/_assert.ts +0 -22
  1210. package/node_modules/@noble/hashes/src/_blake.ts +0 -50
  1211. package/node_modules/@noble/hashes/src/_md.ts +0 -176
  1212. package/node_modules/@noble/hashes/src/_u64.ts +0 -91
  1213. package/node_modules/@noble/hashes/src/argon2.ts +0 -497
  1214. package/node_modules/@noble/hashes/src/blake1.ts +0 -534
  1215. package/node_modules/@noble/hashes/src/blake2.ts +0 -486
  1216. package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  1217. package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  1218. package/node_modules/@noble/hashes/src/blake3.ts +0 -272
  1219. package/node_modules/@noble/hashes/src/crypto.ts +0 -9
  1220. package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  1221. package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  1222. package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  1223. package/node_modules/@noble/hashes/src/hmac.ts +0 -94
  1224. package/node_modules/@noble/hashes/src/index.ts +0 -31
  1225. package/node_modules/@noble/hashes/src/legacy.ts +0 -293
  1226. package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  1227. package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  1228. package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  1229. package/node_modules/@noble/hashes/src/sha1.ts +0 -10
  1230. package/node_modules/@noble/hashes/src/sha2.ts +0 -402
  1231. package/node_modules/@noble/hashes/src/sha256.ts +0 -24
  1232. package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  1233. package/node_modules/@noble/hashes/src/sha3.ts +0 -258
  1234. package/node_modules/@noble/hashes/src/sha512.ts +0 -34
  1235. package/node_modules/@noble/hashes/src/utils.ts +0 -395
  1236. package/node_modules/@noble/hashes/utils.d.ts +0 -161
  1237. package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  1238. package/node_modules/@noble/hashes/utils.js +0 -313
  1239. package/node_modules/@noble/hashes/utils.js.map +0 -1
  1240. package/node_modules/@solana/buffer-layout/LICENSE +0 -21
  1241. package/node_modules/@solana/buffer-layout/README.md +0 -403
  1242. package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +0 -1191
  1243. package/node_modules/@solana/buffer-layout/lib/Layout.js +0 -2390
  1244. package/node_modules/@solana/buffer-layout/lib/Layout.js.map +0 -1
  1245. package/node_modules/@solana/buffer-layout/package.json +0 -55
  1246. package/node_modules/@solana/web3.js/LICENSE +0 -20
  1247. package/node_modules/@solana/web3.js/README.md +0 -145
  1248. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +0 -10562
  1249. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +0 -1
  1250. package/node_modules/@solana/web3.js/lib/index.browser.esm.js +0 -10461
  1251. package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +0 -1
  1252. package/node_modules/@solana/web3.js/lib/index.cjs.js +0 -11311
  1253. package/node_modules/@solana/web3.js/lib/index.cjs.js.map +0 -1
  1254. package/node_modules/@solana/web3.js/lib/index.d.ts +0 -4021
  1255. package/node_modules/@solana/web3.js/lib/index.esm.js +0 -11206
  1256. package/node_modules/@solana/web3.js/lib/index.esm.js.map +0 -1
  1257. package/node_modules/@solana/web3.js/lib/index.iife.js +0 -26083
  1258. package/node_modules/@solana/web3.js/lib/index.iife.js.map +0 -1
  1259. package/node_modules/@solana/web3.js/lib/index.iife.min.js +0 -20
  1260. package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +0 -1
  1261. package/node_modules/@solana/web3.js/lib/index.native.js +0 -10562
  1262. package/node_modules/@solana/web3.js/lib/index.native.js.map +0 -1
  1263. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/LICENSE +0 -20
  1264. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/README.md +0 -662
  1265. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
  1266. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
  1267. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
  1268. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
  1269. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
  1270. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
  1271. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
  1272. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
  1273. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
  1274. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
  1275. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
  1276. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
  1277. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
  1278. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
  1279. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
  1280. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
  1281. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
  1282. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
  1283. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
  1284. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
  1285. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
  1286. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
  1287. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
  1288. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
  1289. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
  1290. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
  1291. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
  1292. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
  1293. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
  1294. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
  1295. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
  1296. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
  1297. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
  1298. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
  1299. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
  1300. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
  1301. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
  1302. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
  1303. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/package.json +0 -83
  1304. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/LICENSE +0 -20
  1305. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/README.md +0 -130
  1306. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
  1307. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
  1308. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
  1309. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
  1310. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
  1311. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
  1312. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
  1313. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
  1314. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
  1315. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
  1316. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
  1317. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
  1318. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
  1319. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
  1320. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
  1321. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
  1322. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
  1323. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
  1324. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
  1325. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
  1326. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
  1327. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
  1328. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
  1329. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
  1330. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
  1331. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
  1332. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
  1333. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
  1334. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
  1335. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
  1336. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
  1337. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
  1338. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
  1339. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
  1340. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
  1341. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
  1342. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
  1343. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
  1344. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
  1345. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
  1346. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
  1347. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
  1348. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
  1349. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
  1350. package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/package.json +0 -83
  1351. package/node_modules/@solana/web3.js/node_modules/@solana/errors/LICENSE +0 -20
  1352. package/node_modules/@solana/web3.js/node_modules/@solana/errors/README.md +0 -87
  1353. package/node_modules/@solana/web3.js/node_modules/@solana/errors/bin/cli.mjs +0 -7
  1354. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/cli.mjs +0 -570
  1355. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs +0 -1084
  1356. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
  1357. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs +0 -852
  1358. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
  1359. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs +0 -852
  1360. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
  1361. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs +0 -1084
  1362. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
  1363. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs +0 -852
  1364. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
  1365. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts +0 -275
  1366. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
  1367. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts +0 -398
  1368. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
  1369. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
  1370. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
  1371. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
  1372. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
  1373. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
  1374. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
  1375. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -51
  1376. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
  1377. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
  1378. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
  1379. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
  1380. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
  1381. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
  1382. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
  1383. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
  1384. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
  1385. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
  1386. package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
  1387. package/node_modules/@solana/web3.js/node_modules/@solana/errors/package.json +0 -84
  1388. package/node_modules/@solana/web3.js/node_modules/commander/LICENSE +0 -22
  1389. package/node_modules/@solana/web3.js/node_modules/commander/Readme.md +0 -1149
  1390. package/node_modules/@solana/web3.js/node_modules/commander/esm.mjs +0 -16
  1391. package/node_modules/@solana/web3.js/node_modules/commander/index.js +0 -24
  1392. package/node_modules/@solana/web3.js/node_modules/commander/lib/argument.js +0 -149
  1393. package/node_modules/@solana/web3.js/node_modules/commander/lib/command.js +0 -2662
  1394. package/node_modules/@solana/web3.js/node_modules/commander/lib/error.js +0 -39
  1395. package/node_modules/@solana/web3.js/node_modules/commander/lib/help.js +0 -709
  1396. package/node_modules/@solana/web3.js/node_modules/commander/lib/option.js +0 -367
  1397. package/node_modules/@solana/web3.js/node_modules/commander/lib/suggestSimilar.js +0 -101
  1398. package/node_modules/@solana/web3.js/node_modules/commander/package-support.json +0 -16
  1399. package/node_modules/@solana/web3.js/node_modules/commander/package.json +0 -82
  1400. package/node_modules/@solana/web3.js/node_modules/commander/typings/esm.d.mts +0 -3
  1401. package/node_modules/@solana/web3.js/node_modules/commander/typings/index.d.ts +0 -1045
  1402. package/node_modules/@solana/web3.js/node_modules/superstruct/License.md +0 -9
  1403. package/node_modules/@solana/web3.js/node_modules/superstruct/Readme.md +0 -230
  1404. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts +0 -33
  1405. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts.map +0 -1
  1406. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs +0 -1084
  1407. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs.map +0 -1
  1408. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts +0 -7
  1409. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts.map +0 -1
  1410. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs +0 -1026
  1411. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs.map +0 -1
  1412. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts +0 -119
  1413. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts.map +0 -1
  1414. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts +0 -29
  1415. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts.map +0 -1
  1416. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts +0 -38
  1417. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts.map +0 -1
  1418. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts +0 -142
  1419. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts.map +0 -1
  1420. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts +0 -66
  1421. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts.map +0 -1
  1422. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts +0 -144
  1423. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts.map +0 -1
  1424. package/node_modules/@solana/web3.js/node_modules/superstruct/package.json +0 -85
  1425. package/node_modules/@solana/web3.js/package.json +0 -75
  1426. package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +0 -4
  1427. package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +0 -4
  1428. package/node_modules/@solana/web3.js/src/account-data.ts +0 -39
  1429. package/node_modules/@solana/web3.js/src/account.ts +0 -55
  1430. package/node_modules/@solana/web3.js/src/blockhash.ts +0 -4
  1431. package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +0 -5
  1432. package/node_modules/@solana/web3.js/src/bpf-loader.ts +0 -50
  1433. package/node_modules/@solana/web3.js/src/connection.ts +0 -6955
  1434. package/node_modules/@solana/web3.js/src/epoch-schedule.ts +0 -102
  1435. package/node_modules/@solana/web3.js/src/errors.ts +0 -133
  1436. package/node_modules/@solana/web3.js/src/fee-calculator.ts +0 -18
  1437. package/node_modules/@solana/web3.js/src/fetch-impl.ts +0 -16
  1438. package/node_modules/@solana/web3.js/src/index.ts +0 -24
  1439. package/node_modules/@solana/web3.js/src/instruction.ts +0 -58
  1440. package/node_modules/@solana/web3.js/src/keypair.ts +0 -102
  1441. package/node_modules/@solana/web3.js/src/layout.ts +0 -188
  1442. package/node_modules/@solana/web3.js/src/loader.ts +0 -267
  1443. package/node_modules/@solana/web3.js/src/message/account-keys.ts +0 -79
  1444. package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +0 -165
  1445. package/node_modules/@solana/web3.js/src/message/index.ts +0 -47
  1446. package/node_modules/@solana/web3.js/src/message/legacy.ts +0 -323
  1447. package/node_modules/@solana/web3.js/src/message/v0.ts +0 -513
  1448. package/node_modules/@solana/web3.js/src/message/versioned.ts +0 -36
  1449. package/node_modules/@solana/web3.js/src/nonce-account.ts +0 -82
  1450. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +0 -438
  1451. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +0 -84
  1452. package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +0 -281
  1453. package/node_modules/@solana/web3.js/src/programs/ed25519.ts +0 -157
  1454. package/node_modules/@solana/web3.js/src/programs/index.ts +0 -7
  1455. package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +0 -228
  1456. package/node_modules/@solana/web3.js/src/programs/stake.ts +0 -952
  1457. package/node_modules/@solana/web3.js/src/programs/system.ts +0 -1048
  1458. package/node_modules/@solana/web3.js/src/programs/vote.ts +0 -586
  1459. package/node_modules/@solana/web3.js/src/publickey.ts +0 -259
  1460. package/node_modules/@solana/web3.js/src/rpc-websocket.ts +0 -75
  1461. package/node_modules/@solana/web3.js/src/sysvar.ts +0 -37
  1462. package/node_modules/@solana/web3.js/src/timing.ts +0 -23
  1463. package/node_modules/@solana/web3.js/src/transaction/constants.ts +0 -12
  1464. package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +0 -48
  1465. package/node_modules/@solana/web3.js/src/transaction/index.ts +0 -5
  1466. package/node_modules/@solana/web3.js/src/transaction/legacy.ts +0 -970
  1467. package/node_modules/@solana/web3.js/src/transaction/message.ts +0 -140
  1468. package/node_modules/@solana/web3.js/src/transaction/versioned.ts +0 -127
  1469. package/node_modules/@solana/web3.js/src/utils/assert.ts +0 -8
  1470. package/node_modules/@solana/web3.js/src/utils/bigint.ts +0 -24
  1471. package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +0 -38
  1472. package/node_modules/@solana/web3.js/src/utils/cluster.ts +0 -35
  1473. package/node_modules/@solana/web3.js/src/utils/ed25519.ts +0 -43
  1474. package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +0 -34
  1475. package/node_modules/@solana/web3.js/src/utils/index.ts +0 -5
  1476. package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +0 -26
  1477. package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +0 -14
  1478. package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +0 -11
  1479. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +0 -110
  1480. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +0 -106
  1481. package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +0 -28
  1482. package/node_modules/@solana/web3.js/src/utils/sleep.ts +0 -4
  1483. package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +0 -11
  1484. package/node_modules/@solana/web3.js/src/validator-info.ts +0 -108
  1485. package/node_modules/@solana/web3.js/src/vote-account.ts +0 -236
  1486. package/node_modules/@swc/helpers/LICENSE +0 -201
  1487. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +0 -4
  1488. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +0 -4
  1489. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +0 -4
  1490. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +0 -4
  1491. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +0 -4
  1492. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +0 -4
  1493. package/node_modules/@swc/helpers/_/_async_generator/package.json +0 -4
  1494. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +0 -4
  1495. package/node_modules/@swc/helpers/_/_async_iterator/package.json +0 -4
  1496. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +0 -4
  1497. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +0 -4
  1498. package/node_modules/@swc/helpers/_/_await_value/package.json +0 -4
  1499. package/node_modules/@swc/helpers/_/_call_super/package.json +0 -4
  1500. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +0 -4
  1501. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +0 -4
  1502. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +0 -4
  1503. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +0 -4
  1504. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +0 -4
  1505. package/node_modules/@swc/helpers/_/_class_call_check/package.json +0 -4
  1506. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +0 -4
  1507. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +0 -4
  1508. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +0 -4
  1509. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +0 -4
  1510. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +0 -4
  1511. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +0 -4
  1512. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +0 -4
  1513. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +0 -4
  1514. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +0 -4
  1515. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +0 -4
  1516. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +0 -4
  1517. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +0 -4
  1518. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +0 -4
  1519. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +0 -4
  1520. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +0 -4
  1521. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +0 -4
  1522. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +0 -4
  1523. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +0 -4
  1524. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +0 -4
  1525. package/node_modules/@swc/helpers/_/_construct/package.json +0 -4
  1526. package/node_modules/@swc/helpers/_/_create_class/package.json +0 -4
  1527. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +0 -4
  1528. package/node_modules/@swc/helpers/_/_create_super/package.json +0 -4
  1529. package/node_modules/@swc/helpers/_/_decorate/package.json +0 -4
  1530. package/node_modules/@swc/helpers/_/_defaults/package.json +0 -4
  1531. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +0 -4
  1532. package/node_modules/@swc/helpers/_/_define_property/package.json +0 -4
  1533. package/node_modules/@swc/helpers/_/_dispose/package.json +0 -4
  1534. package/node_modules/@swc/helpers/_/_export_star/package.json +0 -4
  1535. package/node_modules/@swc/helpers/_/_extends/package.json +0 -4
  1536. package/node_modules/@swc/helpers/_/_get/package.json +0 -4
  1537. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +0 -4
  1538. package/node_modules/@swc/helpers/_/_identity/package.json +0 -4
  1539. package/node_modules/@swc/helpers/_/_inherits/package.json +0 -4
  1540. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +0 -4
  1541. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +0 -4
  1542. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +0 -4
  1543. package/node_modules/@swc/helpers/_/_instanceof/package.json +0 -4
  1544. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +0 -4
  1545. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +0 -4
  1546. package/node_modules/@swc/helpers/_/_is_native_function/package.json +0 -4
  1547. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +0 -4
  1548. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +0 -4
  1549. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +0 -4
  1550. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +0 -4
  1551. package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
  1552. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +0 -4
  1553. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +0 -4
  1554. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +0 -4
  1555. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +0 -4
  1556. package/node_modules/@swc/helpers/_/_object_spread/package.json +0 -4
  1557. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +0 -4
  1558. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +0 -4
  1559. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +0 -4
  1560. package/node_modules/@swc/helpers/_/_overload_yield/package.json +0 -4
  1561. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +0 -4
  1562. package/node_modules/@swc/helpers/_/_read_only_error/package.json +0 -4
  1563. package/node_modules/@swc/helpers/_/_set/package.json +0 -4
  1564. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +0 -4
  1565. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +0 -4
  1566. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +0 -4
  1567. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +0 -4
  1568. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +0 -4
  1569. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +0 -4
  1570. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +0 -4
  1571. package/node_modules/@swc/helpers/_/_throw/package.json +0 -4
  1572. package/node_modules/@swc/helpers/_/_to_array/package.json +0 -4
  1573. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +0 -4
  1574. package/node_modules/@swc/helpers/_/_to_primitive/package.json +0 -4
  1575. package/node_modules/@swc/helpers/_/_to_property_key/package.json +0 -4
  1576. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +0 -4
  1577. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +0 -4
  1578. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +0 -4
  1579. package/node_modules/@swc/helpers/_/_ts_generator/package.json +0 -4
  1580. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +0 -4
  1581. package/node_modules/@swc/helpers/_/_ts_param/package.json +0 -4
  1582. package/node_modules/@swc/helpers/_/_ts_values/package.json +0 -4
  1583. package/node_modules/@swc/helpers/_/_type_of/package.json +0 -4
  1584. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +0 -4
  1585. package/node_modules/@swc/helpers/_/_update/package.json +0 -4
  1586. package/node_modules/@swc/helpers/_/_using/package.json +0 -4
  1587. package/node_modules/@swc/helpers/_/_using_ctx/package.json +0 -4
  1588. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +0 -4
  1589. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +0 -4
  1590. package/node_modules/@swc/helpers/_/_write_only_error/package.json +0 -4
  1591. package/node_modules/@swc/helpers/_/index/package.json +0 -4
  1592. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +0 -35
  1593. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +0 -550
  1594. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +0 -10
  1595. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +0 -6
  1596. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +0 -8
  1597. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +0 -8
  1598. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +0 -76
  1599. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +0 -53
  1600. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +0 -46
  1601. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +0 -33
  1602. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +0 -8
  1603. package/node_modules/@swc/helpers/cjs/_await_value.cjs +0 -6
  1604. package/node_modules/@swc/helpers/cjs/_call_super.cjs +0 -19
  1605. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +0 -8
  1606. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +0 -25
  1607. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +0 -8
  1608. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +0 -15
  1609. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +0 -30
  1610. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +0 -6
  1611. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +0 -6
  1612. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +0 -8
  1613. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +0 -8
  1614. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +0 -6
  1615. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +0 -10
  1616. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +0 -10
  1617. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +0 -9
  1618. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +0 -10
  1619. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +0 -8
  1620. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +0 -11
  1621. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +0 -10
  1622. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +0 -8
  1623. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +0 -9
  1624. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +0 -6
  1625. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +0 -13
  1626. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +0 -13
  1627. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +0 -14
  1628. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +0 -13
  1629. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +0 -10
  1630. package/node_modules/@swc/helpers/cjs/_construct.cjs +0 -22
  1631. package/node_modules/@swc/helpers/cjs/_create_class.cjs +0 -20
  1632. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +0 -24
  1633. package/node_modules/@swc/helpers/cjs/_create_super.cjs +0 -23
  1634. package/node_modules/@swc/helpers/cjs/_decorate.cjs +0 -270
  1635. package/node_modules/@swc/helpers/cjs/_defaults.cjs +0 -15
  1636. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +0 -26
  1637. package/node_modules/@swc/helpers/cjs/_define_property.cjs +0 -10
  1638. package/node_modules/@swc/helpers/cjs/_dispose.cjs +0 -43
  1639. package/node_modules/@swc/helpers/cjs/_export_star.cjs +0 -17
  1640. package/node_modules/@swc/helpers/cjs/_extends.cjs +0 -15
  1641. package/node_modules/@swc/helpers/cjs/_get.cjs +0 -23
  1642. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +0 -10
  1643. package/node_modules/@swc/helpers/cjs/_identity.cjs +0 -7
  1644. package/node_modules/@swc/helpers/cjs/_inherits.cjs +0 -14
  1645. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +0 -8
  1646. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +0 -13
  1647. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +0 -11
  1648. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +0 -8
  1649. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
  1650. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
  1651. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +0 -6
  1652. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +0 -18
  1653. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +0 -8
  1654. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +0 -31
  1655. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +0 -17
  1656. package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
  1657. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +0 -6
  1658. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +0 -6
  1659. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +0 -6
  1660. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +0 -8
  1661. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +0 -25
  1662. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +0 -30
  1663. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +0 -23
  1664. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +0 -18
  1665. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +0 -8
  1666. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +0 -11
  1667. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +0 -6
  1668. package/node_modules/@swc/helpers/cjs/_set.cjs +0 -44
  1669. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +0 -12
  1670. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +0 -11
  1671. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +0 -11
  1672. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +0 -11
  1673. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +0 -13
  1674. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +0 -8
  1675. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +0 -10
  1676. package/node_modules/@swc/helpers/cjs/_throw.cjs +0 -6
  1677. package/node_modules/@swc/helpers/cjs/_to_array.cjs +0 -11
  1678. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +0 -11
  1679. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +0 -18
  1680. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +0 -11
  1681. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +0 -3
  1682. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +0 -3
  1683. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +0 -3
  1684. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +0 -3
  1685. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +0 -3
  1686. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +0 -3
  1687. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +0 -3
  1688. package/node_modules/@swc/helpers/cjs/_type_of.cjs +0 -8
  1689. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +0 -15
  1690. package/node_modules/@swc/helpers/cjs/_update.cjs +0 -16
  1691. package/node_modules/@swc/helpers/cjs/_using.cjs +0 -24
  1692. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +0 -75
  1693. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +0 -10
  1694. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +0 -28
  1695. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +0 -6
  1696. package/node_modules/@swc/helpers/cjs/index.cjs +0 -427
  1697. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +0 -33
  1698. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +0 -548
  1699. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +0 -8
  1700. package/node_modules/@swc/helpers/esm/_array_with_holes.js +0 -4
  1701. package/node_modules/@swc/helpers/esm/_array_without_holes.js +0 -6
  1702. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +0 -6
  1703. package/node_modules/@swc/helpers/esm/_async_generator.js +0 -74
  1704. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +0 -51
  1705. package/node_modules/@swc/helpers/esm/_async_iterator.js +0 -44
  1706. package/node_modules/@swc/helpers/esm/_async_to_generator.js +0 -31
  1707. package/node_modules/@swc/helpers/esm/_await_async_generator.js +0 -6
  1708. package/node_modules/@swc/helpers/esm/_await_value.js +0 -4
  1709. package/node_modules/@swc/helpers/esm/_call_super.js +0 -17
  1710. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
  1711. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +0 -23
  1712. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
  1713. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
  1714. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +0 -28
  1715. package/node_modules/@swc/helpers/esm/_class_call_check.js +0 -4
  1716. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +0 -4
  1717. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +0 -6
  1718. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
  1719. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +0 -4
  1720. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +0 -8
  1721. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
  1722. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
  1723. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +0 -8
  1724. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +0 -6
  1725. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
  1726. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +0 -8
  1727. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +0 -6
  1728. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +0 -7
  1729. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +0 -4
  1730. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +0 -11
  1731. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +0 -11
  1732. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +0 -12
  1733. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +0 -11
  1734. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +0 -8
  1735. package/node_modules/@swc/helpers/esm/_construct.js +0 -20
  1736. package/node_modules/@swc/helpers/esm/_create_class.js +0 -18
  1737. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +0 -22
  1738. package/node_modules/@swc/helpers/esm/_create_super.js +0 -21
  1739. package/node_modules/@swc/helpers/esm/_decorate.js +0 -268
  1740. package/node_modules/@swc/helpers/esm/_defaults.js +0 -13
  1741. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +0 -24
  1742. package/node_modules/@swc/helpers/esm/_define_property.js +0 -8
  1743. package/node_modules/@swc/helpers/esm/_dispose.js +0 -41
  1744. package/node_modules/@swc/helpers/esm/_export_star.js +0 -15
  1745. package/node_modules/@swc/helpers/esm/_extends.js +0 -13
  1746. package/node_modules/@swc/helpers/esm/_get.js +0 -21
  1747. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +0 -8
  1748. package/node_modules/@swc/helpers/esm/_identity.js +0 -5
  1749. package/node_modules/@swc/helpers/esm/_inherits.js +0 -12
  1750. package/node_modules/@swc/helpers/esm/_inherits_loose.js +0 -6
  1751. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +0 -11
  1752. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +0 -9
  1753. package/node_modules/@swc/helpers/esm/_instanceof.js +0 -6
  1754. package/node_modules/@swc/helpers/esm/_interop_require_default.js +0 -4
  1755. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +0 -36
  1756. package/node_modules/@swc/helpers/esm/_is_native_function.js +0 -4
  1757. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +0 -16
  1758. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +0 -6
  1759. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +0 -29
  1760. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +0 -15
  1761. package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
  1762. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +0 -4
  1763. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +0 -4
  1764. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +0 -4
  1765. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +0 -6
  1766. package/node_modules/@swc/helpers/esm/_object_spread.js +0 -23
  1767. package/node_modules/@swc/helpers/esm/_object_spread_props.js +0 -28
  1768. package/node_modules/@swc/helpers/esm/_object_without_properties.js +0 -21
  1769. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +0 -16
  1770. package/node_modules/@swc/helpers/esm/_overload_yield.js +0 -6
  1771. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +0 -9
  1772. package/node_modules/@swc/helpers/esm/_read_only_error.js +0 -4
  1773. package/node_modules/@swc/helpers/esm/_set.js +0 -42
  1774. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +0 -10
  1775. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +0 -9
  1776. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +0 -9
  1777. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +0 -9
  1778. package/node_modules/@swc/helpers/esm/_super_prop_base.js +0 -11
  1779. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +0 -6
  1780. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +0 -8
  1781. package/node_modules/@swc/helpers/esm/_throw.js +0 -4
  1782. package/node_modules/@swc/helpers/esm/_to_array.js +0 -9
  1783. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +0 -9
  1784. package/node_modules/@swc/helpers/esm/_to_primitive.js +0 -16
  1785. package/node_modules/@swc/helpers/esm/_to_property_key.js +0 -9
  1786. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +0 -1
  1787. package/node_modules/@swc/helpers/esm/_ts_decorate.js +0 -1
  1788. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +0 -1
  1789. package/node_modules/@swc/helpers/esm/_ts_generator.js +0 -1
  1790. package/node_modules/@swc/helpers/esm/_ts_metadata.js +0 -1
  1791. package/node_modules/@swc/helpers/esm/_ts_param.js +0 -1
  1792. package/node_modules/@swc/helpers/esm/_ts_values.js +0 -1
  1793. package/node_modules/@swc/helpers/esm/_type_of.js +0 -6
  1794. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +0 -13
  1795. package/node_modules/@swc/helpers/esm/_update.js +0 -14
  1796. package/node_modules/@swc/helpers/esm/_using.js +0 -22
  1797. package/node_modules/@swc/helpers/esm/_using_ctx.js +0 -73
  1798. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +0 -8
  1799. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +0 -26
  1800. package/node_modules/@swc/helpers/esm/_write_only_error.js +0 -4
  1801. package/node_modules/@swc/helpers/esm/index.js +0 -107
  1802. package/node_modules/@swc/helpers/package.json +0 -689
  1803. package/node_modules/@swc/helpers/scripts/ast_grep.js +0 -229
  1804. package/node_modules/@swc/helpers/scripts/build.js +0 -133
  1805. package/node_modules/@swc/helpers/scripts/errors.js +0 -1
  1806. package/node_modules/@swc/helpers/scripts/utils.js +0 -3
  1807. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +0 -1
  1808. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +0 -1
  1809. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +0 -1
  1810. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +0 -1
  1811. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +0 -1
  1812. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +0 -1
  1813. package/node_modules/@swc/helpers/src/_async_generator.mjs +0 -1
  1814. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +0 -1
  1815. package/node_modules/@swc/helpers/src/_async_iterator.mjs +0 -1
  1816. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +0 -1
  1817. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +0 -1
  1818. package/node_modules/@swc/helpers/src/_await_value.mjs +0 -1
  1819. package/node_modules/@swc/helpers/src/_call_super.mjs +0 -1
  1820. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +0 -1
  1821. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +0 -1
  1822. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +0 -1
  1823. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +0 -1
  1824. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +0 -1
  1825. package/node_modules/@swc/helpers/src/_class_call_check.mjs +0 -1
  1826. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +0 -1
  1827. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +0 -1
  1828. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +0 -1
  1829. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +0 -1
  1830. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +0 -1
  1831. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +0 -1
  1832. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +0 -1
  1833. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +0 -1
  1834. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +0 -1
  1835. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +0 -1
  1836. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +0 -1
  1837. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +0 -1
  1838. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +0 -1
  1839. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +0 -1
  1840. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +0 -1
  1841. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +0 -1
  1842. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +0 -1
  1843. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +0 -1
  1844. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +0 -1
  1845. package/node_modules/@swc/helpers/src/_construct.mjs +0 -1
  1846. package/node_modules/@swc/helpers/src/_create_class.mjs +0 -1
  1847. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +0 -1
  1848. package/node_modules/@swc/helpers/src/_create_super.mjs +0 -1
  1849. package/node_modules/@swc/helpers/src/_decorate.mjs +0 -1
  1850. package/node_modules/@swc/helpers/src/_defaults.mjs +0 -1
  1851. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +0 -1
  1852. package/node_modules/@swc/helpers/src/_define_property.mjs +0 -1
  1853. package/node_modules/@swc/helpers/src/_dispose.mjs +0 -1
  1854. package/node_modules/@swc/helpers/src/_export_star.mjs +0 -1
  1855. package/node_modules/@swc/helpers/src/_extends.mjs +0 -1
  1856. package/node_modules/@swc/helpers/src/_get.mjs +0 -1
  1857. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +0 -1
  1858. package/node_modules/@swc/helpers/src/_identity.mjs +0 -1
  1859. package/node_modules/@swc/helpers/src/_inherits.mjs +0 -1
  1860. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +0 -1
  1861. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +0 -1
  1862. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +0 -1
  1863. package/node_modules/@swc/helpers/src/_instanceof.mjs +0 -1
  1864. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +0 -1
  1865. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +0 -1
  1866. package/node_modules/@swc/helpers/src/_is_native_function.mjs +0 -1
  1867. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +0 -1
  1868. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +0 -1
  1869. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +0 -1
  1870. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +0 -1
  1871. package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
  1872. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +0 -1
  1873. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +0 -1
  1874. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +0 -1
  1875. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +0 -1
  1876. package/node_modules/@swc/helpers/src/_object_spread.mjs +0 -1
  1877. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +0 -1
  1878. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +0 -1
  1879. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +0 -1
  1880. package/node_modules/@swc/helpers/src/_overload_yield.mjs +0 -1
  1881. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +0 -1
  1882. package/node_modules/@swc/helpers/src/_read_only_error.mjs +0 -1
  1883. package/node_modules/@swc/helpers/src/_set.mjs +0 -1
  1884. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +0 -1
  1885. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +0 -1
  1886. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +0 -1
  1887. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +0 -1
  1888. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +0 -1
  1889. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +0 -1
  1890. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +0 -1
  1891. package/node_modules/@swc/helpers/src/_throw.mjs +0 -1
  1892. package/node_modules/@swc/helpers/src/_to_array.mjs +0 -1
  1893. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +0 -1
  1894. package/node_modules/@swc/helpers/src/_to_primitive.mjs +0 -1
  1895. package/node_modules/@swc/helpers/src/_to_property_key.mjs +0 -1
  1896. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +0 -1
  1897. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +0 -1
  1898. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +0 -1
  1899. package/node_modules/@swc/helpers/src/_ts_generator.mjs +0 -1
  1900. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +0 -1
  1901. package/node_modules/@swc/helpers/src/_ts_param.mjs +0 -1
  1902. package/node_modules/@swc/helpers/src/_ts_values.mjs +0 -1
  1903. package/node_modules/@swc/helpers/src/_type_of.mjs +0 -1
  1904. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +0 -1
  1905. package/node_modules/@swc/helpers/src/_update.mjs +0 -1
  1906. package/node_modules/@swc/helpers/src/_using.mjs +0 -1
  1907. package/node_modules/@swc/helpers/src/_using_ctx.mjs +0 -1
  1908. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +0 -1
  1909. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +0 -1
  1910. package/node_modules/@swc/helpers/src/_write_only_error.mjs +0 -1
  1911. package/node_modules/@swc/helpers/src/index.mjs +0 -1
  1912. package/node_modules/@types/connect/LICENSE +0 -21
  1913. package/node_modules/@types/connect/README.md +0 -15
  1914. package/node_modules/@types/connect/index.d.ts +0 -91
  1915. package/node_modules/@types/connect/package.json +0 -32
  1916. package/node_modules/@types/node/LICENSE +0 -21
  1917. package/node_modules/@types/node/README.md +0 -15
  1918. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  1919. package/node_modules/@types/node/assert.d.ts +0 -1056
  1920. package/node_modules/@types/node/async_hooks.d.ts +0 -623
  1921. package/node_modules/@types/node/buffer.buffer.d.ts +0 -463
  1922. package/node_modules/@types/node/buffer.d.ts +0 -1927
  1923. package/node_modules/@types/node/child_process.d.ts +0 -1549
  1924. package/node_modules/@types/node/cluster.d.ts +0 -579
  1925. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  1926. package/node_modules/@types/node/console.d.ts +0 -452
  1927. package/node_modules/@types/node/constants.d.ts +0 -21
  1928. package/node_modules/@types/node/crypto.d.ts +0 -4516
  1929. package/node_modules/@types/node/dgram.d.ts +0 -599
  1930. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  1931. package/node_modules/@types/node/dns/promises.d.ts +0 -502
  1932. package/node_modules/@types/node/dns.d.ts +0 -919
  1933. package/node_modules/@types/node/dom-events.d.ts +0 -99
  1934. package/node_modules/@types/node/domain.d.ts +0 -170
  1935. package/node_modules/@types/node/events.d.ts +0 -930
  1936. package/node_modules/@types/node/fs/promises.d.ts +0 -1280
  1937. package/node_modules/@types/node/fs.d.ts +0 -4446
  1938. package/node_modules/@types/node/globals.d.ts +0 -367
  1939. package/node_modules/@types/node/globals.typedarray.d.ts +0 -22
  1940. package/node_modules/@types/node/http.d.ts +0 -2061
  1941. package/node_modules/@types/node/http2.d.ts +0 -2628
  1942. package/node_modules/@types/node/https.d.ts +0 -545
  1943. package/node_modules/@types/node/index.d.ts +0 -94
  1944. package/node_modules/@types/node/inspector.d.ts +0 -3998
  1945. package/node_modules/@types/node/module.d.ts +0 -869
  1946. package/node_modules/@types/node/net.d.ts +0 -1032
  1947. package/node_modules/@types/node/os.d.ts +0 -496
  1948. package/node_modules/@types/node/package.json +0 -240
  1949. package/node_modules/@types/node/path.d.ts +0 -200
  1950. package/node_modules/@types/node/perf_hooks.d.ts +0 -970
  1951. package/node_modules/@types/node/process.d.ts +0 -2073
  1952. package/node_modules/@types/node/punycode.d.ts +0 -117
  1953. package/node_modules/@types/node/querystring.d.ts +0 -152
  1954. package/node_modules/@types/node/readline/promises.d.ts +0 -161
  1955. package/node_modules/@types/node/readline.d.ts +0 -594
  1956. package/node_modules/@types/node/repl.d.ts +0 -428
  1957. package/node_modules/@types/node/sea.d.ts +0 -153
  1958. package/node_modules/@types/node/sqlite.d.ts +0 -688
  1959. package/node_modules/@types/node/stream/consumers.d.ts +0 -38
  1960. package/node_modules/@types/node/stream/promises.d.ts +0 -90
  1961. package/node_modules/@types/node/stream/web.d.ts +0 -618
  1962. package/node_modules/@types/node/stream.d.ts +0 -1657
  1963. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  1964. package/node_modules/@types/node/test.d.ts +0 -2215
  1965. package/node_modules/@types/node/timers/promises.d.ts +0 -108
  1966. package/node_modules/@types/node/timers.d.ts +0 -287
  1967. package/node_modules/@types/node/tls.d.ts +0 -1213
  1968. package/node_modules/@types/node/trace_events.d.ts +0 -197
  1969. package/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
  1970. package/node_modules/@types/node/ts5.1/index.d.ts +0 -98
  1971. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  1972. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  1973. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -20
  1974. package/node_modules/@types/node/ts5.6/index.d.ts +0 -96
  1975. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  1976. package/node_modules/@types/node/ts5.7/index.d.ts +0 -96
  1977. package/node_modules/@types/node/tty.d.ts +0 -208
  1978. package/node_modules/@types/node/url.d.ts +0 -1014
  1979. package/node_modules/@types/node/util.d.ts +0 -2305
  1980. package/node_modules/@types/node/v8.d.ts +0 -919
  1981. package/node_modules/@types/node/vm.d.ts +0 -1036
  1982. package/node_modules/@types/node/wasi.d.ts +0 -181
  1983. package/node_modules/@types/node/worker_threads.d.ts +0 -775
  1984. package/node_modules/@types/node/zlib.d.ts +0 -668
  1985. package/node_modules/@types/uuid/LICENSE +0 -21
  1986. package/node_modules/@types/uuid/README.md +0 -16
  1987. package/node_modules/@types/uuid/index.d.mts +0 -10
  1988. package/node_modules/@types/uuid/index.d.ts +0 -80
  1989. package/node_modules/@types/uuid/package.json +0 -54
  1990. package/node_modules/@types/ws/LICENSE +0 -21
  1991. package/node_modules/@types/ws/README.md +0 -16
  1992. package/node_modules/@types/ws/index.d.ts +0 -353
  1993. package/node_modules/@types/ws/package.json +0 -57
  1994. package/node_modules/agentkeepalive/LICENSE +0 -23
  1995. package/node_modules/agentkeepalive/README.md +0 -256
  1996. package/node_modules/agentkeepalive/browser.js +0 -5
  1997. package/node_modules/agentkeepalive/index.d.ts +0 -69
  1998. package/node_modules/agentkeepalive/index.js +0 -7
  1999. package/node_modules/agentkeepalive/lib/agent.js +0 -402
  2000. package/node_modules/agentkeepalive/lib/constants.js +0 -14
  2001. package/node_modules/agentkeepalive/lib/https_agent.js +0 -51
  2002. package/node_modules/agentkeepalive/package.json +0 -56
  2003. package/node_modules/base-x/LICENSE.md +0 -22
  2004. package/node_modules/base-x/README.md +0 -67
  2005. package/node_modules/base-x/package.json +0 -49
  2006. package/node_modules/base-x/src/index.d.ts +0 -10
  2007. package/node_modules/base-x/src/index.js +0 -123
  2008. package/node_modules/base64-js/LICENSE +0 -21
  2009. package/node_modules/base64-js/README.md +0 -34
  2010. package/node_modules/base64-js/base64js.min.js +0 -1
  2011. package/node_modules/base64-js/index.d.ts +0 -3
  2012. package/node_modules/base64-js/index.js +0 -150
  2013. package/node_modules/base64-js/package.json +0 -47
  2014. package/node_modules/bn.js/LICENSE +0 -19
  2015. package/node_modules/bn.js/README.md +0 -214
  2016. package/node_modules/bn.js/lib/bn.js +0 -3548
  2017. package/node_modules/bn.js/package.json +0 -39
  2018. package/node_modules/borsh/LICENSE-APACHE +0 -201
  2019. package/node_modules/borsh/LICENSE-MIT.txt +0 -23
  2020. package/node_modules/borsh/README.md +0 -83
  2021. package/node_modules/borsh/lib/index.d.ts +0 -52
  2022. package/node_modules/borsh/lib/index.js +0 -440
  2023. package/node_modules/borsh/package.json +0 -61
  2024. package/node_modules/bs58/README.md +0 -71
  2025. package/node_modules/bs58/index.js +0 -4
  2026. package/node_modules/bs58/package.json +0 -37
  2027. package/node_modules/buffer/AUTHORS.md +0 -73
  2028. package/node_modules/buffer/LICENSE +0 -21
  2029. package/node_modules/buffer/README.md +0 -410
  2030. package/node_modules/buffer/index.d.ts +0 -194
  2031. package/node_modules/buffer/index.js +0 -2106
  2032. package/node_modules/buffer/package.json +0 -93
  2033. package/node_modules/buffer-layout/.eslintrc.js +0 -45
  2034. package/node_modules/buffer-layout/.travis.yml +0 -9
  2035. package/node_modules/buffer-layout/CHANGELOG.md +0 -222
  2036. package/node_modules/buffer-layout/LICENSE +0 -21
  2037. package/node_modules/buffer-layout/README.md +0 -397
  2038. package/node_modules/buffer-layout/jsdoc/conf.json +0 -10
  2039. package/node_modules/buffer-layout/jsdoc/custom/local.js +0 -75
  2040. package/node_modules/buffer-layout/lib/Layout.js +0 -2712
  2041. package/node_modules/buffer-layout/package.json +0 -40
  2042. package/node_modules/buffer-layout/test/LayoutTest.js +0 -2162
  2043. package/node_modules/buffer-layout/test/examples.c +0 -112
  2044. package/node_modules/buffer-layout/test/examples.js +0 -259
  2045. package/node_modules/buffer-layout/test/n64.c +0 -71
  2046. package/node_modules/buffer-layout/x.js +0 -36
  2047. package/node_modules/bufferutil/LICENSE +0 -20
  2048. package/node_modules/bufferutil/README.md +0 -79
  2049. package/node_modules/bufferutil/binding.gyp +0 -32
  2050. package/node_modules/bufferutil/fallback.js +0 -34
  2051. package/node_modules/bufferutil/index.js +0 -7
  2052. package/node_modules/bufferutil/package.json +0 -36
  2053. package/node_modules/bufferutil/prebuilds/darwin-x64+arm64/bufferutil.node +0 -0
  2054. package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
  2055. package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
  2056. package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
  2057. package/node_modules/bufferutil/src/bufferutil.c +0 -171
  2058. package/node_modules/camelcase/index.d.ts +0 -103
  2059. package/node_modules/camelcase/index.js +0 -113
  2060. package/node_modules/camelcase/license +0 -9
  2061. package/node_modules/camelcase/package.json +0 -44
  2062. package/node_modules/camelcase/readme.md +0 -144
  2063. package/node_modules/chalk/license +0 -9
  2064. package/node_modules/chalk/package.json +0 -83
  2065. package/node_modules/chalk/readme.md +0 -297
  2066. package/node_modules/chalk/source/index.d.ts +0 -325
  2067. package/node_modules/chalk/source/index.js +0 -225
  2068. package/node_modules/chalk/source/utilities.js +0 -33
  2069. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  2070. package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  2071. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  2072. package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  2073. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  2074. package/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
  2075. package/node_modules/cross-fetch/LICENSE +0 -21
  2076. package/node_modules/cross-fetch/README.md +0 -169
  2077. package/node_modules/cross-fetch/dist/browser-polyfill.js +0 -658
  2078. package/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -686
  2079. package/node_modules/cross-fetch/dist/cross-fetch.js +0 -2
  2080. package/node_modules/cross-fetch/dist/cross-fetch.js.map +0 -1
  2081. package/node_modules/cross-fetch/dist/node-polyfill.js +0 -11
  2082. package/node_modules/cross-fetch/dist/node-ponyfill.js +0 -22
  2083. package/node_modules/cross-fetch/dist/react-native-polyfill.js +0 -12
  2084. package/node_modules/cross-fetch/dist/react-native-ponyfill.js +0 -6
  2085. package/node_modules/cross-fetch/index.d.ts +0 -14
  2086. package/node_modules/cross-fetch/package.json +0 -127
  2087. package/node_modules/cross-fetch/polyfill/package.json +0 -8
  2088. package/node_modules/delay/index.d.ts +0 -107
  2089. package/node_modules/delay/index.js +0 -72
  2090. package/node_modules/delay/license +0 -9
  2091. package/node_modules/delay/package.json +0 -54
  2092. package/node_modules/delay/readme.md +0 -173
  2093. package/node_modules/es6-promise/LICENSE +0 -19
  2094. package/node_modules/es6-promise/README.md +0 -97
  2095. package/node_modules/es6-promise/auto.js +0 -4
  2096. package/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
  2097. package/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
  2098. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
  2099. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
  2100. package/node_modules/es6-promise/dist/es6-promise.js +0 -1174
  2101. package/node_modules/es6-promise/dist/es6-promise.map +0 -1
  2102. package/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
  2103. package/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
  2104. package/node_modules/es6-promise/es6-promise.d.ts +0 -85
  2105. package/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
  2106. package/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
  2107. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
  2108. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
  2109. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
  2110. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
  2111. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
  2112. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
  2113. package/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
  2114. package/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
  2115. package/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
  2116. package/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
  2117. package/node_modules/es6-promise/lib/es6-promise.js +0 -7
  2118. package/node_modules/es6-promise/package.json +0 -78
  2119. package/node_modules/es6-promisify/README.md +0 -89
  2120. package/node_modules/es6-promisify/dist/promise.js +0 -73
  2121. package/node_modules/es6-promisify/dist/promisify.js +0 -85
  2122. package/node_modules/es6-promisify/package.json +0 -41
  2123. package/node_modules/eventemitter3/LICENSE +0 -21
  2124. package/node_modules/eventemitter3/README.md +0 -94
  2125. package/node_modules/eventemitter3/index.d.ts +0 -134
  2126. package/node_modules/eventemitter3/index.js +0 -336
  2127. package/node_modules/eventemitter3/package.json +0 -56
  2128. package/node_modules/eventemitter3/umd/eventemitter3.js +0 -340
  2129. package/node_modules/eventemitter3/umd/eventemitter3.min.js +0 -1
  2130. package/node_modules/eventemitter3/umd/eventemitter3.min.js.map +0 -1
  2131. package/node_modules/eyes/LICENSE +0 -20
  2132. package/node_modules/eyes/Makefile +0 -4
  2133. package/node_modules/eyes/README.md +0 -73
  2134. package/node_modules/eyes/lib/eyes.js +0 -236
  2135. package/node_modules/eyes/package.json +0 -14
  2136. package/node_modules/eyes/test/eyes-test.js +0 -56
  2137. package/node_modules/fast-stable-stringify/.npmignore +0 -4
  2138. package/node_modules/fast-stable-stringify/.travis.yml +0 -10
  2139. package/node_modules/fast-stable-stringify/LICENSE +0 -21
  2140. package/node_modules/fast-stable-stringify/README.md +0 -81
  2141. package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +0 -67
  2142. package/node_modules/fast-stable-stringify/cli/format-table.js +0 -70
  2143. package/node_modules/fast-stable-stringify/cli/index.js +0 -19
  2144. package/node_modules/fast-stable-stringify/fixtures/index.js +0 -5
  2145. package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +0 -191
  2146. package/node_modules/fast-stable-stringify/fixtures/log-result.json +0 -22
  2147. package/node_modules/fast-stable-stringify/fixtures/log.txt +0 -24
  2148. package/node_modules/fast-stable-stringify/index.js +0 -73
  2149. package/node_modules/fast-stable-stringify/karma.conf.js +0 -124
  2150. package/node_modules/fast-stable-stringify/karma.conf.travis.js +0 -95
  2151. package/node_modules/fast-stable-stringify/package.json +0 -47
  2152. package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  2153. package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  2154. package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  2155. package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  2156. package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  2157. package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  2158. package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  2159. package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  2160. package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  2161. package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
  2162. package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
  2163. package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
  2164. package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
  2165. package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
  2166. package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
  2167. package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
  2168. package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
  2169. package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
  2170. package/node_modules/fast-stable-stringify/results/escape.md +0 -20
  2171. package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2172. package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2173. package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2174. package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2175. package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2176. package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2177. package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2178. package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2179. package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2180. package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2181. package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2182. package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2183. package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2184. package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2185. package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2186. package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2187. package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2188. package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2189. package/node_modules/fast-stable-stringify/results/itar.md +0 -20
  2190. package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
  2191. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +0 -35
  2192. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
  2193. package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
  2194. package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
  2195. package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2196. package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2197. package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2198. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
  2199. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +0 -35
  2200. package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
  2201. package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +0 -35
  2202. package/node_modules/fast-stable-stringify/results/iter.md +0 -14
  2203. package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -46
  2204. package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -46
  2205. package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -46
  2206. package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -46
  2207. package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
  2208. package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
  2209. package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
  2210. package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -46
  2211. package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -46
  2212. package/node_modules/fast-stable-stringify/results/libs.md +0 -15
  2213. package/node_modules/fast-stable-stringify/test/escape-long.js +0 -147
  2214. package/node_modules/fast-stable-stringify/test/escape-short.js +0 -147
  2215. package/node_modules/fast-stable-stringify/test/index.js +0 -6
  2216. package/node_modules/fast-stable-stringify/test/itar-long.js +0 -52
  2217. package/node_modules/fast-stable-stringify/test/itar-short.js +0 -52
  2218. package/node_modules/fast-stable-stringify/test/iter.js +0 -84
  2219. package/node_modules/fast-stable-stringify/test/libs.js +0 -57
  2220. package/node_modules/fast-stable-stringify/test/travis.js +0 -43
  2221. package/node_modules/fast-stable-stringify/test/validate.js +0 -24
  2222. package/node_modules/fast-stable-stringify/util/eachRecursive.js +0 -9
  2223. package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +0 -21
  2224. package/node_modules/fast-stable-stringify/util/get-lib-info.js +0 -22
  2225. package/node_modules/fast-stable-stringify/util/object-path.js +0 -47
  2226. package/node_modules/fast-stable-stringify/v8-profile/bench.js +0 -8
  2227. package/node_modules/fast-stable-stringify/v8-profile/run.sh +0 -2
  2228. package/node_modules/fast-stable-stringify/zuul-local.sh +0 -2
  2229. package/node_modules/humanize-ms/LICENSE +0 -17
  2230. package/node_modules/humanize-ms/README.md +0 -40
  2231. package/node_modules/humanize-ms/index.js +0 -24
  2232. package/node_modules/humanize-ms/package.json +0 -37
  2233. package/node_modules/ieee754/LICENSE +0 -11
  2234. package/node_modules/ieee754/README.md +0 -51
  2235. package/node_modules/ieee754/index.d.ts +0 -10
  2236. package/node_modules/ieee754/index.js +0 -85
  2237. package/node_modules/ieee754/package.json +0 -52
  2238. package/node_modules/isomorphic-ws/LICENSE +0 -21
  2239. package/node_modules/isomorphic-ws/README.md +0 -58
  2240. package/node_modules/isomorphic-ws/browser.js +0 -17
  2241. package/node_modules/isomorphic-ws/index.d.ts +0 -8
  2242. package/node_modules/isomorphic-ws/node.js +0 -3
  2243. package/node_modules/isomorphic-ws/package.json +0 -34
  2244. package/node_modules/jayson/.gitignore +0 -8
  2245. package/node_modules/jayson/LICENSE +0 -22
  2246. package/node_modules/jayson/README.md +0 -1387
  2247. package/node_modules/jayson/bin/jayson.js +0 -111
  2248. package/node_modules/jayson/index.d.ts +0 -370
  2249. package/node_modules/jayson/index.js +0 -1
  2250. package/node_modules/jayson/lib/client/browser/index.d.ts +0 -14
  2251. package/node_modules/jayson/lib/client/browser/index.js +0 -163
  2252. package/node_modules/jayson/lib/client/http.js +0 -116
  2253. package/node_modules/jayson/lib/client/https.js +0 -34
  2254. package/node_modules/jayson/lib/client/index.js +0 -220
  2255. package/node_modules/jayson/lib/client/tcp.js +0 -90
  2256. package/node_modules/jayson/lib/client/tls.js +0 -89
  2257. package/node_modules/jayson/lib/client/websocket.js +0 -135
  2258. package/node_modules/jayson/lib/generateRequest.js +0 -63
  2259. package/node_modules/jayson/lib/index.js +0 -31
  2260. package/node_modules/jayson/lib/method.js +0 -120
  2261. package/node_modules/jayson/lib/server/http.js +0 -26
  2262. package/node_modules/jayson/lib/server/https.js +0 -26
  2263. package/node_modules/jayson/lib/server/index.js +0 -475
  2264. package/node_modules/jayson/lib/server/middleware.js +0 -75
  2265. package/node_modules/jayson/lib/server/tcp.js +0 -72
  2266. package/node_modules/jayson/lib/server/tls.js +0 -72
  2267. package/node_modules/jayson/lib/server/websocket.js +0 -62
  2268. package/node_modules/jayson/lib/utils.js +0 -514
  2269. package/node_modules/jayson/node_modules/@types/node/LICENSE +0 -21
  2270. package/node_modules/jayson/node_modules/@types/node/README.md +0 -16
  2271. package/node_modules/jayson/node_modules/@types/node/assert.d.ts +0 -117
  2272. package/node_modules/jayson/node_modules/@types/node/async_hooks.d.ts +0 -246
  2273. package/node_modules/jayson/node_modules/@types/node/buffer.d.ts +0 -22
  2274. package/node_modules/jayson/node_modules/@types/node/child_process.d.ts +0 -507
  2275. package/node_modules/jayson/node_modules/@types/node/cluster.d.ts +0 -260
  2276. package/node_modules/jayson/node_modules/@types/node/console.d.ts +0 -3
  2277. package/node_modules/jayson/node_modules/@types/node/constants.d.ts +0 -448
  2278. package/node_modules/jayson/node_modules/@types/node/crypto.d.ts +0 -1183
  2279. package/node_modules/jayson/node_modules/@types/node/dgram.d.ts +0 -118
  2280. package/node_modules/jayson/node_modules/@types/node/dns.d.ts +0 -372
  2281. package/node_modules/jayson/node_modules/@types/node/domain.d.ts +0 -16
  2282. package/node_modules/jayson/node_modules/@types/node/events.d.ts +0 -47
  2283. package/node_modules/jayson/node_modules/@types/node/fs.d.ts +0 -2567
  2284. package/node_modules/jayson/node_modules/@types/node/globals.d.ts +0 -1351
  2285. package/node_modules/jayson/node_modules/@types/node/globals.global.d.ts +0 -1
  2286. package/node_modules/jayson/node_modules/@types/node/http.d.ts +0 -456
  2287. package/node_modules/jayson/node_modules/@types/node/http2.d.ts +0 -952
  2288. package/node_modules/jayson/node_modules/@types/node/https.d.ts +0 -156
  2289. package/node_modules/jayson/node_modules/@types/node/index.d.ts +0 -91
  2290. package/node_modules/jayson/node_modules/@types/node/inspector.d.ts +0 -3040
  2291. package/node_modules/jayson/node_modules/@types/node/module.d.ts +0 -3
  2292. package/node_modules/jayson/node_modules/@types/node/net.d.ts +0 -290
  2293. package/node_modules/jayson/node_modules/@types/node/os.d.ts +0 -263
  2294. package/node_modules/jayson/node_modules/@types/node/package.json +0 -195
  2295. package/node_modules/jayson/node_modules/@types/node/path.d.ts +0 -159
  2296. package/node_modules/jayson/node_modules/@types/node/perf_hooks.d.ts +0 -259
  2297. package/node_modules/jayson/node_modules/@types/node/process.d.ts +0 -15
  2298. package/node_modules/jayson/node_modules/@types/node/punycode.d.ts +0 -75
  2299. package/node_modules/jayson/node_modules/@types/node/querystring.d.ts +0 -29
  2300. package/node_modules/jayson/node_modules/@types/node/readline.d.ts +0 -158
  2301. package/node_modules/jayson/node_modules/@types/node/repl.d.ts +0 -390
  2302. package/node_modules/jayson/node_modules/@types/node/stream.d.ts +0 -334
  2303. package/node_modules/jayson/node_modules/@types/node/string_decoder.d.ts +0 -7
  2304. package/node_modules/jayson/node_modules/@types/node/timers.d.ts +0 -16
  2305. package/node_modules/jayson/node_modules/@types/node/tls.d.ts +0 -713
  2306. package/node_modules/jayson/node_modules/@types/node/trace_events.d.ts +0 -61
  2307. package/node_modules/jayson/node_modules/@types/node/tty.d.ts +0 -66
  2308. package/node_modules/jayson/node_modules/@types/node/url.d.ts +0 -147
  2309. package/node_modules/jayson/node_modules/@types/node/util.d.ts +0 -200
  2310. package/node_modules/jayson/node_modules/@types/node/v8.d.ts +0 -197
  2311. package/node_modules/jayson/node_modules/@types/node/vm.d.ts +0 -112
  2312. package/node_modules/jayson/node_modules/@types/node/wasi.d.ts +0 -55
  2313. package/node_modules/jayson/node_modules/@types/node/worker_threads.d.ts +0 -207
  2314. package/node_modules/jayson/node_modules/@types/node/zlib.d.ts +0 -356
  2315. package/node_modules/jayson/node_modules/commander/LICENSE +0 -22
  2316. package/node_modules/jayson/node_modules/commander/Readme.md +0 -428
  2317. package/node_modules/jayson/node_modules/commander/index.js +0 -1224
  2318. package/node_modules/jayson/node_modules/commander/package.json +0 -38
  2319. package/node_modules/jayson/node_modules/commander/typings/index.d.ts +0 -310
  2320. package/node_modules/jayson/package.json +0 -89
  2321. package/node_modules/jayson/promise/index.d.ts +0 -367
  2322. package/node_modules/jayson/promise/index.js +0 -3
  2323. package/node_modules/jayson/promise/lib/client/browser/index.d.ts +0 -12
  2324. package/node_modules/jayson/promise/lib/client/browser/index.js +0 -28
  2325. package/node_modules/jayson/promise/lib/client/http.js +0 -23
  2326. package/node_modules/jayson/promise/lib/client/https.js +0 -24
  2327. package/node_modules/jayson/promise/lib/client/index.js +0 -53
  2328. package/node_modules/jayson/promise/lib/client/tcp.js +0 -23
  2329. package/node_modules/jayson/promise/lib/client/tls.js +0 -23
  2330. package/node_modules/jayson/promise/lib/client/websocket.js +0 -23
  2331. package/node_modules/jayson/promise/lib/index.js +0 -33
  2332. package/node_modules/jayson/promise/lib/method.js +0 -54
  2333. package/node_modules/jayson/promise/lib/server.js +0 -23
  2334. package/node_modules/jayson/promise/lib/utils.js +0 -23
  2335. package/node_modules/json-stringify-safe/.npmignore +0 -1
  2336. package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  2337. package/node_modules/json-stringify-safe/LICENSE +0 -15
  2338. package/node_modules/json-stringify-safe/Makefile +0 -35
  2339. package/node_modules/json-stringify-safe/README.md +0 -52
  2340. package/node_modules/json-stringify-safe/package.json +0 -31
  2341. package/node_modules/json-stringify-safe/stringify.js +0 -27
  2342. package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  2343. package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  2344. package/node_modules/ms/index.js +0 -162
  2345. package/node_modules/ms/license.md +0 -21
  2346. package/node_modules/ms/package.json +0 -38
  2347. package/node_modules/ms/readme.md +0 -59
  2348. package/node_modules/node-fetch/LICENSE.md +0 -22
  2349. package/node_modules/node-fetch/README.md +0 -634
  2350. package/node_modules/node-fetch/browser.js +0 -25
  2351. package/node_modules/node-fetch/lib/index.es.js +0 -1777
  2352. package/node_modules/node-fetch/lib/index.js +0 -1787
  2353. package/node_modules/node-fetch/lib/index.mjs +0 -1775
  2354. package/node_modules/node-fetch/package.json +0 -89
  2355. package/node_modules/node-gyp-build/LICENSE +0 -21
  2356. package/node_modules/node-gyp-build/README.md +0 -58
  2357. package/node_modules/node-gyp-build/SECURITY.md +0 -5
  2358. package/node_modules/node-gyp-build/bin.js +0 -84
  2359. package/node_modules/node-gyp-build/build-test.js +0 -19
  2360. package/node_modules/node-gyp-build/index.js +0 -6
  2361. package/node_modules/node-gyp-build/node-gyp-build.js +0 -207
  2362. package/node_modules/node-gyp-build/optional.js +0 -7
  2363. package/node_modules/node-gyp-build/package.json +0 -43
  2364. package/node_modules/pako/LICENSE +0 -21
  2365. package/node_modules/pako/README.md +0 -177
  2366. package/node_modules/pako/dist/pako.es5.js +0 -6688
  2367. package/node_modules/pako/dist/pako.es5.min.js +0 -2
  2368. package/node_modules/pako/dist/pako.esm.mjs +0 -6877
  2369. package/node_modules/pako/dist/pako.js +0 -6896
  2370. package/node_modules/pako/dist/pako.min.js +0 -2
  2371. package/node_modules/pako/dist/pako_deflate.es5.js +0 -3924
  2372. package/node_modules/pako/dist/pako_deflate.es5.min.js +0 -2
  2373. package/node_modules/pako/dist/pako_deflate.js +0 -4126
  2374. package/node_modules/pako/dist/pako_deflate.min.js +0 -2
  2375. package/node_modules/pako/dist/pako_inflate.es5.js +0 -3229
  2376. package/node_modules/pako/dist/pako_inflate.es5.min.js +0 -2
  2377. package/node_modules/pako/dist/pako_inflate.js +0 -3239
  2378. package/node_modules/pako/dist/pako_inflate.min.js +0 -2
  2379. package/node_modules/pako/index.js +0 -18
  2380. package/node_modules/pako/lib/deflate.js +0 -380
  2381. package/node_modules/pako/lib/inflate.js +0 -419
  2382. package/node_modules/pako/lib/utils/common.js +0 -48
  2383. package/node_modules/pako/lib/utils/strings.js +0 -174
  2384. package/node_modules/pako/lib/zlib/README +0 -59
  2385. package/node_modules/pako/lib/zlib/adler32.js +0 -51
  2386. package/node_modules/pako/lib/zlib/constants.js +0 -68
  2387. package/node_modules/pako/lib/zlib/crc32.js +0 -59
  2388. package/node_modules/pako/lib/zlib/deflate.js +0 -2048
  2389. package/node_modules/pako/lib/zlib/gzheader.js +0 -58
  2390. package/node_modules/pako/lib/zlib/inffast.js +0 -344
  2391. package/node_modules/pako/lib/zlib/inflate.js +0 -1572
  2392. package/node_modules/pako/lib/zlib/inftrees.js +0 -340
  2393. package/node_modules/pako/lib/zlib/messages.js +0 -32
  2394. package/node_modules/pako/lib/zlib/trees.js +0 -1179
  2395. package/node_modules/pako/lib/zlib/zstream.js +0 -47
  2396. package/node_modules/pako/package.json +0 -64
  2397. package/node_modules/rpc-websockets/LICENSE +0 -10
  2398. package/node_modules/rpc-websockets/README.md +0 -156
  2399. package/node_modules/rpc-websockets/dist/index.browser-bundle.js +0 -14
  2400. package/node_modules/rpc-websockets/dist/index.browser.cjs +0 -389
  2401. package/node_modules/rpc-websockets/dist/index.browser.cjs.map +0 -1
  2402. package/node_modules/rpc-websockets/dist/index.browser.d.mts +0 -225
  2403. package/node_modules/rpc-websockets/dist/index.browser.d.ts +0 -225
  2404. package/node_modules/rpc-websockets/dist/index.browser.mjs +0 -384
  2405. package/node_modules/rpc-websockets/dist/index.browser.mjs.map +0 -1
  2406. package/node_modules/rpc-websockets/dist/index.cjs +0 -898
  2407. package/node_modules/rpc-websockets/dist/index.cjs.map +0 -1
  2408. package/node_modules/rpc-websockets/dist/index.d.mts +0 -415
  2409. package/node_modules/rpc-websockets/dist/index.d.ts +0 -415
  2410. package/node_modules/rpc-websockets/dist/index.mjs +0 -886
  2411. package/node_modules/rpc-websockets/dist/index.mjs.map +0 -1
  2412. package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +0 -21
  2413. package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +0 -15
  2414. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +0 -451
  2415. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +0 -445
  2416. package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +0 -72
  2417. package/node_modules/rpc-websockets/node_modules/eventemitter3/LICENSE +0 -21
  2418. package/node_modules/rpc-websockets/node_modules/eventemitter3/README.md +0 -94
  2419. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  2420. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  2421. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  2422. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  2423. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  2424. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  2425. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.d.ts +0 -135
  2426. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.js +0 -336
  2427. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.mjs +0 -4
  2428. package/node_modules/rpc-websockets/node_modules/eventemitter3/package.json +0 -67
  2429. package/node_modules/rpc-websockets/node_modules/ws/LICENSE +0 -20
  2430. package/node_modules/rpc-websockets/node_modules/ws/README.md +0 -548
  2431. package/node_modules/rpc-websockets/node_modules/ws/browser.js +0 -8
  2432. package/node_modules/rpc-websockets/node_modules/ws/index.js +0 -13
  2433. package/node_modules/rpc-websockets/node_modules/ws/lib/buffer-util.js +0 -131
  2434. package/node_modules/rpc-websockets/node_modules/ws/lib/constants.js +0 -18
  2435. package/node_modules/rpc-websockets/node_modules/ws/lib/event-target.js +0 -292
  2436. package/node_modules/rpc-websockets/node_modules/ws/lib/extension.js +0 -203
  2437. package/node_modules/rpc-websockets/node_modules/ws/lib/limiter.js +0 -55
  2438. package/node_modules/rpc-websockets/node_modules/ws/lib/permessage-deflate.js +0 -528
  2439. package/node_modules/rpc-websockets/node_modules/ws/lib/receiver.js +0 -706
  2440. package/node_modules/rpc-websockets/node_modules/ws/lib/sender.js +0 -602
  2441. package/node_modules/rpc-websockets/node_modules/ws/lib/stream.js +0 -161
  2442. package/node_modules/rpc-websockets/node_modules/ws/lib/subprotocol.js +0 -62
  2443. package/node_modules/rpc-websockets/node_modules/ws/lib/validation.js +0 -152
  2444. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket-server.js +0 -550
  2445. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket.js +0 -1388
  2446. package/node_modules/rpc-websockets/node_modules/ws/package.json +0 -69
  2447. package/node_modules/rpc-websockets/node_modules/ws/wrapper.mjs +0 -8
  2448. package/node_modules/rpc-websockets/package.json +0 -90
  2449. package/node_modules/safe-buffer/LICENSE +0 -21
  2450. package/node_modules/safe-buffer/README.md +0 -584
  2451. package/node_modules/safe-buffer/index.d.ts +0 -187
  2452. package/node_modules/safe-buffer/index.js +0 -65
  2453. package/node_modules/safe-buffer/package.json +0 -51
  2454. package/node_modules/stream-chain/LICENSE +0 -11
  2455. package/node_modules/stream-chain/README.md +0 -334
  2456. package/node_modules/stream-chain/defs.js +0 -22
  2457. package/node_modules/stream-chain/index.js +0 -203
  2458. package/node_modules/stream-chain/package.json +0 -31
  2459. package/node_modules/stream-chain/utils/FromIterable.js +0 -94
  2460. package/node_modules/stream-chain/utils/Reduce.js +0 -40
  2461. package/node_modules/stream-chain/utils/asFun.js +0 -85
  2462. package/node_modules/stream-chain/utils/asGen.js +0 -77
  2463. package/node_modules/stream-chain/utils/comp.js +0 -20
  2464. package/node_modules/stream-chain/utils/fold.js +0 -43
  2465. package/node_modules/stream-chain/utils/gen.js +0 -24
  2466. package/node_modules/stream-chain/utils/scan.js +0 -41
  2467. package/node_modules/stream-chain/utils/skip.js +0 -32
  2468. package/node_modules/stream-chain/utils/skipWhile.js +0 -46
  2469. package/node_modules/stream-chain/utils/take.js +0 -39
  2470. package/node_modules/stream-chain/utils/takeWhile.js +0 -47
  2471. package/node_modules/stream-json/Assembler.js +0 -154
  2472. package/node_modules/stream-json/Disassembler.js +0 -209
  2473. package/node_modules/stream-json/Emitter.js +0 -22
  2474. package/node_modules/stream-json/LICENSE +0 -34
  2475. package/node_modules/stream-json/Parser.js +0 -545
  2476. package/node_modules/stream-json/README.md +0 -128
  2477. package/node_modules/stream-json/Stringer.js +0 -153
  2478. package/node_modules/stream-json/filters/Filter.js +0 -130
  2479. package/node_modules/stream-json/filters/FilterBase.js +0 -201
  2480. package/node_modules/stream-json/filters/Ignore.js +0 -24
  2481. package/node_modules/stream-json/filters/Pick.js +0 -58
  2482. package/node_modules/stream-json/filters/Replace.js +0 -115
  2483. package/node_modules/stream-json/index.js +0 -11
  2484. package/node_modules/stream-json/jsonl/Parser.js +0 -131
  2485. package/node_modules/stream-json/jsonl/Stringer.js +0 -29
  2486. package/node_modules/stream-json/package.json +0 -45
  2487. package/node_modules/stream-json/streamers/StreamArray.js +0 -44
  2488. package/node_modules/stream-json/streamers/StreamBase.js +0 -101
  2489. package/node_modules/stream-json/streamers/StreamObject.js +0 -43
  2490. package/node_modules/stream-json/streamers/StreamValues.js +0 -33
  2491. package/node_modules/stream-json/utils/Batch.js +0 -44
  2492. package/node_modules/stream-json/utils/Utf8Stream.js +0 -53
  2493. package/node_modules/stream-json/utils/Verifier.js +0 -485
  2494. package/node_modules/stream-json/utils/emit.js +0 -5
  2495. package/node_modules/stream-json/utils/withParser.js +0 -10
  2496. package/node_modules/superstruct/License.md +0 -9
  2497. package/node_modules/superstruct/Readme.md +0 -228
  2498. package/node_modules/superstruct/lib/coercions.d.ts +0 -19
  2499. package/node_modules/superstruct/lib/coercions.d.ts.map +0 -1
  2500. package/node_modules/superstruct/lib/error.d.ts +0 -32
  2501. package/node_modules/superstruct/lib/error.d.ts.map +0 -1
  2502. package/node_modules/superstruct/lib/index.cjs +0 -1257
  2503. package/node_modules/superstruct/lib/index.cjs.d.ts +0 -579
  2504. package/node_modules/superstruct/lib/index.cjs.map +0 -1
  2505. package/node_modules/superstruct/lib/index.d.cts +0 -579
  2506. package/node_modules/superstruct/lib/index.d.ts +0 -7
  2507. package/node_modules/superstruct/lib/index.d.ts.map +0 -1
  2508. package/node_modules/superstruct/lib/index.es.d.ts +0 -579
  2509. package/node_modules/superstruct/lib/index.es.js +0 -1203
  2510. package/node_modules/superstruct/lib/index.es.js.map +0 -1
  2511. package/node_modules/superstruct/lib/refinements.d.ts +0 -19
  2512. package/node_modules/superstruct/lib/refinements.d.ts.map +0 -1
  2513. package/node_modules/superstruct/lib/struct.d.ts +0 -110
  2514. package/node_modules/superstruct/lib/struct.d.ts.map +0 -1
  2515. package/node_modules/superstruct/lib/structs/coercions.d.ts +0 -29
  2516. package/node_modules/superstruct/lib/structs/coercions.d.ts.map +0 -1
  2517. package/node_modules/superstruct/lib/structs/refinements.d.ts +0 -38
  2518. package/node_modules/superstruct/lib/structs/refinements.d.ts.map +0 -1
  2519. package/node_modules/superstruct/lib/structs/types.d.ts +0 -142
  2520. package/node_modules/superstruct/lib/structs/types.d.ts.map +0 -1
  2521. package/node_modules/superstruct/lib/structs/utilities.d.ts +0 -66
  2522. package/node_modules/superstruct/lib/structs/utilities.d.ts.map +0 -1
  2523. package/node_modules/superstruct/lib/types.d.ts +0 -200
  2524. package/node_modules/superstruct/lib/types.d.ts.map +0 -1
  2525. package/node_modules/superstruct/lib/typings.d.ts +0 -36
  2526. package/node_modules/superstruct/lib/typings.d.ts.map +0 -1
  2527. package/node_modules/superstruct/lib/utilities.d.ts +0 -56
  2528. package/node_modules/superstruct/lib/utilities.d.ts.map +0 -1
  2529. package/node_modules/superstruct/lib/utils.d.ts +0 -139
  2530. package/node_modules/superstruct/lib/utils.d.ts.map +0 -1
  2531. package/node_modules/superstruct/lib/xtras.d.ts +0 -56
  2532. package/node_modules/superstruct/lib/xtras.d.ts.map +0 -1
  2533. package/node_modules/superstruct/package.json +0 -110
  2534. package/node_modules/superstruct/umd/coercions.d.ts +0 -18
  2535. package/node_modules/superstruct/umd/index.d.ts +0 -4
  2536. package/node_modules/superstruct/umd/refinements.d.ts +0 -14
  2537. package/node_modules/superstruct/umd/struct.d.ts +0 -80
  2538. package/node_modules/superstruct/umd/superstruct.d.ts +0 -579
  2539. package/node_modules/superstruct/umd/superstruct.js +0 -1262
  2540. package/node_modules/superstruct/umd/superstruct.min.d.ts +0 -579
  2541. package/node_modules/superstruct/umd/superstruct.min.js +0 -1
  2542. package/node_modules/superstruct/umd/types.d.ts +0 -127
  2543. package/node_modules/superstruct/umd/utils.d.ts +0 -9
  2544. package/node_modules/text-encoding-utf-8/LICENSE.md +0 -29
  2545. package/node_modules/text-encoding-utf-8/README.md +0 -63
  2546. package/node_modules/text-encoding-utf-8/lib/encoding.js +0 -655
  2547. package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +0 -642
  2548. package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +0 -665
  2549. package/node_modules/text-encoding-utf-8/package.json +0 -26
  2550. package/node_modules/text-encoding-utf-8/src/encoding.js +0 -665
  2551. package/node_modules/text-encoding-utf-8/src/polyfill.js +0 -21
  2552. package/node_modules/toml/.jshintrc +0 -18
  2553. package/node_modules/toml/.travis.yml +0 -7
  2554. package/node_modules/toml/CHANGELOG.md +0 -116
  2555. package/node_modules/toml/LICENSE +0 -22
  2556. package/node_modules/toml/README.md +0 -93
  2557. package/node_modules/toml/benchmark.js +0 -12
  2558. package/node_modules/toml/index.d.ts +0 -3
  2559. package/node_modules/toml/index.js +0 -9
  2560. package/node_modules/toml/lib/compiler.js +0 -195
  2561. package/node_modules/toml/lib/parser.js +0 -3841
  2562. package/node_modules/toml/package.json +0 -24
  2563. package/node_modules/toml/src/toml.pegjs +0 -231
  2564. package/node_modules/toml/test/bad.toml +0 -5
  2565. package/node_modules/toml/test/example.toml +0 -32
  2566. package/node_modules/toml/test/hard_example.toml +0 -33
  2567. package/node_modules/toml/test/inline_tables.toml +0 -10
  2568. package/node_modules/toml/test/literal_strings.toml +0 -5
  2569. package/node_modules/toml/test/multiline_eat_whitespace.toml +0 -15
  2570. package/node_modules/toml/test/multiline_literal_strings.toml +0 -7
  2571. package/node_modules/toml/test/multiline_strings.toml +0 -6
  2572. package/node_modules/toml/test/smoke.js +0 -22
  2573. package/node_modules/toml/test/table_arrays_easy.toml +0 -10
  2574. package/node_modules/toml/test/table_arrays_hard.toml +0 -31
  2575. package/node_modules/toml/test/test_toml.js +0 -596
  2576. package/node_modules/tslib/CopyrightNotice.txt +0 -15
  2577. package/node_modules/tslib/LICENSE.txt +0 -12
  2578. package/node_modules/tslib/README.md +0 -164
  2579. package/node_modules/tslib/SECURITY.md +0 -41
  2580. package/node_modules/tslib/modules/index.d.ts +0 -38
  2581. package/node_modules/tslib/modules/index.js +0 -70
  2582. package/node_modules/tslib/modules/package.json +0 -3
  2583. package/node_modules/tslib/package.json +0 -47
  2584. package/node_modules/tslib/tslib.d.ts +0 -460
  2585. package/node_modules/tslib/tslib.es6.html +0 -1
  2586. package/node_modules/tslib/tslib.es6.js +0 -402
  2587. package/node_modules/tslib/tslib.es6.mjs +0 -401
  2588. package/node_modules/tslib/tslib.html +0 -1
  2589. package/node_modules/tslib/tslib.js +0 -484
  2590. package/node_modules/undici-types/LICENSE +0 -21
  2591. package/node_modules/undici-types/README.md +0 -6
  2592. package/node_modules/undici-types/agent.d.ts +0 -31
  2593. package/node_modules/undici-types/api.d.ts +0 -43
  2594. package/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2595. package/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  2596. package/node_modules/undici-types/cache.d.ts +0 -36
  2597. package/node_modules/undici-types/client.d.ts +0 -107
  2598. package/node_modules/undici-types/connector.d.ts +0 -34
  2599. package/node_modules/undici-types/content-type.d.ts +0 -21
  2600. package/node_modules/undici-types/cookies.d.ts +0 -30
  2601. package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  2602. package/node_modules/undici-types/dispatcher.d.ts +0 -281
  2603. package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  2604. package/node_modules/undici-types/errors.d.ts +0 -171
  2605. package/node_modules/undici-types/eventsource.d.ts +0 -61
  2606. package/node_modules/undici-types/fetch.d.ts +0 -210
  2607. package/node_modules/undici-types/formdata.d.ts +0 -108
  2608. package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  2609. package/node_modules/undici-types/global-origin.d.ts +0 -7
  2610. package/node_modules/undici-types/h2c-client.d.ts +0 -75
  2611. package/node_modules/undici-types/handlers.d.ts +0 -15
  2612. package/node_modules/undici-types/header.d.ts +0 -160
  2613. package/node_modules/undici-types/index.d.ts +0 -75
  2614. package/node_modules/undici-types/interceptors.d.ts +0 -34
  2615. package/node_modules/undici-types/mock-agent.d.ts +0 -65
  2616. package/node_modules/undici-types/mock-call-history.d.ts +0 -111
  2617. package/node_modules/undici-types/mock-client.d.ts +0 -25
  2618. package/node_modules/undici-types/mock-errors.d.ts +0 -12
  2619. package/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  2620. package/node_modules/undici-types/mock-pool.d.ts +0 -25
  2621. package/node_modules/undici-types/package.json +0 -55
  2622. package/node_modules/undici-types/patch.d.ts +0 -29
  2623. package/node_modules/undici-types/pool-stats.d.ts +0 -19
  2624. package/node_modules/undici-types/pool.d.ts +0 -39
  2625. package/node_modules/undici-types/proxy-agent.d.ts +0 -28
  2626. package/node_modules/undici-types/readable.d.ts +0 -68
  2627. package/node_modules/undici-types/retry-agent.d.ts +0 -8
  2628. package/node_modules/undici-types/retry-handler.d.ts +0 -116
  2629. package/node_modules/undici-types/util.d.ts +0 -18
  2630. package/node_modules/undici-types/utility.d.ts +0 -7
  2631. package/node_modules/undici-types/webidl.d.ts +0 -266
  2632. package/node_modules/undici-types/websocket.d.ts +0 -184
  2633. package/node_modules/utf-8-validate/LICENSE +0 -30
  2634. package/node_modules/utf-8-validate/README.md +0 -50
  2635. package/node_modules/utf-8-validate/binding.gyp +0 -18
  2636. package/node_modules/utf-8-validate/fallback.js +0 -62
  2637. package/node_modules/utf-8-validate/index.js +0 -7
  2638. package/node_modules/utf-8-validate/package.json +0 -36
  2639. package/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  2640. package/node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node +0 -0
  2641. package/node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node +0 -0
  2642. package/node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node +0 -0
  2643. package/node_modules/utf-8-validate/src/validation.c +0 -109
  2644. package/node_modules/uuid/CHANGELOG.md +0 -229
  2645. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  2646. package/node_modules/uuid/LICENSE.md +0 -9
  2647. package/node_modules/uuid/README.md +0 -505
  2648. package/node_modules/uuid/dist/bin/uuid +0 -2
  2649. package/node_modules/uuid/dist/esm-browser/index.js +0 -9
  2650. package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  2651. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  2652. package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  2653. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  2654. package/node_modules/uuid/dist/esm-browser/rng.js +0 -19
  2655. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  2656. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
  2657. package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  2658. package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  2659. package/node_modules/uuid/dist/esm-browser/v35.js +0 -64
  2660. package/node_modules/uuid/dist/esm-browser/v4.js +0 -24
  2661. package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  2662. package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  2663. package/node_modules/uuid/dist/esm-browser/version.js +0 -11
  2664. package/node_modules/uuid/dist/esm-node/index.js +0 -9
  2665. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  2666. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  2667. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  2668. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  2669. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  2670. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  2671. package/node_modules/uuid/dist/esm-node/stringify.js +0 -29
  2672. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  2673. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  2674. package/node_modules/uuid/dist/esm-node/v35.js +0 -64
  2675. package/node_modules/uuid/dist/esm-node/v4.js +0 -24
  2676. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  2677. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  2678. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  2679. package/node_modules/uuid/dist/index.js +0 -79
  2680. package/node_modules/uuid/dist/md5-browser.js +0 -223
  2681. package/node_modules/uuid/dist/md5.js +0 -23
  2682. package/node_modules/uuid/dist/nil.js +0 -8
  2683. package/node_modules/uuid/dist/parse.js +0 -45
  2684. package/node_modules/uuid/dist/regex.js +0 -8
  2685. package/node_modules/uuid/dist/rng-browser.js +0 -26
  2686. package/node_modules/uuid/dist/rng.js +0 -24
  2687. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  2688. package/node_modules/uuid/dist/sha1.js +0 -23
  2689. package/node_modules/uuid/dist/stringify.js +0 -39
  2690. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  2691. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  2692. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  2693. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  2694. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  2695. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  2696. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  2697. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  2698. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  2699. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  2700. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  2701. package/node_modules/uuid/dist/v1.js +0 -107
  2702. package/node_modules/uuid/dist/v3.js +0 -16
  2703. package/node_modules/uuid/dist/v35.js +0 -78
  2704. package/node_modules/uuid/dist/v4.js +0 -37
  2705. package/node_modules/uuid/dist/v5.js +0 -16
  2706. package/node_modules/uuid/dist/validate.js +0 -17
  2707. package/node_modules/uuid/dist/version.js +0 -21
  2708. package/node_modules/uuid/package.json +0 -135
  2709. package/node_modules/uuid/wrapper.mjs +0 -10
  2710. package/node_modules/webidl-conversions/LICENSE.md +0 -12
  2711. package/node_modules/webidl-conversions/README.md +0 -53
  2712. package/node_modules/webidl-conversions/lib/index.js +0 -189
  2713. package/node_modules/webidl-conversions/package.json +0 -23
  2714. package/node_modules/whatwg-url/LICENSE.txt +0 -21
  2715. package/node_modules/whatwg-url/README.md +0 -67
  2716. package/node_modules/whatwg-url/lib/URL-impl.js +0 -200
  2717. package/node_modules/whatwg-url/lib/URL.js +0 -196
  2718. package/node_modules/whatwg-url/lib/public-api.js +0 -11
  2719. package/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
  2720. package/node_modules/whatwg-url/lib/utils.js +0 -20
  2721. package/node_modules/whatwg-url/node_modules/tr46/.npmignore +0 -4
  2722. package/node_modules/whatwg-url/node_modules/tr46/index.js +0 -193
  2723. package/node_modules/whatwg-url/node_modules/tr46/lib/.gitkeep +0 -0
  2724. package/node_modules/whatwg-url/node_modules/tr46/lib/mappingTable.json +0 -1
  2725. package/node_modules/whatwg-url/node_modules/tr46/package.json +0 -31
  2726. package/node_modules/whatwg-url/package.json +0 -32
  2727. package/node_modules/ws/LICENSE +0 -21
  2728. package/node_modules/ws/README.md +0 -495
  2729. package/node_modules/ws/browser.js +0 -8
  2730. package/node_modules/ws/index.js +0 -10
  2731. package/node_modules/ws/lib/buffer-util.js +0 -129
  2732. package/node_modules/ws/lib/constants.js +0 -10
  2733. package/node_modules/ws/lib/event-target.js +0 -184
  2734. package/node_modules/ws/lib/extension.js +0 -223
  2735. package/node_modules/ws/lib/limiter.js +0 -55
  2736. package/node_modules/ws/lib/permessage-deflate.js +0 -518
  2737. package/node_modules/ws/lib/receiver.js +0 -607
  2738. package/node_modules/ws/lib/sender.js +0 -409
  2739. package/node_modules/ws/lib/stream.js +0 -180
  2740. package/node_modules/ws/lib/validation.js +0 -104
  2741. package/node_modules/ws/lib/websocket-server.js +0 -449
  2742. package/node_modules/ws/lib/websocket.js +0 -1197
  2743. package/node_modules/ws/package.json +0 -56
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/bytes.ts","../src/codec.ts","../src/combine-codec.ts","../src/add-codec-sentinel.ts","../src/assertions.ts","../src/add-codec-size-prefix.ts","../src/fix-codec-size.ts","../src/offset-codec.ts","../src/resize-codec.ts","../src/pad-codec.ts","../src/reverse-codec.ts","../src/transform-codec.ts"],"names":["SolanaError","SOLANA_ERROR__CODECS__EXPECTED_FIXED_LENGTH","SOLANA_ERROR__CODECS__EXPECTED_VARIABLE_LENGTH","SOLANA_ERROR__CODECS__ENCODER_DECODER_SIZE_COMPATIBILITY_MISMATCH","SOLANA_ERROR__CODECS__ENCODER_DECODER_FIXED_SIZE_MISMATCH","SOLANA_ERROR__CODECS__ENCODER_DECODER_MAX_SIZE_MISMATCH","SOLANA_ERROR__CODECS__ENCODED_BYTES_MUST_NOT_INCLUDE_SENTINEL","SOLANA_ERROR__CODECS__SENTINEL_MISSING_IN_DECODED_BYTES","SOLANA_ERROR__CODECS__CANNOT_DECODE_EMPTY_BYTE_ARRAY","SOLANA_ERROR__CODECS__INVALID_BYTE_LENGTH","SOLANA_ERROR__CODECS__OFFSET_OUT_OF_RANGE","SOLANA_ERROR__CODECS__EXPECTED_POSITIVE_BYTE_LENGTH"],"mappings":"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","file":"index.node.cjs","sourcesContent":["import { ReadonlyUint8Array } from './readonly-uint8array';\n\n/**\n * Concatenates an array of `Uint8Array`s into a single `Uint8Array`.\n * Reuses the original byte array when applicable.\n *\n * @param byteArrays - The array of byte arrays to concatenate.\n *\n * @example\n * ```ts\n * const bytes1 = new Uint8Array([0x01, 0x02]);\n * const bytes2 = new Uint8Array([]);\n * const bytes3 = new Uint8Array([0x03, 0x04]);\n * const bytes = mergeBytes([bytes1, bytes2, bytes3]);\n * // ^ [0x01, 0x02, 0x03, 0x04]\n * ```\n */\nexport const mergeBytes = (byteArrays: Uint8Array[]): Uint8Array => {\n const nonEmptyByteArrays = byteArrays.filter(arr => arr.length);\n if (nonEmptyByteArrays.length === 0) {\n return byteArrays.length ? byteArrays[0] : new Uint8Array();\n }\n\n if (nonEmptyByteArrays.length === 1) {\n return nonEmptyByteArrays[0];\n }\n\n const totalLength = nonEmptyByteArrays.reduce((total, arr) => total + arr.length, 0);\n const result = new Uint8Array(totalLength);\n let offset = 0;\n nonEmptyByteArrays.forEach(arr => {\n result.set(arr, offset);\n offset += arr.length;\n });\n return result;\n};\n\n/**\n * Pads a `Uint8Array` with zeroes to the specified length.\n * If the array is longer than the specified length, it is returned as-is.\n *\n * @param bytes - The byte array to pad.\n * @param length - The desired length of the byte array.\n *\n * @example\n * Adds zeroes to the end of the byte array to reach the desired length.\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02]);\n * const paddedBytes = padBytes(bytes, 4);\n * // ^ [0x01, 0x02, 0x00, 0x00]\n * ```\n *\n * @example\n * Returns the original byte array if it is already at the desired length.\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02]);\n * const paddedBytes = padBytes(bytes, 2);\n * // bytes === paddedBytes\n * ```\n */\nexport const padBytes = (bytes: ReadonlyUint8Array | Uint8Array, length: number): ReadonlyUint8Array | Uint8Array => {\n if (bytes.length >= length) return bytes;\n const paddedBytes = new Uint8Array(length).fill(0);\n paddedBytes.set(bytes);\n return paddedBytes;\n};\n\n/**\n * Fixes a `Uint8Array` to the specified length.\n * If the array is longer than the specified length, it is truncated.\n * If the array is shorter than the specified length, it is padded with zeroes.\n *\n * @param bytes - The byte array to truncate or pad.\n * @param length - The desired length of the byte array.\n *\n * @example\n * Truncates the byte array to the desired length.\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02, 0x03, 0x04]);\n * const fixedBytes = fixBytes(bytes, 2);\n * // ^ [0x01, 0x02]\n * ```\n *\n * @example\n * Adds zeroes to the end of the byte array to reach the desired length.\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02]);\n * const fixedBytes = fixBytes(bytes, 4);\n * // ^ [0x01, 0x02, 0x00, 0x00]\n * ```\n *\n * @example\n * Returns the original byte array if it is already at the desired length.\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02]);\n * const fixedBytes = fixBytes(bytes, 2);\n * // bytes === fixedBytes\n * ```\n */\nexport const fixBytes = (bytes: ReadonlyUint8Array | Uint8Array, length: number): ReadonlyUint8Array | Uint8Array =>\n padBytes(bytes.length <= length ? bytes : bytes.slice(0, length), length);\n\n/**\n * Returns true if and only if the provided `data` byte array contains\n * the provided `bytes` byte array at the specified `offset`.\n *\n * @param data - The byte sequence to search for.\n * @param bytes - The byte array in which to search for `data`.\n * @param offset - The position in `bytes` where the search begins.\n *\n * @example\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02, 0x03, 0x04]);\n * const data = new Uint8Array([0x02, 0x03]);\n * containsBytes(bytes, data, 1); // true\n * containsBytes(bytes, data, 2); // false\n * ```\n */\nexport function containsBytes(\n data: ReadonlyUint8Array | Uint8Array,\n bytes: ReadonlyUint8Array | Uint8Array,\n offset: number,\n): boolean {\n const slice = offset === 0 && data.length === bytes.length ? data : data.slice(offset, offset + bytes.length);\n if (slice.length !== bytes.length) return false;\n return bytes.every((b, i) => b === slice[i]);\n}\n","import {\n SOLANA_ERROR__CODECS__EXPECTED_FIXED_LENGTH,\n SOLANA_ERROR__CODECS__EXPECTED_VARIABLE_LENGTH,\n SolanaError,\n} from '@solana/errors';\n\nimport { ReadonlyUint8Array } from './readonly-uint8array';\n\n/**\n * Defines an offset in bytes.\n */\nexport type Offset = number;\n\n/**\n * An object that can encode a value of type {@link TFrom} into a {@link ReadonlyUint8Array}.\n *\n * This is a common interface for {@link FixedSizeEncoder} and {@link VariableSizeEncoder}.\n *\n * @interface\n * @typeParam TFrom - The type of the value to encode.\n *\n * @see {@link FixedSizeEncoder}\n * @see {@link VariableSizeEncoder}\n */\ntype BaseEncoder<TFrom> = {\n /** Encode the provided value and return the encoded bytes directly. */\n readonly encode: (value: TFrom) => ReadonlyUint8Array;\n /**\n * Writes the encoded value into the provided byte array at the given offset.\n * Returns the offset of the next byte after the encoded value.\n */\n readonly write: (value: TFrom, bytes: Uint8Array, offset: Offset) => Offset;\n};\n\n/**\n * An object that can encode a value of type {@link TFrom} into a fixed-size {@link ReadonlyUint8Array}.\n *\n * See {@link Encoder} to learn more about creating and composing encoders.\n *\n * @interface\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @example\n * ```ts\n * const encoder: FixedSizeEncoder<number, 4>;\n * const bytes = encoder.encode(42);\n * const size = encoder.fixedSize; // 4\n * ```\n *\n * @see {@link Encoder}\n * @see {@link VariableSizeEncoder}\n */\nexport type FixedSizeEncoder<TFrom, TSize extends number = number> = BaseEncoder<TFrom> & {\n /** The fixed size of the encoded value in bytes. */\n readonly fixedSize: TSize;\n};\n\n/**\n * An object that can encode a value of type {@link TFrom} into a variable-size {@link ReadonlyUint8Array}.\n *\n * See {@link Encoder} to learn more about creating and composing encoders.\n *\n * @interface\n * @typeParam TFrom - The type of the value to encode.\n *\n * @example\n * ```ts\n * const encoder: VariableSizeEncoder<string>;\n * const bytes = encoder.encode('hello');\n * const size = encoder.getSizeFromValue('hello');\n * ```\n *\n * @see {@link Encoder}\n * @see {@link FixedSizeEncoder}\n */\nexport type VariableSizeEncoder<TFrom> = BaseEncoder<TFrom> & {\n /** Returns the size of the encoded value in bytes for a given input. */\n readonly getSizeFromValue: (value: TFrom) => number;\n /** The maximum possible size of an encoded value in bytes, if applicable. */\n readonly maxSize?: number;\n};\n\n/**\n * An object that can encode a value of type {@link TFrom} into a {@link ReadonlyUint8Array}.\n *\n * An `Encoder` can be either:\n * - A {@link FixedSizeEncoder}, where all encoded values have the same fixed size.\n * - A {@link VariableSizeEncoder}, where encoded values can vary in size.\n *\n * @typeParam TFrom - The type of the value to encode.\n *\n * @example\n * Encoding a value into a new byte array.\n * ```ts\n * const encoder: Encoder<string>;\n * const bytes = encoder.encode('hello');\n * ```\n *\n * @example\n * Writing the encoded value into an existing byte array.\n * ```ts\n * const encoder: Encoder<string>;\n * const bytes = new Uint8Array(100);\n * const nextOffset = encoder.write('hello', bytes, 20);\n * ```\n *\n * @remarks\n * You may create `Encoders` manually using the {@link createEncoder} function but it is more common\n * to compose multiple `Encoders` together using the various helpers of the `@solana/codecs` package.\n *\n * For instance, here's how you might create an `Encoder` for a `Person` object type that contains\n * a `name` string and an `age` number:\n *\n * ```ts\n * import { getStructEncoder, addEncoderSizePrefix, getUtf8Encoder, getU32Encoder } from '@solana/codecs';\n *\n * type Person = { name: string; age: number };\n * const getPersonEncoder = (): Encoder<Person> =>\n * getStructEncoder([\n * ['name', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],\n * ['age', getU32Encoder()],\n * ]);\n * ```\n *\n * Note that composed `Encoder` types are clever enough to understand whether\n * they are fixed-size or variable-size. In the example above, `getU32Encoder()` is\n * a fixed-size encoder, while `addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())`\n * is a variable-size encoder. This makes the final `Person` encoder a variable-size encoder.\n *\n * @see {@link FixedSizeEncoder}\n * @see {@link VariableSizeEncoder}\n * @see {@link createEncoder}\n */\nexport type Encoder<TFrom> = FixedSizeEncoder<TFrom> | VariableSizeEncoder<TFrom>;\n\n/**\n * An object that can decode a byte array into a value of type {@link TTo}.\n *\n * This is a common interface for {@link FixedSizeDecoder} and {@link VariableSizeDecoder}.\n *\n * @interface\n * @typeParam TTo - The type of the decoded value.\n *\n * @see {@link FixedSizeDecoder}\n * @see {@link VariableSizeDecoder}\n */\ntype BaseDecoder<TTo> = {\n /** Decodes the provided byte array at the given offset (or zero) and returns the value directly. */\n readonly decode: (bytes: ReadonlyUint8Array | Uint8Array, offset?: Offset) => TTo;\n /**\n * Reads the encoded value from the provided byte array at the given offset.\n * Returns the decoded value and the offset of the next byte after the encoded value.\n */\n readonly read: (bytes: ReadonlyUint8Array | Uint8Array, offset: Offset) => [TTo, Offset];\n};\n\n/**\n * An object that can decode a fixed-size byte array into a value of type {@link TTo}.\n *\n * See {@link Decoder} to learn more about creating and composing decoders.\n *\n * @interface\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @example\n * ```ts\n * const decoder: FixedSizeDecoder<number, 4>;\n * const value = decoder.decode(bytes);\n * const size = decoder.fixedSize; // 4\n * ```\n *\n * @see {@link Decoder}\n * @see {@link VariableSizeDecoder}\n */\nexport type FixedSizeDecoder<TTo, TSize extends number = number> = BaseDecoder<TTo> & {\n /** The fixed size of the encoded value in bytes. */\n readonly fixedSize: TSize;\n};\n\n/**\n * An object that can decode a variable-size byte array into a value of type {@link TTo}.\n *\n * See {@link Decoder} to learn more about creating and composing decoders.\n *\n * @interface\n * @typeParam TTo - The type of the decoded value.\n *\n * @example\n * ```ts\n * const decoder: VariableSizeDecoder<number>;\n * const value = decoder.decode(bytes);\n * ```\n *\n * @see {@link Decoder}\n * @see {@link VariableSizeDecoder}\n */\nexport type VariableSizeDecoder<TTo> = BaseDecoder<TTo> & {\n /** The maximum possible size of an encoded value in bytes, if applicable. */\n readonly maxSize?: number;\n};\n\n/**\n * An object that can decode a byte array into a value of type {@link TTo}.\n *\n * An `Decoder` can be either:\n * - A {@link FixedSizeDecoder}, where all byte arrays have the same fixed size.\n * - A {@link VariableSizeDecoder}, where byte arrays can vary in size.\n *\n * @typeParam TTo - The type of the decoded value.\n *\n * @example\n * Getting the decoded value from a byte array.\n * ```ts\n * const decoder: Decoder<string>;\n * const value = decoder.decode(bytes);\n * ```\n *\n * @example\n * Reading the decoded value from a byte array at a specific offset\n * and getting the offset of the next byte to read.\n * ```ts\n * const decoder: Decoder<string>;\n * const [value, nextOffset] = decoder.read('hello', bytes, 20);\n * ```\n *\n * @remarks\n * You may create `Decoders` manually using the {@link createDecoder} function but it is more common\n * to compose multiple `Decoders` together using the various helpers of the `@solana/codecs` package.\n *\n * For instance, here's how you might create an `Decoder` for a `Person` object type that contains\n * a `name` string and an `age` number:\n *\n * ```ts\n * import { getStructDecoder, addDecoderSizePrefix, getUtf8Decoder, getU32Decoder } from '@solana/codecs';\n *\n * type Person = { name: string; age: number };\n * const getPersonDecoder = (): Decoder<Person> =>\n * getStructDecoder([\n * ['name', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],\n * ['age', getU32Decoder()],\n * ]);\n * ```\n *\n * Note that composed `Decoder` types are clever enough to understand whether\n * they are fixed-size or variable-size. In the example above, `getU32Decoder()` is\n * a fixed-size decoder, while `addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())`\n * is a variable-size decoder. This makes the final `Person` decoder a variable-size decoder.\n *\n * @see {@link FixedSizeDecoder}\n * @see {@link VariableSizeDecoder}\n * @see {@link createDecoder}\n */\nexport type Decoder<TTo> = FixedSizeDecoder<TTo> | VariableSizeDecoder<TTo>;\n\n/**\n * An object that can encode and decode a value to and from a fixed-size byte array.\n *\n * See {@link Codec} to learn more about creating and composing codecs.\n *\n * @interface\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @example\n * ```ts\n * const codec: FixedSizeCodec<number | bigint, bigint, 8>;\n * const bytes = codec.encode(42);\n * const value = codec.decode(bytes); // 42n\n * const size = codec.fixedSize; // 8\n * ```\n *\n * @see {@link Codec}\n * @see {@link VariableSizeCodec}\n */\nexport type FixedSizeCodec<TFrom, TTo extends TFrom = TFrom, TSize extends number = number> = FixedSizeDecoder<\n TTo,\n TSize\n> &\n FixedSizeEncoder<TFrom, TSize>;\n\n/**\n * An object that can encode and decode a value to and from a variable-size byte array.\n *\n * See {@link Codec} to learn more about creating and composing codecs.\n *\n * @interface\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n *\n * @example\n * ```ts\n * const codec: VariableSizeCodec<number | bigint, bigint>;\n * const bytes = codec.encode(42);\n * const value = codec.decode(bytes); // 42n\n * const size = codec.getSizeFromValue(42);\n * ```\n *\n * @see {@link Codec}\n * @see {@link FixedSizeCodec}\n */\nexport type VariableSizeCodec<TFrom, TTo extends TFrom = TFrom> = VariableSizeDecoder<TTo> & VariableSizeEncoder<TFrom>;\n\n/**\n * An object that can encode and decode a value to and from a byte array.\n *\n * A `Codec` can be either:\n * - A {@link FixedSizeCodec}, where all encoded values have the same fixed size.\n * - A {@link VariableSizeCodec}, where encoded values can vary in size.\n *\n * @example\n * ```ts\n * const codec: Codec<string>;\n * const bytes = codec.encode('hello');\n * const value = codec.decode(bytes); // 'hello'\n * ```\n *\n * @remarks\n * For convenience, codecs can encode looser types than they decode.\n * That is, type {@link TFrom} can be a superset of type {@link TTo}.\n * For instance, a `Codec<bigint | number, bigint>` can encode both\n * `bigint` and `number` values, but will always decode to a `bigint`.\n *\n * ```ts\n * const codec: Codec<bigint | number, bigint>;\n * const bytes = codec.encode(42);\n * const value = codec.decode(bytes); // 42n\n * ```\n *\n * It is worth noting that codecs are the union of encoders and decoders.\n * This means that a `Codec<TFrom, TTo>` can be combined from an `Encoder<TFrom>`\n * and a `Decoder<TTo>` using the {@link combineCodec} function. This is particularly\n * useful for library authors who want to expose all three types of objects to their users.\n *\n * ```ts\n * const encoder: Encoder<bigint | number>;\n * const decoder: Decoder<bigint>;\n * const codec: Codec<bigint | number, bigint> = combineCodec(encoder, decoder);\n * ```\n *\n * Aside from combining encoders and decoders, codecs can also be created from scratch using\n * the {@link createCodec} function but it is more common to compose multiple codecs together\n * using the various helpers of the `@solana/codecs` package.\n *\n * For instance, here's how you might create a `Codec` for a `Person` object type that contains\n * a `name` string and an `age` number:\n *\n * ```ts\n * import { getStructCodec, addCodecSizePrefix, getUtf8Codec, getU32Codec } from '@solana/codecs';\n *\n * type Person = { name: string; age: number };\n * const getPersonCodec = (): Codec<Person> =>\n * getStructCodec([\n * ['name', addCodecSizePrefix(getUtf8Codec(), getU32Codec())],\n * ['age', getU32Codec()],\n * ]);\n * ```\n *\n * Note that composed `Codec` types are clever enough to understand whether\n * they are fixed-size or variable-size. In the example above, `getU32Codec()` is\n * a fixed-size codec, while `addCodecSizePrefix(getUtf8Codec(), getU32Codec())`\n * is a variable-size codec. This makes the final `Person` codec a variable-size codec.\n *\n * @see {@link FixedSizeCodec}\n * @see {@link VariableSizeCodec}\n * @see {@link combineCodec}\n * @see {@link createCodec}\n */\nexport type Codec<TFrom, TTo extends TFrom = TFrom> = FixedSizeCodec<TFrom, TTo> | VariableSizeCodec<TFrom, TTo>;\n\n/**\n * Gets the encoded size of a given value in bytes using the provided encoder.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @param value - The value to be encoded.\n * @param encoder - The encoder used to determine the encoded size.\n * @returns The size of the encoded value in bytes.\n *\n * @example\n * ```ts\n * const fixedSizeEncoder = { fixedSize: 4 };\n * getEncodedSize(123, fixedSizeEncoder); // Returns 4.\n *\n * const variableSizeEncoder = { getSizeFromValue: (value: string) => value.length };\n * getEncodedSize(\"hello\", variableSizeEncoder); // Returns 5.\n * ```\n *\n * @see {@link Encoder}\n */\nexport function getEncodedSize<TFrom>(\n value: TFrom,\n encoder: { fixedSize: number } | { getSizeFromValue: (value: TFrom) => number },\n): number {\n return 'fixedSize' in encoder ? encoder.fixedSize : encoder.getSizeFromValue(value);\n}\n\n/**\n * Creates an `Encoder` by filling in the missing `encode` function using the provided `write` function and\n * either the `fixedSize` property (for {@link FixedSizeEncoder | FixedSizeEncoders}) or\n * the `getSizeFromValue` function (for {@link VariableSizeEncoder | VariableSizeEncoders}).\n *\n * Instead of manually implementing `encode`, this utility leverages the existing `write` function\n * and the size helpers to generate a complete encoder. The provided `encode` method will allocate\n * a new `Uint8Array` of the correct size and use `write` to populate it.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TSize - The fixed size of the encoded value in bytes (for fixed-size encoders).\n *\n * @param encoder - An encoder object that implements `write`, but not `encode`.\n * - If the encoder has a `fixedSize` property, it is treated as a {@link FixedSizeEncoder}.\n * - Otherwise, it is treated as a {@link VariableSizeEncoder}.\n *\n * @returns A fully functional `Encoder` with both `write` and `encode` methods.\n *\n * @example\n * Creating a custom fixed-size encoder.\n * ```ts\n * const encoder = createEncoder({\n * fixedSize: 4,\n * write: (value: number, bytes, offset) => {\n * bytes.set(new Uint8Array([value]), offset);\n * return offset + 4;\n * },\n * });\n *\n * const bytes = encoder.encode(42);\n * // 0x2a000000\n * ```\n *\n * @example\n * Creating a custom variable-size encoder:\n * ```ts\n * const encoder = createEncoder({\n * getSizeFromValue: (value: string) => value.length,\n * write: (value: string, bytes, offset) => {\n * const encodedValue = new TextEncoder().encode(value);\n * bytes.set(encodedValue, offset);\n * return offset + encodedValue.length;\n * },\n * });\n *\n * const bytes = encoder.encode(\"hello\");\n * // 0x68656c6c6f\n * ```\n *\n * @remarks\n * Note that, while `createEncoder` is useful for defining more complex encoders, it is more common to compose\n * encoders together using the various helpers and primitives of the `@solana/codecs` package.\n *\n * Here are some alternative examples using codec primitives instead of `createEncoder`.\n *\n * ```ts\n * // Fixed-size encoder for unsigned 32-bit integers.\n * const encoder = getU32Encoder();\n * const bytes = encoder.encode(42);\n * // 0x2a000000\n *\n * // Variable-size encoder for 32-bytes prefixed UTF-8 strings.\n * const encoder = addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder());\n * const bytes = encoder.encode(\"hello\");\n * // 0x0500000068656c6c6f\n *\n * // Variable-size encoder for custom objects.\n * type Person = { name: string; age: number };\n * const encoder: Encoder<Person> = getStructEncoder([\n * ['name', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())],\n * ['age', getU32Encoder()],\n * ]);\n * const bytes = encoder.encode({ name: \"Bob\", age: 42 });\n * // 0x03000000426f622a000000\n * ```\n *\n * @see {@link Encoder}\n * @see {@link FixedSizeEncoder}\n * @see {@link VariableSizeEncoder}\n * @see {@link getStructEncoder}\n * @see {@link getU32Encoder}\n * @see {@link getUtf8Encoder}\n * @see {@link addEncoderSizePrefix}\n */\nexport function createEncoder<TFrom, TSize extends number>(\n encoder: Omit<FixedSizeEncoder<TFrom, TSize>, 'encode'>,\n): FixedSizeEncoder<TFrom, TSize>;\nexport function createEncoder<TFrom>(encoder: Omit<VariableSizeEncoder<TFrom>, 'encode'>): VariableSizeEncoder<TFrom>;\nexport function createEncoder<TFrom>(\n encoder: Omit<FixedSizeEncoder<TFrom>, 'encode'> | Omit<VariableSizeEncoder<TFrom>, 'encode'>,\n): Encoder<TFrom>;\nexport function createEncoder<TFrom>(\n encoder: Omit<FixedSizeEncoder<TFrom>, 'encode'> | Omit<VariableSizeEncoder<TFrom>, 'encode'>,\n): Encoder<TFrom> {\n return Object.freeze({\n ...encoder,\n encode: value => {\n const bytes = new Uint8Array(getEncodedSize(value, encoder));\n encoder.write(value, bytes, 0);\n return bytes;\n },\n });\n}\n\n/**\n * Creates a `Decoder` by filling in the missing `decode` function using the provided `read` function.\n *\n * Instead of manually implementing `decode`, this utility leverages the existing `read` function\n * and the size properties to generate a complete decoder. The provided `decode` method will read\n * from a `Uint8Array` at the given offset and return the decoded value.\n *\n * If the `fixedSize` property is provided, a {@link FixedSizeDecoder} will be created, otherwise\n * a {@link VariableSizeDecoder} will be created.\n *\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes (for fixed-size decoders).\n *\n * @param decoder - A decoder object that implements `read`, but not `decode`.\n * - If the decoder has a `fixedSize` property, it is treated as a {@link FixedSizeDecoder}.\n * - Otherwise, it is treated as a {@link VariableSizeDecoder}.\n *\n * @returns A fully functional `Decoder` with both `read` and `decode` methods.\n *\n * @example\n * Creating a custom fixed-size decoder.\n * ```ts\n * const decoder = createDecoder({\n * fixedSize: 4,\n * read: (bytes, offset) => {\n * const value = bytes[offset];\n * return [value, offset + 4];\n * },\n * });\n *\n * const value = decoder.decode(new Uint8Array([42, 0, 0, 0]));\n * // 42\n * ```\n *\n * @example\n * Creating a custom variable-size decoder:\n * ```ts\n * const decoder = createDecoder({\n * read: (bytes, offset) => {\n * const decodedValue = new TextDecoder().decode(bytes.subarray(offset));\n * return [decodedValue, bytes.length];\n * },\n * });\n *\n * const value = decoder.decode(new Uint8Array([104, 101, 108, 108, 111]));\n * // \"hello\"\n * ```\n *\n * @remarks\n * Note that, while `createDecoder` is useful for defining more complex decoders, it is more common to compose\n * decoders together using the various helpers and primitives of the `@solana/codecs` package.\n *\n * Here are some alternative examples using codec primitives instead of `createDecoder`.\n *\n * ```ts\n * // Fixed-size decoder for unsigned 32-bit integers.\n * const decoder = getU32Decoder();\n * const value = decoder.decode(new Uint8Array([42, 0, 0, 0]));\n * // 42\n *\n * // Variable-size decoder for 32-bytes prefixed UTF-8 strings.\n * const decoder = addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder());\n * const value = decoder.decode(new Uint8Array([5, 0, 0, 0, 104, 101, 108, 108, 111]));\n * // \"hello\"\n *\n * // Variable-size decoder for custom objects.\n * type Person = { name: string; age: number };\n * const decoder: Decoder<Person> = getStructDecoder([\n * ['name', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())],\n * ['age', getU32Decoder()],\n * ]);\n * const value = decoder.decode(new Uint8Array([3, 0, 0, 0, 66, 111, 98, 42, 0, 0, 0]));\n * // { name: \"Bob\", age: 42 }\n * ```\n *\n * @see {@link Decoder}\n * @see {@link FixedSizeDecoder}\n * @see {@link VariableSizeDecoder}\n * @see {@link getStructDecoder}\n * @see {@link getU32Decoder}\n * @see {@link getUtf8Decoder}\n * @see {@link addDecoderSizePrefix}\n */\nexport function createDecoder<TTo, TSize extends number>(\n decoder: Omit<FixedSizeDecoder<TTo, TSize>, 'decode'>,\n): FixedSizeDecoder<TTo, TSize>;\nexport function createDecoder<TTo>(decoder: Omit<VariableSizeDecoder<TTo>, 'decode'>): VariableSizeDecoder<TTo>;\nexport function createDecoder<TTo>(\n decoder: Omit<FixedSizeDecoder<TTo>, 'decode'> | Omit<VariableSizeDecoder<TTo>, 'decode'>,\n): Decoder<TTo>;\nexport function createDecoder<TTo>(\n decoder: Omit<FixedSizeDecoder<TTo>, 'decode'> | Omit<VariableSizeDecoder<TTo>, 'decode'>,\n): Decoder<TTo> {\n return Object.freeze({\n ...decoder,\n decode: (bytes, offset = 0) => decoder.read(bytes, offset)[0],\n });\n}\n\n/**\n * Creates a `Codec` by filling in the missing `encode` and `decode` functions using the provided `write` and `read` functions.\n *\n * This utility combines the behavior of {@link createEncoder} and {@link createDecoder} to produce a fully functional `Codec`.\n * The `encode` method is derived from the `write` function, while the `decode` method is derived from the `read` function.\n *\n * If the `fixedSize` property is provided, a {@link FixedSizeCodec} will be created, otherwise\n * a {@link VariableSizeCodec} will be created.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes (for fixed-size codecs).\n *\n * @param codec - A codec object that implements `write` and `read`, but not `encode` or `decode`.\n * - If the codec has a `fixedSize` property, it is treated as a {@link FixedSizeCodec}.\n * - Otherwise, it is treated as a {@link VariableSizeCodec}.\n *\n * @returns A fully functional `Codec` with `write`, `read`, `encode`, and `decode` methods.\n *\n * @example\n * Creating a custom fixed-size codec.\n * ```ts\n * const codec = createCodec({\n * fixedSize: 4,\n * read: (bytes, offset) => {\n * const value = bytes[offset];\n * return [value, offset + 4];\n * },\n * write: (value: number, bytes, offset) => {\n * bytes.set(new Uint8Array([value]), offset);\n * return offset + 4;\n * },\n * });\n *\n * const bytes = codec.encode(42);\n * // 0x2a000000\n * const value = codec.decode(bytes);\n * // 42\n * ```\n *\n * @example\n * Creating a custom variable-size codec:\n * ```ts\n * const codec = createCodec({\n * getSizeFromValue: (value: string) => value.length,\n * read: (bytes, offset) => {\n * const decodedValue = new TextDecoder().decode(bytes.subarray(offset));\n * return [decodedValue, bytes.length];\n * },\n * write: (value: string, bytes, offset) => {\n * const encodedValue = new TextEncoder().encode(value);\n * bytes.set(encodedValue, offset);\n * return offset + encodedValue.length;\n * },\n * });\n *\n * const bytes = codec.encode(\"hello\");\n * // 0x68656c6c6f\n * const value = codec.decode(bytes);\n * // \"hello\"\n * ```\n *\n * @remarks\n * This function effectively combines the behavior of {@link createEncoder} and {@link createDecoder}.\n * If you only need to encode or decode (but not both), consider using those functions instead.\n *\n * Here are some alternative examples using codec primitives instead of `createCodec`.\n *\n * ```ts\n * // Fixed-size codec for unsigned 32-bit integers.\n * const codec = getU32Codec();\n * const bytes = codec.encode(42);\n * // 0x2a000000\n * const value = codec.decode(bytes);\n * // 42\n *\n * // Variable-size codec for 32-bytes prefixed UTF-8 strings.\n * const codec = addCodecSizePrefix(getUtf8Codec(), getU32Codec());\n * const bytes = codec.encode(\"hello\");\n * // 0x0500000068656c6c6f\n * const value = codec.decode(bytes);\n * // \"hello\"\n *\n * // Variable-size codec for custom objects.\n * type Person = { name: string; age: number };\n * const codec: Codec<PersonInput, Person> = getStructCodec([\n * ['name', addCodecSizePrefix(getUtf8Codec(), getU32Codec())],\n * ['age', getU32Codec()],\n * ]);\n * const bytes = codec.encode({ name: \"Bob\", age: 42 });\n * // 0x03000000426f622a000000\n * const value = codec.decode(bytes);\n * // { name: \"Bob\", age: 42 }\n * ```\n *\n * @see {@link Codec}\n * @see {@link FixedSizeCodec}\n * @see {@link VariableSizeCodec}\n * @see {@link createEncoder}\n * @see {@link createDecoder}\n * @see {@link getStructCodec}\n * @see {@link getU32Codec}\n * @see {@link getUtf8Codec}\n * @see {@link addCodecSizePrefix}\n */\nexport function createCodec<TFrom, TTo extends TFrom = TFrom, TSize extends number = number>(\n codec: Omit<FixedSizeCodec<TFrom, TTo, TSize>, 'decode' | 'encode'>,\n): FixedSizeCodec<TFrom, TTo, TSize>;\nexport function createCodec<TFrom, TTo extends TFrom = TFrom>(\n codec: Omit<VariableSizeCodec<TFrom, TTo>, 'decode' | 'encode'>,\n): VariableSizeCodec<TFrom, TTo>;\nexport function createCodec<TFrom, TTo extends TFrom = TFrom>(\n codec:\n | Omit<FixedSizeCodec<TFrom, TTo>, 'decode' | 'encode'>\n | Omit<VariableSizeCodec<TFrom, TTo>, 'decode' | 'encode'>,\n): Codec<TFrom, TTo>;\nexport function createCodec<TFrom, TTo extends TFrom = TFrom>(\n codec:\n | Omit<FixedSizeCodec<TFrom, TTo>, 'decode' | 'encode'>\n | Omit<VariableSizeCodec<TFrom, TTo>, 'decode' | 'encode'>,\n): Codec<TFrom, TTo> {\n return Object.freeze({\n ...codec,\n decode: (bytes, offset = 0) => codec.read(bytes, offset)[0],\n encode: value => {\n const bytes = new Uint8Array(getEncodedSize(value, codec));\n codec.write(value, bytes, 0);\n return bytes;\n },\n });\n}\n\n/**\n * Determines whether the given codec, encoder, or decoder is fixed-size.\n *\n * A fixed-size object is identified by the presence of a `fixedSize` property.\n * If this property exists, the object is considered a {@link FixedSizeCodec},\n * {@link FixedSizeEncoder}, or {@link FixedSizeDecoder}.\n * Otherwise, it is assumed to be a {@link VariableSizeCodec},\n * {@link VariableSizeEncoder}, or {@link VariableSizeDecoder}.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n * @returns `true` if the object is fixed-size, `false` otherwise.\n *\n * @example\n * Checking a fixed-size encoder.\n * ```ts\n * const encoder = getU32Encoder();\n * isFixedSize(encoder); // true\n * ```\n *\n * @example\n * Checking a variable-size encoder.\n * ```ts\n * const encoder = addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder());\n * isFixedSize(encoder); // false\n * ```\n *\n * @remarks\n * This function is commonly used to distinguish between fixed-size and variable-size objects at runtime.\n * If you need to enforce this distinction with type assertions, consider using {@link assertIsFixedSize}.\n *\n * @see {@link assertIsFixedSize}\n */\nexport function isFixedSize<TFrom, TSize extends number>(\n encoder: FixedSizeEncoder<TFrom, TSize> | VariableSizeEncoder<TFrom>,\n): encoder is FixedSizeEncoder<TFrom, TSize>;\nexport function isFixedSize<TTo, TSize extends number>(\n decoder: FixedSizeDecoder<TTo, TSize> | VariableSizeDecoder<TTo>,\n): decoder is FixedSizeDecoder<TTo, TSize>;\nexport function isFixedSize<TFrom, TTo extends TFrom, TSize extends number>(\n codec: FixedSizeCodec<TFrom, TTo, TSize> | VariableSizeCodec<TFrom, TTo>,\n): codec is FixedSizeCodec<TFrom, TTo, TSize>;\nexport function isFixedSize<TSize extends number>(\n codec: { fixedSize: TSize } | { maxSize?: number },\n): codec is { fixedSize: TSize };\nexport function isFixedSize(codec: { fixedSize: number } | { maxSize?: number }): codec is { fixedSize: number } {\n return 'fixedSize' in codec && typeof codec.fixedSize === 'number';\n}\n\n/**\n * Asserts that the given codec, encoder, or decoder is fixed-size.\n *\n * If the object is not fixed-size (i.e., it lacks a `fixedSize` property),\n * this function throws a {@link SolanaError} with the code `SOLANA_ERROR__CODECS__EXPECTED_FIXED_LENGTH`.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n * @throws {SolanaError} If the object is not fixed-size.\n *\n * @example\n * Asserting a fixed-size encoder.\n * ```ts\n * const encoder = getU32Encoder();\n * assertIsFixedSize(encoder); // Passes\n * ```\n *\n * @example\n * Attempting to assert a variable-size encoder.\n * ```ts\n * const encoder = addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder());\n * assertIsFixedSize(encoder); // Throws SolanaError\n * ```\n *\n * @remarks\n * This function is the assertion-based counterpart of {@link isFixedSize}.\n * If you only need to check whether an object is fixed-size without throwing an error, use {@link isFixedSize} instead.\n *\n * @see {@link isFixedSize}\n */\nexport function assertIsFixedSize<TFrom, TSize extends number>(\n encoder: FixedSizeEncoder<TFrom, TSize> | VariableSizeEncoder<TFrom>,\n): asserts encoder is FixedSizeEncoder<TFrom, TSize>;\nexport function assertIsFixedSize<TTo, TSize extends number>(\n decoder: FixedSizeDecoder<TTo, TSize> | VariableSizeDecoder<TTo>,\n): asserts decoder is FixedSizeDecoder<TTo, TSize>;\nexport function assertIsFixedSize<TFrom, TTo extends TFrom, TSize extends number>(\n codec: FixedSizeCodec<TFrom, TTo, TSize> | VariableSizeCodec<TFrom, TTo>,\n): asserts codec is FixedSizeCodec<TFrom, TTo, TSize>;\nexport function assertIsFixedSize<TSize extends number>(\n codec: { fixedSize: TSize } | { maxSize?: number },\n): asserts codec is { fixedSize: TSize };\nexport function assertIsFixedSize(\n codec: { fixedSize: number } | { maxSize?: number },\n): asserts codec is { fixedSize: number } {\n if (!isFixedSize(codec)) {\n throw new SolanaError(SOLANA_ERROR__CODECS__EXPECTED_FIXED_LENGTH);\n }\n}\n\n/**\n * Determines whether the given codec, encoder, or decoder is variable-size.\n *\n * A variable-size object is identified by the absence of a `fixedSize` property.\n * If this property is missing, the object is considered a {@link VariableSizeCodec},\n * {@link VariableSizeEncoder}, or {@link VariableSizeDecoder}.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n * @returns `true` if the object is variable-size, `false` otherwise.\n *\n * @example\n * Checking a variable-size encoder.\n * ```ts\n * const encoder = addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder());\n * isVariableSize(encoder); // true\n * ```\n *\n * @example\n * Checking a fixed-size encoder.\n * ```ts\n * const encoder = getU32Encoder();\n * isVariableSize(encoder); // false\n * ```\n *\n * @remarks\n * This function is the inverse of {@link isFixedSize}.\n *\n * @see {@link isFixedSize}\n * @see {@link assertIsVariableSize}\n */\nexport function isVariableSize<TFrom>(encoder: Encoder<TFrom>): encoder is VariableSizeEncoder<TFrom>;\nexport function isVariableSize<TTo>(decoder: Decoder<TTo>): decoder is VariableSizeDecoder<TTo>;\nexport function isVariableSize<TFrom, TTo extends TFrom>(\n codec: Codec<TFrom, TTo>,\n): codec is VariableSizeCodec<TFrom, TTo>;\nexport function isVariableSize(codec: { fixedSize: number } | { maxSize?: number }): codec is { maxSize?: number };\nexport function isVariableSize(codec: { fixedSize: number } | { maxSize?: number }): codec is { maxSize?: number } {\n return !isFixedSize(codec);\n}\n\n/**\n * Asserts that the given codec, encoder, or decoder is variable-size.\n *\n * If the object is not variable-size (i.e., it has a `fixedSize` property),\n * this function throws a {@link SolanaError} with the code `SOLANA_ERROR__CODECS__EXPECTED_VARIABLE_LENGTH`.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n * @throws {SolanaError} If the object is not variable-size.\n *\n * @example\n * Asserting a variable-size encoder.\n * ```ts\n * const encoder = addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder());\n * assertIsVariableSize(encoder); // Passes\n * ```\n *\n * @example\n * Attempting to assert a fixed-size encoder.\n * ```ts\n * const encoder = getU32Encoder();\n * assertIsVariableSize(encoder); // Throws SolanaError\n * ```\n *\n * @remarks\n * This function is the assertion-based counterpart of {@link isVariableSize}.\n * If you only need to check whether an object is variable-size without throwing an error, use {@link isVariableSize} instead.\n *\n * Also note that this function is the inverse of {@link assertIsFixedSize}.\n *\n * @see {@link isVariableSize}\n * @see {@link assertIsFixedSize}\n */\nexport function assertIsVariableSize<TFrom>(encoder: Encoder<TFrom>): asserts encoder is VariableSizeEncoder<TFrom>;\nexport function assertIsVariableSize<TTo>(decoder: Decoder<TTo>): asserts decoder is VariableSizeDecoder<TTo>;\nexport function assertIsVariableSize<TFrom, TTo extends TFrom>(\n codec: Codec<TFrom, TTo>,\n): asserts codec is VariableSizeCodec<TFrom, TTo>;\nexport function assertIsVariableSize(\n codec: { fixedSize: number } | { maxSize?: number },\n): asserts codec is { maxSize?: number };\nexport function assertIsVariableSize(\n codec: { fixedSize: number } | { maxSize?: number },\n): asserts codec is { maxSize?: number } {\n if (!isVariableSize(codec)) {\n throw new SolanaError(SOLANA_ERROR__CODECS__EXPECTED_VARIABLE_LENGTH);\n }\n}\n","import {\n SOLANA_ERROR__CODECS__ENCODER_DECODER_FIXED_SIZE_MISMATCH,\n SOLANA_ERROR__CODECS__ENCODER_DECODER_MAX_SIZE_MISMATCH,\n SOLANA_ERROR__CODECS__ENCODER_DECODER_SIZE_COMPATIBILITY_MISMATCH,\n SolanaError,\n} from '@solana/errors';\n\nimport {\n Codec,\n Decoder,\n Encoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n isFixedSize,\n VariableSizeCodec,\n VariableSizeDecoder,\n VariableSizeEncoder,\n} from './codec';\n\n/**\n * Combines an `Encoder` and a `Decoder` into a `Codec`.\n *\n * That is, given a `Encoder<TFrom>` and a `Decoder<TTo>`, this function returns a `Codec<TFrom, TTo>`.\n *\n * This allows for modular composition by keeping encoding and decoding logic separate\n * while still offering a convenient way to bundle them into a single `Codec`.\n * This is particularly useful for library maintainers who want to expose `Encoders`,\n * `Decoders`, and `Codecs` separately, enabling tree-shaking of unused logic.\n *\n * The provided `Encoder` and `Decoder` must be compatible in terms of:\n * - **Fixed Size:** If both are fixed-size, they must have the same `fixedSize` value.\n * - **Variable Size:** If either has a `maxSize` attribute, it must match the other.\n *\n * If these conditions are not met, a {@link SolanaError} will be thrown.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes (for fixed-size codecs).\n *\n * @param encoder - The `Encoder` to combine.\n * @param decoder - The `Decoder` to combine.\n * @returns A `Codec` that provides both `encode` and `decode` methods.\n *\n * @throws {SolanaError}\n * - `SOLANA_ERROR__CODECS__ENCODER_DECODER_SIZE_COMPATIBILITY_MISMATCH`\n * Thrown if the encoder and decoder have mismatched size types (fixed vs. variable).\n * - `SOLANA_ERROR__CODECS__ENCODER_DECODER_FIXED_SIZE_MISMATCH`\n * Thrown if both are fixed-size but have different `fixedSize` values.\n * - `SOLANA_ERROR__CODECS__ENCODER_DECODER_MAX_SIZE_MISMATCH`\n * Thrown if the `maxSize` attributes do not match.\n *\n * @example\n * Creating a fixed-size `Codec` from an encoder and a decoder.\n * ```ts\n * const encoder = getU32Encoder();\n * const decoder = getU32Decoder();\n * const codec = combineCodec(encoder, decoder);\n *\n * const bytes = codec.encode(42); // 0x2a000000\n * const value = codec.decode(bytes); // 42\n * ```\n *\n * @example\n * Creating a variable-size `Codec` from an encoder and a decoder.\n * ```ts\n * const encoder = addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder());\n * const decoder = addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder());\n * const codec = combineCodec(encoder, decoder);\n *\n * const bytes = codec.encode(\"hello\"); // 0x0500000068656c6c6f\n * const value = codec.decode(bytes); // \"hello\"\n * ```\n *\n * @remarks\n * The recommended pattern for defining codecs in libraries is to expose separate functions for the encoder, decoder, and codec.\n * This allows users to import only what they need, improving tree-shaking efficiency.\n *\n * ```ts\n * type MyType = \\/* ... *\\/;\n * const getMyTypeEncoder = (): Encoder<MyType> => { \\/* ... *\\/ };\n * const getMyTypeDecoder = (): Decoder<MyType> => { \\/* ... *\\/ };\n * const getMyTypeCodec = (): Codec<MyType> =>\n * combineCodec(getMyTypeEncoder(), getMyTypeDecoder());\n * ```\n *\n * @see {@link Codec}\n * @see {@link Encoder}\n * @see {@link Decoder}\n */\nexport function combineCodec<TFrom, TTo extends TFrom, TSize extends number>(\n encoder: FixedSizeEncoder<TFrom, TSize>,\n decoder: FixedSizeDecoder<TTo, TSize>,\n): FixedSizeCodec<TFrom, TTo, TSize>;\nexport function combineCodec<TFrom, TTo extends TFrom>(\n encoder: VariableSizeEncoder<TFrom>,\n decoder: VariableSizeDecoder<TTo>,\n): VariableSizeCodec<TFrom, TTo>;\nexport function combineCodec<TFrom, TTo extends TFrom>(\n encoder: Encoder<TFrom>,\n decoder: Decoder<TTo>,\n): Codec<TFrom, TTo>;\nexport function combineCodec<TFrom, TTo extends TFrom>(\n encoder: Encoder<TFrom>,\n decoder: Decoder<TTo>,\n): Codec<TFrom, TTo> {\n if (isFixedSize(encoder) !== isFixedSize(decoder)) {\n throw new SolanaError(SOLANA_ERROR__CODECS__ENCODER_DECODER_SIZE_COMPATIBILITY_MISMATCH);\n }\n\n if (isFixedSize(encoder) && isFixedSize(decoder) && encoder.fixedSize !== decoder.fixedSize) {\n throw new SolanaError(SOLANA_ERROR__CODECS__ENCODER_DECODER_FIXED_SIZE_MISMATCH, {\n decoderFixedSize: decoder.fixedSize,\n encoderFixedSize: encoder.fixedSize,\n });\n }\n\n if (!isFixedSize(encoder) && !isFixedSize(decoder) && encoder.maxSize !== decoder.maxSize) {\n throw new SolanaError(SOLANA_ERROR__CODECS__ENCODER_DECODER_MAX_SIZE_MISMATCH, {\n decoderMaxSize: decoder.maxSize,\n encoderMaxSize: encoder.maxSize,\n });\n }\n\n return {\n ...decoder,\n ...encoder,\n decode: decoder.decode,\n encode: encoder.encode,\n read: decoder.read,\n write: encoder.write,\n };\n}\n","import {\n SOLANA_ERROR__CODECS__ENCODED_BYTES_MUST_NOT_INCLUDE_SENTINEL,\n SOLANA_ERROR__CODECS__SENTINEL_MISSING_IN_DECODED_BYTES,\n SolanaError,\n} from '@solana/errors';\n\nimport { containsBytes } from './bytes';\nimport {\n Codec,\n createDecoder,\n createEncoder,\n Decoder,\n Encoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n isFixedSize,\n VariableSizeCodec,\n VariableSizeDecoder,\n VariableSizeEncoder,\n} from './codec';\nimport { combineCodec } from './combine-codec';\nimport { ReadonlyUint8Array } from './readonly-uint8array';\n\n/**\n * Creates an encoder that writes a `Uint8Array` sentinel after the encoded value.\n * This is useful to delimit the encoded value when being read by a decoder.\n *\n * See {@link addCodecSentinel} for more information.\n *\n * @typeParam TFrom - The type of the value to encode.\n *\n * @see {@link addCodecSentinel}\n */\nexport function addEncoderSentinel<TFrom>(\n encoder: FixedSizeEncoder<TFrom>,\n sentinel: ReadonlyUint8Array,\n): FixedSizeEncoder<TFrom>;\nexport function addEncoderSentinel<TFrom>(\n encoder: Encoder<TFrom>,\n sentinel: ReadonlyUint8Array,\n): VariableSizeEncoder<TFrom>;\nexport function addEncoderSentinel<TFrom>(encoder: Encoder<TFrom>, sentinel: ReadonlyUint8Array): Encoder<TFrom> {\n const write = ((value, bytes, offset) => {\n // Here we exceptionally use the `encode` function instead of the `write`\n // function to contain the content of the encoder within its own bounds\n // and to avoid writing the sentinel as part of the encoded value.\n const encoderBytes = encoder.encode(value);\n if (findSentinelIndex(encoderBytes, sentinel) >= 0) {\n throw new SolanaError(SOLANA_ERROR__CODECS__ENCODED_BYTES_MUST_NOT_INCLUDE_SENTINEL, {\n encodedBytes: encoderBytes,\n hexEncodedBytes: hexBytes(encoderBytes),\n hexSentinel: hexBytes(sentinel),\n sentinel,\n });\n }\n bytes.set(encoderBytes, offset);\n offset += encoderBytes.length;\n bytes.set(sentinel, offset);\n offset += sentinel.length;\n return offset;\n }) as Encoder<TFrom>['write'];\n\n if (isFixedSize(encoder)) {\n return createEncoder({ ...encoder, fixedSize: encoder.fixedSize + sentinel.length, write });\n }\n\n return createEncoder({\n ...encoder,\n ...(encoder.maxSize != null ? { maxSize: encoder.maxSize + sentinel.length } : {}),\n getSizeFromValue: value => encoder.getSizeFromValue(value) + sentinel.length,\n write,\n });\n}\n\n/**\n * Creates a decoder that continues reading until\n * a given `Uint8Array` sentinel is found.\n *\n * See {@link addCodecSentinel} for more information.\n *\n * @typeParam TTo - The type of the decoded value.\n *\n * @see {@link addCodecSentinel}\n */\nexport function addDecoderSentinel<TTo>(\n decoder: FixedSizeDecoder<TTo>,\n sentinel: ReadonlyUint8Array,\n): FixedSizeDecoder<TTo>;\nexport function addDecoderSentinel<TTo>(decoder: Decoder<TTo>, sentinel: ReadonlyUint8Array): VariableSizeDecoder<TTo>;\nexport function addDecoderSentinel<TTo>(decoder: Decoder<TTo>, sentinel: ReadonlyUint8Array): Decoder<TTo> {\n const read = ((bytes, offset) => {\n const candidateBytes = offset === 0 ? bytes : bytes.slice(offset);\n const sentinelIndex = findSentinelIndex(candidateBytes, sentinel);\n if (sentinelIndex === -1) {\n throw new SolanaError(SOLANA_ERROR__CODECS__SENTINEL_MISSING_IN_DECODED_BYTES, {\n decodedBytes: candidateBytes,\n hexDecodedBytes: hexBytes(candidateBytes),\n hexSentinel: hexBytes(sentinel),\n sentinel,\n });\n }\n const preSentinelBytes = candidateBytes.slice(0, sentinelIndex);\n // Here we exceptionally use the `decode` function instead of the `read`\n // function to contain the content of the decoder within its own bounds\n // and ensure that the sentinel is not part of the decoded value.\n return [decoder.decode(preSentinelBytes), offset + preSentinelBytes.length + sentinel.length];\n }) as Decoder<TTo>['read'];\n\n if (isFixedSize(decoder)) {\n return createDecoder({ ...decoder, fixedSize: decoder.fixedSize + sentinel.length, read });\n }\n\n return createDecoder({\n ...decoder,\n ...(decoder.maxSize != null ? { maxSize: decoder.maxSize + sentinel.length } : {}),\n read,\n });\n}\n\n/**\n * Creates a Codec that writes a given `Uint8Array` sentinel after the encoded\n * value and, when decoding, continues reading until the sentinel is found.\n *\n * This sets a limit on variable-size codecs and tells us when to stop decoding.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n *\n * @example\n * ```ts\n * const codec = addCodecSentinel(getUtf8Codec(), new Uint8Array([255, 255]));\n * codec.encode('hello');\n * // 0x68656c6c6fffff\n * // | └-- Our sentinel.\n * // └-- Our encoded string.\n * ```\n *\n * @remarks\n * Note that the sentinel _must not_ be present in the encoded data and\n * _must_ be present in the decoded data for this to work.\n * If this is not the case, dedicated errors will be thrown.\n *\n * ```ts\n * const sentinel = new Uint8Array([108, 108]); // 'll'\n * const codec = addCodecSentinel(getUtf8Codec(), sentinel);\n *\n * codec.encode('hello'); // Throws: sentinel is in encoded data.\n * codec.decode(new Uint8Array([1, 2, 3])); // Throws: sentinel missing in decoded data.\n * ```\n *\n * Separate {@link addEncoderSentinel} and {@link addDecoderSentinel} functions are also available.\n *\n * ```ts\n * const bytes = addEncoderSentinel(getUtf8Encoder(), sentinel).encode('hello');\n * const value = addDecoderSentinel(getUtf8Decoder(), sentinel).decode(bytes);\n * ```\n *\n * @see {@link addEncoderSentinel}\n * @see {@link addDecoderSentinel}\n */\nexport function addCodecSentinel<TFrom, TTo extends TFrom>(\n codec: FixedSizeCodec<TFrom, TTo>,\n sentinel: ReadonlyUint8Array,\n): FixedSizeCodec<TFrom, TTo>;\nexport function addCodecSentinel<TFrom, TTo extends TFrom>(\n codec: Codec<TFrom, TTo>,\n sentinel: ReadonlyUint8Array,\n): VariableSizeCodec<TFrom, TTo>;\nexport function addCodecSentinel<TFrom, TTo extends TFrom>(\n codec: Codec<TFrom, TTo>,\n sentinel: ReadonlyUint8Array,\n): Codec<TFrom, TTo> {\n return combineCodec(addEncoderSentinel(codec, sentinel), addDecoderSentinel(codec, sentinel));\n}\n\nfunction findSentinelIndex(bytes: ReadonlyUint8Array, sentinel: ReadonlyUint8Array) {\n return bytes.findIndex((byte, index, arr) => {\n if (sentinel.length === 1) return byte === sentinel[0];\n return containsBytes(arr, sentinel, index);\n });\n}\n\nfunction hexBytes(bytes: ReadonlyUint8Array): string {\n return bytes.reduce((str, byte) => str + byte.toString(16).padStart(2, '0'), '');\n}\n","import {\n SOLANA_ERROR__CODECS__CANNOT_DECODE_EMPTY_BYTE_ARRAY,\n SOLANA_ERROR__CODECS__INVALID_BYTE_LENGTH,\n SOLANA_ERROR__CODECS__OFFSET_OUT_OF_RANGE,\n SolanaError,\n} from '@solana/errors';\n\nimport { ReadonlyUint8Array } from './readonly-uint8array';\n\n/**\n * Asserts that a given byte array is not empty (after the optional provided offset).\n *\n * Returns void if the byte array is not empty but throws a {@link SolanaError} otherwise.\n *\n * @param codecDescription - A description of the codec used by the assertion error.\n * @param bytes - The byte array to check.\n * @param offset - The offset from which to start checking the byte array.\n * If provided, the byte array is considered empty if it has no bytes after the offset.\n *\n * @example\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02, 0x03]);\n * assertByteArrayIsNotEmptyForCodec('myCodec', bytes); // OK\n * assertByteArrayIsNotEmptyForCodec('myCodec', bytes, 1); // OK\n * assertByteArrayIsNotEmptyForCodec('myCodec', bytes, 3); // Throws\n * ```\n */\nexport function assertByteArrayIsNotEmptyForCodec(\n codecDescription: string,\n bytes: ReadonlyUint8Array | Uint8Array,\n offset = 0,\n) {\n if (bytes.length - offset <= 0) {\n throw new SolanaError(SOLANA_ERROR__CODECS__CANNOT_DECODE_EMPTY_BYTE_ARRAY, {\n codecDescription,\n });\n }\n}\n\n/**\n * Asserts that a given byte array has enough bytes to decode\n * (after the optional provided offset).\n *\n * Returns void if the byte array has at least the expected number\n * of bytes but throws a {@link SolanaError} otherwise.\n *\n * @param codecDescription - A description of the codec used by the assertion error.\n * @param expected - The minimum number of bytes expected in the byte array.\n * @param bytes - The byte array to check.\n * @param offset - The offset from which to start checking the byte array.\n *\n * @example\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02, 0x03]);\n * assertByteArrayHasEnoughBytesForCodec('myCodec', 3, bytes); // OK\n * assertByteArrayHasEnoughBytesForCodec('myCodec', 4, bytes); // Throws\n * assertByteArrayHasEnoughBytesForCodec('myCodec', 2, bytes, 1); // OK\n * assertByteArrayHasEnoughBytesForCodec('myCodec', 3, bytes, 1); // Throws\n * ```\n */\nexport function assertByteArrayHasEnoughBytesForCodec(\n codecDescription: string,\n expected: number,\n bytes: ReadonlyUint8Array | Uint8Array,\n offset = 0,\n) {\n const bytesLength = bytes.length - offset;\n if (bytesLength < expected) {\n throw new SolanaError(SOLANA_ERROR__CODECS__INVALID_BYTE_LENGTH, {\n bytesLength,\n codecDescription,\n expected,\n });\n }\n}\n\n/**\n * Asserts that a given offset is within the byte array bounds.\n * This range is between 0 and the byte array length and is inclusive.\n * An offset equals to the byte array length is considered a valid offset\n * as it allows the post-offset of codecs to signal the end of the byte array.\n *\n * @param codecDescription - A description of the codec used by the assertion error.\n * @param offset - The offset to check.\n * @param bytesLength - The length of the byte array from which the offset should be within bounds.\n *\n * @example\n * ```ts\n * const bytes = new Uint8Array([0x01, 0x02, 0x03]);\n * assertByteArrayOffsetIsNotOutOfRange('myCodec', 0, bytes.length); // OK\n * assertByteArrayOffsetIsNotOutOfRange('myCodec', 3, bytes.length); // OK\n * assertByteArrayOffsetIsNotOutOfRange('myCodec', 4, bytes.length); // Throws\n * ```\n */\nexport function assertByteArrayOffsetIsNotOutOfRange(codecDescription: string, offset: number, bytesLength: number) {\n if (offset < 0 || offset > bytesLength) {\n throw new SolanaError(SOLANA_ERROR__CODECS__OFFSET_OUT_OF_RANGE, {\n bytesLength,\n codecDescription,\n offset,\n });\n }\n}\n","import { assertByteArrayHasEnoughBytesForCodec } from './assertions';\nimport {\n Codec,\n createDecoder,\n createEncoder,\n Decoder,\n Encoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n getEncodedSize,\n isFixedSize,\n VariableSizeCodec,\n VariableSizeDecoder,\n VariableSizeEncoder,\n} from './codec';\nimport { combineCodec } from './combine-codec';\n\ntype NumberEncoder = Encoder<bigint | number> | Encoder<number>;\ntype FixedSizeNumberEncoder<TSize extends number = number> =\n | FixedSizeEncoder<bigint | number, TSize>\n | FixedSizeEncoder<number, TSize>;\ntype NumberDecoder = Decoder<bigint> | Decoder<number>;\ntype FixedSizeNumberDecoder<TSize extends number = number> =\n | FixedSizeDecoder<bigint, TSize>\n | FixedSizeDecoder<number, TSize>;\ntype NumberCodec = Codec<bigint | number, bigint> | Codec<number>;\ntype FixedSizeNumberCodec<TSize extends number = number> =\n | FixedSizeCodec<bigint | number, bigint, TSize>\n | FixedSizeCodec<number, number, TSize>;\n\n/**\n * Stores the size of the `encoder` in bytes as a prefix using the `prefix` encoder.\n *\n * See {@link addCodecSizePrefix} for more information.\n *\n * @typeParam TFrom - The type of the value to encode.\n *\n * @see {@link addCodecSizePrefix}\n */\nexport function addEncoderSizePrefix<TFrom>(\n encoder: FixedSizeEncoder<TFrom>,\n prefix: FixedSizeNumberEncoder,\n): FixedSizeEncoder<TFrom>;\nexport function addEncoderSizePrefix<TFrom>(encoder: Encoder<TFrom>, prefix: NumberEncoder): VariableSizeEncoder<TFrom>;\nexport function addEncoderSizePrefix<TFrom>(encoder: Encoder<TFrom>, prefix: NumberEncoder): Encoder<TFrom> {\n const write = ((value, bytes, offset) => {\n // Here we exceptionally use the `encode` function instead of the `write`\n // function to contain the content of the encoder within its own bounds.\n const encoderBytes = encoder.encode(value);\n offset = prefix.write(encoderBytes.length, bytes, offset);\n bytes.set(encoderBytes, offset);\n return offset + encoderBytes.length;\n }) as Encoder<TFrom>['write'];\n\n if (isFixedSize(prefix) && isFixedSize(encoder)) {\n return createEncoder({ ...encoder, fixedSize: prefix.fixedSize + encoder.fixedSize, write });\n }\n\n const prefixMaxSize = isFixedSize(prefix) ? prefix.fixedSize : (prefix.maxSize ?? null);\n const encoderMaxSize = isFixedSize(encoder) ? encoder.fixedSize : (encoder.maxSize ?? null);\n const maxSize = prefixMaxSize !== null && encoderMaxSize !== null ? prefixMaxSize + encoderMaxSize : null;\n\n return createEncoder({\n ...encoder,\n ...(maxSize !== null ? { maxSize } : {}),\n getSizeFromValue: value => {\n const encoderSize = getEncodedSize(value, encoder);\n return getEncodedSize(encoderSize, prefix) + encoderSize;\n },\n write,\n });\n}\n\n/**\n * Bounds the size of the nested `decoder` by reading its encoded `prefix`.\n *\n * See {@link addCodecSizePrefix} for more information.\n *\n * @typeParam TTo - The type of the decoded value.\n *\n * @see {@link addCodecSizePrefix}\n */\nexport function addDecoderSizePrefix<TTo>(\n decoder: FixedSizeDecoder<TTo>,\n prefix: FixedSizeNumberDecoder,\n): FixedSizeDecoder<TTo>;\nexport function addDecoderSizePrefix<TTo>(decoder: Decoder<TTo>, prefix: NumberDecoder): VariableSizeDecoder<TTo>;\nexport function addDecoderSizePrefix<TTo>(decoder: Decoder<TTo>, prefix: NumberDecoder): Decoder<TTo> {\n const read = ((bytes, offset) => {\n const [bigintSize, decoderOffset] = prefix.read(bytes, offset);\n const size = Number(bigintSize);\n offset = decoderOffset;\n // Slice the byte array to the contained size if necessary.\n if (offset > 0 || bytes.length > size) {\n bytes = bytes.slice(offset, offset + size);\n }\n assertByteArrayHasEnoughBytesForCodec('addDecoderSizePrefix', size, bytes);\n // Here we exceptionally use the `decode` function instead of the `read`\n // function to contain the content of the decoder within its own bounds.\n return [decoder.decode(bytes), offset + size];\n }) as Decoder<TTo>['read'];\n\n if (isFixedSize(prefix) && isFixedSize(decoder)) {\n return createDecoder({ ...decoder, fixedSize: prefix.fixedSize + decoder.fixedSize, read });\n }\n\n const prefixMaxSize = isFixedSize(prefix) ? prefix.fixedSize : (prefix.maxSize ?? null);\n const decoderMaxSize = isFixedSize(decoder) ? decoder.fixedSize : (decoder.maxSize ?? null);\n const maxSize = prefixMaxSize !== null && decoderMaxSize !== null ? prefixMaxSize + decoderMaxSize : null;\n return createDecoder({ ...decoder, ...(maxSize !== null ? { maxSize } : {}), read });\n}\n\n/**\n * Stores the byte size of any given codec as an encoded number prefix.\n *\n * This sets a limit on variable-size codecs and tells us when to stop decoding.\n * When encoding, the size of the encoded data is stored before the encoded data itself.\n * When decoding, the size is read first to know how many bytes to read next.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n *\n * @example\n * For example, say we want to bound a variable-size base-58 string using a `u32` size prefix.\n * Here’s how you can use the `addCodecSizePrefix` function to achieve that.\n *\n * ```ts\n * const getU32Base58Codec = () => addCodecSizePrefix(getBase58Codec(), getU32Codec());\n *\n * getU32Base58Codec().encode('hello world');\n * // 0x0b00000068656c6c6f20776f726c64\n * // | └-- Our encoded base-58 string.\n * // └-- Our encoded u32 size prefix.\n * ```\n *\n * @remarks\n * Separate {@link addEncoderSizePrefix} and {@link addDecoderSizePrefix} functions are also available.\n *\n * ```ts\n * const bytes = addEncoderSizePrefix(getBase58Encoder(), getU32Encoder()).encode('hello');\n * const value = addDecoderSizePrefix(getBase58Decoder(), getU32Decoder()).decode(bytes);\n * ```\n *\n * @see {@link addEncoderSizePrefix}\n * @see {@link addDecoderSizePrefix}\n */\nexport function addCodecSizePrefix<TFrom, TTo extends TFrom>(\n codec: FixedSizeCodec<TFrom, TTo>,\n prefix: FixedSizeNumberCodec,\n): FixedSizeCodec<TFrom, TTo>;\nexport function addCodecSizePrefix<TFrom, TTo extends TFrom>(\n codec: Codec<TFrom, TTo>,\n prefix: NumberCodec,\n): VariableSizeCodec<TFrom, TTo>;\nexport function addCodecSizePrefix<TFrom, TTo extends TFrom>(\n codec: Codec<TFrom, TTo>,\n prefix: NumberCodec,\n): Codec<TFrom, TTo> {\n return combineCodec(addEncoderSizePrefix(codec, prefix), addDecoderSizePrefix(codec, prefix));\n}\n","import { assertByteArrayHasEnoughBytesForCodec } from './assertions';\nimport { fixBytes } from './bytes';\nimport {\n Codec,\n createDecoder,\n createEncoder,\n Decoder,\n Encoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n isFixedSize,\n Offset,\n} from './codec';\nimport { combineCodec } from './combine-codec';\n\n/**\n * Creates a fixed-size encoder from a given encoder.\n *\n * The resulting encoder ensures that encoded values always have the specified number of bytes.\n * If the original encoded value is larger than `fixedBytes`, it is truncated.\n * If it is smaller, it is padded with trailing zeroes.\n *\n * For more details, see {@link fixCodecSize}.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @param encoder - The encoder to wrap into a fixed-size encoder.\n * @param fixedBytes - The fixed number of bytes to write.\n * @returns A `FixedSizeEncoder` that ensures a consistent output size.\n *\n * @example\n * ```ts\n * const encoder = fixEncoderSize(getUtf8Encoder(), 4);\n * encoder.encode(\"Hello\"); // 0x48656c6c (truncated)\n * encoder.encode(\"Hi\"); // 0x48690000 (padded)\n * encoder.encode(\"Hiya\"); // 0x48697961 (same length)\n * ```\n *\n * @remarks\n * If you need a full codec with both encoding and decoding, use {@link fixCodecSize}.\n *\n * @see {@link fixCodecSize}\n * @see {@link fixDecoderSize}\n */\nexport function fixEncoderSize<TFrom, TSize extends number>(\n encoder: Encoder<TFrom>,\n fixedBytes: TSize,\n): FixedSizeEncoder<TFrom, TSize> {\n return createEncoder({\n fixedSize: fixedBytes,\n write: (value: TFrom, bytes: Uint8Array, offset: Offset) => {\n // Here we exceptionally use the `encode` function instead of the `write`\n // function as using the nested `write` function on a fixed-sized byte\n // array may result in a out-of-bounds error on the nested encoder.\n const variableByteArray = encoder.encode(value);\n const fixedByteArray =\n variableByteArray.length > fixedBytes ? variableByteArray.slice(0, fixedBytes) : variableByteArray;\n bytes.set(fixedByteArray, offset);\n return offset + fixedBytes;\n },\n });\n}\n\n/**\n * Creates a fixed-size decoder from a given decoder.\n *\n * The resulting decoder always reads exactly `fixedBytes` bytes from the input.\n * If the nested decoder is also fixed-size, the bytes are truncated or padded as needed.\n *\n * For more details, see {@link fixCodecSize}.\n *\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @param decoder - The decoder to wrap into a fixed-size decoder.\n * @param fixedBytes - The fixed number of bytes to read.\n * @returns A `FixedSizeDecoder` that ensures a consistent input size.\n *\n * @example\n * ```ts\n * const decoder = fixDecoderSize(getUtf8Decoder(), 4);\n * decoder.decode(new Uint8Array([72, 101, 108, 108, 111])); // \"Hell\" (truncated)\n * decoder.decode(new Uint8Array([72, 105, 0, 0])); // \"Hi\" (zeroes ignored)\n * decoder.decode(new Uint8Array([72, 105, 121, 97])); // \"Hiya\" (same length)\n * ```\n *\n * @remarks\n * If you need a full codec with both encoding and decoding, use {@link fixCodecSize}.\n *\n * @see {@link fixCodecSize}\n * @see {@link fixEncoderSize}\n */\nexport function fixDecoderSize<TTo, TSize extends number>(\n decoder: Decoder<TTo>,\n fixedBytes: TSize,\n): FixedSizeDecoder<TTo, TSize> {\n return createDecoder({\n fixedSize: fixedBytes,\n read: (bytes, offset) => {\n assertByteArrayHasEnoughBytesForCodec('fixCodecSize', fixedBytes, bytes, offset);\n // Slice the byte array to the fixed size if necessary.\n if (offset > 0 || bytes.length > fixedBytes) {\n bytes = bytes.slice(offset, offset + fixedBytes);\n }\n // If the nested decoder is fixed-size, pad and truncate the byte array accordingly.\n if (isFixedSize(decoder)) {\n bytes = fixBytes(bytes, decoder.fixedSize);\n }\n // Decode the value using the nested decoder.\n const [value] = decoder.read(bytes, 0);\n return [value, offset + fixedBytes];\n },\n });\n}\n\n/**\n * Creates a fixed-size codec from a given codec.\n *\n * The resulting codec ensures that both encoding and decoding operate on a fixed number of bytes.\n * When encoding:\n * - If the encoded value is larger than `fixedBytes`, it is truncated.\n * - If it is smaller, it is padded with trailing zeroes.\n * - If it is exactly `fixedBytes`, it remains unchanged.\n *\n * When decoding:\n * - Exactly `fixedBytes` bytes are read from the input.\n * - If the nested decoder has a smaller fixed size, bytes are truncated or padded as necessary.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @param codec - The codec to wrap into a fixed-size codec.\n * @param fixedBytes - The fixed number of bytes to read/write.\n * @returns A `FixedSizeCodec` that ensures both encoding and decoding conform to a fixed size.\n *\n * @example\n * ```ts\n * const codec = fixCodecSize(getUtf8Codec(), 4);\n *\n * const bytes1 = codec.encode(\"Hello\"); // 0x48656c6c (truncated)\n * const value1 = codec.decode(bytes1); // \"Hell\"\n *\n * const bytes2 = codec.encode(\"Hi\"); // 0x48690000 (padded)\n * const value2 = codec.decode(bytes2); // \"Hi\"\n *\n * const bytes3 = codec.encode(\"Hiya\"); // 0x48697961 (same length)\n * const value3 = codec.decode(bytes3); // \"Hiya\"\n * ```\n *\n * @remarks\n * If you only need to enforce a fixed size for encoding, use {@link fixEncoderSize}.\n * If you only need to enforce a fixed size for decoding, use {@link fixDecoderSize}.\n *\n * ```ts\n * const bytes = fixEncoderSize(getUtf8Encoder(), 4).encode(\"Hiya\");\n * const value = fixDecoderSize(getUtf8Decoder(), 4).decode(bytes);\n * ```\n *\n * @see {@link fixEncoderSize}\n * @see {@link fixDecoderSize}\n */\nexport function fixCodecSize<TFrom, TTo extends TFrom, TSize extends number>(\n codec: Codec<TFrom, TTo>,\n fixedBytes: TSize,\n): FixedSizeCodec<TFrom, TTo, TSize> {\n return combineCodec(fixEncoderSize(codec, fixedBytes), fixDecoderSize(codec, fixedBytes));\n}\n","import { assertByteArrayOffsetIsNotOutOfRange } from './assertions';\nimport { Codec, createDecoder, createEncoder, Decoder, Encoder, Offset } from './codec';\nimport { combineCodec } from './combine-codec';\nimport { ReadonlyUint8Array } from './readonly-uint8array';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyEncoder = Encoder<any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyDecoder = Decoder<any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyCodec = Codec<any>;\n\n/**\n * Configuration object for modifying the offset of an encoder, decoder, or codec.\n *\n * This type defines optional functions for adjusting the **pre-offset** (before encoding/decoding)\n * and the **post-offset** (after encoding/decoding). These functions allow precise control\n * over where data is written or read within a byte array.\n *\n * @property preOffset - A function that modifies the offset before encoding or decoding.\n * @property postOffset - A function that modifies the offset after encoding or decoding.\n *\n * @example\n * Moving the pre-offset forward by 2 bytes.\n * ```ts\n * const config: OffsetConfig = {\n * preOffset: ({ preOffset }) => preOffset + 2,\n * };\n * ```\n *\n * @example\n * Moving the post-offset forward by 2 bytes.\n * ```ts\n * const config: OffsetConfig = {\n * postOffset: ({ postOffset }) => postOffset + 2,\n * };\n * ```\n *\n * @example\n * Using both pre-offset and post-offset together.\n * ```ts\n * const config: OffsetConfig = {\n * preOffset: ({ preOffset }) => preOffset + 2,\n * postOffset: ({ postOffset }) => postOffset + 4,\n * };\n * ```\n *\n * @see {@link offsetEncoder}\n * @see {@link offsetDecoder}\n * @see {@link offsetCodec}\n */\ntype OffsetConfig = {\n postOffset?: PostOffsetFunction;\n preOffset?: PreOffsetFunction;\n};\n\n/**\n * Scope provided to the `preOffset` and `postOffset` functions,\n * containing contextual information about the current encoding or decoding process.\n *\n * The pre-offset function modifies where encoding or decoding begins,\n * while the post-offset function modifies where the next operation continues.\n *\n * @property bytes - The entire byte array being encoded or decoded.\n * @property preOffset - The original offset before encoding or decoding starts.\n * @property wrapBytes - A helper function that wraps offsets around the byte array length.\n *\n * @example\n * Using `wrapBytes` to wrap a negative offset to the end of the byte array.\n * ```ts\n * const config: OffsetConfig = {\n * preOffset: ({ wrapBytes }) => wrapBytes(-4), // Moves to last 4 bytes\n * };\n * ```\n *\n * @example\n * Adjusting the offset dynamically based on the byte array size.\n * ```ts\n * const config: OffsetConfig = {\n * preOffset: ({ bytes }) => bytes.length > 10 ? 4 : 2,\n * };\n * ```\n *\n * @see {@link PreOffsetFunction}\n * @see {@link PostOffsetFunction}\n */\ntype PreOffsetFunctionScope = {\n /** The entire byte array. */\n bytes: ReadonlyUint8Array | Uint8Array;\n /** The original offset prior to encode or decode. */\n preOffset: Offset;\n /** Wraps the offset to the byte array length. */\n wrapBytes: (offset: Offset) => Offset;\n};\n\n/**\n * A function that modifies the pre-offset before encoding or decoding.\n *\n * This function is used to adjust the starting position before writing\n * or reading data in a byte array.\n *\n * @param scope - The current encoding or decoding context.\n * @returns The new offset at which encoding or decoding should start.\n *\n * @example\n * Skipping the first 2 bytes before writing or reading.\n * ```ts\n * const preOffset: PreOffsetFunction = ({ preOffset }) => preOffset + 2;\n * ```\n *\n * @example\n * Wrapping the offset to ensure it stays within bounds.\n * ```ts\n * const preOffset: PreOffsetFunction = ({ wrapBytes, preOffset }) => wrapBytes(preOffset + 10);\n * ```\n *\n * @see {@link OffsetConfig}\n * @see {@link PreOffsetFunctionScope}\n */\ntype PreOffsetFunction = (scope: PreOffsetFunctionScope) => Offset;\n\n/**\n * A function that modifies the post-offset after encoding or decoding.\n *\n * This function adjusts where the next encoder or decoder should start\n * after the current operation has completed.\n *\n * @param scope - The current encoding or decoding context, including the modified pre-offset\n * and the original post-offset.\n * @returns The new offset at which the next operation should begin.\n *\n * @example\n * Moving the post-offset forward by 4 bytes.\n * ```ts\n * const postOffset: PostOffsetFunction = ({ postOffset }) => postOffset + 4;\n * ```\n *\n * @example\n * Wrapping the post-offset within the byte array length.\n * ```ts\n * const postOffset: PostOffsetFunction = ({ wrapBytes, postOffset }) => wrapBytes(postOffset);\n * ```\n *\n * @example\n * Ensuring a minimum spacing of 8 bytes between values.\n * ```ts\n * const postOffset: PostOffsetFunction = ({ postOffset, newPreOffset }) =>\n * Math.max(postOffset, newPreOffset + 8);\n * ```\n *\n * @see {@link OffsetConfig}\n * @see {@link PreOffsetFunctionScope}\n */\ntype PostOffsetFunction = (\n scope: PreOffsetFunctionScope & {\n /** The modified offset used to encode or decode. */\n newPreOffset: Offset;\n /** The original offset returned by the encoder or decoder. */\n postOffset: Offset;\n },\n) => Offset;\n\n/**\n * Moves the offset of a given encoder before and/or after encoding.\n *\n * This function allows an encoder to write its encoded value at a different offset\n * than the one originally provided. It supports both pre-offset adjustments\n * (before encoding) and post-offset adjustments (after encoding).\n *\n * The pre-offset function determines where encoding should start, while the\n * post-offset function adjusts where the next encoder should continue writing.\n *\n * For more details, see {@link offsetCodec}.\n *\n * @typeParam TFrom - The type of the value to encode.\n *\n * @param encoder - The encoder to adjust.\n * @param config - An object specifying how the offset should be modified.\n * @returns A new encoder with adjusted offsets.\n *\n * @example\n * Moving the pre-offset forward by 2 bytes.\n * ```ts\n * const encoder = offsetEncoder(getU32Encoder(), {\n * preOffset: ({ preOffset }) => preOffset + 2,\n * });\n * const bytes = new Uint8Array(10);\n * encoder.write(42, bytes, 0); // Actually written at offset 2\n * ```\n *\n * @example\n * Moving the post-offset forward by 2 bytes.\n * ```ts\n * const encoder = offsetEncoder(getU32Encoder(), {\n * postOffset: ({ postOffset }) => postOffset + 2,\n * });\n * const bytes = new Uint8Array(10);\n * const nextOffset = encoder.write(42, bytes, 0); // Next encoder starts at offset 6 instead of 4\n * ```\n *\n * @example\n * Using `wrapBytes` to ensure an offset wraps around the byte array length.\n * ```ts\n * const encoder = offsetEncoder(getU32Encoder(), {\n * preOffset: ({ wrapBytes }) => wrapBytes(-4), // Moves offset to last 4 bytes of the array\n * });\n * const bytes = new Uint8Array(10);\n * encoder.write(42, bytes, 0); // Writes at bytes.length - 4\n * ```\n *\n * @remarks\n * If you need both encoding and decoding offsets to be adjusted, use {@link offsetCodec}.\n *\n * @see {@link offsetCodec}\n * @see {@link offsetDecoder}\n */\nexport function offsetEncoder<TEncoder extends AnyEncoder>(encoder: TEncoder, config: OffsetConfig): TEncoder {\n return createEncoder({\n ...encoder,\n write: (value, bytes, preOffset) => {\n const wrapBytes = (offset: Offset) => modulo(offset, bytes.length);\n const newPreOffset = config.preOffset ? config.preOffset({ bytes, preOffset, wrapBytes }) : preOffset;\n assertByteArrayOffsetIsNotOutOfRange('offsetEncoder', newPreOffset, bytes.length);\n const postOffset = encoder.write(value, bytes, newPreOffset);\n const newPostOffset = config.postOffset\n ? config.postOffset({ bytes, newPreOffset, postOffset, preOffset, wrapBytes })\n : postOffset;\n assertByteArrayOffsetIsNotOutOfRange('offsetEncoder', newPostOffset, bytes.length);\n return newPostOffset;\n },\n }) as TEncoder;\n}\n\n/**\n * Moves the offset of a given decoder before and/or after decoding.\n *\n * This function allows a decoder to read its input from a different offset\n * than the one originally provided. It supports both pre-offset adjustments\n * (before decoding) and post-offset adjustments (after decoding).\n *\n * The pre-offset function determines where decoding should start, while the\n * post-offset function adjusts where the next decoder should continue reading.\n *\n * For more details, see {@link offsetCodec}.\n *\n * @typeParam TTo - The type of the decoded value.\n *\n * @param decoder - The decoder to adjust.\n * @param config - An object specifying how the offset should be modified.\n * @returns A new decoder with adjusted offsets.\n *\n * @example\n * Moving the pre-offset forward by 2 bytes.\n * ```ts\n * const decoder = offsetDecoder(getU32Decoder(), {\n * preOffset: ({ preOffset }) => preOffset + 2,\n * });\n * const bytes = new Uint8Array([0, 0, 42, 0]); // Value starts at offset 2\n * decoder.read(bytes, 0); // Actually reads from offset 2\n * ```\n *\n * @example\n * Moving the post-offset forward by 2 bytes.\n * ```ts\n * const decoder = offsetDecoder(getU32Decoder(), {\n * postOffset: ({ postOffset }) => postOffset + 2,\n * });\n * const bytes = new Uint8Array([42, 0, 0, 0]);\n * const [value, nextOffset] = decoder.read(bytes, 0); // Next decoder starts at offset 6 instead of 4\n * ```\n *\n * @example\n * Using `wrapBytes` to read from the last 4 bytes of an array.\n * ```ts\n * const decoder = offsetDecoder(getU32Decoder(), {\n * preOffset: ({ wrapBytes }) => wrapBytes(-4), // Moves offset to last 4 bytes of the array\n * });\n * const bytes = new Uint8Array([0, 0, 0, 0, 0, 0, 0, 42]); // Value stored at the last 4 bytes\n * decoder.read(bytes, 0); // Reads from bytes.length - 4\n * ```\n *\n * @remarks\n * If you need both encoding and decoding offsets to be adjusted, use {@link offsetCodec}.\n *\n * @see {@link offsetCodec}\n * @see {@link offsetEncoder}\n */\nexport function offsetDecoder<TDecoder extends AnyDecoder>(decoder: TDecoder, config: OffsetConfig): TDecoder {\n return createDecoder({\n ...decoder,\n read: (bytes, preOffset) => {\n const wrapBytes = (offset: Offset) => modulo(offset, bytes.length);\n const newPreOffset = config.preOffset ? config.preOffset({ bytes, preOffset, wrapBytes }) : preOffset;\n assertByteArrayOffsetIsNotOutOfRange('offsetDecoder', newPreOffset, bytes.length);\n const [value, postOffset] = decoder.read(bytes, newPreOffset);\n const newPostOffset = config.postOffset\n ? config.postOffset({ bytes, newPreOffset, postOffset, preOffset, wrapBytes })\n : postOffset;\n assertByteArrayOffsetIsNotOutOfRange('offsetDecoder', newPostOffset, bytes.length);\n return [value, newPostOffset];\n },\n }) as TDecoder;\n}\n\n/**\n * Moves the offset of a given codec before and/or after encoding and decoding.\n *\n * This function allows a codec to encode and decode values at custom offsets\n * within a byte array. It modifies both the **pre-offset** (where encoding/decoding starts)\n * and the **post-offset** (where the next operation should continue).\n *\n * This is particularly useful when working with structured binary formats\n * that require skipping reserved bytes, inserting padding, or aligning fields at\n * specific locations.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n *\n * @param codec - The codec to adjust.\n * @param config - An object specifying how the offset should be modified.\n * @returns A new codec with adjusted offsets.\n *\n * @example\n * Moving the pre-offset forward by 2 bytes when encoding and decoding.\n * ```ts\n * const codec = offsetCodec(getU32Codec(), {\n * preOffset: ({ preOffset }) => preOffset + 2,\n * });\n * const bytes = new Uint8Array(10);\n * codec.write(42, bytes, 0); // Actually written at offset 2\n * codec.read(bytes, 0); // Actually read from offset 2\n * ```\n *\n * @example\n * Moving the post-offset forward by 2 bytes when encoding and decoding.\n * ```ts\n * const codec = offsetCodec(getU32Codec(), {\n * postOffset: ({ postOffset }) => postOffset + 2,\n * });\n * const bytes = new Uint8Array(10);\n * codec.write(42, bytes, 0);\n * // Next encoding starts at offset 6 instead of 4\n * codec.read(bytes, 0);\n * // Next decoding starts at offset 6 instead of 4\n * ```\n *\n * @example\n * Using `wrapBytes` to loop around negative offsets.\n * ```ts\n * const codec = offsetCodec(getU32Codec(), {\n * preOffset: ({ wrapBytes }) => wrapBytes(-4), // Moves offset to last 4 bytes\n * });\n * const bytes = new Uint8Array(10);\n * codec.write(42, bytes, 0); // Writes at bytes.length - 4\n * codec.read(bytes, 0); // Reads from bytes.length - 4\n * ```\n *\n * @remarks\n * If you only need to adjust offsets for encoding, use {@link offsetEncoder}.\n * If you only need to adjust offsets for decoding, use {@link offsetDecoder}.\n *\n * ```ts\n * const bytes = new Uint8Array(10);\n * offsetEncoder(getU32Encoder(), { preOffset: ({ preOffset }) => preOffset + 2 }).write(42, bytes, 0);\n * const [value] = offsetDecoder(getU32Decoder(), { preOffset: ({ preOffset }) => preOffset + 2 }).read(bytes, 0);\n * ```\n *\n * @see {@link offsetEncoder}\n * @see {@link offsetDecoder}\n */\nexport function offsetCodec<TCodec extends AnyCodec>(codec: TCodec, config: OffsetConfig): TCodec {\n return combineCodec(offsetEncoder(codec, config), offsetDecoder(codec, config)) as TCodec;\n}\n\n/** A modulo function that handles negative dividends and zero divisors. */\nfunction modulo(dividend: number, divisor: number) {\n if (divisor === 0) return 0;\n return ((dividend % divisor) + divisor) % divisor;\n}\n","import { SOLANA_ERROR__CODECS__EXPECTED_POSITIVE_BYTE_LENGTH, SolanaError } from '@solana/errors';\n\nimport {\n Codec,\n createDecoder,\n createEncoder,\n Decoder,\n Encoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n isFixedSize,\n} from './codec';\nimport { combineCodec } from './combine-codec';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyEncoder = Encoder<any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyDecoder = Decoder<any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyCodec = Codec<any>;\n\n/**\n * Updates the size of a given encoder.\n *\n * This function modifies the size of an encoder using a provided transformation function.\n * For fixed-size encoders, it updates the `fixedSize` property, and for variable-size\n * encoders, it adjusts the size calculation based on the encoded value.\n *\n * If the new size is negative, an error will be thrown.\n *\n * For more details, see {@link resizeCodec}.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TSize - The original fixed size of the encoded value.\n * @typeParam TNewSize - The new fixed size after resizing.\n *\n * @param encoder - The encoder whose size will be updated.\n * @param resize - A function that takes the current size and returns the new size.\n * @returns A new encoder with the updated size.\n *\n * @example\n * Increasing the size of a `u16` encoder by 2 bytes.\n * ```ts\n * const encoder = resizeEncoder(getU16Encoder(), size => size + 2);\n * encoder.encode(0xffff); // 0xffff0000 (two extra bytes added)\n * ```\n *\n * @example\n * Shrinking a `u32` encoder to only use 2 bytes.\n * ```ts\n * const encoder = resizeEncoder(getU32Encoder(), () => 2);\n * encoder.fixedSize; // 2\n * ```\n *\n * @see {@link resizeCodec}\n * @see {@link resizeDecoder}\n */\nexport function resizeEncoder<TFrom, TSize extends number, TNewSize extends number>(\n encoder: FixedSizeEncoder<TFrom, TSize>,\n resize: (size: TSize) => TNewSize,\n): FixedSizeEncoder<TFrom, TNewSize>;\nexport function resizeEncoder<TEncoder extends AnyEncoder>(\n encoder: TEncoder,\n resize: (size: number) => number,\n): TEncoder;\nexport function resizeEncoder<TEncoder extends AnyEncoder>(\n encoder: TEncoder,\n resize: (size: number) => number,\n): TEncoder {\n if (isFixedSize(encoder)) {\n const fixedSize = resize(encoder.fixedSize);\n if (fixedSize < 0) {\n throw new SolanaError(SOLANA_ERROR__CODECS__EXPECTED_POSITIVE_BYTE_LENGTH, {\n bytesLength: fixedSize,\n codecDescription: 'resizeEncoder',\n });\n }\n return createEncoder({ ...encoder, fixedSize }) as TEncoder;\n }\n return createEncoder({\n ...encoder,\n getSizeFromValue: value => {\n const newSize = resize(encoder.getSizeFromValue(value));\n if (newSize < 0) {\n throw new SolanaError(SOLANA_ERROR__CODECS__EXPECTED_POSITIVE_BYTE_LENGTH, {\n bytesLength: newSize,\n codecDescription: 'resizeEncoder',\n });\n }\n return newSize;\n },\n }) as TEncoder;\n}\n\n/**\n * Updates the size of a given decoder.\n *\n * This function modifies the size of a decoder using a provided transformation function.\n * For fixed-size decoders, it updates the `fixedSize` property to reflect the new size.\n * Variable-size decoders remain unchanged, as their size is determined dynamically.\n *\n * If the new size is negative, an error will be thrown.\n *\n * For more details, see {@link resizeCodec}.\n *\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The original fixed size of the decoded value.\n * @typeParam TNewSize - The new fixed size after resizing.\n *\n * @param decoder - The decoder whose size will be updated.\n * @param resize - A function that takes the current size and returns the new size.\n * @returns A new decoder with the updated size.\n *\n * @example\n * Expanding a `u16` decoder to read 4 bytes instead of 2.\n * ```ts\n * const decoder = resizeDecoder(getU16Decoder(), size => size + 2);\n * decoder.fixedSize; // 4\n * ```\n *\n * @example\n * Shrinking a `u32` decoder to only read 2 bytes.\n * ```ts\n * const decoder = resizeDecoder(getU32Decoder(), () => 2);\n * decoder.fixedSize; // 2\n * ```\n *\n * @see {@link resizeCodec}\n * @see {@link resizeEncoder}\n */\nexport function resizeDecoder<TFrom, TSize extends number, TNewSize extends number>(\n decoder: FixedSizeDecoder<TFrom, TSize>,\n resize: (size: TSize) => TNewSize,\n): FixedSizeDecoder<TFrom, TNewSize>;\nexport function resizeDecoder<TDecoder extends AnyDecoder>(\n decoder: TDecoder,\n resize: (size: number) => number,\n): TDecoder;\nexport function resizeDecoder<TDecoder extends AnyDecoder>(\n decoder: TDecoder,\n resize: (size: number) => number,\n): TDecoder {\n if (isFixedSize(decoder)) {\n const fixedSize = resize(decoder.fixedSize);\n if (fixedSize < 0) {\n throw new SolanaError(SOLANA_ERROR__CODECS__EXPECTED_POSITIVE_BYTE_LENGTH, {\n bytesLength: fixedSize,\n codecDescription: 'resizeDecoder',\n });\n }\n return createDecoder({ ...decoder, fixedSize }) as TDecoder;\n }\n return decoder;\n}\n\n/**\n * Updates the size of a given codec.\n *\n * This function modifies the size of both the codec using a provided\n * transformation function. It is useful for adjusting the allocated byte size for\n * encoding and decoding without altering the underlying data structure.\n *\n * If the new size is negative, an error will be thrown.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The original fixed size of the encoded/decoded value (for fixed-size codecs).\n * @typeParam TNewSize - The new fixed size after resizing (for fixed-size codecs).\n *\n * @param codec - The codec whose size will be updated.\n * @param resize - A function that takes the current size and returns the new size.\n * @returns A new codec with the updated size.\n *\n * @example\n * Expanding a `u16` codec from 2 to 4 bytes.\n * ```ts\n * const codec = resizeCodec(getU16Codec(), size => size + 2);\n * const bytes = codec.encode(0xffff); // 0xffff0000 (two extra bytes added)\n * const value = codec.decode(bytes); // 0xffff (reads original two bytes)\n * ```\n *\n * @example\n * Shrinking a `u32` codec to only use 2 bytes.\n * ```ts\n * const codec = resizeCodec(getU32Codec(), () => 2);\n * codec.fixedSize; // 2\n * ```\n *\n * @remarks\n * If you only need to resize an encoder, use {@link resizeEncoder}.\n * If you only need to resize a decoder, use {@link resizeDecoder}.\n *\n * ```ts\n * const bytes = resizeEncoder(getU32Encoder(), (size) => size + 2).encode(0xffff);\n * const value = resizeDecoder(getU32Decoder(), (size) => size + 2).decode(bytes);\n * ```\n *\n * @see {@link resizeEncoder}\n * @see {@link resizeDecoder}\n */\nexport function resizeCodec<TFrom, TTo extends TFrom, TSize extends number, TNewSize extends number>(\n codec: FixedSizeCodec<TFrom, TTo, TSize>,\n resize: (size: TSize) => TNewSize,\n): FixedSizeCodec<TFrom, TTo, TNewSize>;\nexport function resizeCodec<TCodec extends AnyCodec>(codec: TCodec, resize: (size: number) => number): TCodec;\nexport function resizeCodec<TCodec extends AnyCodec>(codec: TCodec, resize: (size: number) => number): TCodec {\n return combineCodec(resizeEncoder(codec, resize), resizeDecoder(codec, resize)) as TCodec;\n}\n","import { Codec, Decoder, Encoder, Offset } from './codec';\nimport { combineCodec } from './combine-codec';\nimport { offsetDecoder, offsetEncoder } from './offset-codec';\nimport { resizeDecoder, resizeEncoder } from './resize-codec';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyEncoder = Encoder<any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyDecoder = Decoder<any>;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype AnyCodec = Codec<any>;\n\n/**\n * Adds left padding to the given encoder, shifting the encoded value forward\n * by `offset` bytes whilst increasing the size of the encoder accordingly.\n *\n * For more details, see {@link padLeftCodec}.\n *\n * @typeParam TFrom - The type of the value to encode.\n *\n * @param encoder - The encoder to pad.\n * @param offset - The number of padding bytes to add before encoding.\n * @returns A new encoder with left padding applied.\n *\n * @example\n * ```ts\n * const encoder = padLeftEncoder(getU16Encoder(), 2);\n * const bytes = encoder.encode(0xffff); // 0x0000ffff (0xffff written at offset 2)\n * ```\n *\n * @see {@link padLeftCodec}\n * @see {@link padLeftDecoder}\n */\nexport function padLeftEncoder<TEncoder extends AnyEncoder>(encoder: TEncoder, offset: Offset): TEncoder {\n return offsetEncoder(\n resizeEncoder(encoder, size => size + offset),\n { preOffset: ({ preOffset }) => preOffset + offset },\n );\n}\n\n/**\n * Adds right padding to the given encoder, extending the encoded value by `offset`\n * bytes whilst increasing the size of the encoder accordingly.\n *\n * For more details, see {@link padRightCodec}.\n *\n * @typeParam TFrom - The type of the value to encode.\n *\n * @param encoder - The encoder to pad.\n * @param offset - The number of padding bytes to add after encoding.\n * @returns A new encoder with right padding applied.\n *\n * @example\n * ```ts\n * const encoder = padRightEncoder(getU16Encoder(), 2);\n * const bytes = encoder.encode(0xffff); // 0xffff0000 (two extra bytes added at the end)\n * ```\n *\n * @see {@link padRightCodec}\n * @see {@link padRightDecoder}\n */\nexport function padRightEncoder<TEncoder extends AnyEncoder>(encoder: TEncoder, offset: Offset): TEncoder {\n return offsetEncoder(\n resizeEncoder(encoder, size => size + offset),\n { postOffset: ({ postOffset }) => postOffset + offset },\n );\n}\n\n/**\n * Adds left padding to the given decoder, shifting the decoding position forward\n * by `offset` bytes whilst increasing the size of the decoder accordingly.\n *\n * For more details, see {@link padLeftCodec}.\n *\n * @typeParam TTo - The type of the decoded value.\n *\n * @param decoder - The decoder to pad.\n * @param offset - The number of padding bytes to skip before decoding.\n * @returns A new decoder with left padding applied.\n *\n * @example\n * ```ts\n * const decoder = padLeftDecoder(getU16Decoder(), 2);\n * const value = decoder.decode(new Uint8Array([0, 0, 0x12, 0x34])); // 0xffff (reads from offset 2)\n * ```\n *\n * @see {@link padLeftCodec}\n * @see {@link padLeftEncoder}\n */\nexport function padLeftDecoder<TDecoder extends AnyDecoder>(decoder: TDecoder, offset: Offset): TDecoder {\n return offsetDecoder(\n resizeDecoder(decoder, size => size + offset),\n { preOffset: ({ preOffset }) => preOffset + offset },\n );\n}\n\n/**\n * Adds right padding to the given decoder, extending the post-offset by `offset`\n * bytes whilst increasing the size of the decoder accordingly.\n *\n * For more details, see {@link padRightCodec}.\n *\n * @typeParam TTo - The type of the decoded value.\n *\n * @param decoder - The decoder to pad.\n * @param offset - The number of padding bytes to skip after decoding.\n * @returns A new decoder with right padding applied.\n *\n * @example\n * ```ts\n * const decoder = padRightDecoder(getU16Decoder(), 2);\n * const value = decoder.decode(new Uint8Array([0x12, 0x34, 0, 0])); // 0xffff (ignores trailing bytes)\n * ```\n *\n * @see {@link padRightCodec}\n * @see {@link padRightEncoder}\n */\nexport function padRightDecoder<TDecoder extends AnyDecoder>(decoder: TDecoder, offset: Offset): TDecoder {\n return offsetDecoder(\n resizeDecoder(decoder, size => size + offset),\n { postOffset: ({ postOffset }) => postOffset + offset },\n );\n}\n\n/**\n * Adds left padding to the given codec, shifting the encoding and decoding positions\n * forward by `offset` bytes whilst increasing the size of the codec accordingly.\n *\n * This ensures that values are read and written at a later position in the byte array,\n * while the padding bytes remain unused.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n *\n * @param codec - The codec to pad.\n * @param offset - The number of padding bytes to add before encoding and decoding.\n * @returns A new codec with left padding applied.\n *\n * @example\n * ```ts\n * const codec = padLeftCodec(getU16Codec(), 2);\n * const bytes = codec.encode(0xffff); // 0x0000ffff (0xffff written at offset 2)\n * const value = codec.decode(bytes); // 0xffff (reads from offset 2)\n * ```\n *\n * @remarks\n * If you only need to apply padding for encoding, use {@link padLeftEncoder}.\n * If you only need to apply padding for decoding, use {@link padLeftDecoder}.\n *\n * ```ts\n * const bytes = padLeftEncoder(getU16Encoder(), 2).encode(0xffff);\n * const value = padLeftDecoder(getU16Decoder(), 2).decode(bytes);\n * ```\n *\n * @see {@link padLeftEncoder}\n * @see {@link padLeftDecoder}\n */\nexport function padLeftCodec<TCodec extends AnyCodec>(codec: TCodec, offset: Offset): TCodec {\n return combineCodec(padLeftEncoder(codec, offset), padLeftDecoder(codec, offset)) as TCodec;\n}\n\n/**\n * Adds right padding to the given codec, extending the encoded and decoded value\n * by `offset` bytes whilst increasing the size of the codec accordingly.\n *\n * The extra bytes remain unused, ensuring that the next operation starts further\n * along the byte array.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n *\n * @param codec - The codec to pad.\n * @param offset - The number of padding bytes to add after encoding and decoding.\n * @returns A new codec with right padding applied.\n *\n * @example\n * ```ts\n * const codec = padRightCodec(getU16Codec(), 2);\n * const bytes = codec.encode(0xffff); // 0xffff0000 (two extra bytes added)\n * const value = codec.decode(bytes); // 0xffff (ignores padding bytes)\n * ```\n *\n * @remarks\n * If you only need to apply padding for encoding, use {@link padRightEncoder}.\n * If you only need to apply padding for decoding, use {@link padRightDecoder}.\n *\n * ```ts\n * const bytes = padRightEncoder(getU16Encoder(), 2).encode(0xffff);\n * const value = padRightDecoder(getU16Decoder(), 2).decode(bytes);\n * ```\n *\n * @see {@link padRightEncoder}\n * @see {@link padRightDecoder}\n */\nexport function padRightCodec<TCodec extends AnyCodec>(codec: TCodec, offset: Offset): TCodec {\n return combineCodec(padRightEncoder(codec, offset), padRightDecoder(codec, offset)) as TCodec;\n}\n","import {\n assertIsFixedSize,\n createDecoder,\n createEncoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n} from './codec';\nimport { combineCodec } from './combine-codec';\nimport { ReadonlyUint8Array } from './readonly-uint8array';\n\nfunction copySourceToTargetInReverse(\n source: ReadonlyUint8Array,\n target_WILL_MUTATE: Uint8Array,\n sourceOffset: number,\n sourceLength: number,\n targetOffset: number = 0,\n) {\n while (sourceOffset < --sourceLength) {\n const leftValue = source[sourceOffset];\n target_WILL_MUTATE[sourceOffset + targetOffset] = source[sourceLength];\n target_WILL_MUTATE[sourceLength + targetOffset] = leftValue;\n sourceOffset++;\n }\n if (sourceOffset === sourceLength) {\n target_WILL_MUTATE[sourceOffset + targetOffset] = source[sourceOffset];\n }\n}\n\n/**\n * Reverses the bytes of a fixed-size encoder.\n *\n * Given a `FixedSizeEncoder`, this function returns a new `FixedSizeEncoder` that\n * reverses the bytes within the fixed-size byte array when encoding.\n *\n * This can be useful to modify endianness or for other byte-order transformations.\n *\n * For more details, see {@link reverseCodec}.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TSize - The fixed size of the encoded value in bytes.\n *\n * @param encoder - The fixed-size encoder to reverse.\n * @returns A new encoder that writes bytes in reverse order.\n *\n * @example\n * Encoding a `u16` value in reverse order.\n * ```ts\n * const encoder = reverseEncoder(getU16Encoder({ endian: Endian.Big }));\n * const bytes = encoder.encode(0x1234); // 0x3412 (bytes are flipped)\n * ```\n *\n * @see {@link reverseCodec}\n * @see {@link reverseDecoder}\n */\nexport function reverseEncoder<TFrom, TSize extends number>(\n encoder: FixedSizeEncoder<TFrom, TSize>,\n): FixedSizeEncoder<TFrom, TSize> {\n assertIsFixedSize(encoder);\n return createEncoder({\n ...encoder,\n write: (value: TFrom, bytes, offset) => {\n const newOffset = encoder.write(value, bytes, offset);\n copySourceToTargetInReverse(\n bytes /* source */,\n bytes /* target_WILL_MUTATE */,\n offset /* sourceOffset */,\n offset + encoder.fixedSize /* sourceLength */,\n );\n return newOffset;\n },\n });\n}\n\n/**\n * Reverses the bytes of a fixed-size decoder.\n *\n * Given a `FixedSizeDecoder`, this function returns a new `FixedSizeDecoder` that\n * reverses the bytes within the fixed-size byte array before decoding.\n *\n * This can be useful to modify endianness or for other byte-order transformations.\n *\n * For more details, see {@link reverseCodec}.\n *\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the decoded value in bytes.\n *\n * @param decoder - The fixed-size decoder to reverse.\n * @returns A new decoder that reads bytes in reverse order.\n *\n * @example\n * Decoding a reversed `u16` value.\n * ```ts\n * const decoder = reverseDecoder(getU16Decoder({ endian: Endian.Big }));\n * const value = decoder.decode(new Uint8Array([0x34, 0x12])); // 0x1234 (bytes are flipped back)\n * ```\n *\n * @see {@link reverseCodec}\n * @see {@link reverseEncoder}\n */\nexport function reverseDecoder<TTo, TSize extends number>(\n decoder: FixedSizeDecoder<TTo, TSize>,\n): FixedSizeDecoder<TTo, TSize> {\n assertIsFixedSize(decoder);\n return createDecoder({\n ...decoder,\n read: (bytes, offset) => {\n const reversedBytes = bytes.slice();\n copySourceToTargetInReverse(\n bytes /* source */,\n reversedBytes /* target_WILL_MUTATE */,\n offset /* sourceOffset */,\n offset + decoder.fixedSize /* sourceLength */,\n );\n return decoder.read(reversedBytes, offset);\n },\n });\n}\n\n/**\n * Reverses the bytes of a fixed-size codec.\n *\n * Given a `FixedSizeCodec`, this function returns a new `FixedSizeCodec` that\n * reverses the bytes within the fixed-size byte array during encoding and decoding.\n *\n * This can be useful to modify endianness or for other byte-order transformations.\n *\n * @typeParam TFrom - The type of the value to encode.\n * @typeParam TTo - The type of the decoded value.\n * @typeParam TSize - The fixed size of the encoded/decoded value in bytes.\n *\n * @param codec - The fixed-size codec to reverse.\n * @returns A new codec that encodes and decodes bytes in reverse order.\n *\n * @example\n * Reversing a `u16` codec.\n * ```ts\n * const codec = reverseCodec(getU16Codec({ endian: Endian.Big }));\n * const bytes = codec.encode(0x1234); // 0x3412 (bytes are flipped)\n * const value = codec.decode(bytes); // 0x1234 (bytes are flipped back)\n * ```\n *\n * @remarks\n * If you only need to reverse an encoder, use {@link reverseEncoder}.\n * If you only need to reverse a decoder, use {@link reverseDecoder}.\n *\n * ```ts\n * const bytes = reverseEncoder(getU16Encoder()).encode(0x1234);\n * const value = reverseDecoder(getU16Decoder()).decode(bytes);\n * ```\n *\n * @see {@link reverseEncoder}\n * @see {@link reverseDecoder}\n */\nexport function reverseCodec<TFrom, TTo extends TFrom, TSize extends number>(\n codec: FixedSizeCodec<TFrom, TTo, TSize>,\n): FixedSizeCodec<TFrom, TTo, TSize> {\n return combineCodec(reverseEncoder(codec), reverseDecoder(codec));\n}\n","import {\n Codec,\n createCodec,\n createDecoder,\n createEncoder,\n Decoder,\n Encoder,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n isVariableSize,\n VariableSizeCodec,\n VariableSizeDecoder,\n VariableSizeEncoder,\n} from './codec';\nimport { ReadonlyUint8Array } from './readonly-uint8array';\n\n/**\n * Transforms an encoder by mapping its input values.\n *\n * This function takes an existing `Encoder<A>` and returns an `Encoder<B>`, allowing values of type `B`\n * to be converted into values of type `A` before encoding. The transformation is applied via the `unmap` function.\n *\n * This is useful for handling type conversions, applying default values, or structuring data before encoding.\n *\n * For more details, see {@link transformCodec}.\n *\n * @typeParam TOldFrom - The original type expected by the encoder.\n * @typeParam TNewFrom - The new type that will be transformed before encoding.\n *\n * @param encoder - The encoder to transform.\n * @param unmap - A function that converts values of `TNewFrom` into `TOldFrom` before encoding.\n * @returns A new encoder that accepts `TNewFrom` values and transforms them before encoding.\n *\n * @example\n * Encoding a string by counting its characters and storing the length as a `u32`.\n * ```ts\n * const encoder = transformEncoder(getU32Encoder(), (value: string) => value.length);\n * encoder.encode(\"hello\"); // 0x05000000 (stores length 5)\n * ```\n *\n * @see {@link transformCodec}\n * @see {@link transformDecoder}\n */\nexport function transformEncoder<TOldFrom, TNewFrom, TSize extends number>(\n encoder: FixedSizeEncoder<TOldFrom, TSize>,\n unmap: (value: TNewFrom) => TOldFrom,\n): FixedSizeEncoder<TNewFrom, TSize>;\nexport function transformEncoder<TOldFrom, TNewFrom>(\n encoder: VariableSizeEncoder<TOldFrom>,\n unmap: (value: TNewFrom) => TOldFrom,\n): VariableSizeEncoder<TNewFrom>;\nexport function transformEncoder<TOldFrom, TNewFrom>(\n encoder: Encoder<TOldFrom>,\n unmap: (value: TNewFrom) => TOldFrom,\n): Encoder<TNewFrom>;\nexport function transformEncoder<TOldFrom, TNewFrom>(\n encoder: Encoder<TOldFrom>,\n unmap: (value: TNewFrom) => TOldFrom,\n): Encoder<TNewFrom> {\n return createEncoder({\n ...(isVariableSize(encoder)\n ? { ...encoder, getSizeFromValue: (value: TNewFrom) => encoder.getSizeFromValue(unmap(value)) }\n : encoder),\n write: (value: TNewFrom, bytes, offset) => encoder.write(unmap(value), bytes, offset),\n });\n}\n\n/**\n * Transforms a decoder by mapping its output values.\n *\n * This function takes an existing `Decoder<A>` and returns a `Decoder<B>`, allowing values of type `A`\n * to be converted into values of type `B` after decoding. The transformation is applied via the `map` function.\n *\n * This is useful for post-processing, type conversions, or enriching decoded data.\n *\n * For more details, see {@link transformCodec}.\n *\n * @typeParam TOldTo - The original type returned by the decoder.\n * @typeParam TNewTo - The new type that will be transformed after decoding.\n *\n * @param decoder - The decoder to transform.\n * @param map - A function that converts values of `TOldTo` into `TNewTo` after decoding.\n * @returns A new decoder that decodes into `TNewTo`.\n *\n * @example\n * Decoding a stored `u32` length into a string of `'x'` characters.\n * ```ts\n * const decoder = transformDecoder(getU32Decoder(), (length) => 'x'.repeat(length));\n * decoder.decode(new Uint8Array([0x05, 0x00, 0x00, 0x00])); // \"xxxxx\"\n * ```\n *\n * @see {@link transformCodec}\n * @see {@link transformEncoder}\n */\nexport function transformDecoder<TOldTo, TNewTo, TSize extends number>(\n decoder: FixedSizeDecoder<TOldTo, TSize>,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): FixedSizeDecoder<TNewTo, TSize>;\nexport function transformDecoder<TOldTo, TNewTo>(\n decoder: VariableSizeDecoder<TOldTo>,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): VariableSizeDecoder<TNewTo>;\nexport function transformDecoder<TOldTo, TNewTo>(\n decoder: Decoder<TOldTo>,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): Decoder<TNewTo>;\nexport function transformDecoder<TOldTo, TNewTo>(\n decoder: Decoder<TOldTo>,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): Decoder<TNewTo> {\n return createDecoder({\n ...decoder,\n read: (bytes: ReadonlyUint8Array | Uint8Array, offset) => {\n const [value, newOffset] = decoder.read(bytes, offset);\n return [map(value, bytes, offset), newOffset];\n },\n });\n}\n\n/**\n * Transforms a codec by mapping its input and output values.\n *\n * This function takes an existing `Codec<A, B>` and returns a `Codec<C, D>`, allowing:\n * - Values of type `C` to be transformed into `A` before encoding.\n * - Values of type `B` to be transformed into `D` after decoding.\n *\n * This is useful for adapting codecs to work with different representations, handling default values, or\n * converting between primitive and structured types.\n *\n * @typeParam TOldFrom - The original type expected by the codec.\n * @typeParam TNewFrom - The new type that will be transformed before encoding.\n * @typeParam TOldTo - The original type returned by the codec.\n * @typeParam TNewTo - The new type that will be transformed after decoding.\n *\n * @param codec - The codec to transform.\n * @param unmap - A function that converts values of `TNewFrom` into `TOldFrom` before encoding.\n * @param map - A function that converts values of `TOldTo` into `TNewTo` after decoding (optional).\n * @returns A new codec that encodes `TNewFrom` and decodes into `TNewTo`.\n *\n * @example\n * Mapping a `u32` codec to encode string lengths and decode them into `'x'` characters.\n * ```ts\n * const codec = transformCodec(\n * getU32Codec(),\n * (value: string) => value.length, // Encode string length\n * (length) => 'x'.repeat(length) // Decode length into a string of 'x's\n * );\n *\n * const bytes = codec.encode(\"hello\"); // 0x05000000 (stores length 5)\n * const value = codec.decode(bytes); // \"xxxxx\"\n * ```\n *\n * @remarks\n * If only input transformation is needed, use {@link transformEncoder}.\n * If only output transformation is needed, use {@link transformDecoder}.\n *\n * ```ts\n * const bytes = transformEncoder(getU32Encoder(), (value: string) => value.length).encode(\"hello\");\n * const value = transformDecoder(getU32Decoder(), (length) => 'x'.repeat(length)).decode(bytes);\n * ```\n *\n * @see {@link transformEncoder}\n * @see {@link transformDecoder}\n */\nexport function transformCodec<TOldFrom, TNewFrom, TTo extends TNewFrom & TOldFrom, TSize extends number>(\n codec: FixedSizeCodec<TOldFrom, TTo, TSize>,\n unmap: (value: TNewFrom) => TOldFrom,\n): FixedSizeCodec<TNewFrom, TTo, TSize>;\nexport function transformCodec<TOldFrom, TNewFrom, TTo extends TNewFrom & TOldFrom>(\n codec: VariableSizeCodec<TOldFrom, TTo>,\n unmap: (value: TNewFrom) => TOldFrom,\n): VariableSizeCodec<TNewFrom, TTo>;\nexport function transformCodec<TOldFrom, TNewFrom, TTo extends TNewFrom & TOldFrom>(\n codec: Codec<TOldFrom, TTo>,\n unmap: (value: TNewFrom) => TOldFrom,\n): Codec<TNewFrom, TTo>;\nexport function transformCodec<\n TOldFrom,\n TNewFrom,\n TOldTo extends TOldFrom,\n TNewTo extends TNewFrom,\n TSize extends number,\n>(\n codec: FixedSizeCodec<TOldFrom, TOldTo, TSize>,\n unmap: (value: TNewFrom) => TOldFrom,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): FixedSizeCodec<TNewFrom, TNewTo, TSize>;\nexport function transformCodec<TOldFrom, TNewFrom, TOldTo extends TOldFrom, TNewTo extends TNewFrom>(\n codec: VariableSizeCodec<TOldFrom, TOldTo>,\n unmap: (value: TNewFrom) => TOldFrom,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): VariableSizeCodec<TNewFrom, TNewTo>;\nexport function transformCodec<TOldFrom, TNewFrom, TOldTo extends TOldFrom, TNewTo extends TNewFrom>(\n codec: Codec<TOldFrom, TOldTo>,\n unmap: (value: TNewFrom) => TOldFrom,\n map: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): Codec<TNewFrom, TNewTo>;\nexport function transformCodec<TOldFrom, TNewFrom, TOldTo extends TOldFrom, TNewTo extends TNewFrom>(\n codec: Codec<TOldFrom, TOldTo>,\n unmap: (value: TNewFrom) => TOldFrom,\n map?: (value: TOldTo, bytes: ReadonlyUint8Array | Uint8Array, offset: number) => TNewTo,\n): Codec<TNewFrom, TNewTo> {\n return createCodec({\n ...transformEncoder(codec, unmap),\n read: map ? transformDecoder(codec, map).read : (codec.read as unknown as Decoder<TNewTo>['read']),\n });\n}\n"]}