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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2716) hide show
  1. package/dist/index.d.mts +1201 -322
  2. package/dist/index.d.ts +1201 -322
  3. package/dist/index.js +1009 -332
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +1010 -333
  6. package/dist/index.mjs.map +1 -1
  7. package/node_modules/@babel/runtime/LICENSE +22 -0
  8. package/node_modules/@babel/runtime/README.md +19 -0
  9. package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  10. package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  11. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  12. package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  13. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  14. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  15. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  16. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  17. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  18. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  19. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  20. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  21. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  22. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  23. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  24. package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  25. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  26. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  27. package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  28. package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  29. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  30. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  31. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  33. package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  34. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  35. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  36. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  37. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  38. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  39. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  46. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  47. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  48. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  50. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  51. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  52. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  56. package/node_modules/@babel/runtime/helpers/construct.js +10 -0
  57. package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  58. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  59. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  60. package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  61. package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  62. package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  63. package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  64. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  65. package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  66. package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  67. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  68. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  69. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  70. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  76. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  77. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  78. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  79. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  80. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  81. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  82. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  83. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  84. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  85. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  86. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  87. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  88. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  89. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  91. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  92. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  93. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  94. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  95. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  96. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  97. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  109. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  110. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  114. package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  115. package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  116. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  117. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  118. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  119. package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  120. package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  121. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  122. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  123. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  124. package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  125. package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  126. package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  127. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  128. package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  129. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  130. package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  131. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  132. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  133. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  134. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  135. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  136. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  137. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  138. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  139. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  140. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  141. package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  142. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  143. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  144. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  145. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  146. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  147. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  148. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  149. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  150. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  151. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  152. package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  153. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  154. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  155. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +272 -0
  156. package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  157. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  158. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  159. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  160. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  161. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  162. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  163. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  164. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  165. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  166. package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  167. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  168. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  169. package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  170. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  171. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  172. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  173. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  174. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  175. package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  176. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  177. package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  178. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  179. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +69 -0
  180. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  181. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  182. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  183. package/node_modules/@babel/runtime/helpers/extends.js +10 -0
  184. package/node_modules/@babel/runtime/helpers/get.js +11 -0
  185. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  186. package/node_modules/@babel/runtime/helpers/identity.js +4 -0
  187. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  188. package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  189. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  190. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  191. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  192. package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  193. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  194. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  195. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  196. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  197. package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  198. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  199. package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  200. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  201. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  202. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  203. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  204. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  205. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  206. package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  207. package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  208. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  209. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  210. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  211. package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  212. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +272 -0
  213. package/node_modules/@babel/runtime/helpers/set.js +22 -0
  214. package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  215. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  216. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  217. package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  218. package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  219. package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  220. package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  221. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  222. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  223. package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  224. package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  225. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  226. package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  227. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  228. package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  229. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  230. package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  231. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  232. package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  233. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  234. package/node_modules/@babel/runtime/helpers/using.js +12 -0
  235. package/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  236. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +69 -0
  237. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  238. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  239. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  240. package/node_modules/@babel/runtime/package.json +1062 -0
  241. package/node_modules/@babel/runtime/regenerator/index.js +15 -0
  242. package/node_modules/@coral-xyz/anchor/README.md +10 -0
  243. package/node_modules/@coral-xyz/anchor/dist/browser/index.js +7201 -0
  244. package/node_modules/@coral-xyz/anchor/dist/browser/index.js.map +1 -0
  245. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts +27 -0
  246. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts.map +1 -0
  247. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts +14 -0
  248. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts.map +1 -0
  249. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts +32 -0
  250. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts.map +1 -0
  251. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts +33 -0
  252. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts.map +1 -0
  253. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts +42 -0
  254. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts.map +1 -0
  255. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts +16 -0
  256. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts.map +1 -0
  257. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts +43 -0
  258. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts.map +1 -0
  259. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts +12 -0
  260. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts.map +1 -0
  261. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts +9 -0
  262. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts.map +1 -0
  263. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts +17 -0
  264. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts.map +1 -0
  265. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts +8 -0
  266. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts.map +1 -0
  267. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts +8 -0
  268. package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts.map +1 -0
  269. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts +131 -0
  270. package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts.map +1 -0
  271. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts +215 -0
  272. package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts.map +1 -0
  273. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts +16 -0
  274. package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts.map +1 -0
  275. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts +7 -0
  276. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts.map +1 -0
  277. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts +390 -0
  278. package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts.map +1 -0
  279. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts +14 -0
  280. package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts.map +1 -0
  281. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts +63 -0
  282. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts.map +1 -0
  283. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts +20 -0
  284. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts.map +1 -0
  285. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts +63 -0
  286. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts.map +1 -0
  287. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts +57 -0
  288. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts.map +1 -0
  289. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts +272 -0
  290. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts.map +1 -0
  291. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts +146 -0
  292. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts.map +1 -0
  293. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts +35 -0
  294. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts.map +1 -0
  295. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts +57 -0
  296. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts.map +1 -0
  297. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts +206 -0
  298. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts.map +1 -0
  299. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts +49 -0
  300. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts.map +1 -0
  301. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts +57 -0
  302. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts.map +1 -0
  303. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts +42 -0
  304. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts.map +1 -0
  305. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts +153 -0
  306. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts.map +1 -0
  307. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts +15 -0
  308. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts.map +1 -0
  309. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts +2 -0
  310. package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts.map +1 -0
  311. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts +104 -0
  312. package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts.map +1 -0
  313. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts +4 -0
  314. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts.map +1 -0
  315. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts +3 -0
  316. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts.map +1 -0
  317. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts +4 -0
  318. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts.map +1 -0
  319. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts +5 -0
  320. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts.map +1 -0
  321. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts +3 -0
  322. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts.map +1 -0
  323. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts +22 -0
  324. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts.map +1 -0
  325. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts +3 -0
  326. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts.map +1 -0
  327. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts +8 -0
  328. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts.map +1 -0
  329. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts +3 -0
  330. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts.map +1 -0
  331. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts +34 -0
  332. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts.map +1 -0
  333. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts +21 -0
  334. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts.map +1 -0
  335. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts +2 -0
  336. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts.map +1 -0
  337. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts +8 -0
  338. package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts.map +1 -0
  339. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts +14 -0
  340. package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts.map +1 -0
  341. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts +27 -0
  342. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts.map +1 -0
  343. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js +103 -0
  344. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js.map +1 -0
  345. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts +14 -0
  346. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts.map +1 -0
  347. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js +78 -0
  348. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js.map +1 -0
  349. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts +32 -0
  350. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts.map +1 -0
  351. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js +419 -0
  352. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js.map +1 -0
  353. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts +33 -0
  354. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts.map +1 -0
  355. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js +27 -0
  356. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js.map +1 -0
  357. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts +42 -0
  358. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts.map +1 -0
  359. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js +274 -0
  360. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js.map +1 -0
  361. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts +16 -0
  362. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts.map +1 -0
  363. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js +42 -0
  364. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js.map +1 -0
  365. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts +43 -0
  366. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts.map +1 -0
  367. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js +19 -0
  368. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js.map +1 -0
  369. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts +12 -0
  370. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts.map +1 -0
  371. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js +107 -0
  372. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js.map +1 -0
  373. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts +9 -0
  374. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts.map +1 -0
  375. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js +11 -0
  376. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js.map +1 -0
  377. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts +17 -0
  378. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts.map +1 -0
  379. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js +20 -0
  380. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js.map +1 -0
  381. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts +8 -0
  382. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts.map +1 -0
  383. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js +242 -0
  384. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js.map +1 -0
  385. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts +8 -0
  386. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts.map +1 -0
  387. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js +14 -0
  388. package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js.map +1 -0
  389. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts +131 -0
  390. package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts.map +1 -0
  391. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js +583 -0
  392. package/node_modules/@coral-xyz/anchor/dist/cjs/error.js.map +1 -0
  393. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts +215 -0
  394. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts.map +1 -0
  395. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js +109 -0
  396. package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js.map +1 -0
  397. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts +16 -0
  398. package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts.map +1 -0
  399. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js +50 -0
  400. package/node_modules/@coral-xyz/anchor/dist/cjs/index.js.map +1 -0
  401. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts +7 -0
  402. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts.map +1 -0
  403. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js +11 -0
  404. package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js.map +1 -0
  405. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts +390 -0
  406. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts.map +1 -0
  407. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js +394 -0
  408. package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js.map +1 -0
  409. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts +14 -0
  410. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts.map +1 -0
  411. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js +48 -0
  412. package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js.map +1 -0
  413. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts +63 -0
  414. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts.map +1 -0
  415. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js +437 -0
  416. package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js.map +1 -0
  417. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts +20 -0
  418. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts.map +1 -0
  419. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js +49 -0
  420. package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js.map +1 -0
  421. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts +63 -0
  422. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts.map +1 -0
  423. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js +16 -0
  424. package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js.map +1 -0
  425. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts +57 -0
  426. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts.map +1 -0
  427. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js +207 -0
  428. package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js.map +1 -0
  429. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts +272 -0
  430. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts.map +1 -0
  431. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js +177 -0
  432. package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js.map +1 -0
  433. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts +146 -0
  434. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts.map +1 -0
  435. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js +257 -0
  436. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js.map +1 -0
  437. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts +35 -0
  438. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts.map +1 -0
  439. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js +63 -0
  440. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js.map +1 -0
  441. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts +57 -0
  442. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts.map +1 -0
  443. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js +94 -0
  444. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js.map +1 -0
  445. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts +206 -0
  446. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts.map +1 -0
  447. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js +309 -0
  448. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js.map +1 -0
  449. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts +49 -0
  450. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts.map +1 -0
  451. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js +25 -0
  452. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js.map +1 -0
  453. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts +57 -0
  454. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts.map +1 -0
  455. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js +42 -0
  456. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js.map +1 -0
  457. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts +42 -0
  458. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts.map +1 -0
  459. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js +24 -0
  460. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js.map +1 -0
  461. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts +153 -0
  462. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts.map +1 -0
  463. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js +3 -0
  464. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js.map +1 -0
  465. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts +15 -0
  466. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts.map +1 -0
  467. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js +30 -0
  468. package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js.map +1 -0
  469. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts +2 -0
  470. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts.map +1 -0
  471. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js +136 -0
  472. package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js.map +1 -0
  473. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts +104 -0
  474. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts.map +1 -0
  475. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js +309 -0
  476. package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js.map +1 -0
  477. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts +4 -0
  478. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts.map +1 -0
  479. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js +12 -0
  480. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js.map +1 -0
  481. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts +3 -0
  482. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts.map +1 -0
  483. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js +15 -0
  484. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js.map +1 -0
  485. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts +4 -0
  486. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts.map +1 -0
  487. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js +22 -0
  488. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js.map +1 -0
  489. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts +5 -0
  490. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts.map +1 -0
  491. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js +31 -0
  492. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js.map +1 -0
  493. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts +3 -0
  494. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts.map +1 -0
  495. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js +18 -0
  496. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js.map +1 -0
  497. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts +22 -0
  498. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts.map +1 -0
  499. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js +32 -0
  500. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js.map +1 -0
  501. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts +3 -0
  502. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts.map +1 -0
  503. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js +16 -0
  504. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js.map +1 -0
  505. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts +8 -0
  506. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts.map +1 -0
  507. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js +34 -0
  508. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js.map +1 -0
  509. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts +3 -0
  510. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts.map +1 -0
  511. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js +16 -0
  512. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js.map +1 -0
  513. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts +34 -0
  514. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts.map +1 -0
  515. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js +88 -0
  516. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js.map +1 -0
  517. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts +21 -0
  518. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts.map +1 -0
  519. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js +167 -0
  520. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js.map +1 -0
  521. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts +2 -0
  522. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts.map +1 -0
  523. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js +8 -0
  524. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js.map +1 -0
  525. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts +8 -0
  526. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts.map +1 -0
  527. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js +11 -0
  528. package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js.map +1 -0
  529. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts +14 -0
  530. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts.map +1 -0
  531. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js +98 -0
  532. package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js.map +1 -0
  533. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts +27 -0
  534. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts.map +1 -0
  535. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js +96 -0
  536. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js.map +1 -0
  537. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts +14 -0
  538. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts.map +1 -0
  539. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js +51 -0
  540. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js.map +1 -0
  541. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts +32 -0
  542. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts.map +1 -0
  543. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js +392 -0
  544. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js.map +1 -0
  545. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts +33 -0
  546. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts.map +1 -0
  547. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js +20 -0
  548. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js.map +1 -0
  549. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts +42 -0
  550. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts.map +1 -0
  551. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js +244 -0
  552. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js.map +1 -0
  553. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts +16 -0
  554. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts.map +1 -0
  555. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js +38 -0
  556. package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js.map +1 -0
  557. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts +43 -0
  558. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts.map +1 -0
  559. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js +3 -0
  560. package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js.map +1 -0
  561. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts +12 -0
  562. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts.map +1 -0
  563. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js +80 -0
  564. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js.map +1 -0
  565. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts +9 -0
  566. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts.map +1 -0
  567. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js +7 -0
  568. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js.map +1 -0
  569. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts +17 -0
  570. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts.map +1 -0
  571. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js +16 -0
  572. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js.map +1 -0
  573. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts +8 -0
  574. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts.map +1 -0
  575. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js +212 -0
  576. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js.map +1 -0
  577. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts +8 -0
  578. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts.map +1 -0
  579. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js +10 -0
  580. package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js.map +1 -0
  581. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts +131 -0
  582. package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts.map +1 -0
  583. package/node_modules/@coral-xyz/anchor/dist/esm/error.js +552 -0
  584. package/node_modules/@coral-xyz/anchor/dist/esm/error.js.map +1 -0
  585. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts +215 -0
  586. package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts.map +1 -0
  587. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js +74 -0
  588. package/node_modules/@coral-xyz/anchor/dist/esm/idl.js.map +1 -0
  589. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts +16 -0
  590. package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts.map +1 -0
  591. package/node_modules/@coral-xyz/anchor/dist/esm/index.js +14 -0
  592. package/node_modules/@coral-xyz/anchor/dist/esm/index.js.map +1 -0
  593. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts +7 -0
  594. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts.map +1 -0
  595. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js +7 -0
  596. package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js.map +1 -0
  597. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts +390 -0
  598. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts.map +1 -0
  599. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js +389 -0
  600. package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js.map +1 -0
  601. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts +14 -0
  602. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts.map +1 -0
  603. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js +45 -0
  604. package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js.map +1 -0
  605. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts +63 -0
  606. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts.map +1 -0
  607. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js +429 -0
  608. package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js.map +1 -0
  609. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts +20 -0
  610. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts.map +1 -0
  611. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js +43 -0
  612. package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js.map +1 -0
  613. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts +63 -0
  614. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts.map +1 -0
  615. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js +13 -0
  616. package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js.map +1 -0
  617. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts +57 -0
  618. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts.map +1 -0
  619. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js +202 -0
  620. package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js.map +1 -0
  621. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts +272 -0
  622. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts.map +1 -0
  623. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js +156 -0
  624. package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js.map +1 -0
  625. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts +146 -0
  626. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts.map +1 -0
  627. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js +226 -0
  628. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js.map +1 -0
  629. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts +35 -0
  630. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts.map +1 -0
  631. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js +54 -0
  632. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js.map +1 -0
  633. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts +57 -0
  634. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts.map +1 -0
  635. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js +68 -0
  636. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js.map +1 -0
  637. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts +206 -0
  638. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts.map +1 -0
  639. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js +302 -0
  640. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js.map +1 -0
  641. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts +49 -0
  642. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts.map +1 -0
  643. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js +22 -0
  644. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js.map +1 -0
  645. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts +57 -0
  646. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts.map +1 -0
  647. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js +39 -0
  648. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js.map +1 -0
  649. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts +42 -0
  650. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts.map +1 -0
  651. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js +21 -0
  652. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js.map +1 -0
  653. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts +153 -0
  654. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts.map +1 -0
  655. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js +2 -0
  656. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js.map +1 -0
  657. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts +15 -0
  658. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts.map +1 -0
  659. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js +27 -0
  660. package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js.map +1 -0
  661. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts +2 -0
  662. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts.map +1 -0
  663. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js +107 -0
  664. package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js.map +1 -0
  665. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts +104 -0
  666. package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts.map +1 -0
  667. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js +303 -0
  668. package/node_modules/@coral-xyz/anchor/dist/esm/provider.js.map +1 -0
  669. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts +4 -0
  670. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts.map +1 -0
  671. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js +8 -0
  672. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js.map +1 -0
  673. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts +3 -0
  674. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts.map +1 -0
  675. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js +8 -0
  676. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js.map +1 -0
  677. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts +4 -0
  678. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts.map +1 -0
  679. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js +18 -0
  680. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js.map +1 -0
  681. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts +5 -0
  682. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts.map +1 -0
  683. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js +5 -0
  684. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js.map +1 -0
  685. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts +3 -0
  686. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts.map +1 -0
  687. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js +14 -0
  688. package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js.map +1 -0
  689. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts +22 -0
  690. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts.map +1 -0
  691. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js +27 -0
  692. package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js.map +1 -0
  693. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts +3 -0
  694. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts.map +1 -0
  695. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js +12 -0
  696. package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js.map +1 -0
  697. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts +8 -0
  698. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts.map +1 -0
  699. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js +8 -0
  700. package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js.map +1 -0
  701. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts +3 -0
  702. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts.map +1 -0
  703. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js +13 -0
  704. package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js.map +1 -0
  705. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts +34 -0
  706. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts.map +1 -0
  707. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js +57 -0
  708. package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js.map +1 -0
  709. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts +21 -0
  710. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts.map +1 -0
  711. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js +161 -0
  712. package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js.map +1 -0
  713. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts +2 -0
  714. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts.map +1 -0
  715. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js +5 -0
  716. package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js.map +1 -0
  717. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts +8 -0
  718. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts.map +1 -0
  719. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js +7 -0
  720. package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js.map +1 -0
  721. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts +14 -0
  722. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts.map +1 -0
  723. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js +70 -0
  724. package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js.map +1 -0
  725. package/node_modules/@coral-xyz/anchor/dist/tsconfig.cjs.tsbuildinfo +1 -0
  726. package/node_modules/@coral-xyz/anchor/dist/tsconfig.tsbuildinfo +1 -0
  727. package/node_modules/@coral-xyz/anchor/package.json +84 -0
  728. package/node_modules/@coral-xyz/anchor/types/buffer-layout/index.d.ts +88 -0
  729. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts +157 -0
  730. package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts.map +1 -0
  731. package/node_modules/@coral-xyz/anchor-errors/dist/index.js +167 -0
  732. package/node_modules/@coral-xyz/anchor-errors/dist/index.js.map +1 -0
  733. package/node_modules/@coral-xyz/anchor-errors/package.json +32 -0
  734. package/node_modules/@coral-xyz/borsh/dist/index.d.ts +31 -0
  735. package/node_modules/@coral-xyz/borsh/dist/index.d.ts.map +1 -0
  736. package/node_modules/@coral-xyz/borsh/dist/index.js +222 -0
  737. package/node_modules/@coral-xyz/borsh/dist/index.js.map +1 -0
  738. package/node_modules/@coral-xyz/borsh/package.json +35 -0
  739. package/node_modules/@noble/curves/LICENSE +21 -0
  740. package/node_modules/@noble/curves/README.md +998 -0
  741. package/node_modules/@noble/curves/_shortw_utils.d.ts +16 -0
  742. package/node_modules/@noble/curves/_shortw_utils.d.ts.map +1 -0
  743. package/node_modules/@noble/curves/_shortw_utils.js +25 -0
  744. package/node_modules/@noble/curves/_shortw_utils.js.map +1 -0
  745. package/node_modules/@noble/curves/abstract/bls.d.ts +129 -0
  746. package/node_modules/@noble/curves/abstract/bls.d.ts.map +1 -0
  747. package/node_modules/@noble/curves/abstract/bls.js +355 -0
  748. package/node_modules/@noble/curves/abstract/bls.js.map +1 -0
  749. package/node_modules/@noble/curves/abstract/curve.d.ts +109 -0
  750. package/node_modules/@noble/curves/abstract/curve.d.ts.map +1 -0
  751. package/node_modules/@noble/curves/abstract/curve.js +392 -0
  752. package/node_modules/@noble/curves/abstract/curve.js.map +1 -0
  753. package/node_modules/@noble/curves/abstract/edwards.d.ts +92 -0
  754. package/node_modules/@noble/curves/abstract/edwards.d.ts.map +1 -0
  755. package/node_modules/@noble/curves/abstract/edwards.js +452 -0
  756. package/node_modules/@noble/curves/abstract/edwards.js.map +1 -0
  757. package/node_modules/@noble/curves/abstract/fft.d.ts +120 -0
  758. package/node_modules/@noble/curves/abstract/fft.d.ts.map +1 -0
  759. package/node_modules/@noble/curves/abstract/fft.js +439 -0
  760. package/node_modules/@noble/curves/abstract/fft.js.map +1 -0
  761. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +84 -0
  762. package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +1 -0
  763. package/node_modules/@noble/curves/abstract/hash-to-curve.js +196 -0
  764. package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +1 -0
  765. package/node_modules/@noble/curves/abstract/modular.d.ts +153 -0
  766. package/node_modules/@noble/curves/abstract/modular.d.ts.map +1 -0
  767. package/node_modules/@noble/curves/abstract/modular.js +481 -0
  768. package/node_modules/@noble/curves/abstract/modular.js.map +1 -0
  769. package/node_modules/@noble/curves/abstract/montgomery.d.ts +21 -0
  770. package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +1 -0
  771. package/node_modules/@noble/curves/abstract/montgomery.js +140 -0
  772. package/node_modules/@noble/curves/abstract/montgomery.js.map +1 -0
  773. package/node_modules/@noble/curves/abstract/poseidon.d.ts +76 -0
  774. package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +1 -0
  775. package/node_modules/@noble/curves/abstract/poseidon.js +300 -0
  776. package/node_modules/@noble/curves/abstract/poseidon.js.map +1 -0
  777. package/node_modules/@noble/curves/abstract/tower.d.ts +119 -0
  778. package/node_modules/@noble/curves/abstract/tower.d.ts.map +1 -0
  779. package/node_modules/@noble/curves/abstract/tower.js +500 -0
  780. package/node_modules/@noble/curves/abstract/tower.js.map +1 -0
  781. package/node_modules/@noble/curves/abstract/utils.d.ts +119 -0
  782. package/node_modules/@noble/curves/abstract/utils.d.ts.map +1 -0
  783. package/node_modules/@noble/curves/abstract/utils.js +377 -0
  784. package/node_modules/@noble/curves/abstract/utils.js.map +1 -0
  785. package/node_modules/@noble/curves/abstract/weierstrass.d.ts +260 -0
  786. package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +1 -0
  787. package/node_modules/@noble/curves/abstract/weierstrass.js +1226 -0
  788. package/node_modules/@noble/curves/abstract/weierstrass.js.map +1 -0
  789. package/node_modules/@noble/curves/bls12-381.d.ts +14 -0
  790. package/node_modules/@noble/curves/bls12-381.d.ts.map +1 -0
  791. package/node_modules/@noble/curves/bls12-381.js +703 -0
  792. package/node_modules/@noble/curves/bls12-381.js.map +1 -0
  793. package/node_modules/@noble/curves/bn254.d.ts +16 -0
  794. package/node_modules/@noble/curves/bn254.d.ts.map +1 -0
  795. package/node_modules/@noble/curves/bn254.js +238 -0
  796. package/node_modules/@noble/curves/bn254.js.map +1 -0
  797. package/node_modules/@noble/curves/ed25519.d.ts +117 -0
  798. package/node_modules/@noble/curves/ed25519.d.ts.map +1 -0
  799. package/node_modules/@noble/curves/ed25519.js +483 -0
  800. package/node_modules/@noble/curves/ed25519.js.map +1 -0
  801. package/node_modules/@noble/curves/ed448.d.ts +98 -0
  802. package/node_modules/@noble/curves/ed448.d.ts.map +1 -0
  803. package/node_modules/@noble/curves/ed448.js +438 -0
  804. package/node_modules/@noble/curves/ed448.js.map +1 -0
  805. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +16 -0
  806. package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +1 -0
  807. package/node_modules/@noble/curves/esm/_shortw_utils.js +21 -0
  808. package/node_modules/@noble/curves/esm/_shortw_utils.js.map +1 -0
  809. package/node_modules/@noble/curves/esm/abstract/bls.d.ts +129 -0
  810. package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +1 -0
  811. package/node_modules/@noble/curves/esm/abstract/bls.js +352 -0
  812. package/node_modules/@noble/curves/esm/abstract/bls.js.map +1 -0
  813. package/node_modules/@noble/curves/esm/abstract/curve.d.ts +109 -0
  814. package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +1 -0
  815. package/node_modules/@noble/curves/esm/abstract/curve.js +386 -0
  816. package/node_modules/@noble/curves/esm/abstract/curve.js.map +1 -0
  817. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +92 -0
  818. package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +1 -0
  819. package/node_modules/@noble/curves/esm/abstract/edwards.js +449 -0
  820. package/node_modules/@noble/curves/esm/abstract/edwards.js.map +1 -0
  821. package/node_modules/@noble/curves/esm/abstract/fft.d.ts +120 -0
  822. package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +1 -0
  823. package/node_modules/@noble/curves/esm/abstract/fft.js +426 -0
  824. package/node_modules/@noble/curves/esm/abstract/fft.js.map +1 -0
  825. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +84 -0
  826. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +1 -0
  827. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +189 -0
  828. package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +1 -0
  829. package/node_modules/@noble/curves/esm/abstract/modular.d.ts +153 -0
  830. package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +1 -0
  831. package/node_modules/@noble/curves/esm/abstract/modular.js +457 -0
  832. package/node_modules/@noble/curves/esm/abstract/modular.js.map +1 -0
  833. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +21 -0
  834. package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +1 -0
  835. package/node_modules/@noble/curves/esm/abstract/montgomery.js +137 -0
  836. package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +1 -0
  837. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +76 -0
  838. package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +1 -0
  839. package/node_modules/@noble/curves/esm/abstract/poseidon.js +291 -0
  840. package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +1 -0
  841. package/node_modules/@noble/curves/esm/abstract/tower.d.ts +119 -0
  842. package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +1 -0
  843. package/node_modules/@noble/curves/esm/abstract/tower.js +496 -0
  844. package/node_modules/@noble/curves/esm/abstract/tower.js.map +1 -0
  845. package/node_modules/@noble/curves/esm/abstract/utils.d.ts +119 -0
  846. package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +1 -0
  847. package/node_modules/@noble/curves/esm/abstract/utils.js +348 -0
  848. package/node_modules/@noble/curves/esm/abstract/utils.js.map +1 -0
  849. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +260 -0
  850. package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +1 -0
  851. package/node_modules/@noble/curves/esm/abstract/weierstrass.js +1218 -0
  852. package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +1 -0
  853. package/node_modules/@noble/curves/esm/bls12-381.d.ts +14 -0
  854. package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +1 -0
  855. package/node_modules/@noble/curves/esm/bls12-381.js +700 -0
  856. package/node_modules/@noble/curves/esm/bls12-381.js.map +1 -0
  857. package/node_modules/@noble/curves/esm/bn254.d.ts +16 -0
  858. package/node_modules/@noble/curves/esm/bn254.d.ts.map +1 -0
  859. package/node_modules/@noble/curves/esm/bn254.js +234 -0
  860. package/node_modules/@noble/curves/esm/bn254.js.map +1 -0
  861. package/node_modules/@noble/curves/esm/ed25519.d.ts +117 -0
  862. package/node_modules/@noble/curves/esm/ed25519.d.ts.map +1 -0
  863. package/node_modules/@noble/curves/esm/ed25519.js +477 -0
  864. package/node_modules/@noble/curves/esm/ed25519.js.map +1 -0
  865. package/node_modules/@noble/curves/esm/ed448.d.ts +98 -0
  866. package/node_modules/@noble/curves/esm/ed448.d.ts.map +1 -0
  867. package/node_modules/@noble/curves/esm/ed448.js +433 -0
  868. package/node_modules/@noble/curves/esm/ed448.js.map +1 -0
  869. package/node_modules/@noble/curves/esm/index.d.ts +2 -0
  870. package/node_modules/@noble/curves/esm/index.d.ts.map +1 -0
  871. package/node_modules/@noble/curves/esm/index.js +19 -0
  872. package/node_modules/@noble/curves/esm/index.js.map +1 -0
  873. package/node_modules/@noble/curves/esm/jubjub.d.ts +12 -0
  874. package/node_modules/@noble/curves/esm/jubjub.d.ts.map +1 -0
  875. package/node_modules/@noble/curves/esm/jubjub.js +12 -0
  876. package/node_modules/@noble/curves/esm/jubjub.js.map +1 -0
  877. package/node_modules/@noble/curves/esm/misc.d.ts +21 -0
  878. package/node_modules/@noble/curves/esm/misc.d.ts.map +1 -0
  879. package/node_modules/@noble/curves/esm/misc.js +107 -0
  880. package/node_modules/@noble/curves/esm/misc.js.map +1 -0
  881. package/node_modules/@noble/curves/esm/nist.d.ts +30 -0
  882. package/node_modules/@noble/curves/esm/nist.d.ts.map +1 -0
  883. package/node_modules/@noble/curves/esm/nist.js +121 -0
  884. package/node_modules/@noble/curves/esm/nist.js.map +1 -0
  885. package/node_modules/@noble/curves/esm/p256.d.ts +12 -0
  886. package/node_modules/@noble/curves/esm/p256.d.ts.map +1 -0
  887. package/node_modules/@noble/curves/esm/p256.js +12 -0
  888. package/node_modules/@noble/curves/esm/p256.js.map +1 -0
  889. package/node_modules/@noble/curves/esm/p384.d.ts +13 -0
  890. package/node_modules/@noble/curves/esm/p384.d.ts.map +1 -0
  891. package/node_modules/@noble/curves/esm/p384.js +13 -0
  892. package/node_modules/@noble/curves/esm/p384.js.map +1 -0
  893. package/node_modules/@noble/curves/esm/p521.d.ts +12 -0
  894. package/node_modules/@noble/curves/esm/p521.d.ts.map +1 -0
  895. package/node_modules/@noble/curves/esm/p521.js +12 -0
  896. package/node_modules/@noble/curves/esm/p521.js.map +1 -0
  897. package/node_modules/@noble/curves/esm/package.json +4 -0
  898. package/node_modules/@noble/curves/esm/pasta.d.ts +10 -0
  899. package/node_modules/@noble/curves/esm/pasta.d.ts.map +1 -0
  900. package/node_modules/@noble/curves/esm/pasta.js +10 -0
  901. package/node_modules/@noble/curves/esm/pasta.js.map +1 -0
  902. package/node_modules/@noble/curves/esm/secp256k1.d.ts +76 -0
  903. package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +1 -0
  904. package/node_modules/@noble/curves/esm/secp256k1.js +287 -0
  905. package/node_modules/@noble/curves/esm/secp256k1.js.map +1 -0
  906. package/node_modules/@noble/curves/index.d.ts +1 -0
  907. package/node_modules/@noble/curves/index.d.ts.map +1 -0
  908. package/node_modules/@noble/curves/index.js +19 -0
  909. package/node_modules/@noble/curves/index.js.map +1 -0
  910. package/node_modules/@noble/curves/jubjub.d.ts +12 -0
  911. package/node_modules/@noble/curves/jubjub.d.ts.map +1 -0
  912. package/node_modules/@noble/curves/jubjub.js +15 -0
  913. package/node_modules/@noble/curves/jubjub.js.map +1 -0
  914. package/node_modules/@noble/curves/misc.d.ts +21 -0
  915. package/node_modules/@noble/curves/misc.d.ts.map +1 -0
  916. package/node_modules/@noble/curves/misc.js +112 -0
  917. package/node_modules/@noble/curves/misc.js.map +1 -0
  918. package/node_modules/@noble/curves/nist.d.ts +30 -0
  919. package/node_modules/@noble/curves/nist.d.ts.map +1 -0
  920. package/node_modules/@noble/curves/nist.js +124 -0
  921. package/node_modules/@noble/curves/nist.js.map +1 -0
  922. package/node_modules/@noble/curves/p256.d.ts +12 -0
  923. package/node_modules/@noble/curves/p256.d.ts.map +1 -0
  924. package/node_modules/@noble/curves/p256.js +9 -0
  925. package/node_modules/@noble/curves/p256.js.map +1 -0
  926. package/node_modules/@noble/curves/p384.d.ts +13 -0
  927. package/node_modules/@noble/curves/p384.d.ts.map +1 -0
  928. package/node_modules/@noble/curves/p384.js +10 -0
  929. package/node_modules/@noble/curves/p384.js.map +1 -0
  930. package/node_modules/@noble/curves/p521.d.ts +12 -0
  931. package/node_modules/@noble/curves/p521.d.ts.map +1 -0
  932. package/node_modules/@noble/curves/p521.js +9 -0
  933. package/node_modules/@noble/curves/p521.js.map +1 -0
  934. package/node_modules/@noble/curves/package.json +284 -0
  935. package/node_modules/@noble/curves/pasta.d.ts +10 -0
  936. package/node_modules/@noble/curves/pasta.d.ts.map +1 -0
  937. package/node_modules/@noble/curves/pasta.js +13 -0
  938. package/node_modules/@noble/curves/pasta.js.map +1 -0
  939. package/node_modules/@noble/curves/secp256k1.d.ts +76 -0
  940. package/node_modules/@noble/curves/secp256k1.d.ts.map +1 -0
  941. package/node_modules/@noble/curves/secp256k1.js +290 -0
  942. package/node_modules/@noble/curves/secp256k1.js.map +1 -0
  943. package/node_modules/@noble/curves/src/_shortw_utils.ts +30 -0
  944. package/node_modules/@noble/curves/src/abstract/bls.ts +570 -0
  945. package/node_modules/@noble/curves/src/abstract/curve.ts +471 -0
  946. package/node_modules/@noble/curves/src/abstract/edwards.ts +569 -0
  947. package/node_modules/@noble/curves/src/abstract/fft.ts +508 -0
  948. package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +265 -0
  949. package/node_modules/@noble/curves/src/abstract/modular.ts +533 -0
  950. package/node_modules/@noble/curves/src/abstract/montgomery.ts +165 -0
  951. package/node_modules/@noble/curves/src/abstract/poseidon.ts +331 -0
  952. package/node_modules/@noble/curves/src/abstract/tower.ts +650 -0
  953. package/node_modules/@noble/curves/src/abstract/utils.ts +382 -0
  954. package/node_modules/@noble/curves/src/abstract/weierstrass.ts +1437 -0
  955. package/node_modules/@noble/curves/src/bls12-381.ts +754 -0
  956. package/node_modules/@noble/curves/src/bn254.ts +262 -0
  957. package/node_modules/@noble/curves/src/ed25519.ts +552 -0
  958. package/node_modules/@noble/curves/src/ed448.ts +524 -0
  959. package/node_modules/@noble/curves/src/index.ts +17 -0
  960. package/node_modules/@noble/curves/src/jubjub.ts +12 -0
  961. package/node_modules/@noble/curves/src/misc.ts +123 -0
  962. package/node_modules/@noble/curves/src/nist.ts +155 -0
  963. package/node_modules/@noble/curves/src/p256.ts +11 -0
  964. package/node_modules/@noble/curves/src/p384.ts +13 -0
  965. package/node_modules/@noble/curves/src/p521.ts +11 -0
  966. package/node_modules/@noble/curves/src/package.json +3 -0
  967. package/node_modules/@noble/curves/src/pasta.ts +9 -0
  968. package/node_modules/@noble/curves/src/secp256k1.ts +333 -0
  969. package/node_modules/@noble/hashes/LICENSE +21 -0
  970. package/node_modules/@noble/hashes/README.md +521 -0
  971. package/node_modules/@noble/hashes/_assert.d.ts +17 -0
  972. package/node_modules/@noble/hashes/_assert.d.ts.map +1 -0
  973. package/node_modules/@noble/hashes/_assert.js +18 -0
  974. package/node_modules/@noble/hashes/_assert.js.map +1 -0
  975. package/node_modules/@noble/hashes/_blake.d.ts +14 -0
  976. package/node_modules/@noble/hashes/_blake.d.ts.map +1 -0
  977. package/node_modules/@noble/hashes/_blake.js +50 -0
  978. package/node_modules/@noble/hashes/_blake.js.map +1 -0
  979. package/node_modules/@noble/hashes/_md.d.ts +51 -0
  980. package/node_modules/@noble/hashes/_md.d.ts.map +1 -0
  981. package/node_modules/@noble/hashes/_md.js +162 -0
  982. package/node_modules/@noble/hashes/_md.js.map +1 -0
  983. package/node_modules/@noble/hashes/_u64.d.ts +55 -0
  984. package/node_modules/@noble/hashes/_u64.d.ts.map +1 -0
  985. package/node_modules/@noble/hashes/_u64.js +90 -0
  986. package/node_modules/@noble/hashes/_u64.js.map +1 -0
  987. package/node_modules/@noble/hashes/argon2.d.ts +32 -0
  988. package/node_modules/@noble/hashes/argon2.d.ts.map +1 -0
  989. package/node_modules/@noble/hashes/argon2.js +401 -0
  990. package/node_modules/@noble/hashes/argon2.js.map +1 -0
  991. package/node_modules/@noble/hashes/blake1.d.ts +106 -0
  992. package/node_modules/@noble/hashes/blake1.d.ts.map +1 -0
  993. package/node_modules/@noble/hashes/blake1.js +459 -0
  994. package/node_modules/@noble/hashes/blake1.js.map +1 -0
  995. package/node_modules/@noble/hashes/blake2.d.ts +116 -0
  996. package/node_modules/@noble/hashes/blake2.d.ts.map +1 -0
  997. package/node_modules/@noble/hashes/blake2.js +420 -0
  998. package/node_modules/@noble/hashes/blake2.js.map +1 -0
  999. package/node_modules/@noble/hashes/blake2b.d.ts +11 -0
  1000. package/node_modules/@noble/hashes/blake2b.d.ts.map +1 -0
  1001. package/node_modules/@noble/hashes/blake2b.js +14 -0
  1002. package/node_modules/@noble/hashes/blake2b.js.map +1 -0
  1003. package/node_modules/@noble/hashes/blake2s.d.ts +20 -0
  1004. package/node_modules/@noble/hashes/blake2s.d.ts.map +1 -0
  1005. package/node_modules/@noble/hashes/blake2s.js +24 -0
  1006. package/node_modules/@noble/hashes/blake2s.js.map +1 -0
  1007. package/node_modules/@noble/hashes/blake3.d.ts +54 -0
  1008. package/node_modules/@noble/hashes/blake3.d.ts.map +1 -0
  1009. package/node_modules/@noble/hashes/blake3.js +255 -0
  1010. package/node_modules/@noble/hashes/blake3.js.map +1 -0
  1011. package/node_modules/@noble/hashes/crypto.d.ts +2 -0
  1012. package/node_modules/@noble/hashes/crypto.d.ts.map +1 -0
  1013. package/node_modules/@noble/hashes/crypto.js +5 -0
  1014. package/node_modules/@noble/hashes/crypto.js.map +1 -0
  1015. package/node_modules/@noble/hashes/cryptoNode.d.ts +2 -0
  1016. package/node_modules/@noble/hashes/cryptoNode.d.ts.map +1 -0
  1017. package/node_modules/@noble/hashes/cryptoNode.js +18 -0
  1018. package/node_modules/@noble/hashes/cryptoNode.js.map +1 -0
  1019. package/node_modules/@noble/hashes/eskdf.d.ts +47 -0
  1020. package/node_modules/@noble/hashes/eskdf.d.ts.map +1 -0
  1021. package/node_modules/@noble/hashes/eskdf.js +166 -0
  1022. package/node_modules/@noble/hashes/eskdf.js.map +1 -0
  1023. package/node_modules/@noble/hashes/esm/_assert.d.ts +17 -0
  1024. package/node_modules/@noble/hashes/esm/_assert.d.ts.map +1 -0
  1025. package/node_modules/@noble/hashes/esm/_assert.js +15 -0
  1026. package/node_modules/@noble/hashes/esm/_assert.js.map +1 -0
  1027. package/node_modules/@noble/hashes/esm/_blake.d.ts +14 -0
  1028. package/node_modules/@noble/hashes/esm/_blake.d.ts.map +1 -0
  1029. package/node_modules/@noble/hashes/esm/_blake.js +45 -0
  1030. package/node_modules/@noble/hashes/esm/_blake.js.map +1 -0
  1031. package/node_modules/@noble/hashes/esm/_md.d.ts +51 -0
  1032. package/node_modules/@noble/hashes/esm/_md.d.ts.map +1 -0
  1033. package/node_modules/@noble/hashes/esm/_md.js +155 -0
  1034. package/node_modules/@noble/hashes/esm/_md.js.map +1 -0
  1035. package/node_modules/@noble/hashes/esm/_u64.d.ts +55 -0
  1036. package/node_modules/@noble/hashes/esm/_u64.d.ts.map +1 -0
  1037. package/node_modules/@noble/hashes/esm/_u64.js +67 -0
  1038. package/node_modules/@noble/hashes/esm/_u64.js.map +1 -0
  1039. package/node_modules/@noble/hashes/esm/argon2.d.ts +32 -0
  1040. package/node_modules/@noble/hashes/esm/argon2.d.ts.map +1 -0
  1041. package/node_modules/@noble/hashes/esm/argon2.js +392 -0
  1042. package/node_modules/@noble/hashes/esm/argon2.js.map +1 -0
  1043. package/node_modules/@noble/hashes/esm/blake1.d.ts +106 -0
  1044. package/node_modules/@noble/hashes/esm/blake1.d.ts.map +1 -0
  1045. package/node_modules/@noble/hashes/esm/blake1.js +452 -0
  1046. package/node_modules/@noble/hashes/esm/blake1.js.map +1 -0
  1047. package/node_modules/@noble/hashes/esm/blake2.d.ts +116 -0
  1048. package/node_modules/@noble/hashes/esm/blake2.d.ts.map +1 -0
  1049. package/node_modules/@noble/hashes/esm/blake2.js +413 -0
  1050. package/node_modules/@noble/hashes/esm/blake2.js.map +1 -0
  1051. package/node_modules/@noble/hashes/esm/blake2b.d.ts +11 -0
  1052. package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +1 -0
  1053. package/node_modules/@noble/hashes/esm/blake2b.js +11 -0
  1054. package/node_modules/@noble/hashes/esm/blake2b.js.map +1 -0
  1055. package/node_modules/@noble/hashes/esm/blake2s.d.ts +20 -0
  1056. package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +1 -0
  1057. package/node_modules/@noble/hashes/esm/blake2s.js +21 -0
  1058. package/node_modules/@noble/hashes/esm/blake2s.js.map +1 -0
  1059. package/node_modules/@noble/hashes/esm/blake3.d.ts +54 -0
  1060. package/node_modules/@noble/hashes/esm/blake3.d.ts.map +1 -0
  1061. package/node_modules/@noble/hashes/esm/blake3.js +251 -0
  1062. package/node_modules/@noble/hashes/esm/blake3.js.map +1 -0
  1063. package/node_modules/@noble/hashes/esm/crypto.d.ts +2 -0
  1064. package/node_modules/@noble/hashes/esm/crypto.d.ts.map +1 -0
  1065. package/node_modules/@noble/hashes/esm/crypto.js +2 -0
  1066. package/node_modules/@noble/hashes/esm/crypto.js.map +1 -0
  1067. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +2 -0
  1068. package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +1 -0
  1069. package/node_modules/@noble/hashes/esm/cryptoNode.js +15 -0
  1070. package/node_modules/@noble/hashes/esm/cryptoNode.js.map +1 -0
  1071. package/node_modules/@noble/hashes/esm/eskdf.d.ts +47 -0
  1072. package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +1 -0
  1073. package/node_modules/@noble/hashes/esm/eskdf.js +160 -0
  1074. package/node_modules/@noble/hashes/esm/eskdf.js.map +1 -0
  1075. package/node_modules/@noble/hashes/esm/hkdf.d.ts +36 -0
  1076. package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +1 -0
  1077. package/node_modules/@noble/hashes/esm/hkdf.js +82 -0
  1078. package/node_modules/@noble/hashes/esm/hkdf.js.map +1 -0
  1079. package/node_modules/@noble/hashes/esm/hmac.d.ts +35 -0
  1080. package/node_modules/@noble/hashes/esm/hmac.d.ts.map +1 -0
  1081. package/node_modules/@noble/hashes/esm/hmac.js +86 -0
  1082. package/node_modules/@noble/hashes/esm/hmac.js.map +1 -0
  1083. package/node_modules/@noble/hashes/esm/index.d.ts +2 -0
  1084. package/node_modules/@noble/hashes/esm/index.d.ts.map +1 -0
  1085. package/node_modules/@noble/hashes/esm/index.js +33 -0
  1086. package/node_modules/@noble/hashes/esm/index.js.map +1 -0
  1087. package/node_modules/@noble/hashes/esm/legacy.d.ts +71 -0
  1088. package/node_modules/@noble/hashes/esm/legacy.d.ts.map +1 -0
  1089. package/node_modules/@noble/hashes/esm/legacy.js +281 -0
  1090. package/node_modules/@noble/hashes/esm/legacy.js.map +1 -0
  1091. package/node_modules/@noble/hashes/esm/package.json +10 -0
  1092. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +23 -0
  1093. package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +1 -0
  1094. package/node_modules/@noble/hashes/esm/pbkdf2.js +97 -0
  1095. package/node_modules/@noble/hashes/esm/pbkdf2.js.map +1 -0
  1096. package/node_modules/@noble/hashes/esm/ripemd160.d.ts +13 -0
  1097. package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +1 -0
  1098. package/node_modules/@noble/hashes/esm/ripemd160.js +13 -0
  1099. package/node_modules/@noble/hashes/esm/ripemd160.js.map +1 -0
  1100. package/node_modules/@noble/hashes/esm/scrypt.d.ts +34 -0
  1101. package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +1 -0
  1102. package/node_modules/@noble/hashes/esm/scrypt.js +228 -0
  1103. package/node_modules/@noble/hashes/esm/scrypt.js.map +1 -0
  1104. package/node_modules/@noble/hashes/esm/sha1.d.ts +11 -0
  1105. package/node_modules/@noble/hashes/esm/sha1.d.ts.map +1 -0
  1106. package/node_modules/@noble/hashes/esm/sha1.js +11 -0
  1107. package/node_modules/@noble/hashes/esm/sha1.js.map +1 -0
  1108. package/node_modules/@noble/hashes/esm/sha2.d.ts +159 -0
  1109. package/node_modules/@noble/hashes/esm/sha2.d.ts.map +1 -0
  1110. package/node_modules/@noble/hashes/esm/sha2.js +375 -0
  1111. package/node_modules/@noble/hashes/esm/sha2.js.map +1 -0
  1112. package/node_modules/@noble/hashes/esm/sha256.d.ts +20 -0
  1113. package/node_modules/@noble/hashes/esm/sha256.d.ts.map +1 -0
  1114. package/node_modules/@noble/hashes/esm/sha256.js +20 -0
  1115. package/node_modules/@noble/hashes/esm/sha256.js.map +1 -0
  1116. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +142 -0
  1117. package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +1 -0
  1118. package/node_modules/@noble/hashes/esm/sha3-addons.js +393 -0
  1119. package/node_modules/@noble/hashes/esm/sha3-addons.js.map +1 -0
  1120. package/node_modules/@noble/hashes/esm/sha3.d.ts +53 -0
  1121. package/node_modules/@noble/hashes/esm/sha3.d.ts.map +1 -0
  1122. package/node_modules/@noble/hashes/esm/sha3.js +234 -0
  1123. package/node_modules/@noble/hashes/esm/sha3.js.map +1 -0
  1124. package/node_modules/@noble/hashes/esm/sha512.d.ts +26 -0
  1125. package/node_modules/@noble/hashes/esm/sha512.d.ts.map +1 -0
  1126. package/node_modules/@noble/hashes/esm/sha512.js +26 -0
  1127. package/node_modules/@noble/hashes/esm/sha512.js.map +1 -0
  1128. package/node_modules/@noble/hashes/esm/utils.d.ts +161 -0
  1129. package/node_modules/@noble/hashes/esm/utils.d.ts.map +1 -0
  1130. package/node_modules/@noble/hashes/esm/utils.js +281 -0
  1131. package/node_modules/@noble/hashes/esm/utils.js.map +1 -0
  1132. package/node_modules/@noble/hashes/hkdf.d.ts +36 -0
  1133. package/node_modules/@noble/hashes/hkdf.d.ts.map +1 -0
  1134. package/node_modules/@noble/hashes/hkdf.js +88 -0
  1135. package/node_modules/@noble/hashes/hkdf.js.map +1 -0
  1136. package/node_modules/@noble/hashes/hmac.d.ts +35 -0
  1137. package/node_modules/@noble/hashes/hmac.d.ts.map +1 -0
  1138. package/node_modules/@noble/hashes/hmac.js +91 -0
  1139. package/node_modules/@noble/hashes/hmac.js.map +1 -0
  1140. package/node_modules/@noble/hashes/index.d.ts +1 -0
  1141. package/node_modules/@noble/hashes/index.d.ts.map +1 -0
  1142. package/node_modules/@noble/hashes/index.js +33 -0
  1143. package/node_modules/@noble/hashes/index.js.map +1 -0
  1144. package/node_modules/@noble/hashes/legacy.d.ts +71 -0
  1145. package/node_modules/@noble/hashes/legacy.d.ts.map +1 -0
  1146. package/node_modules/@noble/hashes/legacy.js +287 -0
  1147. package/node_modules/@noble/hashes/legacy.js.map +1 -0
  1148. package/node_modules/@noble/hashes/package.json +266 -0
  1149. package/node_modules/@noble/hashes/pbkdf2.d.ts +23 -0
  1150. package/node_modules/@noble/hashes/pbkdf2.d.ts.map +1 -0
  1151. package/node_modules/@noble/hashes/pbkdf2.js +101 -0
  1152. package/node_modules/@noble/hashes/pbkdf2.js.map +1 -0
  1153. package/node_modules/@noble/hashes/ripemd160.d.ts +13 -0
  1154. package/node_modules/@noble/hashes/ripemd160.d.ts.map +1 -0
  1155. package/node_modules/@noble/hashes/ripemd160.js +16 -0
  1156. package/node_modules/@noble/hashes/ripemd160.js.map +1 -0
  1157. package/node_modules/@noble/hashes/scrypt.d.ts +34 -0
  1158. package/node_modules/@noble/hashes/scrypt.d.ts.map +1 -0
  1159. package/node_modules/@noble/hashes/scrypt.js +232 -0
  1160. package/node_modules/@noble/hashes/scrypt.js.map +1 -0
  1161. package/node_modules/@noble/hashes/sha1.d.ts +11 -0
  1162. package/node_modules/@noble/hashes/sha1.d.ts.map +1 -0
  1163. package/node_modules/@noble/hashes/sha1.js +14 -0
  1164. package/node_modules/@noble/hashes/sha1.js.map +1 -0
  1165. package/node_modules/@noble/hashes/sha2.d.ts +159 -0
  1166. package/node_modules/@noble/hashes/sha2.d.ts.map +1 -0
  1167. package/node_modules/@noble/hashes/sha2.js +384 -0
  1168. package/node_modules/@noble/hashes/sha2.js.map +1 -0
  1169. package/node_modules/@noble/hashes/sha256.d.ts +20 -0
  1170. package/node_modules/@noble/hashes/sha256.d.ts.map +1 -0
  1171. package/node_modules/@noble/hashes/sha256.js +23 -0
  1172. package/node_modules/@noble/hashes/sha256.js.map +1 -0
  1173. package/node_modules/@noble/hashes/sha3-addons.d.ts +142 -0
  1174. package/node_modules/@noble/hashes/sha3-addons.d.ts.map +1 -0
  1175. package/node_modules/@noble/hashes/sha3-addons.js +402 -0
  1176. package/node_modules/@noble/hashes/sha3-addons.js.map +1 -0
  1177. package/node_modules/@noble/hashes/sha3.d.ts +53 -0
  1178. package/node_modules/@noble/hashes/sha3.d.ts.map +1 -0
  1179. package/node_modules/@noble/hashes/sha3.js +239 -0
  1180. package/node_modules/@noble/hashes/sha3.js.map +1 -0
  1181. package/node_modules/@noble/hashes/sha512.d.ts +26 -0
  1182. package/node_modules/@noble/hashes/sha512.d.ts.map +1 -0
  1183. package/node_modules/@noble/hashes/sha512.js +29 -0
  1184. package/node_modules/@noble/hashes/sha512.js.map +1 -0
  1185. package/node_modules/@noble/hashes/src/_assert.ts +22 -0
  1186. package/node_modules/@noble/hashes/src/_blake.ts +50 -0
  1187. package/node_modules/@noble/hashes/src/_md.ts +176 -0
  1188. package/node_modules/@noble/hashes/src/_u64.ts +91 -0
  1189. package/node_modules/@noble/hashes/src/argon2.ts +497 -0
  1190. package/node_modules/@noble/hashes/src/blake1.ts +534 -0
  1191. package/node_modules/@noble/hashes/src/blake2.ts +486 -0
  1192. package/node_modules/@noble/hashes/src/blake2b.ts +10 -0
  1193. package/node_modules/@noble/hashes/src/blake2s.ts +20 -0
  1194. package/node_modules/@noble/hashes/src/blake3.ts +272 -0
  1195. package/node_modules/@noble/hashes/src/crypto.ts +9 -0
  1196. package/node_modules/@noble/hashes/src/cryptoNode.ts +15 -0
  1197. package/node_modules/@noble/hashes/src/eskdf.ts +187 -0
  1198. package/node_modules/@noble/hashes/src/hkdf.ts +88 -0
  1199. package/node_modules/@noble/hashes/src/hmac.ts +94 -0
  1200. package/node_modules/@noble/hashes/src/index.ts +31 -0
  1201. package/node_modules/@noble/hashes/src/legacy.ts +293 -0
  1202. package/node_modules/@noble/hashes/src/pbkdf2.ts +122 -0
  1203. package/node_modules/@noble/hashes/src/ripemd160.ts +12 -0
  1204. package/node_modules/@noble/hashes/src/scrypt.ts +257 -0
  1205. package/node_modules/@noble/hashes/src/sha1.ts +10 -0
  1206. package/node_modules/@noble/hashes/src/sha2.ts +402 -0
  1207. package/node_modules/@noble/hashes/src/sha256.ts +24 -0
  1208. package/node_modules/@noble/hashes/src/sha3-addons.ts +499 -0
  1209. package/node_modules/@noble/hashes/src/sha3.ts +258 -0
  1210. package/node_modules/@noble/hashes/src/sha512.ts +34 -0
  1211. package/node_modules/@noble/hashes/src/utils.ts +395 -0
  1212. package/node_modules/@noble/hashes/utils.d.ts +161 -0
  1213. package/node_modules/@noble/hashes/utils.d.ts.map +1 -0
  1214. package/node_modules/@noble/hashes/utils.js +313 -0
  1215. package/node_modules/@noble/hashes/utils.js.map +1 -0
  1216. package/node_modules/@solana/buffer-layout/LICENSE +21 -0
  1217. package/node_modules/@solana/buffer-layout/README.md +403 -0
  1218. package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +1191 -0
  1219. package/node_modules/@solana/buffer-layout/lib/Layout.js +2390 -0
  1220. package/node_modules/@solana/buffer-layout/lib/Layout.js.map +1 -0
  1221. package/node_modules/@solana/buffer-layout/package.json +55 -0
  1222. package/node_modules/@solana/codecs-core/LICENSE +20 -0
  1223. package/node_modules/@solana/codecs-core/README.md +662 -0
  1224. package/node_modules/@solana/codecs-core/dist/index.browser.cjs +504 -0
  1225. package/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +1 -0
  1226. package/node_modules/@solana/codecs-core/dist/index.browser.mjs +460 -0
  1227. package/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +1 -0
  1228. package/node_modules/@solana/codecs-core/dist/index.native.mjs +460 -0
  1229. package/node_modules/@solana/codecs-core/dist/index.native.mjs.map +1 -0
  1230. package/node_modules/@solana/codecs-core/dist/index.node.cjs +504 -0
  1231. package/node_modules/@solana/codecs-core/dist/index.node.cjs.map +1 -0
  1232. package/node_modules/@solana/codecs-core/dist/index.node.mjs +460 -0
  1233. package/node_modules/@solana/codecs-core/dist/index.node.mjs.map +1 -0
  1234. package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +70 -0
  1235. package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +1 -0
  1236. package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +67 -0
  1237. package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +1 -0
  1238. package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +62 -0
  1239. package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +1 -0
  1240. package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +92 -0
  1241. package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +1 -0
  1242. package/node_modules/@solana/codecs-core/dist/types/codec.d.ts +827 -0
  1243. package/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +1 -0
  1244. package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +75 -0
  1245. package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +1 -0
  1246. package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +111 -0
  1247. package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +1 -0
  1248. package/node_modules/@solana/codecs-core/dist/types/index.d.ts +667 -0
  1249. package/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +1 -0
  1250. package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +328 -0
  1251. package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +1 -0
  1252. package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +162 -0
  1253. package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +1 -0
  1254. package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +19 -0
  1255. package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +1 -0
  1256. package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +129 -0
  1257. package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +1 -0
  1258. package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +92 -0
  1259. package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +1 -0
  1260. package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +114 -0
  1261. package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +1 -0
  1262. package/node_modules/@solana/codecs-core/package.json +83 -0
  1263. package/node_modules/@solana/codecs-numbers/LICENSE +20 -0
  1264. package/node_modules/@solana/codecs-numbers/README.md +130 -0
  1265. package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +331 -0
  1266. package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +1 -0
  1267. package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +289 -0
  1268. package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +1 -0
  1269. package/node_modules/@solana/codecs-numbers/dist/index.native.mjs +289 -0
  1270. package/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +1 -0
  1271. package/node_modules/@solana/codecs-numbers/dist/index.node.cjs +331 -0
  1272. package/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +1 -0
  1273. package/node_modules/@solana/codecs-numbers/dist/index.node.mjs +289 -0
  1274. package/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +1 -0
  1275. package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +27 -0
  1276. package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +1 -0
  1277. package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +84 -0
  1278. package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +1 -0
  1279. package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +87 -0
  1280. package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +1 -0
  1281. package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +87 -0
  1282. package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +1 -0
  1283. package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +91 -0
  1284. package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +1 -0
  1285. package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +87 -0
  1286. package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +1 -0
  1287. package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +87 -0
  1288. package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +1 -0
  1289. package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +90 -0
  1290. package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +1 -0
  1291. package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +75 -0
  1292. package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +1 -0
  1293. package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +26 -0
  1294. package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +1 -0
  1295. package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +96 -0
  1296. package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +1 -0
  1297. package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +87 -0
  1298. package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +1 -0
  1299. package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +85 -0
  1300. package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +1 -0
  1301. package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +85 -0
  1302. package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +1 -0
  1303. package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +88 -0
  1304. package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +1 -0
  1305. package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +71 -0
  1306. package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +1 -0
  1307. package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +18 -0
  1308. package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +1 -0
  1309. package/node_modules/@solana/codecs-numbers/package.json +83 -0
  1310. package/node_modules/@solana/errors/LICENSE +20 -0
  1311. package/node_modules/@solana/errors/README.md +87 -0
  1312. package/node_modules/@solana/errors/bin/cli.mjs +7 -0
  1313. package/node_modules/@solana/errors/dist/cli.mjs +570 -0
  1314. package/node_modules/@solana/errors/dist/index.browser.cjs +1084 -0
  1315. package/node_modules/@solana/errors/dist/index.browser.cjs.map +1 -0
  1316. package/node_modules/@solana/errors/dist/index.browser.mjs +852 -0
  1317. package/node_modules/@solana/errors/dist/index.browser.mjs.map +1 -0
  1318. package/node_modules/@solana/errors/dist/index.native.mjs +852 -0
  1319. package/node_modules/@solana/errors/dist/index.native.mjs.map +1 -0
  1320. package/node_modules/@solana/errors/dist/index.node.cjs +1084 -0
  1321. package/node_modules/@solana/errors/dist/index.node.cjs.map +1 -0
  1322. package/node_modules/@solana/errors/dist/index.node.mjs +852 -0
  1323. package/node_modules/@solana/errors/dist/index.node.mjs.map +1 -0
  1324. package/node_modules/@solana/errors/dist/types/codes.d.ts +275 -0
  1325. package/node_modules/@solana/errors/dist/types/codes.d.ts.map +1 -0
  1326. package/node_modules/@solana/errors/dist/types/context.d.ts +398 -0
  1327. package/node_modules/@solana/errors/dist/types/context.d.ts.map +1 -0
  1328. package/node_modules/@solana/errors/dist/types/error.d.ts +75 -0
  1329. package/node_modules/@solana/errors/dist/types/error.d.ts.map +1 -0
  1330. package/node_modules/@solana/errors/dist/types/index.d.ts +72 -0
  1331. package/node_modules/@solana/errors/dist/types/index.d.ts.map +1 -0
  1332. package/node_modules/@solana/errors/dist/types/instruction-error.d.ts +9 -0
  1333. package/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +1 -0
  1334. package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +51 -0
  1335. package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +1 -0
  1336. package/node_modules/@solana/errors/dist/types/message-formatter.d.ts +4 -0
  1337. package/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +1 -0
  1338. package/node_modules/@solana/errors/dist/types/messages.d.ts +16 -0
  1339. package/node_modules/@solana/errors/dist/types/messages.d.ts.map +1 -0
  1340. package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +31 -0
  1341. package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +1 -0
  1342. package/node_modules/@solana/errors/dist/types/stack-trace.d.ts +2 -0
  1343. package/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +1 -0
  1344. package/node_modules/@solana/errors/dist/types/transaction-error.d.ts +5 -0
  1345. package/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +1 -0
  1346. package/node_modules/@solana/errors/node_modules/chalk/license +9 -0
  1347. package/node_modules/@solana/errors/node_modules/chalk/package.json +83 -0
  1348. package/node_modules/@solana/errors/node_modules/chalk/readme.md +297 -0
  1349. package/node_modules/@solana/errors/node_modules/chalk/source/index.d.ts +325 -0
  1350. package/node_modules/@solana/errors/node_modules/chalk/source/index.js +225 -0
  1351. package/node_modules/@solana/errors/node_modules/chalk/source/utilities.js +33 -0
  1352. package/node_modules/@solana/errors/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  1353. package/node_modules/@solana/errors/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  1354. package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  1355. package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  1356. package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  1357. package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
  1358. package/node_modules/@solana/errors/node_modules/commander/LICENSE +22 -0
  1359. package/node_modules/@solana/errors/node_modules/commander/Readme.md +1149 -0
  1360. package/node_modules/@solana/errors/node_modules/commander/esm.mjs +16 -0
  1361. package/node_modules/@solana/errors/node_modules/commander/index.js +24 -0
  1362. package/node_modules/@solana/errors/node_modules/commander/lib/argument.js +149 -0
  1363. package/node_modules/@solana/errors/node_modules/commander/lib/command.js +2662 -0
  1364. package/node_modules/@solana/errors/node_modules/commander/lib/error.js +39 -0
  1365. package/node_modules/@solana/errors/node_modules/commander/lib/help.js +709 -0
  1366. package/node_modules/@solana/errors/node_modules/commander/lib/option.js +367 -0
  1367. package/node_modules/@solana/errors/node_modules/commander/lib/suggestSimilar.js +101 -0
  1368. package/node_modules/@solana/errors/node_modules/commander/package-support.json +16 -0
  1369. package/node_modules/@solana/errors/node_modules/commander/package.json +82 -0
  1370. package/node_modules/@solana/errors/node_modules/commander/typings/esm.d.mts +3 -0
  1371. package/node_modules/@solana/errors/node_modules/commander/typings/index.d.ts +1045 -0
  1372. package/node_modules/@solana/errors/package.json +84 -0
  1373. package/node_modules/@solana/web3.js/LICENSE +20 -0
  1374. package/node_modules/@solana/web3.js/README.md +145 -0
  1375. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +10562 -0
  1376. package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +1 -0
  1377. package/node_modules/@solana/web3.js/lib/index.browser.esm.js +10461 -0
  1378. package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +1 -0
  1379. package/node_modules/@solana/web3.js/lib/index.cjs.js +11311 -0
  1380. package/node_modules/@solana/web3.js/lib/index.cjs.js.map +1 -0
  1381. package/node_modules/@solana/web3.js/lib/index.d.ts +4021 -0
  1382. package/node_modules/@solana/web3.js/lib/index.esm.js +11206 -0
  1383. package/node_modules/@solana/web3.js/lib/index.esm.js.map +1 -0
  1384. package/node_modules/@solana/web3.js/lib/index.iife.js +26083 -0
  1385. package/node_modules/@solana/web3.js/lib/index.iife.js.map +1 -0
  1386. package/node_modules/@solana/web3.js/lib/index.iife.min.js +20 -0
  1387. package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +1 -0
  1388. package/node_modules/@solana/web3.js/lib/index.native.js +10562 -0
  1389. package/node_modules/@solana/web3.js/lib/index.native.js.map +1 -0
  1390. package/node_modules/@solana/web3.js/node_modules/superstruct/License.md +9 -0
  1391. package/node_modules/@solana/web3.js/node_modules/superstruct/Readme.md +230 -0
  1392. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts +33 -0
  1393. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts.map +1 -0
  1394. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs +1084 -0
  1395. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs.map +1 -0
  1396. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts +7 -0
  1397. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts.map +1 -0
  1398. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs +1026 -0
  1399. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs.map +1 -0
  1400. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts +119 -0
  1401. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts.map +1 -0
  1402. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts +29 -0
  1403. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts.map +1 -0
  1404. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts +38 -0
  1405. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts.map +1 -0
  1406. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts +142 -0
  1407. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts.map +1 -0
  1408. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts +66 -0
  1409. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts.map +1 -0
  1410. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts +144 -0
  1411. package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts.map +1 -0
  1412. package/node_modules/@solana/web3.js/node_modules/superstruct/package.json +85 -0
  1413. package/node_modules/@solana/web3.js/package.json +75 -0
  1414. package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +4 -0
  1415. package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +4 -0
  1416. package/node_modules/@solana/web3.js/src/account-data.ts +39 -0
  1417. package/node_modules/@solana/web3.js/src/account.ts +55 -0
  1418. package/node_modules/@solana/web3.js/src/blockhash.ts +4 -0
  1419. package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +5 -0
  1420. package/node_modules/@solana/web3.js/src/bpf-loader.ts +50 -0
  1421. package/node_modules/@solana/web3.js/src/connection.ts +6955 -0
  1422. package/node_modules/@solana/web3.js/src/epoch-schedule.ts +102 -0
  1423. package/node_modules/@solana/web3.js/src/errors.ts +133 -0
  1424. package/node_modules/@solana/web3.js/src/fee-calculator.ts +18 -0
  1425. package/node_modules/@solana/web3.js/src/fetch-impl.ts +16 -0
  1426. package/node_modules/@solana/web3.js/src/index.ts +24 -0
  1427. package/node_modules/@solana/web3.js/src/instruction.ts +58 -0
  1428. package/node_modules/@solana/web3.js/src/keypair.ts +102 -0
  1429. package/node_modules/@solana/web3.js/src/layout.ts +188 -0
  1430. package/node_modules/@solana/web3.js/src/loader.ts +267 -0
  1431. package/node_modules/@solana/web3.js/src/message/account-keys.ts +79 -0
  1432. package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +165 -0
  1433. package/node_modules/@solana/web3.js/src/message/index.ts +47 -0
  1434. package/node_modules/@solana/web3.js/src/message/legacy.ts +323 -0
  1435. package/node_modules/@solana/web3.js/src/message/v0.ts +513 -0
  1436. package/node_modules/@solana/web3.js/src/message/versioned.ts +36 -0
  1437. package/node_modules/@solana/web3.js/src/nonce-account.ts +82 -0
  1438. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +438 -0
  1439. package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +84 -0
  1440. package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +281 -0
  1441. package/node_modules/@solana/web3.js/src/programs/ed25519.ts +157 -0
  1442. package/node_modules/@solana/web3.js/src/programs/index.ts +7 -0
  1443. package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +228 -0
  1444. package/node_modules/@solana/web3.js/src/programs/stake.ts +952 -0
  1445. package/node_modules/@solana/web3.js/src/programs/system.ts +1048 -0
  1446. package/node_modules/@solana/web3.js/src/programs/vote.ts +586 -0
  1447. package/node_modules/@solana/web3.js/src/publickey.ts +259 -0
  1448. package/node_modules/@solana/web3.js/src/rpc-websocket.ts +75 -0
  1449. package/node_modules/@solana/web3.js/src/sysvar.ts +37 -0
  1450. package/node_modules/@solana/web3.js/src/timing.ts +23 -0
  1451. package/node_modules/@solana/web3.js/src/transaction/constants.ts +12 -0
  1452. package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +48 -0
  1453. package/node_modules/@solana/web3.js/src/transaction/index.ts +5 -0
  1454. package/node_modules/@solana/web3.js/src/transaction/legacy.ts +970 -0
  1455. package/node_modules/@solana/web3.js/src/transaction/message.ts +140 -0
  1456. package/node_modules/@solana/web3.js/src/transaction/versioned.ts +127 -0
  1457. package/node_modules/@solana/web3.js/src/utils/assert.ts +8 -0
  1458. package/node_modules/@solana/web3.js/src/utils/bigint.ts +24 -0
  1459. package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +38 -0
  1460. package/node_modules/@solana/web3.js/src/utils/cluster.ts +35 -0
  1461. package/node_modules/@solana/web3.js/src/utils/ed25519.ts +43 -0
  1462. package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +34 -0
  1463. package/node_modules/@solana/web3.js/src/utils/index.ts +5 -0
  1464. package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +26 -0
  1465. package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +14 -0
  1466. package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +11 -0
  1467. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +110 -0
  1468. package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +106 -0
  1469. package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +28 -0
  1470. package/node_modules/@solana/web3.js/src/utils/sleep.ts +4 -0
  1471. package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +11 -0
  1472. package/node_modules/@solana/web3.js/src/validator-info.ts +108 -0
  1473. package/node_modules/@solana/web3.js/src/vote-account.ts +236 -0
  1474. package/node_modules/@swc/helpers/LICENSE +201 -0
  1475. package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +4 -0
  1476. package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +4 -0
  1477. package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +4 -0
  1478. package/node_modules/@swc/helpers/_/_array_with_holes/package.json +4 -0
  1479. package/node_modules/@swc/helpers/_/_array_without_holes/package.json +4 -0
  1480. package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +4 -0
  1481. package/node_modules/@swc/helpers/_/_async_generator/package.json +4 -0
  1482. package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +4 -0
  1483. package/node_modules/@swc/helpers/_/_async_iterator/package.json +4 -0
  1484. package/node_modules/@swc/helpers/_/_async_to_generator/package.json +4 -0
  1485. package/node_modules/@swc/helpers/_/_await_async_generator/package.json +4 -0
  1486. package/node_modules/@swc/helpers/_/_await_value/package.json +4 -0
  1487. package/node_modules/@swc/helpers/_/_call_super/package.json +4 -0
  1488. package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +4 -0
  1489. package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +4 -0
  1490. package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +4 -0
  1491. package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +4 -0
  1492. package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +4 -0
  1493. package/node_modules/@swc/helpers/_/_class_call_check/package.json +4 -0
  1494. package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +4 -0
  1495. package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +4 -0
  1496. package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +4 -0
  1497. package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +4 -0
  1498. package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +4 -0
  1499. package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +4 -0
  1500. package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +4 -0
  1501. package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +4 -0
  1502. package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +4 -0
  1503. package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +4 -0
  1504. package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +4 -0
  1505. package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +4 -0
  1506. package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +4 -0
  1507. package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +4 -0
  1508. package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +4 -0
  1509. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +4 -0
  1510. package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +4 -0
  1511. package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +4 -0
  1512. package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +4 -0
  1513. package/node_modules/@swc/helpers/_/_construct/package.json +4 -0
  1514. package/node_modules/@swc/helpers/_/_create_class/package.json +4 -0
  1515. package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +4 -0
  1516. package/node_modules/@swc/helpers/_/_create_super/package.json +4 -0
  1517. package/node_modules/@swc/helpers/_/_decorate/package.json +4 -0
  1518. package/node_modules/@swc/helpers/_/_defaults/package.json +4 -0
  1519. package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +4 -0
  1520. package/node_modules/@swc/helpers/_/_define_property/package.json +4 -0
  1521. package/node_modules/@swc/helpers/_/_dispose/package.json +4 -0
  1522. package/node_modules/@swc/helpers/_/_export_star/package.json +4 -0
  1523. package/node_modules/@swc/helpers/_/_extends/package.json +4 -0
  1524. package/node_modules/@swc/helpers/_/_get/package.json +4 -0
  1525. package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +4 -0
  1526. package/node_modules/@swc/helpers/_/_identity/package.json +4 -0
  1527. package/node_modules/@swc/helpers/_/_inherits/package.json +4 -0
  1528. package/node_modules/@swc/helpers/_/_inherits_loose/package.json +4 -0
  1529. package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +4 -0
  1530. package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +4 -0
  1531. package/node_modules/@swc/helpers/_/_instanceof/package.json +4 -0
  1532. package/node_modules/@swc/helpers/_/_interop_require_default/package.json +4 -0
  1533. package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +4 -0
  1534. package/node_modules/@swc/helpers/_/_is_native_function/package.json +4 -0
  1535. package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +4 -0
  1536. package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +4 -0
  1537. package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +4 -0
  1538. package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +4 -0
  1539. package/node_modules/@swc/helpers/_/_jsx/package.json +4 -0
  1540. package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +4 -0
  1541. package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +4 -0
  1542. package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +4 -0
  1543. package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +4 -0
  1544. package/node_modules/@swc/helpers/_/_object_spread/package.json +4 -0
  1545. package/node_modules/@swc/helpers/_/_object_spread_props/package.json +4 -0
  1546. package/node_modules/@swc/helpers/_/_object_without_properties/package.json +4 -0
  1547. package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +4 -0
  1548. package/node_modules/@swc/helpers/_/_overload_yield/package.json +4 -0
  1549. package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +4 -0
  1550. package/node_modules/@swc/helpers/_/_read_only_error/package.json +4 -0
  1551. package/node_modules/@swc/helpers/_/_set/package.json +4 -0
  1552. package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +4 -0
  1553. package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +4 -0
  1554. package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +4 -0
  1555. package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +4 -0
  1556. package/node_modules/@swc/helpers/_/_super_prop_base/package.json +4 -0
  1557. package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +4 -0
  1558. package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +4 -0
  1559. package/node_modules/@swc/helpers/_/_throw/package.json +4 -0
  1560. package/node_modules/@swc/helpers/_/_to_array/package.json +4 -0
  1561. package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +4 -0
  1562. package/node_modules/@swc/helpers/_/_to_primitive/package.json +4 -0
  1563. package/node_modules/@swc/helpers/_/_to_property_key/package.json +4 -0
  1564. package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +4 -0
  1565. package/node_modules/@swc/helpers/_/_ts_decorate/package.json +4 -0
  1566. package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +4 -0
  1567. package/node_modules/@swc/helpers/_/_ts_generator/package.json +4 -0
  1568. package/node_modules/@swc/helpers/_/_ts_metadata/package.json +4 -0
  1569. package/node_modules/@swc/helpers/_/_ts_param/package.json +4 -0
  1570. package/node_modules/@swc/helpers/_/_ts_values/package.json +4 -0
  1571. package/node_modules/@swc/helpers/_/_type_of/package.json +4 -0
  1572. package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +4 -0
  1573. package/node_modules/@swc/helpers/_/_update/package.json +4 -0
  1574. package/node_modules/@swc/helpers/_/_using/package.json +4 -0
  1575. package/node_modules/@swc/helpers/_/_using_ctx/package.json +4 -0
  1576. package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +4 -0
  1577. package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +4 -0
  1578. package/node_modules/@swc/helpers/_/_write_only_error/package.json +4 -0
  1579. package/node_modules/@swc/helpers/_/index/package.json +4 -0
  1580. package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +35 -0
  1581. package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +550 -0
  1582. package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +10 -0
  1583. package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +6 -0
  1584. package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +8 -0
  1585. package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +8 -0
  1586. package/node_modules/@swc/helpers/cjs/_async_generator.cjs +76 -0
  1587. package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +53 -0
  1588. package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +46 -0
  1589. package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +33 -0
  1590. package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +8 -0
  1591. package/node_modules/@swc/helpers/cjs/_await_value.cjs +6 -0
  1592. package/node_modules/@swc/helpers/cjs/_call_super.cjs +19 -0
  1593. package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +8 -0
  1594. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +25 -0
  1595. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +8 -0
  1596. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +15 -0
  1597. package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +30 -0
  1598. package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +6 -0
  1599. package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +6 -0
  1600. package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +8 -0
  1601. package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +8 -0
  1602. package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +6 -0
  1603. package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +10 -0
  1604. package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +10 -0
  1605. package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +9 -0
  1606. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +10 -0
  1607. package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +8 -0
  1608. package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +11 -0
  1609. package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +10 -0
  1610. package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +8 -0
  1611. package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +9 -0
  1612. package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +6 -0
  1613. package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +13 -0
  1614. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +13 -0
  1615. package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +14 -0
  1616. package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +13 -0
  1617. package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +10 -0
  1618. package/node_modules/@swc/helpers/cjs/_construct.cjs +22 -0
  1619. package/node_modules/@swc/helpers/cjs/_create_class.cjs +20 -0
  1620. package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +24 -0
  1621. package/node_modules/@swc/helpers/cjs/_create_super.cjs +23 -0
  1622. package/node_modules/@swc/helpers/cjs/_decorate.cjs +270 -0
  1623. package/node_modules/@swc/helpers/cjs/_defaults.cjs +15 -0
  1624. package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +26 -0
  1625. package/node_modules/@swc/helpers/cjs/_define_property.cjs +10 -0
  1626. package/node_modules/@swc/helpers/cjs/_dispose.cjs +43 -0
  1627. package/node_modules/@swc/helpers/cjs/_export_star.cjs +17 -0
  1628. package/node_modules/@swc/helpers/cjs/_extends.cjs +15 -0
  1629. package/node_modules/@swc/helpers/cjs/_get.cjs +23 -0
  1630. package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +10 -0
  1631. package/node_modules/@swc/helpers/cjs/_identity.cjs +7 -0
  1632. package/node_modules/@swc/helpers/cjs/_inherits.cjs +14 -0
  1633. package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +8 -0
  1634. package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +13 -0
  1635. package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +11 -0
  1636. package/node_modules/@swc/helpers/cjs/_instanceof.cjs +8 -0
  1637. package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
  1638. package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
  1639. package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +6 -0
  1640. package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +18 -0
  1641. package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +8 -0
  1642. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +31 -0
  1643. package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +17 -0
  1644. package/node_modules/@swc/helpers/cjs/_jsx.cjs +28 -0
  1645. package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +6 -0
  1646. package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +6 -0
  1647. package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +6 -0
  1648. package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +8 -0
  1649. package/node_modules/@swc/helpers/cjs/_object_spread.cjs +25 -0
  1650. package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +30 -0
  1651. package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +23 -0
  1652. package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +18 -0
  1653. package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +8 -0
  1654. package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +11 -0
  1655. package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +6 -0
  1656. package/node_modules/@swc/helpers/cjs/_set.cjs +44 -0
  1657. package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +12 -0
  1658. package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +11 -0
  1659. package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +11 -0
  1660. package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +11 -0
  1661. package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +13 -0
  1662. package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +8 -0
  1663. package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +10 -0
  1664. package/node_modules/@swc/helpers/cjs/_throw.cjs +6 -0
  1665. package/node_modules/@swc/helpers/cjs/_to_array.cjs +11 -0
  1666. package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +11 -0
  1667. package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +18 -0
  1668. package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +11 -0
  1669. package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +3 -0
  1670. package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +3 -0
  1671. package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +3 -0
  1672. package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +3 -0
  1673. package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +3 -0
  1674. package/node_modules/@swc/helpers/cjs/_ts_param.cjs +3 -0
  1675. package/node_modules/@swc/helpers/cjs/_ts_values.cjs +3 -0
  1676. package/node_modules/@swc/helpers/cjs/_type_of.cjs +8 -0
  1677. package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +15 -0
  1678. package/node_modules/@swc/helpers/cjs/_update.cjs +16 -0
  1679. package/node_modules/@swc/helpers/cjs/_using.cjs +24 -0
  1680. package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +75 -0
  1681. package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +10 -0
  1682. package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +28 -0
  1683. package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +6 -0
  1684. package/node_modules/@swc/helpers/cjs/index.cjs +427 -0
  1685. package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +33 -0
  1686. package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +548 -0
  1687. package/node_modules/@swc/helpers/esm/_array_like_to_array.js +8 -0
  1688. package/node_modules/@swc/helpers/esm/_array_with_holes.js +4 -0
  1689. package/node_modules/@swc/helpers/esm/_array_without_holes.js +6 -0
  1690. package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +6 -0
  1691. package/node_modules/@swc/helpers/esm/_async_generator.js +74 -0
  1692. package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +51 -0
  1693. package/node_modules/@swc/helpers/esm/_async_iterator.js +44 -0
  1694. package/node_modules/@swc/helpers/esm/_async_to_generator.js +31 -0
  1695. package/node_modules/@swc/helpers/esm/_await_async_generator.js +6 -0
  1696. package/node_modules/@swc/helpers/esm/_await_value.js +4 -0
  1697. package/node_modules/@swc/helpers/esm/_call_super.js +17 -0
  1698. package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +6 -0
  1699. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +23 -0
  1700. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +6 -0
  1701. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +13 -0
  1702. package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +28 -0
  1703. package/node_modules/@swc/helpers/esm/_class_call_check.js +4 -0
  1704. package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +4 -0
  1705. package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +6 -0
  1706. package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +6 -0
  1707. package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +4 -0
  1708. package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +8 -0
  1709. package/node_modules/@swc/helpers/esm/_class_private_field_get.js +8 -0
  1710. package/node_modules/@swc/helpers/esm/_class_private_field_init.js +7 -0
  1711. package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +8 -0
  1712. package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +6 -0
  1713. package/node_modules/@swc/helpers/esm/_class_private_field_set.js +9 -0
  1714. package/node_modules/@swc/helpers/esm/_class_private_field_update.js +8 -0
  1715. package/node_modules/@swc/helpers/esm/_class_private_method_get.js +6 -0
  1716. package/node_modules/@swc/helpers/esm/_class_private_method_init.js +7 -0
  1717. package/node_modules/@swc/helpers/esm/_class_private_method_set.js +4 -0
  1718. package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +11 -0
  1719. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +11 -0
  1720. package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +12 -0
  1721. package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +11 -0
  1722. package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +8 -0
  1723. package/node_modules/@swc/helpers/esm/_construct.js +20 -0
  1724. package/node_modules/@swc/helpers/esm/_create_class.js +18 -0
  1725. package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +22 -0
  1726. package/node_modules/@swc/helpers/esm/_create_super.js +21 -0
  1727. package/node_modules/@swc/helpers/esm/_decorate.js +268 -0
  1728. package/node_modules/@swc/helpers/esm/_defaults.js +13 -0
  1729. package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +24 -0
  1730. package/node_modules/@swc/helpers/esm/_define_property.js +8 -0
  1731. package/node_modules/@swc/helpers/esm/_dispose.js +41 -0
  1732. package/node_modules/@swc/helpers/esm/_export_star.js +15 -0
  1733. package/node_modules/@swc/helpers/esm/_extends.js +13 -0
  1734. package/node_modules/@swc/helpers/esm/_get.js +21 -0
  1735. package/node_modules/@swc/helpers/esm/_get_prototype_of.js +8 -0
  1736. package/node_modules/@swc/helpers/esm/_identity.js +5 -0
  1737. package/node_modules/@swc/helpers/esm/_inherits.js +12 -0
  1738. package/node_modules/@swc/helpers/esm/_inherits_loose.js +6 -0
  1739. package/node_modules/@swc/helpers/esm/_initializer_define_property.js +11 -0
  1740. package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +9 -0
  1741. package/node_modules/@swc/helpers/esm/_instanceof.js +6 -0
  1742. package/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
  1743. package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
  1744. package/node_modules/@swc/helpers/esm/_is_native_function.js +4 -0
  1745. package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +16 -0
  1746. package/node_modules/@swc/helpers/esm/_iterable_to_array.js +6 -0
  1747. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +29 -0
  1748. package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +15 -0
  1749. package/node_modules/@swc/helpers/esm/_jsx.js +26 -0
  1750. package/node_modules/@swc/helpers/esm/_new_arrow_check.js +4 -0
  1751. package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +4 -0
  1752. package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +4 -0
  1753. package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +6 -0
  1754. package/node_modules/@swc/helpers/esm/_object_spread.js +23 -0
  1755. package/node_modules/@swc/helpers/esm/_object_spread_props.js +28 -0
  1756. package/node_modules/@swc/helpers/esm/_object_without_properties.js +21 -0
  1757. package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +16 -0
  1758. package/node_modules/@swc/helpers/esm/_overload_yield.js +6 -0
  1759. package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +9 -0
  1760. package/node_modules/@swc/helpers/esm/_read_only_error.js +4 -0
  1761. package/node_modules/@swc/helpers/esm/_set.js +42 -0
  1762. package/node_modules/@swc/helpers/esm/_set_prototype_of.js +10 -0
  1763. package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +9 -0
  1764. package/node_modules/@swc/helpers/esm/_sliced_to_array.js +9 -0
  1765. package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +9 -0
  1766. package/node_modules/@swc/helpers/esm/_super_prop_base.js +11 -0
  1767. package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +6 -0
  1768. package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +8 -0
  1769. package/node_modules/@swc/helpers/esm/_throw.js +4 -0
  1770. package/node_modules/@swc/helpers/esm/_to_array.js +9 -0
  1771. package/node_modules/@swc/helpers/esm/_to_consumable_array.js +9 -0
  1772. package/node_modules/@swc/helpers/esm/_to_primitive.js +16 -0
  1773. package/node_modules/@swc/helpers/esm/_to_property_key.js +9 -0
  1774. package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +1 -0
  1775. package/node_modules/@swc/helpers/esm/_ts_decorate.js +1 -0
  1776. package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +1 -0
  1777. package/node_modules/@swc/helpers/esm/_ts_generator.js +1 -0
  1778. package/node_modules/@swc/helpers/esm/_ts_metadata.js +1 -0
  1779. package/node_modules/@swc/helpers/esm/_ts_param.js +1 -0
  1780. package/node_modules/@swc/helpers/esm/_ts_values.js +1 -0
  1781. package/node_modules/@swc/helpers/esm/_type_of.js +6 -0
  1782. package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +13 -0
  1783. package/node_modules/@swc/helpers/esm/_update.js +14 -0
  1784. package/node_modules/@swc/helpers/esm/_using.js +22 -0
  1785. package/node_modules/@swc/helpers/esm/_using_ctx.js +73 -0
  1786. package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +8 -0
  1787. package/node_modules/@swc/helpers/esm/_wrap_native_super.js +26 -0
  1788. package/node_modules/@swc/helpers/esm/_write_only_error.js +4 -0
  1789. package/node_modules/@swc/helpers/esm/index.js +107 -0
  1790. package/node_modules/@swc/helpers/package.json +689 -0
  1791. package/node_modules/@swc/helpers/scripts/ast_grep.js +229 -0
  1792. package/node_modules/@swc/helpers/scripts/build.js +133 -0
  1793. package/node_modules/@swc/helpers/scripts/errors.js +1 -0
  1794. package/node_modules/@swc/helpers/scripts/utils.js +3 -0
  1795. package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +1 -0
  1796. package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +1 -0
  1797. package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +1 -0
  1798. package/node_modules/@swc/helpers/src/_array_with_holes.mjs +1 -0
  1799. package/node_modules/@swc/helpers/src/_array_without_holes.mjs +1 -0
  1800. package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +1 -0
  1801. package/node_modules/@swc/helpers/src/_async_generator.mjs +1 -0
  1802. package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +1 -0
  1803. package/node_modules/@swc/helpers/src/_async_iterator.mjs +1 -0
  1804. package/node_modules/@swc/helpers/src/_async_to_generator.mjs +1 -0
  1805. package/node_modules/@swc/helpers/src/_await_async_generator.mjs +1 -0
  1806. package/node_modules/@swc/helpers/src/_await_value.mjs +1 -0
  1807. package/node_modules/@swc/helpers/src/_call_super.mjs +1 -0
  1808. package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +1 -0
  1809. package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +1 -0
  1810. package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +1 -0
  1811. package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +1 -0
  1812. package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +1 -0
  1813. package/node_modules/@swc/helpers/src/_class_call_check.mjs +1 -0
  1814. package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +1 -0
  1815. package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +1 -0
  1816. package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +1 -0
  1817. package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +1 -0
  1818. package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +1 -0
  1819. package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +1 -0
  1820. package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +1 -0
  1821. package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +1 -0
  1822. package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +1 -0
  1823. package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +1 -0
  1824. package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +1 -0
  1825. package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +1 -0
  1826. package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +1 -0
  1827. package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +1 -0
  1828. package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +1 -0
  1829. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +1 -0
  1830. package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +1 -0
  1831. package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +1 -0
  1832. package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +1 -0
  1833. package/node_modules/@swc/helpers/src/_construct.mjs +1 -0
  1834. package/node_modules/@swc/helpers/src/_create_class.mjs +1 -0
  1835. package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +1 -0
  1836. package/node_modules/@swc/helpers/src/_create_super.mjs +1 -0
  1837. package/node_modules/@swc/helpers/src/_decorate.mjs +1 -0
  1838. package/node_modules/@swc/helpers/src/_defaults.mjs +1 -0
  1839. package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +1 -0
  1840. package/node_modules/@swc/helpers/src/_define_property.mjs +1 -0
  1841. package/node_modules/@swc/helpers/src/_dispose.mjs +1 -0
  1842. package/node_modules/@swc/helpers/src/_export_star.mjs +1 -0
  1843. package/node_modules/@swc/helpers/src/_extends.mjs +1 -0
  1844. package/node_modules/@swc/helpers/src/_get.mjs +1 -0
  1845. package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +1 -0
  1846. package/node_modules/@swc/helpers/src/_identity.mjs +1 -0
  1847. package/node_modules/@swc/helpers/src/_inherits.mjs +1 -0
  1848. package/node_modules/@swc/helpers/src/_inherits_loose.mjs +1 -0
  1849. package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +1 -0
  1850. package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +1 -0
  1851. package/node_modules/@swc/helpers/src/_instanceof.mjs +1 -0
  1852. package/node_modules/@swc/helpers/src/_interop_require_default.mjs +1 -0
  1853. package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +1 -0
  1854. package/node_modules/@swc/helpers/src/_is_native_function.mjs +1 -0
  1855. package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +1 -0
  1856. package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +1 -0
  1857. package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +1 -0
  1858. package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +1 -0
  1859. package/node_modules/@swc/helpers/src/_jsx.mjs +1 -0
  1860. package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +1 -0
  1861. package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +1 -0
  1862. package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +1 -0
  1863. package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +1 -0
  1864. package/node_modules/@swc/helpers/src/_object_spread.mjs +1 -0
  1865. package/node_modules/@swc/helpers/src/_object_spread_props.mjs +1 -0
  1866. package/node_modules/@swc/helpers/src/_object_without_properties.mjs +1 -0
  1867. package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +1 -0
  1868. package/node_modules/@swc/helpers/src/_overload_yield.mjs +1 -0
  1869. package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +1 -0
  1870. package/node_modules/@swc/helpers/src/_read_only_error.mjs +1 -0
  1871. package/node_modules/@swc/helpers/src/_set.mjs +1 -0
  1872. package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +1 -0
  1873. package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +1 -0
  1874. package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +1 -0
  1875. package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +1 -0
  1876. package/node_modules/@swc/helpers/src/_super_prop_base.mjs +1 -0
  1877. package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +1 -0
  1878. package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +1 -0
  1879. package/node_modules/@swc/helpers/src/_throw.mjs +1 -0
  1880. package/node_modules/@swc/helpers/src/_to_array.mjs +1 -0
  1881. package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +1 -0
  1882. package/node_modules/@swc/helpers/src/_to_primitive.mjs +1 -0
  1883. package/node_modules/@swc/helpers/src/_to_property_key.mjs +1 -0
  1884. package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +1 -0
  1885. package/node_modules/@swc/helpers/src/_ts_decorate.mjs +1 -0
  1886. package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +1 -0
  1887. package/node_modules/@swc/helpers/src/_ts_generator.mjs +1 -0
  1888. package/node_modules/@swc/helpers/src/_ts_metadata.mjs +1 -0
  1889. package/node_modules/@swc/helpers/src/_ts_param.mjs +1 -0
  1890. package/node_modules/@swc/helpers/src/_ts_values.mjs +1 -0
  1891. package/node_modules/@swc/helpers/src/_type_of.mjs +1 -0
  1892. package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +1 -0
  1893. package/node_modules/@swc/helpers/src/_update.mjs +1 -0
  1894. package/node_modules/@swc/helpers/src/_using.mjs +1 -0
  1895. package/node_modules/@swc/helpers/src/_using_ctx.mjs +1 -0
  1896. package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +1 -0
  1897. package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +1 -0
  1898. package/node_modules/@swc/helpers/src/_write_only_error.mjs +1 -0
  1899. package/node_modules/@swc/helpers/src/index.mjs +1 -0
  1900. package/node_modules/@types/connect/LICENSE +21 -0
  1901. package/node_modules/@types/connect/README.md +15 -0
  1902. package/node_modules/@types/connect/index.d.ts +91 -0
  1903. package/node_modules/@types/connect/package.json +32 -0
  1904. package/node_modules/@types/node/LICENSE +21 -0
  1905. package/node_modules/@types/node/README.md +15 -0
  1906. package/node_modules/@types/node/assert/strict.d.ts +8 -0
  1907. package/node_modules/@types/node/assert.d.ts +1054 -0
  1908. package/node_modules/@types/node/async_hooks.d.ts +603 -0
  1909. package/node_modules/@types/node/buffer.buffer.d.ts +463 -0
  1910. package/node_modules/@types/node/buffer.d.ts +1926 -0
  1911. package/node_modules/@types/node/child_process.d.ts +1549 -0
  1912. package/node_modules/@types/node/cluster.d.ts +579 -0
  1913. package/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  1914. package/node_modules/@types/node/compatibility/index.d.ts +9 -0
  1915. package/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
  1916. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  1917. package/node_modules/@types/node/console.d.ts +452 -0
  1918. package/node_modules/@types/node/constants.d.ts +21 -0
  1919. package/node_modules/@types/node/crypto.d.ts +4509 -0
  1920. package/node_modules/@types/node/dgram.d.ts +599 -0
  1921. package/node_modules/@types/node/diagnostics_channel.d.ts +573 -0
  1922. package/node_modules/@types/node/dns/promises.d.ts +476 -0
  1923. package/node_modules/@types/node/dns.d.ts +865 -0
  1924. package/node_modules/@types/node/dom-events.d.ts +124 -0
  1925. package/node_modules/@types/node/domain.d.ts +170 -0
  1926. package/node_modules/@types/node/events.d.ts +931 -0
  1927. package/node_modules/@types/node/fs/promises.d.ts +1272 -0
  1928. package/node_modules/@types/node/fs.d.ts +4437 -0
  1929. package/node_modules/@types/node/globals.d.ts +371 -0
  1930. package/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  1931. package/node_modules/@types/node/http.d.ts +1980 -0
  1932. package/node_modules/@types/node/http2.d.ts +2557 -0
  1933. package/node_modules/@types/node/https.d.ts +545 -0
  1934. package/node_modules/@types/node/index.d.ts +92 -0
  1935. package/node_modules/@types/node/inspector.d.ts +4002 -0
  1936. package/node_modules/@types/node/module.d.ts +772 -0
  1937. package/node_modules/@types/node/net.d.ts +1035 -0
  1938. package/node_modules/@types/node/os.d.ts +495 -0
  1939. package/node_modules/@types/node/package.json +225 -0
  1940. package/node_modules/@types/node/path.d.ts +200 -0
  1941. package/node_modules/@types/node/perf_hooks.d.ts +970 -0
  1942. package/node_modules/@types/node/process.d.ts +2063 -0
  1943. package/node_modules/@types/node/punycode.d.ts +117 -0
  1944. package/node_modules/@types/node/querystring.d.ts +152 -0
  1945. package/node_modules/@types/node/readline/promises.d.ts +162 -0
  1946. package/node_modules/@types/node/readline.d.ts +594 -0
  1947. package/node_modules/@types/node/repl.d.ts +430 -0
  1948. package/node_modules/@types/node/sea.d.ts +153 -0
  1949. package/node_modules/@types/node/sqlite.d.ts +508 -0
  1950. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  1951. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  1952. package/node_modules/@types/node/stream/web.d.ts +614 -0
  1953. package/node_modules/@types/node/stream.d.ts +1662 -0
  1954. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  1955. package/node_modules/@types/node/test.d.ts +2280 -0
  1956. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  1957. package/node_modules/@types/node/timers.d.ts +287 -0
  1958. package/node_modules/@types/node/tls.d.ts +1259 -0
  1959. package/node_modules/@types/node/trace_events.d.ts +197 -0
  1960. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
  1961. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  1962. package/node_modules/@types/node/ts5.6/index.d.ts +92 -0
  1963. package/node_modules/@types/node/tty.d.ts +208 -0
  1964. package/node_modules/@types/node/url.d.ts +972 -0
  1965. package/node_modules/@types/node/util.d.ts +2584 -0
  1966. package/node_modules/@types/node/v8.d.ts +889 -0
  1967. package/node_modules/@types/node/vm.d.ts +991 -0
  1968. package/node_modules/@types/node/wasi.d.ts +181 -0
  1969. package/node_modules/@types/node/worker_threads.d.ts +746 -0
  1970. package/node_modules/@types/node/zlib.d.ts +670 -0
  1971. package/node_modules/@types/uuid/LICENSE +21 -0
  1972. package/node_modules/@types/uuid/README.md +16 -0
  1973. package/node_modules/@types/uuid/index.d.mts +10 -0
  1974. package/node_modules/@types/uuid/index.d.ts +80 -0
  1975. package/node_modules/@types/uuid/package.json +54 -0
  1976. package/node_modules/@types/ws/LICENSE +21 -0
  1977. package/node_modules/@types/ws/README.md +16 -0
  1978. package/node_modules/@types/ws/index.d.ts +353 -0
  1979. package/node_modules/@types/ws/package.json +57 -0
  1980. package/node_modules/agentkeepalive/LICENSE +23 -0
  1981. package/node_modules/agentkeepalive/README.md +256 -0
  1982. package/node_modules/agentkeepalive/browser.js +5 -0
  1983. package/node_modules/agentkeepalive/index.d.ts +69 -0
  1984. package/node_modules/agentkeepalive/index.js +7 -0
  1985. package/node_modules/agentkeepalive/lib/agent.js +402 -0
  1986. package/node_modules/agentkeepalive/lib/constants.js +14 -0
  1987. package/node_modules/agentkeepalive/lib/https_agent.js +51 -0
  1988. package/node_modules/agentkeepalive/package.json +56 -0
  1989. package/node_modules/base-x/LICENSE.md +22 -0
  1990. package/node_modules/base-x/README.md +67 -0
  1991. package/node_modules/base-x/package.json +49 -0
  1992. package/node_modules/base-x/src/index.d.ts +10 -0
  1993. package/node_modules/base-x/src/index.js +123 -0
  1994. package/node_modules/base64-js/LICENSE +21 -0
  1995. package/node_modules/base64-js/README.md +34 -0
  1996. package/node_modules/base64-js/base64js.min.js +1 -0
  1997. package/node_modules/base64-js/index.d.ts +3 -0
  1998. package/node_modules/base64-js/index.js +150 -0
  1999. package/node_modules/base64-js/package.json +47 -0
  2000. package/node_modules/bn.js/LICENSE +19 -0
  2001. package/node_modules/bn.js/README.md +214 -0
  2002. package/node_modules/bn.js/lib/bn.js +3548 -0
  2003. package/node_modules/bn.js/package.json +39 -0
  2004. package/node_modules/borsh/LICENSE-APACHE +201 -0
  2005. package/node_modules/borsh/LICENSE-MIT.txt +23 -0
  2006. package/node_modules/borsh/README.md +83 -0
  2007. package/node_modules/borsh/lib/index.d.ts +52 -0
  2008. package/node_modules/borsh/lib/index.js +440 -0
  2009. package/node_modules/borsh/package.json +61 -0
  2010. package/node_modules/bs58/README.md +71 -0
  2011. package/node_modules/bs58/index.js +4 -0
  2012. package/node_modules/bs58/package.json +37 -0
  2013. package/node_modules/buffer/AUTHORS.md +73 -0
  2014. package/node_modules/buffer/LICENSE +21 -0
  2015. package/node_modules/buffer/README.md +410 -0
  2016. package/node_modules/buffer/index.d.ts +194 -0
  2017. package/node_modules/buffer/index.js +2106 -0
  2018. package/node_modules/buffer/package.json +93 -0
  2019. package/node_modules/buffer-layout/.eslintrc.js +45 -0
  2020. package/node_modules/buffer-layout/.travis.yml +9 -0
  2021. package/node_modules/buffer-layout/CHANGELOG.md +222 -0
  2022. package/node_modules/buffer-layout/LICENSE +21 -0
  2023. package/node_modules/buffer-layout/README.md +397 -0
  2024. package/node_modules/buffer-layout/jsdoc/conf.json +10 -0
  2025. package/node_modules/buffer-layout/jsdoc/custom/local.js +75 -0
  2026. package/node_modules/buffer-layout/lib/Layout.js +2712 -0
  2027. package/node_modules/buffer-layout/package.json +40 -0
  2028. package/node_modules/buffer-layout/test/LayoutTest.js +2162 -0
  2029. package/node_modules/buffer-layout/test/examples.c +112 -0
  2030. package/node_modules/buffer-layout/test/examples.js +259 -0
  2031. package/node_modules/buffer-layout/test/n64.c +71 -0
  2032. package/node_modules/buffer-layout/x.js +36 -0
  2033. package/node_modules/bufferutil/LICENSE +20 -0
  2034. package/node_modules/bufferutil/README.md +79 -0
  2035. package/node_modules/bufferutil/binding.gyp +32 -0
  2036. package/node_modules/bufferutil/fallback.js +34 -0
  2037. package/node_modules/bufferutil/index.js +7 -0
  2038. package/node_modules/bufferutil/package.json +36 -0
  2039. package/node_modules/bufferutil/prebuilds/darwin-x64+arm64/bufferutil.node +0 -0
  2040. package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
  2041. package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
  2042. package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
  2043. package/node_modules/bufferutil/src/bufferutil.c +171 -0
  2044. package/node_modules/camelcase/index.d.ts +103 -0
  2045. package/node_modules/camelcase/index.js +113 -0
  2046. package/node_modules/camelcase/license +9 -0
  2047. package/node_modules/camelcase/package.json +44 -0
  2048. package/node_modules/camelcase/readme.md +144 -0
  2049. package/node_modules/commander/LICENSE +22 -0
  2050. package/node_modules/commander/Readme.md +428 -0
  2051. package/node_modules/commander/index.js +1224 -0
  2052. package/node_modules/commander/package.json +38 -0
  2053. package/node_modules/commander/typings/index.d.ts +310 -0
  2054. package/node_modules/cross-fetch/LICENSE +21 -0
  2055. package/node_modules/cross-fetch/README.md +169 -0
  2056. package/node_modules/cross-fetch/dist/browser-polyfill.js +658 -0
  2057. package/node_modules/cross-fetch/dist/browser-ponyfill.js +686 -0
  2058. package/node_modules/cross-fetch/dist/cross-fetch.js +2 -0
  2059. package/node_modules/cross-fetch/dist/cross-fetch.js.map +1 -0
  2060. package/node_modules/cross-fetch/dist/node-polyfill.js +11 -0
  2061. package/node_modules/cross-fetch/dist/node-ponyfill.js +22 -0
  2062. package/node_modules/cross-fetch/dist/react-native-polyfill.js +12 -0
  2063. package/node_modules/cross-fetch/dist/react-native-ponyfill.js +6 -0
  2064. package/node_modules/cross-fetch/index.d.ts +14 -0
  2065. package/node_modules/cross-fetch/package.json +127 -0
  2066. package/node_modules/cross-fetch/polyfill/package.json +8 -0
  2067. package/node_modules/delay/index.d.ts +107 -0
  2068. package/node_modules/delay/index.js +72 -0
  2069. package/node_modules/delay/license +9 -0
  2070. package/node_modules/delay/package.json +54 -0
  2071. package/node_modules/delay/readme.md +173 -0
  2072. package/node_modules/es6-promise/LICENSE +19 -0
  2073. package/node_modules/es6-promise/README.md +97 -0
  2074. package/node_modules/es6-promise/auto.js +4 -0
  2075. package/node_modules/es6-promise/dist/es6-promise.auto.js +1176 -0
  2076. package/node_modules/es6-promise/dist/es6-promise.auto.map +1 -0
  2077. package/node_modules/es6-promise/dist/es6-promise.auto.min.js +1 -0
  2078. package/node_modules/es6-promise/dist/es6-promise.auto.min.map +1 -0
  2079. package/node_modules/es6-promise/dist/es6-promise.js +1174 -0
  2080. package/node_modules/es6-promise/dist/es6-promise.map +1 -0
  2081. package/node_modules/es6-promise/dist/es6-promise.min.js +1 -0
  2082. package/node_modules/es6-promise/dist/es6-promise.min.map +1 -0
  2083. package/node_modules/es6-promise/es6-promise.d.ts +85 -0
  2084. package/node_modules/es6-promise/lib/es6-promise/-internal.js +243 -0
  2085. package/node_modules/es6-promise/lib/es6-promise/asap.js +119 -0
  2086. package/node_modules/es6-promise/lib/es6-promise/enumerator.js +124 -0
  2087. package/node_modules/es6-promise/lib/es6-promise/polyfill.js +35 -0
  2088. package/node_modules/es6-promise/lib/es6-promise/promise/all.js +52 -0
  2089. package/node_modules/es6-promise/lib/es6-promise/promise/race.js +84 -0
  2090. package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +46 -0
  2091. package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +48 -0
  2092. package/node_modules/es6-promise/lib/es6-promise/promise.js +431 -0
  2093. package/node_modules/es6-promise/lib/es6-promise/then.js +32 -0
  2094. package/node_modules/es6-promise/lib/es6-promise/utils.js +21 -0
  2095. package/node_modules/es6-promise/lib/es6-promise.auto.js +3 -0
  2096. package/node_modules/es6-promise/lib/es6-promise.js +7 -0
  2097. package/node_modules/es6-promise/package.json +78 -0
  2098. package/node_modules/es6-promisify/README.md +89 -0
  2099. package/node_modules/es6-promisify/dist/promise.js +73 -0
  2100. package/node_modules/es6-promisify/dist/promisify.js +85 -0
  2101. package/node_modules/es6-promisify/package.json +41 -0
  2102. package/node_modules/eventemitter3/LICENSE +21 -0
  2103. package/node_modules/eventemitter3/README.md +94 -0
  2104. package/node_modules/eventemitter3/index.d.ts +134 -0
  2105. package/node_modules/eventemitter3/index.js +336 -0
  2106. package/node_modules/eventemitter3/package.json +56 -0
  2107. package/node_modules/eventemitter3/umd/eventemitter3.js +340 -0
  2108. package/node_modules/eventemitter3/umd/eventemitter3.min.js +1 -0
  2109. package/node_modules/eventemitter3/umd/eventemitter3.min.js.map +1 -0
  2110. package/node_modules/eyes/LICENSE +20 -0
  2111. package/node_modules/eyes/Makefile +4 -0
  2112. package/node_modules/eyes/README.md +73 -0
  2113. package/node_modules/eyes/lib/eyes.js +236 -0
  2114. package/node_modules/eyes/package.json +14 -0
  2115. package/node_modules/eyes/test/eyes-test.js +56 -0
  2116. package/node_modules/fast-stable-stringify/.npmignore +4 -0
  2117. package/node_modules/fast-stable-stringify/.travis.yml +10 -0
  2118. package/node_modules/fast-stable-stringify/LICENSE +21 -0
  2119. package/node_modules/fast-stable-stringify/README.md +81 -0
  2120. package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +67 -0
  2121. package/node_modules/fast-stable-stringify/cli/format-table.js +70 -0
  2122. package/node_modules/fast-stable-stringify/cli/index.js +19 -0
  2123. package/node_modules/fast-stable-stringify/fixtures/index.js +5 -0
  2124. package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +191 -0
  2125. package/node_modules/fast-stable-stringify/fixtures/log-result.json +22 -0
  2126. package/node_modules/fast-stable-stringify/fixtures/log.txt +24 -0
  2127. package/node_modules/fast-stable-stringify/index.js +73 -0
  2128. package/node_modules/fast-stable-stringify/karma.conf.js +124 -0
  2129. package/node_modules/fast-stable-stringify/karma.conf.travis.js +95 -0
  2130. package/node_modules/fast-stable-stringify/package.json +47 -0
  2131. package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +57 -0
  2132. package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +57 -0
  2133. package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +57 -0
  2134. package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +57 -0
  2135. package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +57 -0
  2136. package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +57 -0
  2137. package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +57 -0
  2138. package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +57 -0
  2139. package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +57 -0
  2140. package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +57 -0
  2141. package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +57 -0
  2142. package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +57 -0
  2143. package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +57 -0
  2144. package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +57 -0
  2145. package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +57 -0
  2146. package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +57 -0
  2147. package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +57 -0
  2148. package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +57 -0
  2149. package/node_modules/fast-stable-stringify/results/escape.md +20 -0
  2150. package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
  2151. package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
  2152. package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
  2153. package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
  2154. package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
  2155. package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
  2156. package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
  2157. package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
  2158. package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
  2159. package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
  2160. package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
  2161. package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
  2162. package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
  2163. package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
  2164. package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
  2165. package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
  2166. package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
  2167. package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
  2168. package/node_modules/fast-stable-stringify/results/itar.md +20 -0
  2169. package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +35 -0
  2170. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +35 -0
  2171. package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +35 -0
  2172. package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +35 -0
  2173. package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +35 -0
  2174. package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
  2175. package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
  2176. package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
  2177. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +35 -0
  2178. package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +35 -0
  2179. package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +35 -0
  2180. package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +35 -0
  2181. package/node_modules/fast-stable-stringify/results/iter.md +14 -0
  2182. package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +46 -0
  2183. package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +46 -0
  2184. package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +46 -0
  2185. package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +46 -0
  2186. package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +35 -0
  2187. package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +35 -0
  2188. package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +35 -0
  2189. package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +46 -0
  2190. package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +46 -0
  2191. package/node_modules/fast-stable-stringify/results/libs.md +15 -0
  2192. package/node_modules/fast-stable-stringify/test/escape-long.js +147 -0
  2193. package/node_modules/fast-stable-stringify/test/escape-short.js +147 -0
  2194. package/node_modules/fast-stable-stringify/test/index.js +6 -0
  2195. package/node_modules/fast-stable-stringify/test/itar-long.js +52 -0
  2196. package/node_modules/fast-stable-stringify/test/itar-short.js +52 -0
  2197. package/node_modules/fast-stable-stringify/test/iter.js +84 -0
  2198. package/node_modules/fast-stable-stringify/test/libs.js +57 -0
  2199. package/node_modules/fast-stable-stringify/test/travis.js +43 -0
  2200. package/node_modules/fast-stable-stringify/test/validate.js +24 -0
  2201. package/node_modules/fast-stable-stringify/util/eachRecursive.js +9 -0
  2202. package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +21 -0
  2203. package/node_modules/fast-stable-stringify/util/get-lib-info.js +22 -0
  2204. package/node_modules/fast-stable-stringify/util/object-path.js +47 -0
  2205. package/node_modules/fast-stable-stringify/v8-profile/bench.js +8 -0
  2206. package/node_modules/fast-stable-stringify/v8-profile/run.sh +2 -0
  2207. package/node_modules/fast-stable-stringify/zuul-local.sh +2 -0
  2208. package/node_modules/humanize-ms/LICENSE +17 -0
  2209. package/node_modules/humanize-ms/README.md +40 -0
  2210. package/node_modules/humanize-ms/index.js +24 -0
  2211. package/node_modules/humanize-ms/package.json +37 -0
  2212. package/node_modules/ieee754/LICENSE +11 -0
  2213. package/node_modules/ieee754/README.md +51 -0
  2214. package/node_modules/ieee754/index.d.ts +10 -0
  2215. package/node_modules/ieee754/index.js +85 -0
  2216. package/node_modules/ieee754/package.json +52 -0
  2217. package/node_modules/isomorphic-ws/LICENSE +21 -0
  2218. package/node_modules/isomorphic-ws/README.md +58 -0
  2219. package/node_modules/isomorphic-ws/browser.js +17 -0
  2220. package/node_modules/isomorphic-ws/index.d.ts +8 -0
  2221. package/node_modules/isomorphic-ws/node.js +3 -0
  2222. package/node_modules/isomorphic-ws/package.json +34 -0
  2223. package/node_modules/jayson/.gitignore +8 -0
  2224. package/node_modules/jayson/LICENSE +22 -0
  2225. package/node_modules/jayson/README.md +1387 -0
  2226. package/node_modules/jayson/bin/jayson.js +111 -0
  2227. package/node_modules/jayson/index.d.ts +370 -0
  2228. package/node_modules/jayson/index.js +1 -0
  2229. package/node_modules/jayson/lib/client/browser/index.d.ts +14 -0
  2230. package/node_modules/jayson/lib/client/browser/index.js +163 -0
  2231. package/node_modules/jayson/lib/client/http.js +116 -0
  2232. package/node_modules/jayson/lib/client/https.js +34 -0
  2233. package/node_modules/jayson/lib/client/index.js +220 -0
  2234. package/node_modules/jayson/lib/client/tcp.js +90 -0
  2235. package/node_modules/jayson/lib/client/tls.js +89 -0
  2236. package/node_modules/jayson/lib/client/websocket.js +135 -0
  2237. package/node_modules/jayson/lib/generateRequest.js +63 -0
  2238. package/node_modules/jayson/lib/index.js +31 -0
  2239. package/node_modules/jayson/lib/method.js +120 -0
  2240. package/node_modules/jayson/lib/server/http.js +26 -0
  2241. package/node_modules/jayson/lib/server/https.js +26 -0
  2242. package/node_modules/jayson/lib/server/index.js +475 -0
  2243. package/node_modules/jayson/lib/server/middleware.js +75 -0
  2244. package/node_modules/jayson/lib/server/tcp.js +72 -0
  2245. package/node_modules/jayson/lib/server/tls.js +72 -0
  2246. package/node_modules/jayson/lib/server/websocket.js +62 -0
  2247. package/node_modules/jayson/lib/utils.js +514 -0
  2248. package/node_modules/jayson/node_modules/@types/node/LICENSE +21 -0
  2249. package/node_modules/jayson/node_modules/@types/node/README.md +16 -0
  2250. package/node_modules/jayson/node_modules/@types/node/assert.d.ts +117 -0
  2251. package/node_modules/jayson/node_modules/@types/node/async_hooks.d.ts +246 -0
  2252. package/node_modules/jayson/node_modules/@types/node/buffer.d.ts +22 -0
  2253. package/node_modules/jayson/node_modules/@types/node/child_process.d.ts +507 -0
  2254. package/node_modules/jayson/node_modules/@types/node/cluster.d.ts +260 -0
  2255. package/node_modules/jayson/node_modules/@types/node/console.d.ts +3 -0
  2256. package/node_modules/jayson/node_modules/@types/node/constants.d.ts +448 -0
  2257. package/node_modules/jayson/node_modules/@types/node/crypto.d.ts +1183 -0
  2258. package/node_modules/jayson/node_modules/@types/node/dgram.d.ts +118 -0
  2259. package/node_modules/jayson/node_modules/@types/node/dns.d.ts +372 -0
  2260. package/node_modules/jayson/node_modules/@types/node/domain.d.ts +16 -0
  2261. package/node_modules/jayson/node_modules/@types/node/events.d.ts +47 -0
  2262. package/node_modules/jayson/node_modules/@types/node/fs.d.ts +2567 -0
  2263. package/node_modules/jayson/node_modules/@types/node/globals.d.ts +1351 -0
  2264. package/node_modules/jayson/node_modules/@types/node/globals.global.d.ts +1 -0
  2265. package/node_modules/jayson/node_modules/@types/node/http.d.ts +456 -0
  2266. package/node_modules/jayson/node_modules/@types/node/http2.d.ts +952 -0
  2267. package/node_modules/jayson/node_modules/@types/node/https.d.ts +156 -0
  2268. package/node_modules/jayson/node_modules/@types/node/index.d.ts +91 -0
  2269. package/node_modules/jayson/node_modules/@types/node/inspector.d.ts +3040 -0
  2270. package/node_modules/jayson/node_modules/@types/node/module.d.ts +3 -0
  2271. package/node_modules/jayson/node_modules/@types/node/net.d.ts +290 -0
  2272. package/node_modules/jayson/node_modules/@types/node/os.d.ts +263 -0
  2273. package/node_modules/jayson/node_modules/@types/node/package.json +195 -0
  2274. package/node_modules/jayson/node_modules/@types/node/path.d.ts +159 -0
  2275. package/node_modules/jayson/node_modules/@types/node/perf_hooks.d.ts +259 -0
  2276. package/node_modules/jayson/node_modules/@types/node/process.d.ts +15 -0
  2277. package/node_modules/jayson/node_modules/@types/node/punycode.d.ts +75 -0
  2278. package/node_modules/jayson/node_modules/@types/node/querystring.d.ts +29 -0
  2279. package/node_modules/jayson/node_modules/@types/node/readline.d.ts +158 -0
  2280. package/node_modules/jayson/node_modules/@types/node/repl.d.ts +390 -0
  2281. package/node_modules/jayson/node_modules/@types/node/stream.d.ts +334 -0
  2282. package/node_modules/jayson/node_modules/@types/node/string_decoder.d.ts +7 -0
  2283. package/node_modules/jayson/node_modules/@types/node/timers.d.ts +16 -0
  2284. package/node_modules/jayson/node_modules/@types/node/tls.d.ts +713 -0
  2285. package/node_modules/jayson/node_modules/@types/node/trace_events.d.ts +61 -0
  2286. package/node_modules/jayson/node_modules/@types/node/tty.d.ts +66 -0
  2287. package/node_modules/jayson/node_modules/@types/node/url.d.ts +147 -0
  2288. package/node_modules/jayson/node_modules/@types/node/util.d.ts +200 -0
  2289. package/node_modules/jayson/node_modules/@types/node/v8.d.ts +197 -0
  2290. package/node_modules/jayson/node_modules/@types/node/vm.d.ts +112 -0
  2291. package/node_modules/jayson/node_modules/@types/node/wasi.d.ts +55 -0
  2292. package/node_modules/jayson/node_modules/@types/node/worker_threads.d.ts +207 -0
  2293. package/node_modules/jayson/node_modules/@types/node/zlib.d.ts +356 -0
  2294. package/node_modules/jayson/package.json +89 -0
  2295. package/node_modules/jayson/promise/index.d.ts +367 -0
  2296. package/node_modules/jayson/promise/index.js +3 -0
  2297. package/node_modules/jayson/promise/lib/client/browser/index.d.ts +12 -0
  2298. package/node_modules/jayson/promise/lib/client/browser/index.js +28 -0
  2299. package/node_modules/jayson/promise/lib/client/http.js +23 -0
  2300. package/node_modules/jayson/promise/lib/client/https.js +24 -0
  2301. package/node_modules/jayson/promise/lib/client/index.js +53 -0
  2302. package/node_modules/jayson/promise/lib/client/tcp.js +23 -0
  2303. package/node_modules/jayson/promise/lib/client/tls.js +23 -0
  2304. package/node_modules/jayson/promise/lib/client/websocket.js +23 -0
  2305. package/node_modules/jayson/promise/lib/index.js +33 -0
  2306. package/node_modules/jayson/promise/lib/method.js +54 -0
  2307. package/node_modules/jayson/promise/lib/server.js +23 -0
  2308. package/node_modules/jayson/promise/lib/utils.js +23 -0
  2309. package/node_modules/json-stringify-safe/.npmignore +1 -0
  2310. package/node_modules/json-stringify-safe/CHANGELOG.md +14 -0
  2311. package/node_modules/json-stringify-safe/LICENSE +15 -0
  2312. package/node_modules/json-stringify-safe/Makefile +35 -0
  2313. package/node_modules/json-stringify-safe/README.md +52 -0
  2314. package/node_modules/json-stringify-safe/package.json +31 -0
  2315. package/node_modules/json-stringify-safe/stringify.js +27 -0
  2316. package/node_modules/json-stringify-safe/test/mocha.opts +2 -0
  2317. package/node_modules/json-stringify-safe/test/stringify_test.js +246 -0
  2318. package/node_modules/ms/index.js +162 -0
  2319. package/node_modules/ms/license.md +21 -0
  2320. package/node_modules/ms/package.json +38 -0
  2321. package/node_modules/ms/readme.md +59 -0
  2322. package/node_modules/node-fetch/LICENSE.md +22 -0
  2323. package/node_modules/node-fetch/README.md +634 -0
  2324. package/node_modules/node-fetch/browser.js +25 -0
  2325. package/node_modules/node-fetch/lib/index.es.js +1777 -0
  2326. package/node_modules/node-fetch/lib/index.js +1787 -0
  2327. package/node_modules/node-fetch/lib/index.mjs +1775 -0
  2328. package/node_modules/node-fetch/package.json +89 -0
  2329. package/node_modules/node-gyp-build/LICENSE +21 -0
  2330. package/node_modules/node-gyp-build/README.md +58 -0
  2331. package/node_modules/node-gyp-build/SECURITY.md +5 -0
  2332. package/node_modules/node-gyp-build/bin.js +84 -0
  2333. package/node_modules/node-gyp-build/build-test.js +19 -0
  2334. package/node_modules/node-gyp-build/index.js +6 -0
  2335. package/node_modules/node-gyp-build/node-gyp-build.js +207 -0
  2336. package/node_modules/node-gyp-build/optional.js +7 -0
  2337. package/node_modules/node-gyp-build/package.json +43 -0
  2338. package/node_modules/pako/LICENSE +21 -0
  2339. package/node_modules/pako/README.md +177 -0
  2340. package/node_modules/pako/dist/pako.es5.js +6688 -0
  2341. package/node_modules/pako/dist/pako.es5.min.js +2 -0
  2342. package/node_modules/pako/dist/pako.esm.mjs +6877 -0
  2343. package/node_modules/pako/dist/pako.js +6896 -0
  2344. package/node_modules/pako/dist/pako.min.js +2 -0
  2345. package/node_modules/pako/dist/pako_deflate.es5.js +3924 -0
  2346. package/node_modules/pako/dist/pako_deflate.es5.min.js +2 -0
  2347. package/node_modules/pako/dist/pako_deflate.js +4126 -0
  2348. package/node_modules/pako/dist/pako_deflate.min.js +2 -0
  2349. package/node_modules/pako/dist/pako_inflate.es5.js +3229 -0
  2350. package/node_modules/pako/dist/pako_inflate.es5.min.js +2 -0
  2351. package/node_modules/pako/dist/pako_inflate.js +3239 -0
  2352. package/node_modules/pako/dist/pako_inflate.min.js +2 -0
  2353. package/node_modules/pako/index.js +18 -0
  2354. package/node_modules/pako/lib/deflate.js +380 -0
  2355. package/node_modules/pako/lib/inflate.js +419 -0
  2356. package/node_modules/pako/lib/utils/common.js +48 -0
  2357. package/node_modules/pako/lib/utils/strings.js +174 -0
  2358. package/node_modules/pako/lib/zlib/README +59 -0
  2359. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  2360. package/node_modules/pako/lib/zlib/constants.js +68 -0
  2361. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  2362. package/node_modules/pako/lib/zlib/deflate.js +2048 -0
  2363. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  2364. package/node_modules/pako/lib/zlib/inffast.js +344 -0
  2365. package/node_modules/pako/lib/zlib/inflate.js +1572 -0
  2366. package/node_modules/pako/lib/zlib/inftrees.js +340 -0
  2367. package/node_modules/pako/lib/zlib/messages.js +32 -0
  2368. package/node_modules/pako/lib/zlib/trees.js +1179 -0
  2369. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  2370. package/node_modules/pako/package.json +64 -0
  2371. package/node_modules/rpc-websockets/LICENSE +10 -0
  2372. package/node_modules/rpc-websockets/README.md +156 -0
  2373. package/node_modules/rpc-websockets/dist/index.browser-bundle.js +14 -0
  2374. package/node_modules/rpc-websockets/dist/index.browser.cjs +389 -0
  2375. package/node_modules/rpc-websockets/dist/index.browser.cjs.map +1 -0
  2376. package/node_modules/rpc-websockets/dist/index.browser.d.mts +225 -0
  2377. package/node_modules/rpc-websockets/dist/index.browser.d.ts +225 -0
  2378. package/node_modules/rpc-websockets/dist/index.browser.mjs +384 -0
  2379. package/node_modules/rpc-websockets/dist/index.browser.mjs.map +1 -0
  2380. package/node_modules/rpc-websockets/dist/index.cjs +898 -0
  2381. package/node_modules/rpc-websockets/dist/index.cjs.map +1 -0
  2382. package/node_modules/rpc-websockets/dist/index.d.mts +415 -0
  2383. package/node_modules/rpc-websockets/dist/index.d.ts +415 -0
  2384. package/node_modules/rpc-websockets/dist/index.mjs +886 -0
  2385. package/node_modules/rpc-websockets/dist/index.mjs.map +1 -0
  2386. package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +21 -0
  2387. package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +15 -0
  2388. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +451 -0
  2389. package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +445 -0
  2390. package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +72 -0
  2391. package/node_modules/rpc-websockets/node_modules/eventemitter3/LICENSE +21 -0
  2392. package/node_modules/rpc-websockets/node_modules/eventemitter3/README.md +94 -0
  2393. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.js +347 -0
  2394. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +1 -0
  2395. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +1 -0
  2396. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.js +355 -0
  2397. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +1 -0
  2398. package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +1 -0
  2399. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.d.ts +135 -0
  2400. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.js +336 -0
  2401. package/node_modules/rpc-websockets/node_modules/eventemitter3/index.mjs +4 -0
  2402. package/node_modules/rpc-websockets/node_modules/eventemitter3/package.json +67 -0
  2403. package/node_modules/rpc-websockets/node_modules/ws/LICENSE +20 -0
  2404. package/node_modules/rpc-websockets/node_modules/ws/README.md +548 -0
  2405. package/node_modules/rpc-websockets/node_modules/ws/browser.js +8 -0
  2406. package/node_modules/rpc-websockets/node_modules/ws/index.js +13 -0
  2407. package/node_modules/rpc-websockets/node_modules/ws/lib/buffer-util.js +131 -0
  2408. package/node_modules/rpc-websockets/node_modules/ws/lib/constants.js +18 -0
  2409. package/node_modules/rpc-websockets/node_modules/ws/lib/event-target.js +292 -0
  2410. package/node_modules/rpc-websockets/node_modules/ws/lib/extension.js +203 -0
  2411. package/node_modules/rpc-websockets/node_modules/ws/lib/limiter.js +55 -0
  2412. package/node_modules/rpc-websockets/node_modules/ws/lib/permessage-deflate.js +528 -0
  2413. package/node_modules/rpc-websockets/node_modules/ws/lib/receiver.js +706 -0
  2414. package/node_modules/rpc-websockets/node_modules/ws/lib/sender.js +602 -0
  2415. package/node_modules/rpc-websockets/node_modules/ws/lib/stream.js +161 -0
  2416. package/node_modules/rpc-websockets/node_modules/ws/lib/subprotocol.js +62 -0
  2417. package/node_modules/rpc-websockets/node_modules/ws/lib/validation.js +152 -0
  2418. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket-server.js +540 -0
  2419. package/node_modules/rpc-websockets/node_modules/ws/lib/websocket.js +1388 -0
  2420. package/node_modules/rpc-websockets/node_modules/ws/package.json +69 -0
  2421. package/node_modules/rpc-websockets/node_modules/ws/wrapper.mjs +8 -0
  2422. package/node_modules/rpc-websockets/package.json +90 -0
  2423. package/node_modules/safe-buffer/LICENSE +21 -0
  2424. package/node_modules/safe-buffer/README.md +584 -0
  2425. package/node_modules/safe-buffer/index.d.ts +187 -0
  2426. package/node_modules/safe-buffer/index.js +65 -0
  2427. package/node_modules/safe-buffer/package.json +51 -0
  2428. package/node_modules/stream-chain/LICENSE +11 -0
  2429. package/node_modules/stream-chain/README.md +334 -0
  2430. package/node_modules/stream-chain/defs.js +22 -0
  2431. package/node_modules/stream-chain/index.js +203 -0
  2432. package/node_modules/stream-chain/package.json +31 -0
  2433. package/node_modules/stream-chain/utils/FromIterable.js +94 -0
  2434. package/node_modules/stream-chain/utils/Reduce.js +40 -0
  2435. package/node_modules/stream-chain/utils/asFun.js +85 -0
  2436. package/node_modules/stream-chain/utils/asGen.js +77 -0
  2437. package/node_modules/stream-chain/utils/comp.js +20 -0
  2438. package/node_modules/stream-chain/utils/fold.js +43 -0
  2439. package/node_modules/stream-chain/utils/gen.js +24 -0
  2440. package/node_modules/stream-chain/utils/scan.js +41 -0
  2441. package/node_modules/stream-chain/utils/skip.js +32 -0
  2442. package/node_modules/stream-chain/utils/skipWhile.js +46 -0
  2443. package/node_modules/stream-chain/utils/take.js +39 -0
  2444. package/node_modules/stream-chain/utils/takeWhile.js +47 -0
  2445. package/node_modules/stream-json/Assembler.js +154 -0
  2446. package/node_modules/stream-json/Disassembler.js +209 -0
  2447. package/node_modules/stream-json/Emitter.js +22 -0
  2448. package/node_modules/stream-json/LICENSE +34 -0
  2449. package/node_modules/stream-json/Parser.js +545 -0
  2450. package/node_modules/stream-json/README.md +128 -0
  2451. package/node_modules/stream-json/Stringer.js +153 -0
  2452. package/node_modules/stream-json/filters/Filter.js +130 -0
  2453. package/node_modules/stream-json/filters/FilterBase.js +201 -0
  2454. package/node_modules/stream-json/filters/Ignore.js +24 -0
  2455. package/node_modules/stream-json/filters/Pick.js +58 -0
  2456. package/node_modules/stream-json/filters/Replace.js +115 -0
  2457. package/node_modules/stream-json/index.js +11 -0
  2458. package/node_modules/stream-json/jsonl/Parser.js +131 -0
  2459. package/node_modules/stream-json/jsonl/Stringer.js +29 -0
  2460. package/node_modules/stream-json/package.json +45 -0
  2461. package/node_modules/stream-json/streamers/StreamArray.js +44 -0
  2462. package/node_modules/stream-json/streamers/StreamBase.js +101 -0
  2463. package/node_modules/stream-json/streamers/StreamObject.js +43 -0
  2464. package/node_modules/stream-json/streamers/StreamValues.js +33 -0
  2465. package/node_modules/stream-json/utils/Batch.js +44 -0
  2466. package/node_modules/stream-json/utils/Utf8Stream.js +53 -0
  2467. package/node_modules/stream-json/utils/Verifier.js +485 -0
  2468. package/node_modules/stream-json/utils/emit.js +5 -0
  2469. package/node_modules/stream-json/utils/withParser.js +10 -0
  2470. package/node_modules/superstruct/License.md +9 -0
  2471. package/node_modules/superstruct/Readme.md +228 -0
  2472. package/node_modules/superstruct/lib/coercions.d.ts +19 -0
  2473. package/node_modules/superstruct/lib/coercions.d.ts.map +1 -0
  2474. package/node_modules/superstruct/lib/error.d.ts +32 -0
  2475. package/node_modules/superstruct/lib/error.d.ts.map +1 -0
  2476. package/node_modules/superstruct/lib/index.cjs +1257 -0
  2477. package/node_modules/superstruct/lib/index.cjs.d.ts +579 -0
  2478. package/node_modules/superstruct/lib/index.cjs.map +1 -0
  2479. package/node_modules/superstruct/lib/index.d.cts +579 -0
  2480. package/node_modules/superstruct/lib/index.d.ts +7 -0
  2481. package/node_modules/superstruct/lib/index.d.ts.map +1 -0
  2482. package/node_modules/superstruct/lib/index.es.d.ts +579 -0
  2483. package/node_modules/superstruct/lib/index.es.js +1203 -0
  2484. package/node_modules/superstruct/lib/index.es.js.map +1 -0
  2485. package/node_modules/superstruct/lib/refinements.d.ts +19 -0
  2486. package/node_modules/superstruct/lib/refinements.d.ts.map +1 -0
  2487. package/node_modules/superstruct/lib/struct.d.ts +110 -0
  2488. package/node_modules/superstruct/lib/struct.d.ts.map +1 -0
  2489. package/node_modules/superstruct/lib/structs/coercions.d.ts +29 -0
  2490. package/node_modules/superstruct/lib/structs/coercions.d.ts.map +1 -0
  2491. package/node_modules/superstruct/lib/structs/refinements.d.ts +38 -0
  2492. package/node_modules/superstruct/lib/structs/refinements.d.ts.map +1 -0
  2493. package/node_modules/superstruct/lib/structs/types.d.ts +142 -0
  2494. package/node_modules/superstruct/lib/structs/types.d.ts.map +1 -0
  2495. package/node_modules/superstruct/lib/structs/utilities.d.ts +66 -0
  2496. package/node_modules/superstruct/lib/structs/utilities.d.ts.map +1 -0
  2497. package/node_modules/superstruct/lib/types.d.ts +200 -0
  2498. package/node_modules/superstruct/lib/types.d.ts.map +1 -0
  2499. package/node_modules/superstruct/lib/typings.d.ts +36 -0
  2500. package/node_modules/superstruct/lib/typings.d.ts.map +1 -0
  2501. package/node_modules/superstruct/lib/utilities.d.ts +56 -0
  2502. package/node_modules/superstruct/lib/utilities.d.ts.map +1 -0
  2503. package/node_modules/superstruct/lib/utils.d.ts +139 -0
  2504. package/node_modules/superstruct/lib/utils.d.ts.map +1 -0
  2505. package/node_modules/superstruct/lib/xtras.d.ts +56 -0
  2506. package/node_modules/superstruct/lib/xtras.d.ts.map +1 -0
  2507. package/node_modules/superstruct/package.json +110 -0
  2508. package/node_modules/superstruct/umd/coercions.d.ts +18 -0
  2509. package/node_modules/superstruct/umd/index.d.ts +4 -0
  2510. package/node_modules/superstruct/umd/refinements.d.ts +14 -0
  2511. package/node_modules/superstruct/umd/struct.d.ts +80 -0
  2512. package/node_modules/superstruct/umd/superstruct.d.ts +579 -0
  2513. package/node_modules/superstruct/umd/superstruct.js +1262 -0
  2514. package/node_modules/superstruct/umd/superstruct.min.d.ts +579 -0
  2515. package/node_modules/superstruct/umd/superstruct.min.js +1 -0
  2516. package/node_modules/superstruct/umd/types.d.ts +127 -0
  2517. package/node_modules/superstruct/umd/utils.d.ts +9 -0
  2518. package/node_modules/text-encoding-utf-8/LICENSE.md +29 -0
  2519. package/node_modules/text-encoding-utf-8/README.md +63 -0
  2520. package/node_modules/text-encoding-utf-8/lib/encoding.js +655 -0
  2521. package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +642 -0
  2522. package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +665 -0
  2523. package/node_modules/text-encoding-utf-8/package.json +26 -0
  2524. package/node_modules/text-encoding-utf-8/src/encoding.js +665 -0
  2525. package/node_modules/text-encoding-utf-8/src/polyfill.js +21 -0
  2526. package/node_modules/toml/.jshintrc +18 -0
  2527. package/node_modules/toml/.travis.yml +7 -0
  2528. package/node_modules/toml/CHANGELOG.md +116 -0
  2529. package/node_modules/toml/LICENSE +22 -0
  2530. package/node_modules/toml/README.md +93 -0
  2531. package/node_modules/toml/benchmark.js +12 -0
  2532. package/node_modules/toml/index.d.ts +3 -0
  2533. package/node_modules/toml/index.js +9 -0
  2534. package/node_modules/toml/lib/compiler.js +195 -0
  2535. package/node_modules/toml/lib/parser.js +3841 -0
  2536. package/node_modules/toml/package.json +24 -0
  2537. package/node_modules/toml/src/toml.pegjs +231 -0
  2538. package/node_modules/toml/test/bad.toml +5 -0
  2539. package/node_modules/toml/test/example.toml +32 -0
  2540. package/node_modules/toml/test/hard_example.toml +33 -0
  2541. package/node_modules/toml/test/inline_tables.toml +10 -0
  2542. package/node_modules/toml/test/literal_strings.toml +5 -0
  2543. package/node_modules/toml/test/multiline_eat_whitespace.toml +15 -0
  2544. package/node_modules/toml/test/multiline_literal_strings.toml +7 -0
  2545. package/node_modules/toml/test/multiline_strings.toml +6 -0
  2546. package/node_modules/toml/test/smoke.js +22 -0
  2547. package/node_modules/toml/test/table_arrays_easy.toml +10 -0
  2548. package/node_modules/toml/test/table_arrays_hard.toml +31 -0
  2549. package/node_modules/toml/test/test_toml.js +596 -0
  2550. package/node_modules/tslib/CopyrightNotice.txt +15 -0
  2551. package/node_modules/tslib/LICENSE.txt +12 -0
  2552. package/node_modules/tslib/README.md +164 -0
  2553. package/node_modules/tslib/SECURITY.md +41 -0
  2554. package/node_modules/tslib/modules/index.d.ts +38 -0
  2555. package/node_modules/tslib/modules/index.js +70 -0
  2556. package/node_modules/tslib/modules/package.json +3 -0
  2557. package/node_modules/tslib/package.json +47 -0
  2558. package/node_modules/tslib/tslib.d.ts +460 -0
  2559. package/node_modules/tslib/tslib.es6.html +1 -0
  2560. package/node_modules/tslib/tslib.es6.js +402 -0
  2561. package/node_modules/tslib/tslib.es6.mjs +401 -0
  2562. package/node_modules/tslib/tslib.html +1 -0
  2563. package/node_modules/tslib/tslib.js +484 -0
  2564. package/node_modules/undici-types/LICENSE +21 -0
  2565. package/node_modules/undici-types/README.md +6 -0
  2566. package/node_modules/undici-types/agent.d.ts +31 -0
  2567. package/node_modules/undici-types/api.d.ts +43 -0
  2568. package/node_modules/undici-types/balanced-pool.d.ts +29 -0
  2569. package/node_modules/undici-types/cache.d.ts +36 -0
  2570. package/node_modules/undici-types/client.d.ts +108 -0
  2571. package/node_modules/undici-types/connector.d.ts +34 -0
  2572. package/node_modules/undici-types/content-type.d.ts +21 -0
  2573. package/node_modules/undici-types/cookies.d.ts +28 -0
  2574. package/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  2575. package/node_modules/undici-types/dispatcher.d.ts +256 -0
  2576. package/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  2577. package/node_modules/undici-types/errors.d.ts +149 -0
  2578. package/node_modules/undici-types/eventsource.d.ts +61 -0
  2579. package/node_modules/undici-types/fetch.d.ts +209 -0
  2580. package/node_modules/undici-types/file.d.ts +39 -0
  2581. package/node_modules/undici-types/filereader.d.ts +54 -0
  2582. package/node_modules/undici-types/formdata.d.ts +108 -0
  2583. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  2584. package/node_modules/undici-types/global-origin.d.ts +7 -0
  2585. package/node_modules/undici-types/handlers.d.ts +15 -0
  2586. package/node_modules/undici-types/header.d.ts +4 -0
  2587. package/node_modules/undici-types/index.d.ts +71 -0
  2588. package/node_modules/undici-types/interceptors.d.ts +17 -0
  2589. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  2590. package/node_modules/undici-types/mock-client.d.ts +25 -0
  2591. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  2592. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  2593. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  2594. package/node_modules/undici-types/package.json +55 -0
  2595. package/node_modules/undici-types/patch.d.ts +33 -0
  2596. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  2597. package/node_modules/undici-types/pool.d.ts +39 -0
  2598. package/node_modules/undici-types/proxy-agent.d.ts +28 -0
  2599. package/node_modules/undici-types/readable.d.ts +65 -0
  2600. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  2601. package/node_modules/undici-types/retry-handler.d.ts +116 -0
  2602. package/node_modules/undici-types/util.d.ts +18 -0
  2603. package/node_modules/undici-types/webidl.d.ts +228 -0
  2604. package/node_modules/undici-types/websocket.d.ts +150 -0
  2605. package/node_modules/utf-8-validate/LICENSE +30 -0
  2606. package/node_modules/utf-8-validate/README.md +50 -0
  2607. package/node_modules/utf-8-validate/binding.gyp +18 -0
  2608. package/node_modules/utf-8-validate/fallback.js +62 -0
  2609. package/node_modules/utf-8-validate/index.js +7 -0
  2610. package/node_modules/utf-8-validate/package.json +36 -0
  2611. package/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  2612. package/node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node +0 -0
  2613. package/node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node +0 -0
  2614. package/node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node +0 -0
  2615. package/node_modules/utf-8-validate/src/validation.c +109 -0
  2616. package/node_modules/uuid/CHANGELOG.md +229 -0
  2617. package/node_modules/uuid/CONTRIBUTING.md +18 -0
  2618. package/node_modules/uuid/LICENSE.md +9 -0
  2619. package/node_modules/uuid/README.md +505 -0
  2620. package/node_modules/uuid/dist/bin/uuid +2 -0
  2621. package/node_modules/uuid/dist/esm-browser/index.js +9 -0
  2622. package/node_modules/uuid/dist/esm-browser/md5.js +215 -0
  2623. package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
  2624. package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
  2625. package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  2626. package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
  2627. package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
  2628. package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  2629. package/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  2630. package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  2631. package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
  2632. package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
  2633. package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  2634. package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  2635. package/node_modules/uuid/dist/esm-browser/version.js +11 -0
  2636. package/node_modules/uuid/dist/esm-node/index.js +9 -0
  2637. package/node_modules/uuid/dist/esm-node/md5.js +13 -0
  2638. package/node_modules/uuid/dist/esm-node/nil.js +1 -0
  2639. package/node_modules/uuid/dist/esm-node/parse.js +35 -0
  2640. package/node_modules/uuid/dist/esm-node/regex.js +1 -0
  2641. package/node_modules/uuid/dist/esm-node/rng.js +12 -0
  2642. package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  2643. package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
  2644. package/node_modules/uuid/dist/esm-node/v1.js +95 -0
  2645. package/node_modules/uuid/dist/esm-node/v3.js +4 -0
  2646. package/node_modules/uuid/dist/esm-node/v35.js +64 -0
  2647. package/node_modules/uuid/dist/esm-node/v4.js +24 -0
  2648. package/node_modules/uuid/dist/esm-node/v5.js +4 -0
  2649. package/node_modules/uuid/dist/esm-node/validate.js +7 -0
  2650. package/node_modules/uuid/dist/esm-node/version.js +11 -0
  2651. package/node_modules/uuid/dist/index.js +79 -0
  2652. package/node_modules/uuid/dist/md5-browser.js +223 -0
  2653. package/node_modules/uuid/dist/md5.js +23 -0
  2654. package/node_modules/uuid/dist/nil.js +8 -0
  2655. package/node_modules/uuid/dist/parse.js +45 -0
  2656. package/node_modules/uuid/dist/regex.js +8 -0
  2657. package/node_modules/uuid/dist/rng-browser.js +26 -0
  2658. package/node_modules/uuid/dist/rng.js +24 -0
  2659. package/node_modules/uuid/dist/sha1-browser.js +104 -0
  2660. package/node_modules/uuid/dist/sha1.js +23 -0
  2661. package/node_modules/uuid/dist/stringify.js +39 -0
  2662. package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  2663. package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
  2664. package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
  2665. package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
  2666. package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
  2667. package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
  2668. package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  2669. package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  2670. package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  2671. package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  2672. package/node_modules/uuid/dist/uuid-bin.js +85 -0
  2673. package/node_modules/uuid/dist/v1.js +107 -0
  2674. package/node_modules/uuid/dist/v3.js +16 -0
  2675. package/node_modules/uuid/dist/v35.js +78 -0
  2676. package/node_modules/uuid/dist/v4.js +37 -0
  2677. package/node_modules/uuid/dist/v5.js +16 -0
  2678. package/node_modules/uuid/dist/validate.js +17 -0
  2679. package/node_modules/uuid/dist/version.js +21 -0
  2680. package/node_modules/uuid/package.json +135 -0
  2681. package/node_modules/uuid/wrapper.mjs +10 -0
  2682. package/node_modules/webidl-conversions/LICENSE.md +12 -0
  2683. package/node_modules/webidl-conversions/README.md +53 -0
  2684. package/node_modules/webidl-conversions/lib/index.js +189 -0
  2685. package/node_modules/webidl-conversions/package.json +23 -0
  2686. package/node_modules/whatwg-url/LICENSE.txt +21 -0
  2687. package/node_modules/whatwg-url/README.md +67 -0
  2688. package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
  2689. package/node_modules/whatwg-url/lib/URL.js +196 -0
  2690. package/node_modules/whatwg-url/lib/public-api.js +11 -0
  2691. package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
  2692. package/node_modules/whatwg-url/lib/utils.js +20 -0
  2693. package/node_modules/whatwg-url/node_modules/tr46/.npmignore +4 -0
  2694. package/node_modules/whatwg-url/node_modules/tr46/index.js +193 -0
  2695. package/node_modules/whatwg-url/node_modules/tr46/lib/.gitkeep +0 -0
  2696. package/node_modules/whatwg-url/node_modules/tr46/lib/mappingTable.json +1 -0
  2697. package/node_modules/whatwg-url/node_modules/tr46/package.json +31 -0
  2698. package/node_modules/whatwg-url/package.json +32 -0
  2699. package/node_modules/ws/LICENSE +21 -0
  2700. package/node_modules/ws/README.md +495 -0
  2701. package/node_modules/ws/browser.js +8 -0
  2702. package/node_modules/ws/index.js +10 -0
  2703. package/node_modules/ws/lib/buffer-util.js +129 -0
  2704. package/node_modules/ws/lib/constants.js +10 -0
  2705. package/node_modules/ws/lib/event-target.js +184 -0
  2706. package/node_modules/ws/lib/extension.js +223 -0
  2707. package/node_modules/ws/lib/limiter.js +55 -0
  2708. package/node_modules/ws/lib/permessage-deflate.js +518 -0
  2709. package/node_modules/ws/lib/receiver.js +607 -0
  2710. package/node_modules/ws/lib/sender.js +409 -0
  2711. package/node_modules/ws/lib/stream.js +180 -0
  2712. package/node_modules/ws/lib/validation.js +104 -0
  2713. package/node_modules/ws/lib/websocket-server.js +449 -0
  2714. package/node_modules/ws/lib/websocket.js +1197 -0
  2715. package/node_modules/ws/package.json +56 -0
  2716. package/package.json +4 -1
@@ -0,0 +1,4021 @@
1
+ import { Buffer } from 'buffer';
2
+ import { Agent } from 'http';
3
+ import { Agent as Agent$1 } from 'https';
4
+
5
+ declare class Struct {
6
+ constructor(properties: any);
7
+ encode(): Buffer;
8
+ static decode(data: Buffer): any;
9
+ static decodeUnchecked(data: Buffer): any;
10
+ }
11
+ declare class Enum extends Struct {
12
+ enum: string;
13
+ constructor(properties: any);
14
+ }
15
+ declare const SOLANA_SCHEMA: Map<Function, any>;
16
+
17
+ /**
18
+ * Maximum length of derived pubkey seed
19
+ */
20
+ declare const MAX_SEED_LENGTH = 32;
21
+ /**
22
+ * Size of public key in bytes
23
+ */
24
+ declare const PUBLIC_KEY_LENGTH = 32;
25
+ /**
26
+ * Value to be converted into public key
27
+ */
28
+ type PublicKeyInitData = number | string | Uint8Array | Array<number> | PublicKeyData;
29
+ /**
30
+ * JSON object representation of PublicKey class
31
+ */
32
+ type PublicKeyData = {};
33
+ /**
34
+ * A public key
35
+ */
36
+ declare class PublicKey extends Struct {
37
+ /**
38
+ * Create a new PublicKey object
39
+ * @param value ed25519 public key as buffer or base-58 encoded string
40
+ */
41
+ constructor(value: PublicKeyInitData);
42
+ /**
43
+ * Returns a unique PublicKey for tests and benchmarks using a counter
44
+ */
45
+ static unique(): PublicKey;
46
+ /**
47
+ * Default public key value. The base58-encoded string representation is all ones (as seen below)
48
+ * The underlying BN number is 32 bytes that are all zeros
49
+ */
50
+ static default: PublicKey;
51
+ /**
52
+ * Checks if two publicKeys are equal
53
+ */
54
+ equals(publicKey: PublicKey): boolean;
55
+ /**
56
+ * Return the base-58 representation of the public key
57
+ */
58
+ toBase58(): string;
59
+ toJSON(): string;
60
+ /**
61
+ * Return the byte array representation of the public key in big endian
62
+ */
63
+ toBytes(): Uint8Array;
64
+ /**
65
+ * Return the Buffer representation of the public key in big endian
66
+ */
67
+ toBuffer(): Buffer;
68
+ get [Symbol.toStringTag](): string;
69
+ /**
70
+ * Return the base-58 representation of the public key
71
+ */
72
+ toString(): string;
73
+ /**
74
+ * Derive a public key from another key, a seed, and a program ID.
75
+ * The program ID will also serve as the owner of the public key, giving
76
+ * it permission to write data to the account.
77
+ */
78
+ static createWithSeed(fromPublicKey: PublicKey, seed: string, programId: PublicKey): Promise<PublicKey>;
79
+ /**
80
+ * Derive a program address from seeds and a program ID.
81
+ */
82
+ static createProgramAddressSync(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): PublicKey;
83
+ /**
84
+ * Async version of createProgramAddressSync
85
+ * For backwards compatibility
86
+ *
87
+ * @deprecated Use {@link createProgramAddressSync} instead
88
+ */
89
+ static createProgramAddress(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): Promise<PublicKey>;
90
+ /**
91
+ * Find a valid program address
92
+ *
93
+ * Valid program addresses must fall off the ed25519 curve. This function
94
+ * iterates a nonce until it finds one that when combined with the seeds
95
+ * results in a valid program address.
96
+ */
97
+ static findProgramAddressSync(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): [PublicKey, number];
98
+ /**
99
+ * Async version of findProgramAddressSync
100
+ * For backwards compatibility
101
+ *
102
+ * @deprecated Use {@link findProgramAddressSync} instead
103
+ */
104
+ static findProgramAddress(seeds: Array<Buffer | Uint8Array>, programId: PublicKey): Promise<[PublicKey, number]>;
105
+ /**
106
+ * Check that a pubkey is on the ed25519 curve.
107
+ */
108
+ static isOnCurve(pubkeyData: PublicKeyInitData): boolean;
109
+ }
110
+
111
+ /**
112
+ * An account key pair (public and secret keys).
113
+ *
114
+ * @deprecated since v1.10.0, please use {@link Keypair} instead.
115
+ */
116
+ declare class Account {
117
+ /**
118
+ * Create a new Account object
119
+ *
120
+ * If the secretKey parameter is not provided a new key pair is randomly
121
+ * created for the account
122
+ *
123
+ * @param secretKey Secret key for the account
124
+ */
125
+ constructor(secretKey?: Uint8Array | Array<number>);
126
+ /**
127
+ * The public key for this account
128
+ */
129
+ get publicKey(): PublicKey;
130
+ /**
131
+ * The **unencrypted** secret key for this account. The first 32 bytes
132
+ * is the private scalar and the last 32 bytes is the public key.
133
+ * Read more: https://blog.mozilla.org/warner/2011/11/29/ed25519-keys/
134
+ */
135
+ get secretKey(): Buffer;
136
+ }
137
+
138
+ /**
139
+ * Blockhash as Base58 string.
140
+ */
141
+ type Blockhash = string;
142
+
143
+ declare const BPF_LOADER_DEPRECATED_PROGRAM_ID: PublicKey;
144
+
145
+ /**
146
+ * Epoch schedule
147
+ * (see https://docs.solana.com/terminology#epoch)
148
+ * Can be retrieved with the {@link Connection.getEpochSchedule} method
149
+ */
150
+ declare class EpochSchedule {
151
+ /** The maximum number of slots in each epoch */
152
+ slotsPerEpoch: number;
153
+ /** The number of slots before beginning of an epoch to calculate a leader schedule for that epoch */
154
+ leaderScheduleSlotOffset: number;
155
+ /** Indicates whether epochs start short and grow */
156
+ warmup: boolean;
157
+ /** The first epoch with `slotsPerEpoch` slots */
158
+ firstNormalEpoch: number;
159
+ /** The first slot of `firstNormalEpoch` */
160
+ firstNormalSlot: number;
161
+ constructor(slotsPerEpoch: number, leaderScheduleSlotOffset: number, warmup: boolean, firstNormalEpoch: number, firstNormalSlot: number);
162
+ getEpoch(slot: number): number;
163
+ getEpochAndSlotIndex(slot: number): [number, number];
164
+ getFirstSlotInEpoch(epoch: number): number;
165
+ getLastSlotInEpoch(epoch: number): number;
166
+ getSlotsInEpoch(epoch: number): number;
167
+ }
168
+
169
+ declare const _default: typeof globalThis.fetch;
170
+
171
+ /**
172
+ * Calculator for transaction fees.
173
+ *
174
+ * @deprecated Deprecated since Solana v1.8.0.
175
+ */
176
+ interface FeeCalculator {
177
+ /** Cost in lamports to validate a signature. */
178
+ lamportsPerSignature: number;
179
+ }
180
+
181
+ declare const NONCE_ACCOUNT_LENGTH: number;
182
+ /**
183
+ * A durable nonce is a 32 byte value encoded as a base58 string.
184
+ */
185
+ type DurableNonce = string;
186
+ /**
187
+ * NonceAccount class
188
+ */
189
+ declare class NonceAccount {
190
+ authorizedPubkey: PublicKey;
191
+ nonce: DurableNonce;
192
+ feeCalculator: FeeCalculator;
193
+ /**
194
+ * Deserialize NonceAccount from the account data.
195
+ *
196
+ * @param buffer account data
197
+ * @return NonceAccount
198
+ */
199
+ static fromAccountData(buffer: Buffer | Uint8Array | Array<number>): NonceAccount;
200
+ }
201
+
202
+ /**
203
+ * A 64 byte secret key, the first 32 bytes of which is the
204
+ * private scalar and the last 32 bytes is the public key.
205
+ * Read more: https://blog.mozilla.org/warner/2011/11/29/ed25519-keys/
206
+ */
207
+ type Ed25519SecretKey = Uint8Array;
208
+ /**
209
+ * Ed25519 Keypair
210
+ */
211
+ interface Ed25519Keypair {
212
+ publicKey: Uint8Array;
213
+ secretKey: Ed25519SecretKey;
214
+ }
215
+
216
+ /**
217
+ * Keypair signer interface
218
+ */
219
+ interface Signer {
220
+ publicKey: PublicKey;
221
+ secretKey: Uint8Array;
222
+ }
223
+ /**
224
+ * An account keypair used for signing transactions.
225
+ */
226
+ declare class Keypair {
227
+ private _keypair;
228
+ /**
229
+ * Create a new keypair instance.
230
+ * Generate random keypair if no {@link Ed25519Keypair} is provided.
231
+ *
232
+ * @param {Ed25519Keypair} keypair ed25519 keypair
233
+ */
234
+ constructor(keypair?: Ed25519Keypair);
235
+ /**
236
+ * Generate a new random keypair
237
+ *
238
+ * @returns {Keypair} Keypair
239
+ */
240
+ static generate(): Keypair;
241
+ /**
242
+ * Create a keypair from a raw secret key byte array.
243
+ *
244
+ * This method should only be used to recreate a keypair from a previously
245
+ * generated secret key. Generating keypairs from a random seed should be done
246
+ * with the {@link Keypair.fromSeed} method.
247
+ *
248
+ * @throws error if the provided secret key is invalid and validation is not skipped.
249
+ *
250
+ * @param secretKey secret key byte array
251
+ * @param options skip secret key validation
252
+ *
253
+ * @returns {Keypair} Keypair
254
+ */
255
+ static fromSecretKey(secretKey: Uint8Array, options?: {
256
+ skipValidation?: boolean;
257
+ }): Keypair;
258
+ /**
259
+ * Generate a keypair from a 32 byte seed.
260
+ *
261
+ * @param seed seed byte array
262
+ *
263
+ * @returns {Keypair} Keypair
264
+ */
265
+ static fromSeed(seed: Uint8Array): Keypair;
266
+ /**
267
+ * The public key for this keypair
268
+ *
269
+ * @returns {PublicKey} PublicKey
270
+ */
271
+ get publicKey(): PublicKey;
272
+ /**
273
+ * The raw secret key for this keypair
274
+ * @returns {Uint8Array} Secret key in an array of Uint8 bytes
275
+ */
276
+ get secretKey(): Uint8Array;
277
+ }
278
+
279
+ /**
280
+ * Maximum over-the-wire size of a Transaction
281
+ *
282
+ * 1280 is IPv6 minimum MTU
283
+ * 40 bytes is the size of the IPv6 header
284
+ * 8 bytes is the size of the fragment header
285
+ */
286
+ declare const PACKET_DATA_SIZE: number;
287
+ declare const VERSION_PREFIX_MASK = 127;
288
+ declare const SIGNATURE_LENGTH_IN_BYTES = 64;
289
+
290
+ declare class TransactionExpiredBlockheightExceededError extends Error {
291
+ signature: string;
292
+ constructor(signature: string);
293
+ }
294
+ declare class TransactionExpiredTimeoutError extends Error {
295
+ signature: string;
296
+ constructor(signature: string, timeoutSeconds: number);
297
+ }
298
+ declare class TransactionExpiredNonceInvalidError extends Error {
299
+ signature: string;
300
+ constructor(signature: string);
301
+ }
302
+
303
+ type AccountKeysFromLookups = LoadedAddresses;
304
+ declare class MessageAccountKeys {
305
+ staticAccountKeys: Array<PublicKey>;
306
+ accountKeysFromLookups?: AccountKeysFromLookups;
307
+ constructor(staticAccountKeys: Array<PublicKey>, accountKeysFromLookups?: AccountKeysFromLookups);
308
+ keySegments(): Array<Array<PublicKey>>;
309
+ get(index: number): PublicKey | undefined;
310
+ get length(): number;
311
+ compileInstructions(instructions: Array<TransactionInstruction>): Array<MessageCompiledInstruction>;
312
+ }
313
+
314
+ /**
315
+ * An instruction to execute by a program
316
+ *
317
+ * @property {number} programIdIndex
318
+ * @property {number[]} accounts
319
+ * @property {string} data
320
+ */
321
+ type CompiledInstruction = {
322
+ /** Index into the transaction keys array indicating the program account that executes this instruction */
323
+ programIdIndex: number;
324
+ /** Ordered indices into the transaction keys array indicating which accounts to pass to the program */
325
+ accounts: number[];
326
+ /** The program input data encoded as base 58 */
327
+ data: string;
328
+ };
329
+ /**
330
+ * Message constructor arguments
331
+ */
332
+ type MessageArgs = {
333
+ /** The message header, identifying signed and read-only `accountKeys` */
334
+ header: MessageHeader;
335
+ /** All the account keys used by this transaction */
336
+ accountKeys: string[] | PublicKey[];
337
+ /** The hash of a recent ledger block */
338
+ recentBlockhash: Blockhash;
339
+ /** Instructions that will be executed in sequence and committed in one atomic transaction if all succeed. */
340
+ instructions: CompiledInstruction[];
341
+ };
342
+ type CompileLegacyArgs = {
343
+ payerKey: PublicKey;
344
+ instructions: Array<TransactionInstruction>;
345
+ recentBlockhash: Blockhash;
346
+ };
347
+ /**
348
+ * List of instructions to be processed atomically
349
+ */
350
+ declare class Message {
351
+ header: MessageHeader;
352
+ accountKeys: PublicKey[];
353
+ recentBlockhash: Blockhash;
354
+ instructions: CompiledInstruction[];
355
+ private indexToProgramIds;
356
+ constructor(args: MessageArgs);
357
+ get version(): 'legacy';
358
+ get staticAccountKeys(): Array<PublicKey>;
359
+ get compiledInstructions(): Array<MessageCompiledInstruction>;
360
+ get addressTableLookups(): Array<MessageAddressTableLookup>;
361
+ getAccountKeys(): MessageAccountKeys;
362
+ static compile(args: CompileLegacyArgs): Message;
363
+ isAccountSigner(index: number): boolean;
364
+ isAccountWritable(index: number): boolean;
365
+ isProgramId(index: number): boolean;
366
+ programIds(): PublicKey[];
367
+ nonProgramIds(): PublicKey[];
368
+ serialize(): Buffer;
369
+ /**
370
+ * Decode a compiled message into a Message object.
371
+ */
372
+ static from(buffer: Buffer | Uint8Array | Array<number>): Message;
373
+ }
374
+
375
+ type AddressLookupTableState = {
376
+ deactivationSlot: bigint;
377
+ lastExtendedSlot: number;
378
+ lastExtendedSlotStartIndex: number;
379
+ authority?: PublicKey;
380
+ addresses: Array<PublicKey>;
381
+ };
382
+ type AddressLookupTableAccountArgs = {
383
+ key: PublicKey;
384
+ state: AddressLookupTableState;
385
+ };
386
+ declare class AddressLookupTableAccount {
387
+ key: PublicKey;
388
+ state: AddressLookupTableState;
389
+ constructor(args: AddressLookupTableAccountArgs);
390
+ isActive(): boolean;
391
+ static deserialize(accountData: Uint8Array): AddressLookupTableState;
392
+ }
393
+
394
+ type CreateLookupTableParams = {
395
+ /** Account used to derive and control the new address lookup table. */
396
+ authority: PublicKey;
397
+ /** Account that will fund the new address lookup table. */
398
+ payer: PublicKey;
399
+ /** A recent slot must be used in the derivation path for each initialized table. */
400
+ recentSlot: bigint | number;
401
+ };
402
+ type FreezeLookupTableParams = {
403
+ /** Address lookup table account to freeze. */
404
+ lookupTable: PublicKey;
405
+ /** Account which is the current authority. */
406
+ authority: PublicKey;
407
+ };
408
+ type ExtendLookupTableParams = {
409
+ /** Address lookup table account to extend. */
410
+ lookupTable: PublicKey;
411
+ /** Account which is the current authority. */
412
+ authority: PublicKey;
413
+ /** Account that will fund the table reallocation.
414
+ * Not required if the reallocation has already been funded. */
415
+ payer?: PublicKey;
416
+ /** List of Public Keys to be added to the lookup table. */
417
+ addresses: Array<PublicKey>;
418
+ };
419
+ type DeactivateLookupTableParams = {
420
+ /** Address lookup table account to deactivate. */
421
+ lookupTable: PublicKey;
422
+ /** Account which is the current authority. */
423
+ authority: PublicKey;
424
+ };
425
+ type CloseLookupTableParams = {
426
+ /** Address lookup table account to close. */
427
+ lookupTable: PublicKey;
428
+ /** Account which is the current authority. */
429
+ authority: PublicKey;
430
+ /** Recipient of closed account lamports. */
431
+ recipient: PublicKey;
432
+ };
433
+ /**
434
+ * An enumeration of valid LookupTableInstructionType's
435
+ */
436
+ type LookupTableInstructionType = 'CreateLookupTable' | 'ExtendLookupTable' | 'CloseLookupTable' | 'FreezeLookupTable' | 'DeactivateLookupTable';
437
+ declare class AddressLookupTableInstruction {
438
+ static decodeInstructionType(instruction: TransactionInstruction): LookupTableInstructionType;
439
+ static decodeCreateLookupTable(instruction: TransactionInstruction): CreateLookupTableParams;
440
+ static decodeExtendLookupTable(instruction: TransactionInstruction): ExtendLookupTableParams;
441
+ static decodeCloseLookupTable(instruction: TransactionInstruction): CloseLookupTableParams;
442
+ static decodeFreezeLookupTable(instruction: TransactionInstruction): FreezeLookupTableParams;
443
+ static decodeDeactivateLookupTable(instruction: TransactionInstruction): DeactivateLookupTableParams;
444
+ }
445
+ declare class AddressLookupTableProgram {
446
+ static programId: PublicKey;
447
+ static createLookupTable(params: CreateLookupTableParams): [TransactionInstruction, PublicKey];
448
+ static freezeLookupTable(params: FreezeLookupTableParams): TransactionInstruction;
449
+ static extendLookupTable(params: ExtendLookupTableParams): TransactionInstruction;
450
+ static deactivateLookupTable(params: DeactivateLookupTableParams): TransactionInstruction;
451
+ static closeLookupTable(params: CloseLookupTableParams): TransactionInstruction;
452
+ }
453
+
454
+ /**
455
+ * Compute Budget Instruction class
456
+ */
457
+ declare class ComputeBudgetInstruction {
458
+ /**
459
+ * Decode a compute budget instruction and retrieve the instruction type.
460
+ */
461
+ static decodeInstructionType(instruction: TransactionInstruction): ComputeBudgetInstructionType;
462
+ /**
463
+ * Decode request units compute budget instruction and retrieve the instruction params.
464
+ */
465
+ static decodeRequestUnits(instruction: TransactionInstruction): RequestUnitsParams;
466
+ /**
467
+ * Decode request heap frame compute budget instruction and retrieve the instruction params.
468
+ */
469
+ static decodeRequestHeapFrame(instruction: TransactionInstruction): RequestHeapFrameParams;
470
+ /**
471
+ * Decode set compute unit limit compute budget instruction and retrieve the instruction params.
472
+ */
473
+ static decodeSetComputeUnitLimit(instruction: TransactionInstruction): SetComputeUnitLimitParams;
474
+ /**
475
+ * Decode set compute unit price compute budget instruction and retrieve the instruction params.
476
+ */
477
+ static decodeSetComputeUnitPrice(instruction: TransactionInstruction): SetComputeUnitPriceParams;
478
+ }
479
+ /**
480
+ * An enumeration of valid ComputeBudgetInstructionType's
481
+ */
482
+ type ComputeBudgetInstructionType = 'RequestUnits' | 'RequestHeapFrame' | 'SetComputeUnitLimit' | 'SetComputeUnitPrice';
483
+ /**
484
+ * Request units instruction params
485
+ */
486
+ interface RequestUnitsParams {
487
+ /** Units to request for transaction-wide compute */
488
+ units: number;
489
+ /** Prioritization fee lamports */
490
+ additionalFee: number;
491
+ }
492
+ /**
493
+ * Request heap frame instruction params
494
+ */
495
+ type RequestHeapFrameParams = {
496
+ /** Requested transaction-wide program heap size in bytes. Must be multiple of 1024. Applies to each program, including CPIs. */
497
+ bytes: number;
498
+ };
499
+ /**
500
+ * Set compute unit limit instruction params
501
+ */
502
+ interface SetComputeUnitLimitParams {
503
+ /** Transaction-wide compute unit limit */
504
+ units: number;
505
+ }
506
+ /**
507
+ * Set compute unit price instruction params
508
+ */
509
+ interface SetComputeUnitPriceParams {
510
+ /** Transaction compute unit price used for prioritization fees */
511
+ microLamports: number | bigint;
512
+ }
513
+ /**
514
+ * Factory class for transaction instructions to interact with the Compute Budget program
515
+ */
516
+ declare class ComputeBudgetProgram {
517
+ /**
518
+ * Public key that identifies the Compute Budget program
519
+ */
520
+ static programId: PublicKey;
521
+ /**
522
+ * @deprecated Instead, call {@link setComputeUnitLimit} and/or {@link setComputeUnitPrice}
523
+ */
524
+ static requestUnits(params: RequestUnitsParams): TransactionInstruction;
525
+ static requestHeapFrame(params: RequestHeapFrameParams): TransactionInstruction;
526
+ static setComputeUnitLimit(params: SetComputeUnitLimitParams): TransactionInstruction;
527
+ static setComputeUnitPrice(params: SetComputeUnitPriceParams): TransactionInstruction;
528
+ }
529
+
530
+ /**
531
+ * Params for creating an ed25519 instruction using a public key
532
+ */
533
+ type CreateEd25519InstructionWithPublicKeyParams = {
534
+ publicKey: Uint8Array;
535
+ message: Uint8Array;
536
+ signature: Uint8Array;
537
+ instructionIndex?: number;
538
+ };
539
+ /**
540
+ * Params for creating an ed25519 instruction using a private key
541
+ */
542
+ type CreateEd25519InstructionWithPrivateKeyParams = {
543
+ privateKey: Uint8Array;
544
+ message: Uint8Array;
545
+ instructionIndex?: number;
546
+ };
547
+ declare class Ed25519Program {
548
+ /**
549
+ * Public key that identifies the ed25519 program
550
+ */
551
+ static programId: PublicKey;
552
+ /**
553
+ * Create an ed25519 instruction with a public key and signature. The
554
+ * public key must be a buffer that is 32 bytes long, and the signature
555
+ * must be a buffer of 64 bytes.
556
+ */
557
+ static createInstructionWithPublicKey(params: CreateEd25519InstructionWithPublicKeyParams): TransactionInstruction;
558
+ /**
559
+ * Create an ed25519 instruction with a private key. The private key
560
+ * must be a buffer that is 64 bytes long.
561
+ */
562
+ static createInstructionWithPrivateKey(params: CreateEd25519InstructionWithPrivateKeyParams): TransactionInstruction;
563
+ }
564
+
565
+ /**
566
+ * Params for creating an secp256k1 instruction using a public key
567
+ */
568
+ type CreateSecp256k1InstructionWithPublicKeyParams = {
569
+ publicKey: Buffer | Uint8Array | Array<number>;
570
+ message: Buffer | Uint8Array | Array<number>;
571
+ signature: Buffer | Uint8Array | Array<number>;
572
+ recoveryId: number;
573
+ instructionIndex?: number;
574
+ };
575
+ /**
576
+ * Params for creating an secp256k1 instruction using an Ethereum address
577
+ */
578
+ type CreateSecp256k1InstructionWithEthAddressParams = {
579
+ ethAddress: Buffer | Uint8Array | Array<number> | string;
580
+ message: Buffer | Uint8Array | Array<number>;
581
+ signature: Buffer | Uint8Array | Array<number>;
582
+ recoveryId: number;
583
+ instructionIndex?: number;
584
+ };
585
+ /**
586
+ * Params for creating an secp256k1 instruction using a private key
587
+ */
588
+ type CreateSecp256k1InstructionWithPrivateKeyParams = {
589
+ privateKey: Buffer | Uint8Array | Array<number>;
590
+ message: Buffer | Uint8Array | Array<number>;
591
+ instructionIndex?: number;
592
+ };
593
+ declare class Secp256k1Program {
594
+ /**
595
+ * Public key that identifies the secp256k1 program
596
+ */
597
+ static programId: PublicKey;
598
+ /**
599
+ * Construct an Ethereum address from a secp256k1 public key buffer.
600
+ * @param {Buffer} publicKey a 64 byte secp256k1 public key buffer
601
+ */
602
+ static publicKeyToEthAddress(publicKey: Buffer | Uint8Array | Array<number>): Buffer;
603
+ /**
604
+ * Create an secp256k1 instruction with a public key. The public key
605
+ * must be a buffer that is 64 bytes long.
606
+ */
607
+ static createInstructionWithPublicKey(params: CreateSecp256k1InstructionWithPublicKeyParams): TransactionInstruction;
608
+ /**
609
+ * Create an secp256k1 instruction with an Ethereum address. The address
610
+ * must be a hex string or a buffer that is 20 bytes long.
611
+ */
612
+ static createInstructionWithEthAddress(params: CreateSecp256k1InstructionWithEthAddressParams): TransactionInstruction;
613
+ /**
614
+ * Create an secp256k1 instruction with a private key. The private key
615
+ * must be a buffer that is 32 bytes long.
616
+ */
617
+ static createInstructionWithPrivateKey(params: CreateSecp256k1InstructionWithPrivateKeyParams): TransactionInstruction;
618
+ }
619
+
620
+ /**
621
+ * Address of the stake config account which configures the rate
622
+ * of stake warmup and cooldown as well as the slashing penalty.
623
+ */
624
+ declare const STAKE_CONFIG_ID: PublicKey;
625
+ /**
626
+ * Stake account authority info
627
+ */
628
+ declare class Authorized {
629
+ /** stake authority */
630
+ staker: PublicKey;
631
+ /** withdraw authority */
632
+ withdrawer: PublicKey;
633
+ /**
634
+ * Create a new Authorized object
635
+ * @param staker the stake authority
636
+ * @param withdrawer the withdraw authority
637
+ */
638
+ constructor(staker: PublicKey, withdrawer: PublicKey);
639
+ }
640
+ /**
641
+ * Stake account lockup info
642
+ */
643
+ declare class Lockup {
644
+ /** Unix timestamp of lockup expiration */
645
+ unixTimestamp: number;
646
+ /** Epoch of lockup expiration */
647
+ epoch: number;
648
+ /** Lockup custodian authority */
649
+ custodian: PublicKey;
650
+ /**
651
+ * Create a new Lockup object
652
+ */
653
+ constructor(unixTimestamp: number, epoch: number, custodian: PublicKey);
654
+ /**
655
+ * Default, inactive Lockup value
656
+ */
657
+ static default: Lockup;
658
+ }
659
+ /**
660
+ * Create stake account transaction params
661
+ */
662
+ type CreateStakeAccountParams = {
663
+ /** Address of the account which will fund creation */
664
+ fromPubkey: PublicKey;
665
+ /** Address of the new stake account */
666
+ stakePubkey: PublicKey;
667
+ /** Authorities of the new stake account */
668
+ authorized: Authorized;
669
+ /** Lockup of the new stake account */
670
+ lockup?: Lockup;
671
+ /** Funding amount */
672
+ lamports: number;
673
+ };
674
+ /**
675
+ * Create stake account with seed transaction params
676
+ */
677
+ type CreateStakeAccountWithSeedParams = {
678
+ fromPubkey: PublicKey;
679
+ stakePubkey: PublicKey;
680
+ basePubkey: PublicKey;
681
+ seed: string;
682
+ authorized: Authorized;
683
+ lockup?: Lockup;
684
+ lamports: number;
685
+ };
686
+ /**
687
+ * Initialize stake instruction params
688
+ */
689
+ type InitializeStakeParams = {
690
+ stakePubkey: PublicKey;
691
+ authorized: Authorized;
692
+ lockup?: Lockup;
693
+ };
694
+ /**
695
+ * Delegate stake instruction params
696
+ */
697
+ type DelegateStakeParams = {
698
+ stakePubkey: PublicKey;
699
+ authorizedPubkey: PublicKey;
700
+ votePubkey: PublicKey;
701
+ };
702
+ /**
703
+ * Authorize stake instruction params
704
+ */
705
+ type AuthorizeStakeParams = {
706
+ stakePubkey: PublicKey;
707
+ authorizedPubkey: PublicKey;
708
+ newAuthorizedPubkey: PublicKey;
709
+ stakeAuthorizationType: StakeAuthorizationType;
710
+ custodianPubkey?: PublicKey;
711
+ };
712
+ /**
713
+ * Authorize stake instruction params using a derived key
714
+ */
715
+ type AuthorizeWithSeedStakeParams = {
716
+ stakePubkey: PublicKey;
717
+ authorityBase: PublicKey;
718
+ authoritySeed: string;
719
+ authorityOwner: PublicKey;
720
+ newAuthorizedPubkey: PublicKey;
721
+ stakeAuthorizationType: StakeAuthorizationType;
722
+ custodianPubkey?: PublicKey;
723
+ };
724
+ /**
725
+ * Split stake instruction params
726
+ */
727
+ type SplitStakeParams = {
728
+ stakePubkey: PublicKey;
729
+ authorizedPubkey: PublicKey;
730
+ splitStakePubkey: PublicKey;
731
+ lamports: number;
732
+ };
733
+ /**
734
+ * Split with seed transaction params
735
+ */
736
+ type SplitStakeWithSeedParams = {
737
+ stakePubkey: PublicKey;
738
+ authorizedPubkey: PublicKey;
739
+ splitStakePubkey: PublicKey;
740
+ basePubkey: PublicKey;
741
+ seed: string;
742
+ lamports: number;
743
+ };
744
+ /**
745
+ * Withdraw stake instruction params
746
+ */
747
+ type WithdrawStakeParams = {
748
+ stakePubkey: PublicKey;
749
+ authorizedPubkey: PublicKey;
750
+ toPubkey: PublicKey;
751
+ lamports: number;
752
+ custodianPubkey?: PublicKey;
753
+ };
754
+ /**
755
+ * Deactivate stake instruction params
756
+ */
757
+ type DeactivateStakeParams = {
758
+ stakePubkey: PublicKey;
759
+ authorizedPubkey: PublicKey;
760
+ };
761
+ /**
762
+ * Merge stake instruction params
763
+ */
764
+ type MergeStakeParams = {
765
+ stakePubkey: PublicKey;
766
+ sourceStakePubKey: PublicKey;
767
+ authorizedPubkey: PublicKey;
768
+ };
769
+ /**
770
+ * Stake Instruction class
771
+ */
772
+ declare class StakeInstruction {
773
+ /**
774
+ * Decode a stake instruction and retrieve the instruction type.
775
+ */
776
+ static decodeInstructionType(instruction: TransactionInstruction): StakeInstructionType;
777
+ /**
778
+ * Decode a initialize stake instruction and retrieve the instruction params.
779
+ */
780
+ static decodeInitialize(instruction: TransactionInstruction): InitializeStakeParams;
781
+ /**
782
+ * Decode a delegate stake instruction and retrieve the instruction params.
783
+ */
784
+ static decodeDelegate(instruction: TransactionInstruction): DelegateStakeParams;
785
+ /**
786
+ * Decode an authorize stake instruction and retrieve the instruction params.
787
+ */
788
+ static decodeAuthorize(instruction: TransactionInstruction): AuthorizeStakeParams;
789
+ /**
790
+ * Decode an authorize-with-seed stake instruction and retrieve the instruction params.
791
+ */
792
+ static decodeAuthorizeWithSeed(instruction: TransactionInstruction): AuthorizeWithSeedStakeParams;
793
+ /**
794
+ * Decode a split stake instruction and retrieve the instruction params.
795
+ */
796
+ static decodeSplit(instruction: TransactionInstruction): SplitStakeParams;
797
+ /**
798
+ * Decode a merge stake instruction and retrieve the instruction params.
799
+ */
800
+ static decodeMerge(instruction: TransactionInstruction): MergeStakeParams;
801
+ /**
802
+ * Decode a withdraw stake instruction and retrieve the instruction params.
803
+ */
804
+ static decodeWithdraw(instruction: TransactionInstruction): WithdrawStakeParams;
805
+ /**
806
+ * Decode a deactivate stake instruction and retrieve the instruction params.
807
+ */
808
+ static decodeDeactivate(instruction: TransactionInstruction): DeactivateStakeParams;
809
+ }
810
+ /**
811
+ * An enumeration of valid StakeInstructionType's
812
+ */
813
+ type StakeInstructionType = 'Authorize' | 'AuthorizeWithSeed' | 'Deactivate' | 'Delegate' | 'Initialize' | 'Merge' | 'Split' | 'Withdraw';
814
+ /**
815
+ * Stake authorization type
816
+ */
817
+ type StakeAuthorizationType = {
818
+ /** The Stake Authorization index (from solana-stake-program) */
819
+ index: number;
820
+ };
821
+ /**
822
+ * An enumeration of valid StakeAuthorizationLayout's
823
+ */
824
+ declare const StakeAuthorizationLayout: Readonly<{
825
+ Staker: {
826
+ index: number;
827
+ };
828
+ Withdrawer: {
829
+ index: number;
830
+ };
831
+ }>;
832
+ /**
833
+ * Factory class for transactions to interact with the Stake program
834
+ */
835
+ declare class StakeProgram {
836
+ /**
837
+ * Public key that identifies the Stake program
838
+ */
839
+ static programId: PublicKey;
840
+ /**
841
+ * Max space of a Stake account
842
+ *
843
+ * This is generated from the solana-stake-program StakeState struct as
844
+ * `StakeStateV2::size_of()`:
845
+ * https://docs.rs/solana-stake-program/latest/solana_stake_program/stake_state/enum.StakeStateV2.html
846
+ */
847
+ static space: number;
848
+ /**
849
+ * Generate an Initialize instruction to add to a Stake Create transaction
850
+ */
851
+ static initialize(params: InitializeStakeParams): TransactionInstruction;
852
+ /**
853
+ * Generate a Transaction that creates a new Stake account at
854
+ * an address generated with `from`, a seed, and the Stake programId
855
+ */
856
+ static createAccountWithSeed(params: CreateStakeAccountWithSeedParams): Transaction;
857
+ /**
858
+ * Generate a Transaction that creates a new Stake account
859
+ */
860
+ static createAccount(params: CreateStakeAccountParams): Transaction;
861
+ /**
862
+ * Generate a Transaction that delegates Stake tokens to a validator
863
+ * Vote PublicKey. This transaction can also be used to redelegate Stake
864
+ * to a new validator Vote PublicKey.
865
+ */
866
+ static delegate(params: DelegateStakeParams): Transaction;
867
+ /**
868
+ * Generate a Transaction that authorizes a new PublicKey as Staker
869
+ * or Withdrawer on the Stake account.
870
+ */
871
+ static authorize(params: AuthorizeStakeParams): Transaction;
872
+ /**
873
+ * Generate a Transaction that authorizes a new PublicKey as Staker
874
+ * or Withdrawer on the Stake account.
875
+ */
876
+ static authorizeWithSeed(params: AuthorizeWithSeedStakeParams): Transaction;
877
+ /**
878
+ * Generate a Transaction that splits Stake tokens into another stake account
879
+ */
880
+ static split(params: SplitStakeParams, rentExemptReserve: number): Transaction;
881
+ /**
882
+ * Generate a Transaction that splits Stake tokens into another account
883
+ * derived from a base public key and seed
884
+ */
885
+ static splitWithSeed(params: SplitStakeWithSeedParams, rentExemptReserve?: number): Transaction;
886
+ /**
887
+ * Generate a Transaction that merges Stake accounts.
888
+ */
889
+ static merge(params: MergeStakeParams): Transaction;
890
+ /**
891
+ * Generate a Transaction that withdraws deactivated Stake tokens.
892
+ */
893
+ static withdraw(params: WithdrawStakeParams): Transaction;
894
+ /**
895
+ * Generate a Transaction that deactivates Stake tokens.
896
+ */
897
+ static deactivate(params: DeactivateStakeParams): Transaction;
898
+ }
899
+
900
+ /**
901
+ * Create account system transaction params
902
+ */
903
+ type CreateAccountParams = {
904
+ /** The account that will transfer lamports to the created account */
905
+ fromPubkey: PublicKey;
906
+ /** Public key of the created account */
907
+ newAccountPubkey: PublicKey;
908
+ /** Amount of lamports to transfer to the created account */
909
+ lamports: number;
910
+ /** Amount of space in bytes to allocate to the created account */
911
+ space: number;
912
+ /** Public key of the program to assign as the owner of the created account */
913
+ programId: PublicKey;
914
+ };
915
+ /**
916
+ * Transfer system transaction params
917
+ */
918
+ type TransferParams = {
919
+ /** Account that will transfer lamports */
920
+ fromPubkey: PublicKey;
921
+ /** Account that will receive transferred lamports */
922
+ toPubkey: PublicKey;
923
+ /** Amount of lamports to transfer */
924
+ lamports: number | bigint;
925
+ };
926
+ /**
927
+ * Assign system transaction params
928
+ */
929
+ type AssignParams = {
930
+ /** Public key of the account which will be assigned a new owner */
931
+ accountPubkey: PublicKey;
932
+ /** Public key of the program to assign as the owner */
933
+ programId: PublicKey;
934
+ };
935
+ /**
936
+ * Create account with seed system transaction params
937
+ */
938
+ type CreateAccountWithSeedParams = {
939
+ /** The account that will transfer lamports to the created account */
940
+ fromPubkey: PublicKey;
941
+ /** Public key of the created account. Must be pre-calculated with PublicKey.createWithSeed() */
942
+ newAccountPubkey: PublicKey;
943
+ /** Base public key to use to derive the address of the created account. Must be the same as the base key used to create `newAccountPubkey` */
944
+ basePubkey: PublicKey;
945
+ /** Seed to use to derive the address of the created account. Must be the same as the seed used to create `newAccountPubkey` */
946
+ seed: string;
947
+ /** Amount of lamports to transfer to the created account */
948
+ lamports: number;
949
+ /** Amount of space in bytes to allocate to the created account */
950
+ space: number;
951
+ /** Public key of the program to assign as the owner of the created account */
952
+ programId: PublicKey;
953
+ };
954
+ /**
955
+ * Create nonce account system transaction params
956
+ */
957
+ type CreateNonceAccountParams = {
958
+ /** The account that will transfer lamports to the created nonce account */
959
+ fromPubkey: PublicKey;
960
+ /** Public key of the created nonce account */
961
+ noncePubkey: PublicKey;
962
+ /** Public key to set as authority of the created nonce account */
963
+ authorizedPubkey: PublicKey;
964
+ /** Amount of lamports to transfer to the created nonce account */
965
+ lamports: number;
966
+ };
967
+ /**
968
+ * Create nonce account with seed system transaction params
969
+ */
970
+ type CreateNonceAccountWithSeedParams = {
971
+ /** The account that will transfer lamports to the created nonce account */
972
+ fromPubkey: PublicKey;
973
+ /** Public key of the created nonce account */
974
+ noncePubkey: PublicKey;
975
+ /** Public key to set as authority of the created nonce account */
976
+ authorizedPubkey: PublicKey;
977
+ /** Amount of lamports to transfer to the created nonce account */
978
+ lamports: number;
979
+ /** Base public key to use to derive the address of the nonce account */
980
+ basePubkey: PublicKey;
981
+ /** Seed to use to derive the address of the nonce account */
982
+ seed: string;
983
+ };
984
+ /**
985
+ * Initialize nonce account system instruction params
986
+ */
987
+ type InitializeNonceParams = {
988
+ /** Nonce account which will be initialized */
989
+ noncePubkey: PublicKey;
990
+ /** Public key to set as authority of the initialized nonce account */
991
+ authorizedPubkey: PublicKey;
992
+ };
993
+ /**
994
+ * Advance nonce account system instruction params
995
+ */
996
+ type AdvanceNonceParams = {
997
+ /** Nonce account */
998
+ noncePubkey: PublicKey;
999
+ /** Public key of the nonce authority */
1000
+ authorizedPubkey: PublicKey;
1001
+ };
1002
+ /**
1003
+ * Withdraw nonce account system transaction params
1004
+ */
1005
+ type WithdrawNonceParams = {
1006
+ /** Nonce account */
1007
+ noncePubkey: PublicKey;
1008
+ /** Public key of the nonce authority */
1009
+ authorizedPubkey: PublicKey;
1010
+ /** Public key of the account which will receive the withdrawn nonce account balance */
1011
+ toPubkey: PublicKey;
1012
+ /** Amount of lamports to withdraw from the nonce account */
1013
+ lamports: number;
1014
+ };
1015
+ /**
1016
+ * Authorize nonce account system transaction params
1017
+ */
1018
+ type AuthorizeNonceParams = {
1019
+ /** Nonce account */
1020
+ noncePubkey: PublicKey;
1021
+ /** Public key of the current nonce authority */
1022
+ authorizedPubkey: PublicKey;
1023
+ /** Public key to set as the new nonce authority */
1024
+ newAuthorizedPubkey: PublicKey;
1025
+ };
1026
+ /**
1027
+ * Allocate account system transaction params
1028
+ */
1029
+ type AllocateParams = {
1030
+ /** Account to allocate */
1031
+ accountPubkey: PublicKey;
1032
+ /** Amount of space in bytes to allocate */
1033
+ space: number;
1034
+ };
1035
+ /**
1036
+ * Allocate account with seed system transaction params
1037
+ */
1038
+ type AllocateWithSeedParams = {
1039
+ /** Account to allocate */
1040
+ accountPubkey: PublicKey;
1041
+ /** Base public key to use to derive the address of the allocated account */
1042
+ basePubkey: PublicKey;
1043
+ /** Seed to use to derive the address of the allocated account */
1044
+ seed: string;
1045
+ /** Amount of space in bytes to allocate */
1046
+ space: number;
1047
+ /** Public key of the program to assign as the owner of the allocated account */
1048
+ programId: PublicKey;
1049
+ };
1050
+ /**
1051
+ * Assign account with seed system transaction params
1052
+ */
1053
+ type AssignWithSeedParams = {
1054
+ /** Public key of the account which will be assigned a new owner */
1055
+ accountPubkey: PublicKey;
1056
+ /** Base public key to use to derive the address of the assigned account */
1057
+ basePubkey: PublicKey;
1058
+ /** Seed to use to derive the address of the assigned account */
1059
+ seed: string;
1060
+ /** Public key of the program to assign as the owner */
1061
+ programId: PublicKey;
1062
+ };
1063
+ /**
1064
+ * Transfer with seed system transaction params
1065
+ */
1066
+ type TransferWithSeedParams = {
1067
+ /** Account that will transfer lamports */
1068
+ fromPubkey: PublicKey;
1069
+ /** Base public key to use to derive the funding account address */
1070
+ basePubkey: PublicKey;
1071
+ /** Account that will receive transferred lamports */
1072
+ toPubkey: PublicKey;
1073
+ /** Amount of lamports to transfer */
1074
+ lamports: number | bigint;
1075
+ /** Seed to use to derive the funding account address */
1076
+ seed: string;
1077
+ /** Program id to use to derive the funding account address */
1078
+ programId: PublicKey;
1079
+ };
1080
+ /** Decoded transfer system transaction instruction */
1081
+ type DecodedTransferInstruction = {
1082
+ /** Account that will transfer lamports */
1083
+ fromPubkey: PublicKey;
1084
+ /** Account that will receive transferred lamports */
1085
+ toPubkey: PublicKey;
1086
+ /** Amount of lamports to transfer */
1087
+ lamports: bigint;
1088
+ };
1089
+ /** Decoded transferWithSeed system transaction instruction */
1090
+ type DecodedTransferWithSeedInstruction = {
1091
+ /** Account that will transfer lamports */
1092
+ fromPubkey: PublicKey;
1093
+ /** Base public key to use to derive the funding account address */
1094
+ basePubkey: PublicKey;
1095
+ /** Account that will receive transferred lamports */
1096
+ toPubkey: PublicKey;
1097
+ /** Amount of lamports to transfer */
1098
+ lamports: bigint;
1099
+ /** Seed to use to derive the funding account address */
1100
+ seed: string;
1101
+ /** Program id to use to derive the funding account address */
1102
+ programId: PublicKey;
1103
+ };
1104
+ /**
1105
+ * System Instruction class
1106
+ */
1107
+ declare class SystemInstruction {
1108
+ /**
1109
+ * Decode a system instruction and retrieve the instruction type.
1110
+ */
1111
+ static decodeInstructionType(instruction: TransactionInstruction): SystemInstructionType;
1112
+ /**
1113
+ * Decode a create account system instruction and retrieve the instruction params.
1114
+ */
1115
+ static decodeCreateAccount(instruction: TransactionInstruction): CreateAccountParams;
1116
+ /**
1117
+ * Decode a transfer system instruction and retrieve the instruction params.
1118
+ */
1119
+ static decodeTransfer(instruction: TransactionInstruction): DecodedTransferInstruction;
1120
+ /**
1121
+ * Decode a transfer with seed system instruction and retrieve the instruction params.
1122
+ */
1123
+ static decodeTransferWithSeed(instruction: TransactionInstruction): DecodedTransferWithSeedInstruction;
1124
+ /**
1125
+ * Decode an allocate system instruction and retrieve the instruction params.
1126
+ */
1127
+ static decodeAllocate(instruction: TransactionInstruction): AllocateParams;
1128
+ /**
1129
+ * Decode an allocate with seed system instruction and retrieve the instruction params.
1130
+ */
1131
+ static decodeAllocateWithSeed(instruction: TransactionInstruction): AllocateWithSeedParams;
1132
+ /**
1133
+ * Decode an assign system instruction and retrieve the instruction params.
1134
+ */
1135
+ static decodeAssign(instruction: TransactionInstruction): AssignParams;
1136
+ /**
1137
+ * Decode an assign with seed system instruction and retrieve the instruction params.
1138
+ */
1139
+ static decodeAssignWithSeed(instruction: TransactionInstruction): AssignWithSeedParams;
1140
+ /**
1141
+ * Decode a create account with seed system instruction and retrieve the instruction params.
1142
+ */
1143
+ static decodeCreateWithSeed(instruction: TransactionInstruction): CreateAccountWithSeedParams;
1144
+ /**
1145
+ * Decode a nonce initialize system instruction and retrieve the instruction params.
1146
+ */
1147
+ static decodeNonceInitialize(instruction: TransactionInstruction): InitializeNonceParams;
1148
+ /**
1149
+ * Decode a nonce advance system instruction and retrieve the instruction params.
1150
+ */
1151
+ static decodeNonceAdvance(instruction: TransactionInstruction): AdvanceNonceParams;
1152
+ /**
1153
+ * Decode a nonce withdraw system instruction and retrieve the instruction params.
1154
+ */
1155
+ static decodeNonceWithdraw(instruction: TransactionInstruction): WithdrawNonceParams;
1156
+ /**
1157
+ * Decode a nonce authorize system instruction and retrieve the instruction params.
1158
+ */
1159
+ static decodeNonceAuthorize(instruction: TransactionInstruction): AuthorizeNonceParams;
1160
+ }
1161
+ /**
1162
+ * An enumeration of valid SystemInstructionType's
1163
+ */
1164
+ type SystemInstructionType = 'AdvanceNonceAccount' | 'Allocate' | 'AllocateWithSeed' | 'Assign' | 'AssignWithSeed' | 'AuthorizeNonceAccount' | 'Create' | 'CreateWithSeed' | 'InitializeNonceAccount' | 'Transfer' | 'TransferWithSeed' | 'WithdrawNonceAccount' | 'UpgradeNonceAccount';
1165
+ /**
1166
+ * Factory class for transactions to interact with the System program
1167
+ */
1168
+ declare class SystemProgram {
1169
+ /**
1170
+ * Public key that identifies the System program
1171
+ */
1172
+ static programId: PublicKey;
1173
+ /**
1174
+ * Generate a transaction instruction that creates a new account
1175
+ */
1176
+ static createAccount(params: CreateAccountParams): TransactionInstruction;
1177
+ /**
1178
+ * Generate a transaction instruction that transfers lamports from one account to another
1179
+ */
1180
+ static transfer(params: TransferParams | TransferWithSeedParams): TransactionInstruction;
1181
+ /**
1182
+ * Generate a transaction instruction that assigns an account to a program
1183
+ */
1184
+ static assign(params: AssignParams | AssignWithSeedParams): TransactionInstruction;
1185
+ /**
1186
+ * Generate a transaction instruction that creates a new account at
1187
+ * an address generated with `from`, a seed, and programId
1188
+ */
1189
+ static createAccountWithSeed(params: CreateAccountWithSeedParams): TransactionInstruction;
1190
+ /**
1191
+ * Generate a transaction that creates a new Nonce account
1192
+ */
1193
+ static createNonceAccount(params: CreateNonceAccountParams | CreateNonceAccountWithSeedParams): Transaction;
1194
+ /**
1195
+ * Generate an instruction to initialize a Nonce account
1196
+ */
1197
+ static nonceInitialize(params: InitializeNonceParams): TransactionInstruction;
1198
+ /**
1199
+ * Generate an instruction to advance the nonce in a Nonce account
1200
+ */
1201
+ static nonceAdvance(params: AdvanceNonceParams): TransactionInstruction;
1202
+ /**
1203
+ * Generate a transaction instruction that withdraws lamports from a Nonce account
1204
+ */
1205
+ static nonceWithdraw(params: WithdrawNonceParams): TransactionInstruction;
1206
+ /**
1207
+ * Generate a transaction instruction that authorizes a new PublicKey as the authority
1208
+ * on a Nonce account.
1209
+ */
1210
+ static nonceAuthorize(params: AuthorizeNonceParams): TransactionInstruction;
1211
+ /**
1212
+ * Generate a transaction instruction that allocates space in an account without funding
1213
+ */
1214
+ static allocate(params: AllocateParams | AllocateWithSeedParams): TransactionInstruction;
1215
+ }
1216
+
1217
+ /**
1218
+ * Vote account info
1219
+ */
1220
+ declare class VoteInit {
1221
+ nodePubkey: PublicKey;
1222
+ authorizedVoter: PublicKey;
1223
+ authorizedWithdrawer: PublicKey;
1224
+ commission: number; /** [0, 100] */
1225
+ constructor(nodePubkey: PublicKey, authorizedVoter: PublicKey, authorizedWithdrawer: PublicKey, commission: number);
1226
+ }
1227
+ /**
1228
+ * Create vote account transaction params
1229
+ */
1230
+ type CreateVoteAccountParams = {
1231
+ fromPubkey: PublicKey;
1232
+ votePubkey: PublicKey;
1233
+ voteInit: VoteInit;
1234
+ lamports: number;
1235
+ };
1236
+ /**
1237
+ * InitializeAccount instruction params
1238
+ */
1239
+ type InitializeAccountParams = {
1240
+ votePubkey: PublicKey;
1241
+ nodePubkey: PublicKey;
1242
+ voteInit: VoteInit;
1243
+ };
1244
+ /**
1245
+ * Authorize instruction params
1246
+ */
1247
+ type AuthorizeVoteParams = {
1248
+ votePubkey: PublicKey;
1249
+ /** Current vote or withdraw authority, depending on `voteAuthorizationType` */
1250
+ authorizedPubkey: PublicKey;
1251
+ newAuthorizedPubkey: PublicKey;
1252
+ voteAuthorizationType: VoteAuthorizationType;
1253
+ };
1254
+ /**
1255
+ * AuthorizeWithSeed instruction params
1256
+ */
1257
+ type AuthorizeVoteWithSeedParams = {
1258
+ currentAuthorityDerivedKeyBasePubkey: PublicKey;
1259
+ currentAuthorityDerivedKeyOwnerPubkey: PublicKey;
1260
+ currentAuthorityDerivedKeySeed: string;
1261
+ newAuthorizedPubkey: PublicKey;
1262
+ voteAuthorizationType: VoteAuthorizationType;
1263
+ votePubkey: PublicKey;
1264
+ };
1265
+ /**
1266
+ * Withdraw from vote account transaction params
1267
+ */
1268
+ type WithdrawFromVoteAccountParams = {
1269
+ votePubkey: PublicKey;
1270
+ authorizedWithdrawerPubkey: PublicKey;
1271
+ lamports: number;
1272
+ toPubkey: PublicKey;
1273
+ };
1274
+ /**
1275
+ * Update validator identity (node pubkey) vote account instruction params.
1276
+ */
1277
+ type UpdateValidatorIdentityParams = {
1278
+ votePubkey: PublicKey;
1279
+ authorizedWithdrawerPubkey: PublicKey;
1280
+ nodePubkey: PublicKey;
1281
+ };
1282
+ /**
1283
+ * Vote Instruction class
1284
+ */
1285
+ declare class VoteInstruction {
1286
+ /**
1287
+ * Decode a vote instruction and retrieve the instruction type.
1288
+ */
1289
+ static decodeInstructionType(instruction: TransactionInstruction): VoteInstructionType;
1290
+ /**
1291
+ * Decode an initialize vote instruction and retrieve the instruction params.
1292
+ */
1293
+ static decodeInitializeAccount(instruction: TransactionInstruction): InitializeAccountParams;
1294
+ /**
1295
+ * Decode an authorize instruction and retrieve the instruction params.
1296
+ */
1297
+ static decodeAuthorize(instruction: TransactionInstruction): AuthorizeVoteParams;
1298
+ /**
1299
+ * Decode an authorize instruction and retrieve the instruction params.
1300
+ */
1301
+ static decodeAuthorizeWithSeed(instruction: TransactionInstruction): AuthorizeVoteWithSeedParams;
1302
+ /**
1303
+ * Decode a withdraw instruction and retrieve the instruction params.
1304
+ */
1305
+ static decodeWithdraw(instruction: TransactionInstruction): WithdrawFromVoteAccountParams;
1306
+ }
1307
+ /**
1308
+ * An enumeration of valid VoteInstructionType's
1309
+ */
1310
+ type VoteInstructionType = 'Authorize' | 'AuthorizeWithSeed' | 'InitializeAccount' | 'Withdraw' | 'UpdateValidatorIdentity';
1311
+ /**
1312
+ * VoteAuthorize type
1313
+ */
1314
+ type VoteAuthorizationType = {
1315
+ /** The VoteAuthorize index (from solana-vote-program) */
1316
+ index: number;
1317
+ };
1318
+ /**
1319
+ * An enumeration of valid VoteAuthorization layouts.
1320
+ */
1321
+ declare const VoteAuthorizationLayout: Readonly<{
1322
+ Voter: {
1323
+ index: number;
1324
+ };
1325
+ Withdrawer: {
1326
+ index: number;
1327
+ };
1328
+ }>;
1329
+ /**
1330
+ * Factory class for transactions to interact with the Vote program
1331
+ */
1332
+ declare class VoteProgram {
1333
+ /**
1334
+ * Public key that identifies the Vote program
1335
+ */
1336
+ static programId: PublicKey;
1337
+ /**
1338
+ * Max space of a Vote account
1339
+ *
1340
+ * This is generated from the solana-vote-program VoteState struct as
1341
+ * `VoteState::size_of()`:
1342
+ * https://docs.rs/solana-vote-program/1.9.5/solana_vote_program/vote_state/struct.VoteState.html#method.size_of
1343
+ *
1344
+ * KEEP IN SYNC WITH `VoteState::size_of()` in https://github.com/solana-labs/solana/blob/a474cb24b9238f5edcc982f65c0b37d4a1046f7e/sdk/program/src/vote/state/mod.rs#L340-L342
1345
+ */
1346
+ static space: number;
1347
+ /**
1348
+ * Generate an Initialize instruction.
1349
+ */
1350
+ static initializeAccount(params: InitializeAccountParams): TransactionInstruction;
1351
+ /**
1352
+ * Generate a transaction that creates a new Vote account.
1353
+ */
1354
+ static createAccount(params: CreateVoteAccountParams): Transaction;
1355
+ /**
1356
+ * Generate a transaction that authorizes a new Voter or Withdrawer on the Vote account.
1357
+ */
1358
+ static authorize(params: AuthorizeVoteParams): Transaction;
1359
+ /**
1360
+ * Generate a transaction that authorizes a new Voter or Withdrawer on the Vote account
1361
+ * where the current Voter or Withdrawer authority is a derived key.
1362
+ */
1363
+ static authorizeWithSeed(params: AuthorizeVoteWithSeedParams): Transaction;
1364
+ /**
1365
+ * Generate a transaction to withdraw from a Vote account.
1366
+ */
1367
+ static withdraw(params: WithdrawFromVoteAccountParams): Transaction;
1368
+ /**
1369
+ * Generate a transaction to withdraw safely from a Vote account.
1370
+ *
1371
+ * This function was created as a safeguard for vote accounts running validators, `safeWithdraw`
1372
+ * checks that the withdraw amount will not exceed the specified balance while leaving enough left
1373
+ * to cover rent. If you wish to close the vote account by withdrawing the full amount, call the
1374
+ * `withdraw` method directly.
1375
+ */
1376
+ static safeWithdraw(params: WithdrawFromVoteAccountParams, currentVoteAccountBalance: number, rentExemptMinimum: number): Transaction;
1377
+ /**
1378
+ * Generate a transaction to update the validator identity (node pubkey) of a Vote account.
1379
+ */
1380
+ static updateValidatorIdentity(params: UpdateValidatorIdentityParams): Transaction;
1381
+ }
1382
+
1383
+ /**
1384
+ * Message constructor arguments
1385
+ */
1386
+ type MessageV0Args = {
1387
+ /** The message header, identifying signed and read-only `accountKeys` */
1388
+ header: MessageHeader;
1389
+ /** The static account keys used by this transaction */
1390
+ staticAccountKeys: PublicKey[];
1391
+ /** The hash of a recent ledger block */
1392
+ recentBlockhash: Blockhash;
1393
+ /** Instructions that will be executed in sequence and committed in one atomic transaction if all succeed. */
1394
+ compiledInstructions: MessageCompiledInstruction[];
1395
+ /** Instructions that will be executed in sequence and committed in one atomic transaction if all succeed. */
1396
+ addressTableLookups: MessageAddressTableLookup[];
1397
+ };
1398
+ type CompileV0Args = {
1399
+ payerKey: PublicKey;
1400
+ instructions: Array<TransactionInstruction>;
1401
+ recentBlockhash: Blockhash;
1402
+ addressLookupTableAccounts?: Array<AddressLookupTableAccount>;
1403
+ };
1404
+ type GetAccountKeysArgs = {
1405
+ accountKeysFromLookups?: AccountKeysFromLookups | null;
1406
+ } | {
1407
+ addressLookupTableAccounts?: AddressLookupTableAccount[] | null;
1408
+ };
1409
+ declare class MessageV0 {
1410
+ header: MessageHeader;
1411
+ staticAccountKeys: Array<PublicKey>;
1412
+ recentBlockhash: Blockhash;
1413
+ compiledInstructions: Array<MessageCompiledInstruction>;
1414
+ addressTableLookups: Array<MessageAddressTableLookup>;
1415
+ constructor(args: MessageV0Args);
1416
+ get version(): 0;
1417
+ get numAccountKeysFromLookups(): number;
1418
+ getAccountKeys(args?: GetAccountKeysArgs): MessageAccountKeys;
1419
+ isAccountSigner(index: number): boolean;
1420
+ isAccountWritable(index: number): boolean;
1421
+ resolveAddressTableLookups(addressLookupTableAccounts: AddressLookupTableAccount[]): AccountKeysFromLookups;
1422
+ static compile(args: CompileV0Args): MessageV0;
1423
+ serialize(): Uint8Array;
1424
+ private serializeInstructions;
1425
+ private serializeAddressTableLookups;
1426
+ static deserialize(serializedMessage: Uint8Array): MessageV0;
1427
+ }
1428
+
1429
+ type VersionedMessage = Message | MessageV0;
1430
+ declare const VersionedMessage: {
1431
+ deserializeMessageVersion(serializedMessage: Uint8Array): "legacy" | number;
1432
+ deserialize: (serializedMessage: Uint8Array) => VersionedMessage;
1433
+ };
1434
+
1435
+ /**
1436
+ * The message header, identifying signed and read-only account
1437
+ */
1438
+ type MessageHeader = {
1439
+ /**
1440
+ * The number of signatures required for this message to be considered valid. The
1441
+ * signatures must match the first `numRequiredSignatures` of `accountKeys`.
1442
+ */
1443
+ numRequiredSignatures: number;
1444
+ /** The last `numReadonlySignedAccounts` of the signed keys are read-only accounts */
1445
+ numReadonlySignedAccounts: number;
1446
+ /** The last `numReadonlySignedAccounts` of the unsigned keys are read-only accounts */
1447
+ numReadonlyUnsignedAccounts: number;
1448
+ };
1449
+ /**
1450
+ * An address table lookup used to load additional accounts
1451
+ */
1452
+ type MessageAddressTableLookup = {
1453
+ accountKey: PublicKey;
1454
+ writableIndexes: Array<number>;
1455
+ readonlyIndexes: Array<number>;
1456
+ };
1457
+ /**
1458
+ * An instruction to execute by a program
1459
+ *
1460
+ * @property {number} programIdIndex
1461
+ * @property {number[]} accountKeyIndexes
1462
+ * @property {Uint8Array} data
1463
+ */
1464
+ type MessageCompiledInstruction = {
1465
+ /** Index into the transaction keys array indicating the program account that executes this instruction */
1466
+ programIdIndex: number;
1467
+ /** Ordered indices into the transaction keys array indicating which accounts to pass to the program */
1468
+ accountKeyIndexes: number[];
1469
+ /** The program input data */
1470
+ data: Uint8Array;
1471
+ };
1472
+
1473
+ /**
1474
+ * Transaction signature as base-58 encoded string
1475
+ */
1476
+ type TransactionSignature = string;
1477
+ declare const enum TransactionStatus {
1478
+ BLOCKHEIGHT_EXCEEDED = 0,
1479
+ PROCESSED = 1,
1480
+ TIMED_OUT = 2,
1481
+ NONCE_INVALID = 3
1482
+ }
1483
+ /**
1484
+ * Account metadata used to define instructions
1485
+ */
1486
+ type AccountMeta = {
1487
+ /** An account's public key */
1488
+ pubkey: PublicKey;
1489
+ /** True if an instruction requires a transaction signature matching `pubkey` */
1490
+ isSigner: boolean;
1491
+ /** True if the `pubkey` can be loaded as a read-write account. */
1492
+ isWritable: boolean;
1493
+ };
1494
+ /**
1495
+ * List of TransactionInstruction object fields that may be initialized at construction
1496
+ */
1497
+ type TransactionInstructionCtorFields = {
1498
+ keys: Array<AccountMeta>;
1499
+ programId: PublicKey;
1500
+ data?: Buffer;
1501
+ };
1502
+ /**
1503
+ * Configuration object for Transaction.serialize()
1504
+ */
1505
+ type SerializeConfig = {
1506
+ /** Require all transaction signatures be present (default: true) */
1507
+ requireAllSignatures?: boolean;
1508
+ /** Verify provided signatures (default: true) */
1509
+ verifySignatures?: boolean;
1510
+ };
1511
+ /**
1512
+ * Transaction Instruction class
1513
+ */
1514
+ declare class TransactionInstruction {
1515
+ /**
1516
+ * Public keys to include in this transaction
1517
+ * Boolean represents whether this pubkey needs to sign the transaction
1518
+ */
1519
+ keys: Array<AccountMeta>;
1520
+ /**
1521
+ * Program Id to execute
1522
+ */
1523
+ programId: PublicKey;
1524
+ /**
1525
+ * Program input
1526
+ */
1527
+ data: Buffer;
1528
+ constructor(opts: TransactionInstructionCtorFields);
1529
+ }
1530
+ /**
1531
+ * Pair of signature and corresponding public key
1532
+ */
1533
+ type SignaturePubkeyPair = {
1534
+ signature: Buffer | null;
1535
+ publicKey: PublicKey;
1536
+ };
1537
+ /**
1538
+ * List of Transaction object fields that may be initialized at construction
1539
+ */
1540
+ type TransactionCtorFields_DEPRECATED = {
1541
+ /** Optional nonce information used for offline nonce'd transactions */
1542
+ nonceInfo?: NonceInformation | null;
1543
+ /** The transaction fee payer */
1544
+ feePayer?: PublicKey | null;
1545
+ /** One or more signatures */
1546
+ signatures?: Array<SignaturePubkeyPair>;
1547
+ /** A recent blockhash */
1548
+ recentBlockhash?: Blockhash;
1549
+ };
1550
+ type TransactionCtorFields = TransactionCtorFields_DEPRECATED;
1551
+ /**
1552
+ * Blockhash-based transactions have a lifetime that are defined by
1553
+ * the blockhash they include. Any transaction whose blockhash is
1554
+ * too old will be rejected.
1555
+ */
1556
+ type TransactionBlockhashCtor = {
1557
+ /** The transaction fee payer */
1558
+ feePayer?: PublicKey | null;
1559
+ /** One or more signatures */
1560
+ signatures?: Array<SignaturePubkeyPair>;
1561
+ /** A recent blockhash */
1562
+ blockhash: Blockhash;
1563
+ /** the last block chain can advance to before tx is declared expired */
1564
+ lastValidBlockHeight: number;
1565
+ };
1566
+ /**
1567
+ * Use these options to construct a durable nonce transaction.
1568
+ */
1569
+ type TransactionNonceCtor = {
1570
+ /** The transaction fee payer */
1571
+ feePayer?: PublicKey | null;
1572
+ minContextSlot: number;
1573
+ nonceInfo: NonceInformation;
1574
+ /** One or more signatures */
1575
+ signatures?: Array<SignaturePubkeyPair>;
1576
+ };
1577
+ /**
1578
+ * Nonce information to be used to build an offline Transaction.
1579
+ */
1580
+ type NonceInformation = {
1581
+ /** The current blockhash stored in the nonce */
1582
+ nonce: Blockhash;
1583
+ /** AdvanceNonceAccount Instruction */
1584
+ nonceInstruction: TransactionInstruction;
1585
+ };
1586
+ /**
1587
+ * Transaction class
1588
+ */
1589
+ declare class Transaction {
1590
+ /**
1591
+ * Signatures for the transaction. Typically created by invoking the
1592
+ * `sign()` method
1593
+ */
1594
+ signatures: Array<SignaturePubkeyPair>;
1595
+ /**
1596
+ * The first (payer) Transaction signature
1597
+ *
1598
+ * @returns {Buffer | null} Buffer of payer's signature
1599
+ */
1600
+ get signature(): Buffer | null;
1601
+ /**
1602
+ * The transaction fee payer
1603
+ */
1604
+ feePayer?: PublicKey;
1605
+ /**
1606
+ * The instructions to atomically execute
1607
+ */
1608
+ instructions: Array<TransactionInstruction>;
1609
+ /**
1610
+ * A recent transaction id. Must be populated by the caller
1611
+ */
1612
+ recentBlockhash?: Blockhash;
1613
+ /**
1614
+ * the last block chain can advance to before tx is declared expired
1615
+ * */
1616
+ lastValidBlockHeight?: number;
1617
+ /**
1618
+ * Optional Nonce information. If populated, transaction will use a durable
1619
+ * Nonce hash instead of a recentBlockhash. Must be populated by the caller
1620
+ */
1621
+ nonceInfo?: NonceInformation;
1622
+ /**
1623
+ * If this is a nonce transaction this represents the minimum slot from which
1624
+ * to evaluate if the nonce has advanced when attempting to confirm the
1625
+ * transaction. This protects against a case where the transaction confirmation
1626
+ * logic loads the nonce account from an old slot and assumes the mismatch in
1627
+ * nonce value implies that the nonce has been advanced.
1628
+ */
1629
+ minNonceContextSlot?: number;
1630
+ constructor(opts?: TransactionBlockhashCtor);
1631
+ constructor(opts?: TransactionNonceCtor);
1632
+ /**
1633
+ * @deprecated `TransactionCtorFields` has been deprecated and will be removed in a future version.
1634
+ * Please supply a `TransactionBlockhashCtor` instead.
1635
+ */
1636
+ constructor(opts?: TransactionCtorFields_DEPRECATED);
1637
+ /**
1638
+ * Add one or more instructions to this Transaction
1639
+ *
1640
+ * @param {Array< Transaction | TransactionInstruction | TransactionInstructionCtorFields >} items - Instructions to add to the Transaction
1641
+ */
1642
+ add(...items: Array<Transaction | TransactionInstruction | TransactionInstructionCtorFields>): Transaction;
1643
+ /**
1644
+ * Compile transaction data
1645
+ */
1646
+ compileMessage(): Message;
1647
+ /**
1648
+ * Get a buffer of the Transaction data that need to be covered by signatures
1649
+ */
1650
+ serializeMessage(): Buffer;
1651
+ /**
1652
+ * Get the estimated fee associated with a transaction
1653
+ *
1654
+ * @param {Connection} connection Connection to RPC Endpoint.
1655
+ *
1656
+ * @returns {Promise<number | null>} The estimated fee for the transaction
1657
+ */
1658
+ getEstimatedFee(connection: Connection): Promise<number | null>;
1659
+ /**
1660
+ * Specify the public keys which will be used to sign the Transaction.
1661
+ * The first signer will be used as the transaction fee payer account.
1662
+ *
1663
+ * Signatures can be added with either `partialSign` or `addSignature`
1664
+ *
1665
+ * @deprecated Deprecated since v0.84.0. Only the fee payer needs to be
1666
+ * specified and it can be set in the Transaction constructor or with the
1667
+ * `feePayer` property.
1668
+ */
1669
+ setSigners(...signers: Array<PublicKey>): void;
1670
+ /**
1671
+ * Sign the Transaction with the specified signers. Multiple signatures may
1672
+ * be applied to a Transaction. The first signature is considered "primary"
1673
+ * and is used identify and confirm transactions.
1674
+ *
1675
+ * If the Transaction `feePayer` is not set, the first signer will be used
1676
+ * as the transaction fee payer account.
1677
+ *
1678
+ * Transaction fields should not be modified after the first call to `sign`,
1679
+ * as doing so may invalidate the signature and cause the Transaction to be
1680
+ * rejected.
1681
+ *
1682
+ * The Transaction must be assigned a valid `recentBlockhash` before invoking this method
1683
+ *
1684
+ * @param {Array<Signer>} signers Array of signers that will sign the transaction
1685
+ */
1686
+ sign(...signers: Array<Signer>): void;
1687
+ /**
1688
+ * Partially sign a transaction with the specified accounts. All accounts must
1689
+ * correspond to either the fee payer or a signer account in the transaction
1690
+ * instructions.
1691
+ *
1692
+ * All the caveats from the `sign` method apply to `partialSign`
1693
+ *
1694
+ * @param {Array<Signer>} signers Array of signers that will sign the transaction
1695
+ */
1696
+ partialSign(...signers: Array<Signer>): void;
1697
+ /**
1698
+ * Add an externally created signature to a transaction. The public key
1699
+ * must correspond to either the fee payer or a signer account in the transaction
1700
+ * instructions.
1701
+ *
1702
+ * @param {PublicKey} pubkey Public key that will be added to the transaction.
1703
+ * @param {Buffer} signature An externally created signature to add to the transaction.
1704
+ */
1705
+ addSignature(pubkey: PublicKey, signature: Buffer): void;
1706
+ /**
1707
+ * Verify signatures of a Transaction
1708
+ * Optional parameter specifies if we're expecting a fully signed Transaction or a partially signed one.
1709
+ * If no boolean is provided, we expect a fully signed Transaction by default.
1710
+ *
1711
+ * @param {boolean} [requireAllSignatures=true] Require a fully signed Transaction
1712
+ */
1713
+ verifySignatures(requireAllSignatures?: boolean): boolean;
1714
+ /**
1715
+ * Serialize the Transaction in the wire format.
1716
+ *
1717
+ * @param {Buffer} [config] Config of transaction.
1718
+ *
1719
+ * @returns {Buffer} Signature of transaction in wire format.
1720
+ */
1721
+ serialize(config?: SerializeConfig): Buffer;
1722
+ /**
1723
+ * Parse a wire transaction into a Transaction object.
1724
+ *
1725
+ * @param {Buffer | Uint8Array | Array<number>} buffer Signature of wire Transaction
1726
+ *
1727
+ * @returns {Transaction} Transaction associated with the signature
1728
+ */
1729
+ static from(buffer: Buffer | Uint8Array | Array<number>): Transaction;
1730
+ /**
1731
+ * Populate Transaction object from message and signatures
1732
+ *
1733
+ * @param {Message} message Message of transaction
1734
+ * @param {Array<string>} signatures List of signatures to assign to the transaction
1735
+ *
1736
+ * @returns {Transaction} The populated Transaction
1737
+ */
1738
+ static populate(message: Message, signatures?: Array<string>): Transaction;
1739
+ }
1740
+
1741
+ type TransactionMessageArgs = {
1742
+ payerKey: PublicKey;
1743
+ instructions: Array<TransactionInstruction>;
1744
+ recentBlockhash: Blockhash;
1745
+ };
1746
+ type DecompileArgs = {
1747
+ accountKeysFromLookups: AccountKeysFromLookups;
1748
+ } | {
1749
+ addressLookupTableAccounts: AddressLookupTableAccount[];
1750
+ };
1751
+ declare class TransactionMessage {
1752
+ payerKey: PublicKey;
1753
+ instructions: Array<TransactionInstruction>;
1754
+ recentBlockhash: Blockhash;
1755
+ constructor(args: TransactionMessageArgs);
1756
+ static decompile(message: VersionedMessage, args?: DecompileArgs): TransactionMessage;
1757
+ compileToLegacyMessage(): Message;
1758
+ compileToV0Message(addressLookupTableAccounts?: AddressLookupTableAccount[]): MessageV0;
1759
+ }
1760
+
1761
+ type TransactionVersion = 'legacy' | 0;
1762
+ /**
1763
+ * Versioned transaction class
1764
+ */
1765
+ declare class VersionedTransaction {
1766
+ signatures: Array<Uint8Array>;
1767
+ message: VersionedMessage;
1768
+ get version(): TransactionVersion;
1769
+ constructor(message: VersionedMessage, signatures?: Array<Uint8Array>);
1770
+ serialize(): Uint8Array;
1771
+ static deserialize(serializedTransaction: Uint8Array): VersionedTransaction;
1772
+ sign(signers: Array<Signer>): void;
1773
+ addSignature(publicKey: PublicKey, signature: Uint8Array): void;
1774
+ }
1775
+
1776
+ type ClientSubscriptionId = number;
1777
+ type TokenAccountsFilter = {
1778
+ mint: PublicKey;
1779
+ } | {
1780
+ programId: PublicKey;
1781
+ };
1782
+ /**
1783
+ * Extra contextual information for RPC responses
1784
+ */
1785
+ type Context = {
1786
+ slot: number;
1787
+ };
1788
+ /**
1789
+ * Options for sending transactions
1790
+ */
1791
+ type SendOptions = {
1792
+ /** disable transaction verification step */
1793
+ skipPreflight?: boolean;
1794
+ /** preflight commitment level */
1795
+ preflightCommitment?: Commitment;
1796
+ /** Maximum number of times for the RPC node to retry sending the transaction to the leader. */
1797
+ maxRetries?: number;
1798
+ /** The minimum slot that the request can be evaluated at */
1799
+ minContextSlot?: number;
1800
+ };
1801
+ /**
1802
+ * Options for confirming transactions
1803
+ */
1804
+ type ConfirmOptions = {
1805
+ /** disable transaction verification step */
1806
+ skipPreflight?: boolean;
1807
+ /** desired commitment level */
1808
+ commitment?: Commitment;
1809
+ /** preflight commitment level */
1810
+ preflightCommitment?: Commitment;
1811
+ /** Maximum number of times for the RPC node to retry sending the transaction to the leader. */
1812
+ maxRetries?: number;
1813
+ /** The minimum slot that the request can be evaluated at */
1814
+ minContextSlot?: number;
1815
+ };
1816
+ /**
1817
+ * Options for getConfirmedSignaturesForAddress2
1818
+ */
1819
+ type ConfirmedSignaturesForAddress2Options = {
1820
+ /**
1821
+ * Start searching backwards from this transaction signature.
1822
+ * @remarks If not provided the search starts from the highest max confirmed block.
1823
+ */
1824
+ before?: TransactionSignature;
1825
+ /** Search until this transaction signature is reached, if found before `limit`. */
1826
+ until?: TransactionSignature;
1827
+ /** Maximum transaction signatures to return (between 1 and 1,000, default: 1,000). */
1828
+ limit?: number;
1829
+ };
1830
+ /**
1831
+ * Options for getSignaturesForAddress
1832
+ */
1833
+ type SignaturesForAddressOptions = {
1834
+ /**
1835
+ * Start searching backwards from this transaction signature.
1836
+ * @remarks If not provided the search starts from the highest max confirmed block.
1837
+ */
1838
+ before?: TransactionSignature;
1839
+ /** Search until this transaction signature is reached, if found before `limit`. */
1840
+ until?: TransactionSignature;
1841
+ /** Maximum transaction signatures to return (between 1 and 1,000, default: 1,000). */
1842
+ limit?: number;
1843
+ /** The minimum slot that the request can be evaluated at */
1844
+ minContextSlot?: number;
1845
+ };
1846
+ /**
1847
+ * RPC Response with extra contextual information
1848
+ */
1849
+ type RpcResponseAndContext<T> = {
1850
+ /** response context */
1851
+ context: Context;
1852
+ /** response value */
1853
+ value: T;
1854
+ };
1855
+ type BlockhashWithExpiryBlockHeight = Readonly<{
1856
+ blockhash: Blockhash;
1857
+ lastValidBlockHeight: number;
1858
+ }>;
1859
+ /**
1860
+ * A strategy for confirming transactions that uses the last valid
1861
+ * block height for a given blockhash to check for transaction expiration.
1862
+ */
1863
+ type BlockheightBasedTransactionConfirmationStrategy = BaseTransactionConfirmationStrategy & BlockhashWithExpiryBlockHeight;
1864
+ /**
1865
+ * A strategy for confirming durable nonce transactions.
1866
+ */
1867
+ type DurableNonceTransactionConfirmationStrategy = BaseTransactionConfirmationStrategy & {
1868
+ /**
1869
+ * The lowest slot at which to fetch the nonce value from the
1870
+ * nonce account. This should be no lower than the slot at
1871
+ * which the last-known value of the nonce was fetched.
1872
+ */
1873
+ minContextSlot: number;
1874
+ /**
1875
+ * The account where the current value of the nonce is stored.
1876
+ */
1877
+ nonceAccountPubkey: PublicKey;
1878
+ /**
1879
+ * The nonce value that was used to sign the transaction
1880
+ * for which confirmation is being sought.
1881
+ */
1882
+ nonceValue: DurableNonce;
1883
+ };
1884
+ /**
1885
+ * Properties shared by all transaction confirmation strategies
1886
+ */
1887
+ type BaseTransactionConfirmationStrategy = Readonly<{
1888
+ /** A signal that, when aborted, cancels any outstanding transaction confirmation operations */
1889
+ abortSignal?: AbortSignal;
1890
+ signature: TransactionSignature;
1891
+ }>;
1892
+ /**
1893
+ * This type represents all transaction confirmation strategies
1894
+ */
1895
+ type TransactionConfirmationStrategy = BlockheightBasedTransactionConfirmationStrategy | DurableNonceTransactionConfirmationStrategy;
1896
+ /**
1897
+ * The level of commitment desired when querying state
1898
+ * <pre>
1899
+ * 'processed': Query the most recent block which has reached 1 confirmation by the connected node
1900
+ * 'confirmed': Query the most recent block which has reached 1 confirmation by the cluster
1901
+ * 'finalized': Query the most recent block which has been finalized by the cluster
1902
+ * </pre>
1903
+ */
1904
+ type Commitment = 'processed' | 'confirmed' | 'finalized' | 'recent' | 'single' | 'singleGossip' | 'root' | 'max';
1905
+ /**
1906
+ * A subset of Commitment levels, which are at least optimistically confirmed
1907
+ * <pre>
1908
+ * 'confirmed': Query the most recent block which has reached 1 confirmation by the cluster
1909
+ * 'finalized': Query the most recent block which has been finalized by the cluster
1910
+ * </pre>
1911
+ */
1912
+ type Finality = 'confirmed' | 'finalized';
1913
+ /**
1914
+ * Filter for largest accounts query
1915
+ * <pre>
1916
+ * 'circulating': Return the largest accounts that are part of the circulating supply
1917
+ * 'nonCirculating': Return the largest accounts that are not part of the circulating supply
1918
+ * </pre>
1919
+ */
1920
+ type LargestAccountsFilter = 'circulating' | 'nonCirculating';
1921
+ /**
1922
+ * Configuration object for changing `getAccountInfo` query behavior
1923
+ */
1924
+ type GetAccountInfoConfig = {
1925
+ /** The level of commitment desired */
1926
+ commitment?: Commitment;
1927
+ /** The minimum slot that the request can be evaluated at */
1928
+ minContextSlot?: number;
1929
+ /** Optional data slice to limit the returned account data */
1930
+ dataSlice?: DataSlice;
1931
+ };
1932
+ /**
1933
+ * Configuration object for changing `getBalance` query behavior
1934
+ */
1935
+ type GetBalanceConfig = {
1936
+ /** The level of commitment desired */
1937
+ commitment?: Commitment;
1938
+ /** The minimum slot that the request can be evaluated at */
1939
+ minContextSlot?: number;
1940
+ };
1941
+ /**
1942
+ * Configuration object for changing `getBlock` query behavior
1943
+ */
1944
+ type GetBlockConfig = {
1945
+ /** The level of finality desired */
1946
+ commitment?: Finality;
1947
+ /**
1948
+ * Whether to populate the rewards array. If parameter not provided, the default includes rewards.
1949
+ */
1950
+ rewards?: boolean;
1951
+ /**
1952
+ * Level of transaction detail to return, either "full", "accounts", "signatures", or "none". If
1953
+ * parameter not provided, the default detail level is "full". If "accounts" are requested,
1954
+ * transaction details only include signatures and an annotated list of accounts in each
1955
+ * transaction. Transaction metadata is limited to only: fee, err, pre_balances, post_balances,
1956
+ * pre_token_balances, and post_token_balances.
1957
+ */
1958
+ transactionDetails?: 'accounts' | 'full' | 'none' | 'signatures';
1959
+ };
1960
+ /**
1961
+ * Configuration object for changing `getBlock` query behavior
1962
+ */
1963
+ type GetVersionedBlockConfig = {
1964
+ /** The level of finality desired */
1965
+ commitment?: Finality;
1966
+ /** The max transaction version to return in responses. If the requested transaction is a higher version, an error will be returned */
1967
+ maxSupportedTransactionVersion?: number;
1968
+ /**
1969
+ * Whether to populate the rewards array. If parameter not provided, the default includes rewards.
1970
+ */
1971
+ rewards?: boolean;
1972
+ /**
1973
+ * Level of transaction detail to return, either "full", "accounts", "signatures", or "none". If
1974
+ * parameter not provided, the default detail level is "full". If "accounts" are requested,
1975
+ * transaction details only include signatures and an annotated list of accounts in each
1976
+ * transaction. Transaction metadata is limited to only: fee, err, pre_balances, post_balances,
1977
+ * pre_token_balances, and post_token_balances.
1978
+ */
1979
+ transactionDetails?: 'accounts' | 'full' | 'none' | 'signatures';
1980
+ };
1981
+ /**
1982
+ * Configuration object for changing `getStakeMinimumDelegation` query behavior
1983
+ */
1984
+ type GetStakeMinimumDelegationConfig = {
1985
+ /** The level of commitment desired */
1986
+ commitment?: Commitment;
1987
+ };
1988
+ /**
1989
+ * Configuration object for changing `getBlockHeight` query behavior
1990
+ */
1991
+ type GetBlockHeightConfig = {
1992
+ /** The level of commitment desired */
1993
+ commitment?: Commitment;
1994
+ /** The minimum slot that the request can be evaluated at */
1995
+ minContextSlot?: number;
1996
+ };
1997
+ /**
1998
+ * Configuration object for changing `getEpochInfo` query behavior
1999
+ */
2000
+ type GetEpochInfoConfig = {
2001
+ /** The level of commitment desired */
2002
+ commitment?: Commitment;
2003
+ /** The minimum slot that the request can be evaluated at */
2004
+ minContextSlot?: number;
2005
+ };
2006
+ /**
2007
+ * Configuration object for changing `getInflationReward` query behavior
2008
+ */
2009
+ type GetInflationRewardConfig = {
2010
+ /** The level of commitment desired */
2011
+ commitment?: Commitment;
2012
+ /** An epoch for which the reward occurs. If omitted, the previous epoch will be used */
2013
+ epoch?: number;
2014
+ /** The minimum slot that the request can be evaluated at */
2015
+ minContextSlot?: number;
2016
+ };
2017
+ /**
2018
+ * Configuration object for changing `getLatestBlockhash` query behavior
2019
+ */
2020
+ type GetLatestBlockhashConfig = {
2021
+ /** The level of commitment desired */
2022
+ commitment?: Commitment;
2023
+ /** The minimum slot that the request can be evaluated at */
2024
+ minContextSlot?: number;
2025
+ };
2026
+ /**
2027
+ * Configuration object for changing `isBlockhashValid` query behavior
2028
+ */
2029
+ type IsBlockhashValidConfig = {
2030
+ /** The level of commitment desired */
2031
+ commitment?: Commitment;
2032
+ /** The minimum slot that the request can be evaluated at */
2033
+ minContextSlot?: number;
2034
+ };
2035
+ /**
2036
+ * Configuration object for changing `getSlot` query behavior
2037
+ */
2038
+ type GetSlotConfig = {
2039
+ /** The level of commitment desired */
2040
+ commitment?: Commitment;
2041
+ /** The minimum slot that the request can be evaluated at */
2042
+ minContextSlot?: number;
2043
+ };
2044
+ /**
2045
+ * Configuration object for changing `getSlotLeader` query behavior
2046
+ */
2047
+ type GetSlotLeaderConfig = {
2048
+ /** The level of commitment desired */
2049
+ commitment?: Commitment;
2050
+ /** The minimum slot that the request can be evaluated at */
2051
+ minContextSlot?: number;
2052
+ };
2053
+ /**
2054
+ * Configuration object for changing `getTransaction` query behavior
2055
+ */
2056
+ type GetTransactionConfig = {
2057
+ /** The level of finality desired */
2058
+ commitment?: Finality;
2059
+ };
2060
+ /**
2061
+ * Configuration object for changing `getTransaction` query behavior
2062
+ */
2063
+ type GetVersionedTransactionConfig = {
2064
+ /** The level of finality desired */
2065
+ commitment?: Finality;
2066
+ /** The max transaction version to return in responses. If the requested transaction is a higher version, an error will be returned */
2067
+ maxSupportedTransactionVersion?: number;
2068
+ };
2069
+ /**
2070
+ * Configuration object for changing `getLargestAccounts` query behavior
2071
+ */
2072
+ type GetLargestAccountsConfig = {
2073
+ /** The level of commitment desired */
2074
+ commitment?: Commitment;
2075
+ /** Filter largest accounts by whether they are part of the circulating supply */
2076
+ filter?: LargestAccountsFilter;
2077
+ };
2078
+ /**
2079
+ * Configuration object for changing `getSupply` request behavior
2080
+ */
2081
+ type GetSupplyConfig = {
2082
+ /** The level of commitment desired */
2083
+ commitment?: Commitment;
2084
+ /** Exclude non circulating accounts list from response */
2085
+ excludeNonCirculatingAccountsList?: boolean;
2086
+ };
2087
+ /**
2088
+ * Configuration object for changing query behavior
2089
+ */
2090
+ type SignatureStatusConfig = {
2091
+ /** enable searching status history, not needed for recent transactions */
2092
+ searchTransactionHistory: boolean;
2093
+ };
2094
+ /**
2095
+ * Information describing a cluster node
2096
+ */
2097
+ type ContactInfo = {
2098
+ /** Identity public key of the node */
2099
+ pubkey: string;
2100
+ /** Gossip network address for the node */
2101
+ gossip: string | null;
2102
+ /** TPU network address for the node (null if not available) */
2103
+ tpu: string | null;
2104
+ /** JSON RPC network address for the node (null if not available) */
2105
+ rpc: string | null;
2106
+ /** Software version of the node (null if not available) */
2107
+ version: string | null;
2108
+ };
2109
+ /**
2110
+ * Information describing a vote account
2111
+ */
2112
+ type VoteAccountInfo = {
2113
+ /** Public key of the vote account */
2114
+ votePubkey: string;
2115
+ /** Identity public key of the node voting with this account */
2116
+ nodePubkey: string;
2117
+ /** The stake, in lamports, delegated to this vote account and activated */
2118
+ activatedStake: number;
2119
+ /** Whether the vote account is staked for this epoch */
2120
+ epochVoteAccount: boolean;
2121
+ /** Recent epoch voting credit history for this voter */
2122
+ epochCredits: Array<[number, number, number]>;
2123
+ /** A percentage (0-100) of rewards payout owed to the voter */
2124
+ commission: number;
2125
+ /** Most recent slot voted on by this vote account */
2126
+ lastVote: number;
2127
+ };
2128
+ /**
2129
+ * A collection of cluster vote accounts
2130
+ */
2131
+ type VoteAccountStatus = {
2132
+ /** Active vote accounts */
2133
+ current: Array<VoteAccountInfo>;
2134
+ /** Inactive vote accounts */
2135
+ delinquent: Array<VoteAccountInfo>;
2136
+ };
2137
+ /**
2138
+ * Network Inflation
2139
+ * (see https://docs.solana.com/implemented-proposals/ed_overview)
2140
+ */
2141
+ type InflationGovernor = {
2142
+ foundation: number;
2143
+ foundationTerm: number;
2144
+ initial: number;
2145
+ taper: number;
2146
+ terminal: number;
2147
+ };
2148
+ /**
2149
+ * The inflation reward for an epoch
2150
+ */
2151
+ type InflationReward = {
2152
+ /** epoch for which the reward occurs */
2153
+ epoch: number;
2154
+ /** the slot in which the rewards are effective */
2155
+ effectiveSlot: number;
2156
+ /** reward amount in lamports */
2157
+ amount: number;
2158
+ /** post balance of the account in lamports */
2159
+ postBalance: number;
2160
+ /** vote account commission when the reward was credited */
2161
+ commission?: number | null;
2162
+ };
2163
+ type RecentPrioritizationFees = {
2164
+ /** slot in which the fee was observed */
2165
+ slot: number;
2166
+ /** the per-compute-unit fee paid by at least one successfully landed transaction, specified in increments of 0.000001 lamports*/
2167
+ prioritizationFee: number;
2168
+ };
2169
+ /**
2170
+ * Configuration object for changing `getRecentPrioritizationFees` query behavior
2171
+ */
2172
+ type GetRecentPrioritizationFeesConfig = {
2173
+ /**
2174
+ * If this parameter is provided, the response will reflect a fee to land a transaction locking
2175
+ * all of the provided accounts as writable.
2176
+ */
2177
+ lockedWritableAccounts?: PublicKey[];
2178
+ };
2179
+ type InflationRate = {
2180
+ /** total inflation */
2181
+ total: number;
2182
+ /** inflation allocated to validators */
2183
+ validator: number;
2184
+ /** inflation allocated to the foundation */
2185
+ foundation: number;
2186
+ /** epoch for which these values are valid */
2187
+ epoch: number;
2188
+ };
2189
+ /**
2190
+ * Information about the current epoch
2191
+ */
2192
+ type EpochInfo = {
2193
+ epoch: number;
2194
+ slotIndex: number;
2195
+ slotsInEpoch: number;
2196
+ absoluteSlot: number;
2197
+ blockHeight?: number;
2198
+ transactionCount?: number;
2199
+ };
2200
+ /**
2201
+ * Leader schedule
2202
+ * (see https://docs.solana.com/terminology#leader-schedule)
2203
+ */
2204
+ type LeaderSchedule = {
2205
+ [address: string]: number[];
2206
+ };
2207
+ /**
2208
+ * Version info for a node
2209
+ */
2210
+ type Version = {
2211
+ /** Version of solana-core */
2212
+ 'solana-core': string;
2213
+ 'feature-set'?: number;
2214
+ };
2215
+ type SimulatedTransactionAccountInfo = {
2216
+ /** `true` if this account's data contains a loaded program */
2217
+ executable: boolean;
2218
+ /** Identifier of the program that owns the account */
2219
+ owner: string;
2220
+ /** Number of lamports assigned to the account */
2221
+ lamports: number;
2222
+ /** Optional data assigned to the account */
2223
+ data: string[];
2224
+ /** Optional rent epoch info for account */
2225
+ rentEpoch?: number;
2226
+ };
2227
+ type TransactionReturnDataEncoding = 'base64';
2228
+ type TransactionReturnData = {
2229
+ programId: string;
2230
+ data: [string, TransactionReturnDataEncoding];
2231
+ };
2232
+ type SimulateTransactionConfig = {
2233
+ /** Optional parameter used to enable signature verification before simulation */
2234
+ sigVerify?: boolean;
2235
+ /** Optional parameter used to replace the simulated transaction's recent blockhash with the latest blockhash */
2236
+ replaceRecentBlockhash?: boolean;
2237
+ /** Optional parameter used to set the commitment level when selecting the latest block */
2238
+ commitment?: Commitment;
2239
+ /** Optional parameter used to specify a list of base58-encoded account addresses to return post simulation state for */
2240
+ accounts?: {
2241
+ /** The encoding of the returned account's data */
2242
+ encoding: 'base64';
2243
+ addresses: string[];
2244
+ };
2245
+ /** Optional parameter used to specify the minimum block slot that can be used for simulation */
2246
+ minContextSlot?: number;
2247
+ /** Optional parameter used to include inner instructions in the simulation */
2248
+ innerInstructions?: boolean;
2249
+ };
2250
+ type SimulatedTransactionResponse = {
2251
+ err: TransactionError | string | null;
2252
+ logs: Array<string> | null;
2253
+ accounts?: (SimulatedTransactionAccountInfo | null)[] | null;
2254
+ unitsConsumed?: number;
2255
+ returnData?: TransactionReturnData | null;
2256
+ innerInstructions?: ParsedInnerInstruction[] | null;
2257
+ };
2258
+ type ParsedInnerInstruction = {
2259
+ index: number;
2260
+ instructions: (ParsedInstruction | PartiallyDecodedInstruction)[];
2261
+ };
2262
+ type TokenBalance = {
2263
+ accountIndex: number;
2264
+ mint: string;
2265
+ owner?: string;
2266
+ programId?: string;
2267
+ uiTokenAmount: TokenAmount;
2268
+ };
2269
+ /**
2270
+ * Metadata for a parsed confirmed transaction on the ledger
2271
+ *
2272
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link ParsedTransactionMeta} instead.
2273
+ */
2274
+ type ParsedConfirmedTransactionMeta = ParsedTransactionMeta;
2275
+ /**
2276
+ * Collection of addresses loaded by a transaction using address table lookups
2277
+ */
2278
+ type LoadedAddresses = {
2279
+ writable: Array<PublicKey>;
2280
+ readonly: Array<PublicKey>;
2281
+ };
2282
+ /**
2283
+ * Metadata for a parsed transaction on the ledger
2284
+ */
2285
+ type ParsedTransactionMeta = {
2286
+ /** The fee charged for processing the transaction */
2287
+ fee: number;
2288
+ /** An array of cross program invoked parsed instructions */
2289
+ innerInstructions?: ParsedInnerInstruction[] | null;
2290
+ /** The balances of the transaction accounts before processing */
2291
+ preBalances: Array<number>;
2292
+ /** The balances of the transaction accounts after processing */
2293
+ postBalances: Array<number>;
2294
+ /** An array of program log messages emitted during a transaction */
2295
+ logMessages?: Array<string> | null;
2296
+ /** The token balances of the transaction accounts before processing */
2297
+ preTokenBalances?: Array<TokenBalance> | null;
2298
+ /** The token balances of the transaction accounts after processing */
2299
+ postTokenBalances?: Array<TokenBalance> | null;
2300
+ /** The error result of transaction processing */
2301
+ err: TransactionError | null;
2302
+ /** The collection of addresses loaded using address lookup tables */
2303
+ loadedAddresses?: LoadedAddresses;
2304
+ /** The compute units consumed after processing the transaction */
2305
+ computeUnitsConsumed?: number;
2306
+ };
2307
+ type CompiledInnerInstruction = {
2308
+ index: number;
2309
+ instructions: CompiledInstruction[];
2310
+ };
2311
+ /**
2312
+ * Metadata for a confirmed transaction on the ledger
2313
+ */
2314
+ type ConfirmedTransactionMeta = {
2315
+ /** The fee charged for processing the transaction */
2316
+ fee: number;
2317
+ /** An array of cross program invoked instructions */
2318
+ innerInstructions?: CompiledInnerInstruction[] | null;
2319
+ /** The balances of the transaction accounts before processing */
2320
+ preBalances: Array<number>;
2321
+ /** The balances of the transaction accounts after processing */
2322
+ postBalances: Array<number>;
2323
+ /** An array of program log messages emitted during a transaction */
2324
+ logMessages?: Array<string> | null;
2325
+ /** The token balances of the transaction accounts before processing */
2326
+ preTokenBalances?: Array<TokenBalance> | null;
2327
+ /** The token balances of the transaction accounts after processing */
2328
+ postTokenBalances?: Array<TokenBalance> | null;
2329
+ /** The error result of transaction processing */
2330
+ err: TransactionError | null;
2331
+ /** The collection of addresses loaded using address lookup tables */
2332
+ loadedAddresses?: LoadedAddresses;
2333
+ /** The compute units consumed after processing the transaction */
2334
+ computeUnitsConsumed?: number;
2335
+ };
2336
+ /**
2337
+ * A processed transaction from the RPC API
2338
+ */
2339
+ type TransactionResponse = {
2340
+ /** The slot during which the transaction was processed */
2341
+ slot: number;
2342
+ /** The transaction */
2343
+ transaction: {
2344
+ /** The transaction message */
2345
+ message: Message;
2346
+ /** The transaction signatures */
2347
+ signatures: string[];
2348
+ };
2349
+ /** Metadata produced from the transaction */
2350
+ meta: ConfirmedTransactionMeta | null;
2351
+ /** The unix timestamp of when the transaction was processed */
2352
+ blockTime?: number | null;
2353
+ };
2354
+ /**
2355
+ * A processed transaction from the RPC API
2356
+ */
2357
+ type VersionedTransactionResponse = {
2358
+ /** The slot during which the transaction was processed */
2359
+ slot: number;
2360
+ /** The transaction */
2361
+ transaction: {
2362
+ /** The transaction message */
2363
+ message: VersionedMessage;
2364
+ /** The transaction signatures */
2365
+ signatures: string[];
2366
+ };
2367
+ /** Metadata produced from the transaction */
2368
+ meta: ConfirmedTransactionMeta | null;
2369
+ /** The unix timestamp of when the transaction was processed */
2370
+ blockTime?: number | null;
2371
+ /** The transaction version */
2372
+ version?: TransactionVersion;
2373
+ };
2374
+ /**
2375
+ * A confirmed transaction on the ledger
2376
+ *
2377
+ * @deprecated Deprecated since RPC v1.8.0.
2378
+ */
2379
+ type ConfirmedTransaction = {
2380
+ /** The slot during which the transaction was processed */
2381
+ slot: number;
2382
+ /** The details of the transaction */
2383
+ transaction: Transaction;
2384
+ /** Metadata produced from the transaction */
2385
+ meta: ConfirmedTransactionMeta | null;
2386
+ /** The unix timestamp of when the transaction was processed */
2387
+ blockTime?: number | null;
2388
+ };
2389
+ /**
2390
+ * A partially decoded transaction instruction
2391
+ */
2392
+ type PartiallyDecodedInstruction = {
2393
+ /** Program id called by this instruction */
2394
+ programId: PublicKey;
2395
+ /** Public keys of accounts passed to this instruction */
2396
+ accounts: Array<PublicKey>;
2397
+ /** Raw base-58 instruction data */
2398
+ data: string;
2399
+ };
2400
+ /**
2401
+ * A parsed transaction message account
2402
+ */
2403
+ type ParsedMessageAccount = {
2404
+ /** Public key of the account */
2405
+ pubkey: PublicKey;
2406
+ /** Indicates if the account signed the transaction */
2407
+ signer: boolean;
2408
+ /** Indicates if the account is writable for this transaction */
2409
+ writable: boolean;
2410
+ /** Indicates if the account key came from the transaction or a lookup table */
2411
+ source?: 'transaction' | 'lookupTable';
2412
+ };
2413
+ /**
2414
+ * A parsed transaction instruction
2415
+ */
2416
+ type ParsedInstruction = {
2417
+ /** Name of the program for this instruction */
2418
+ program: string;
2419
+ /** ID of the program for this instruction */
2420
+ programId: PublicKey;
2421
+ /** Parsed instruction info */
2422
+ parsed: any;
2423
+ };
2424
+ /**
2425
+ * A parsed address table lookup
2426
+ */
2427
+ type ParsedAddressTableLookup = {
2428
+ /** Address lookup table account key */
2429
+ accountKey: PublicKey;
2430
+ /** Parsed instruction info */
2431
+ writableIndexes: number[];
2432
+ /** Parsed instruction info */
2433
+ readonlyIndexes: number[];
2434
+ };
2435
+ /**
2436
+ * A parsed transaction message
2437
+ */
2438
+ type ParsedMessage = {
2439
+ /** Accounts used in the instructions */
2440
+ accountKeys: ParsedMessageAccount[];
2441
+ /** The atomically executed instructions for the transaction */
2442
+ instructions: (ParsedInstruction | PartiallyDecodedInstruction)[];
2443
+ /** Recent blockhash */
2444
+ recentBlockhash: string;
2445
+ /** Address table lookups used to load additional accounts */
2446
+ addressTableLookups?: ParsedAddressTableLookup[] | null;
2447
+ };
2448
+ /**
2449
+ * A parsed transaction
2450
+ */
2451
+ type ParsedTransaction = {
2452
+ /** Signatures for the transaction */
2453
+ signatures: Array<string>;
2454
+ /** Message of the transaction */
2455
+ message: ParsedMessage;
2456
+ };
2457
+ /**
2458
+ * A parsed and confirmed transaction on the ledger
2459
+ *
2460
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link ParsedTransactionWithMeta} instead.
2461
+ */
2462
+ type ParsedConfirmedTransaction = ParsedTransactionWithMeta;
2463
+ /**
2464
+ * A parsed transaction on the ledger with meta
2465
+ */
2466
+ type ParsedTransactionWithMeta = {
2467
+ /** The slot during which the transaction was processed */
2468
+ slot: number;
2469
+ /** The details of the transaction */
2470
+ transaction: ParsedTransaction;
2471
+ /** Metadata produced from the transaction */
2472
+ meta: ParsedTransactionMeta | null;
2473
+ /** The unix timestamp of when the transaction was processed */
2474
+ blockTime?: number | null;
2475
+ /** The version of the transaction message */
2476
+ version?: TransactionVersion;
2477
+ };
2478
+ /**
2479
+ * A processed block fetched from the RPC API
2480
+ */
2481
+ type BlockResponse = {
2482
+ /** Blockhash of this block */
2483
+ blockhash: Blockhash;
2484
+ /** Blockhash of this block's parent */
2485
+ previousBlockhash: Blockhash;
2486
+ /** Slot index of this block's parent */
2487
+ parentSlot: number;
2488
+ /** Vector of transactions with status meta and original message */
2489
+ transactions: Array<{
2490
+ /** The transaction */
2491
+ transaction: {
2492
+ /** The transaction message */
2493
+ message: Message;
2494
+ /** The transaction signatures */
2495
+ signatures: string[];
2496
+ };
2497
+ /** Metadata produced from the transaction */
2498
+ meta: ConfirmedTransactionMeta | null;
2499
+ /** The transaction version */
2500
+ version?: TransactionVersion;
2501
+ }>;
2502
+ /** Vector of block rewards */
2503
+ rewards?: Array<{
2504
+ /** Public key of reward recipient */
2505
+ pubkey: string;
2506
+ /** Reward value in lamports */
2507
+ lamports: number;
2508
+ /** Account balance after reward is applied */
2509
+ postBalance: number | null;
2510
+ /** Type of reward received */
2511
+ rewardType: string | null;
2512
+ /** Vote account commission when the reward was credited, only present for voting and staking rewards */
2513
+ commission?: number | null;
2514
+ }>;
2515
+ /** The unix timestamp of when the block was processed */
2516
+ blockTime: number | null;
2517
+ };
2518
+ /**
2519
+ * A processed block fetched from the RPC API where the `transactionDetails` mode is `accounts`
2520
+ */
2521
+ type AccountsModeBlockResponse = VersionedAccountsModeBlockResponse;
2522
+ /**
2523
+ * A processed block fetched from the RPC API where the `transactionDetails` mode is `none`
2524
+ */
2525
+ type NoneModeBlockResponse = VersionedNoneModeBlockResponse;
2526
+ /**
2527
+ * A block with parsed transactions
2528
+ */
2529
+ type ParsedBlockResponse = {
2530
+ /** Blockhash of this block */
2531
+ blockhash: Blockhash;
2532
+ /** Blockhash of this block's parent */
2533
+ previousBlockhash: Blockhash;
2534
+ /** Slot index of this block's parent */
2535
+ parentSlot: number;
2536
+ /** Vector of transactions with status meta and original message */
2537
+ transactions: Array<{
2538
+ /** The details of the transaction */
2539
+ transaction: ParsedTransaction;
2540
+ /** Metadata produced from the transaction */
2541
+ meta: ParsedTransactionMeta | null;
2542
+ /** The transaction version */
2543
+ version?: TransactionVersion;
2544
+ }>;
2545
+ /** Vector of block rewards */
2546
+ rewards?: Array<{
2547
+ /** Public key of reward recipient */
2548
+ pubkey: string;
2549
+ /** Reward value in lamports */
2550
+ lamports: number;
2551
+ /** Account balance after reward is applied */
2552
+ postBalance: number | null;
2553
+ /** Type of reward received */
2554
+ rewardType: string | null;
2555
+ /** Vote account commission when the reward was credited, only present for voting and staking rewards */
2556
+ commission?: number | null;
2557
+ }>;
2558
+ /** The unix timestamp of when the block was processed */
2559
+ blockTime: number | null;
2560
+ /** The number of blocks beneath this block */
2561
+ blockHeight: number | null;
2562
+ };
2563
+ /**
2564
+ * A block with parsed transactions where the `transactionDetails` mode is `accounts`
2565
+ */
2566
+ type ParsedAccountsModeBlockResponse = Omit<ParsedBlockResponse, 'transactions'> & {
2567
+ transactions: Array<Omit<ParsedBlockResponse['transactions'][number], 'transaction'> & {
2568
+ transaction: Pick<ParsedBlockResponse['transactions'][number]['transaction'], 'signatures'> & {
2569
+ accountKeys: ParsedMessageAccount[];
2570
+ };
2571
+ }>;
2572
+ };
2573
+ /**
2574
+ * A block with parsed transactions where the `transactionDetails` mode is `none`
2575
+ */
2576
+ type ParsedNoneModeBlockResponse = Omit<ParsedBlockResponse, 'transactions'>;
2577
+ /**
2578
+ * A processed block fetched from the RPC API
2579
+ */
2580
+ type VersionedBlockResponse = {
2581
+ /** Blockhash of this block */
2582
+ blockhash: Blockhash;
2583
+ /** Blockhash of this block's parent */
2584
+ previousBlockhash: Blockhash;
2585
+ /** Slot index of this block's parent */
2586
+ parentSlot: number;
2587
+ /** Vector of transactions with status meta and original message */
2588
+ transactions: Array<{
2589
+ /** The transaction */
2590
+ transaction: {
2591
+ /** The transaction message */
2592
+ message: VersionedMessage;
2593
+ /** The transaction signatures */
2594
+ signatures: string[];
2595
+ };
2596
+ /** Metadata produced from the transaction */
2597
+ meta: ConfirmedTransactionMeta | null;
2598
+ /** The transaction version */
2599
+ version?: TransactionVersion;
2600
+ }>;
2601
+ /** Vector of block rewards */
2602
+ rewards?: Array<{
2603
+ /** Public key of reward recipient */
2604
+ pubkey: string;
2605
+ /** Reward value in lamports */
2606
+ lamports: number;
2607
+ /** Account balance after reward is applied */
2608
+ postBalance: number | null;
2609
+ /** Type of reward received */
2610
+ rewardType: string | null;
2611
+ /** Vote account commission when the reward was credited, only present for voting and staking rewards */
2612
+ commission?: number | null;
2613
+ }>;
2614
+ /** The unix timestamp of when the block was processed */
2615
+ blockTime: number | null;
2616
+ };
2617
+ /**
2618
+ * A processed block fetched from the RPC API where the `transactionDetails` mode is `accounts`
2619
+ */
2620
+ type VersionedAccountsModeBlockResponse = Omit<VersionedBlockResponse, 'transactions'> & {
2621
+ transactions: Array<Omit<VersionedBlockResponse['transactions'][number], 'transaction'> & {
2622
+ transaction: Pick<VersionedBlockResponse['transactions'][number]['transaction'], 'signatures'> & {
2623
+ accountKeys: ParsedMessageAccount[];
2624
+ };
2625
+ }>;
2626
+ };
2627
+ /**
2628
+ * A processed block fetched from the RPC API where the `transactionDetails` mode is `none`
2629
+ */
2630
+ type VersionedNoneModeBlockResponse = Omit<VersionedBlockResponse, 'transactions'>;
2631
+ /**
2632
+ * A confirmed block on the ledger
2633
+ *
2634
+ * @deprecated Deprecated since RPC v1.8.0.
2635
+ */
2636
+ type ConfirmedBlock = {
2637
+ /** Blockhash of this block */
2638
+ blockhash: Blockhash;
2639
+ /** Blockhash of this block's parent */
2640
+ previousBlockhash: Blockhash;
2641
+ /** Slot index of this block's parent */
2642
+ parentSlot: number;
2643
+ /** Vector of transactions and status metas */
2644
+ transactions: Array<{
2645
+ transaction: Transaction;
2646
+ meta: ConfirmedTransactionMeta | null;
2647
+ }>;
2648
+ /** Vector of block rewards */
2649
+ rewards?: Array<{
2650
+ pubkey: string;
2651
+ lamports: number;
2652
+ postBalance: number | null;
2653
+ rewardType: string | null;
2654
+ commission?: number | null;
2655
+ }>;
2656
+ /** The unix timestamp of when the block was processed */
2657
+ blockTime: number | null;
2658
+ };
2659
+ /**
2660
+ * A Block on the ledger with signatures only
2661
+ */
2662
+ type BlockSignatures = {
2663
+ /** Blockhash of this block */
2664
+ blockhash: Blockhash;
2665
+ /** Blockhash of this block's parent */
2666
+ previousBlockhash: Blockhash;
2667
+ /** Slot index of this block's parent */
2668
+ parentSlot: number;
2669
+ /** Vector of signatures */
2670
+ signatures: Array<string>;
2671
+ /** The unix timestamp of when the block was processed */
2672
+ blockTime: number | null;
2673
+ };
2674
+ /**
2675
+ * recent block production information
2676
+ */
2677
+ type BlockProduction = Readonly<{
2678
+ /** a dictionary of validator identities, as base-58 encoded strings. Value is a two element array containing the number of leader slots and the number of blocks produced */
2679
+ byIdentity: Readonly<Record<string, ReadonlyArray<number>>>;
2680
+ /** Block production slot range */
2681
+ range: Readonly<{
2682
+ /** first slot of the block production information (inclusive) */
2683
+ firstSlot: number;
2684
+ /** last slot of block production information (inclusive) */
2685
+ lastSlot: number;
2686
+ }>;
2687
+ }>;
2688
+ type GetBlockProductionConfig = {
2689
+ /** Optional commitment level */
2690
+ commitment?: Commitment;
2691
+ /** Slot range to return block production for. If parameter not provided, defaults to current epoch. */
2692
+ range?: {
2693
+ /** first slot to return block production information for (inclusive) */
2694
+ firstSlot: number;
2695
+ /** last slot to return block production information for (inclusive). If parameter not provided, defaults to the highest slot */
2696
+ lastSlot?: number;
2697
+ };
2698
+ /** Only return results for this validator identity (base-58 encoded) */
2699
+ identity?: string;
2700
+ };
2701
+ /**
2702
+ * A performance sample
2703
+ */
2704
+ type PerfSample = {
2705
+ /** Slot number of sample */
2706
+ slot: number;
2707
+ /** Number of transactions in a sample window */
2708
+ numTransactions: number;
2709
+ /** Number of slots in a sample window */
2710
+ numSlots: number;
2711
+ /** Sample window in seconds */
2712
+ samplePeriodSecs: number;
2713
+ };
2714
+ /**
2715
+ * Supply
2716
+ */
2717
+ type Supply = {
2718
+ /** Total supply in lamports */
2719
+ total: number;
2720
+ /** Circulating supply in lamports */
2721
+ circulating: number;
2722
+ /** Non-circulating supply in lamports */
2723
+ nonCirculating: number;
2724
+ /** List of non-circulating account addresses */
2725
+ nonCirculatingAccounts: Array<PublicKey>;
2726
+ };
2727
+ /**
2728
+ * Token amount object which returns a token amount in different formats
2729
+ * for various client use cases.
2730
+ */
2731
+ type TokenAmount = {
2732
+ /** Raw amount of tokens as string ignoring decimals */
2733
+ amount: string;
2734
+ /** Number of decimals configured for token's mint */
2735
+ decimals: number;
2736
+ /** Token amount as float, accounts for decimals */
2737
+ uiAmount: number | null;
2738
+ /** Token amount as string, accounts for decimals */
2739
+ uiAmountString?: string;
2740
+ };
2741
+ /**
2742
+ * Token address and balance.
2743
+ */
2744
+ type TokenAccountBalancePair = {
2745
+ /** Address of the token account */
2746
+ address: PublicKey;
2747
+ /** Raw amount of tokens as string ignoring decimals */
2748
+ amount: string;
2749
+ /** Number of decimals configured for token's mint */
2750
+ decimals: number;
2751
+ /** Token amount as float, accounts for decimals */
2752
+ uiAmount: number | null;
2753
+ /** Token amount as string, accounts for decimals */
2754
+ uiAmountString?: string;
2755
+ };
2756
+ /**
2757
+ * Pair of an account address and its balance
2758
+ */
2759
+ type AccountBalancePair = {
2760
+ address: PublicKey;
2761
+ lamports: number;
2762
+ };
2763
+ /**
2764
+ * Slot updates which can be used for tracking the live progress of a cluster.
2765
+ * - `"firstShredReceived"`: connected node received the first shred of a block.
2766
+ * Indicates that a new block that is being produced.
2767
+ * - `"completed"`: connected node has received all shreds of a block. Indicates
2768
+ * a block was recently produced.
2769
+ * - `"optimisticConfirmation"`: block was optimistically confirmed by the
2770
+ * cluster. It is not guaranteed that an optimistic confirmation notification
2771
+ * will be sent for every finalized blocks.
2772
+ * - `"root"`: the connected node rooted this block.
2773
+ * - `"createdBank"`: the connected node has started validating this block.
2774
+ * - `"frozen"`: the connected node has validated this block.
2775
+ * - `"dead"`: the connected node failed to validate this block.
2776
+ */
2777
+ type SlotUpdate = {
2778
+ type: 'firstShredReceived';
2779
+ slot: number;
2780
+ timestamp: number;
2781
+ } | {
2782
+ type: 'completed';
2783
+ slot: number;
2784
+ timestamp: number;
2785
+ } | {
2786
+ type: 'createdBank';
2787
+ slot: number;
2788
+ timestamp: number;
2789
+ parent: number;
2790
+ } | {
2791
+ type: 'frozen';
2792
+ slot: number;
2793
+ timestamp: number;
2794
+ stats: {
2795
+ numTransactionEntries: number;
2796
+ numSuccessfulTransactions: number;
2797
+ numFailedTransactions: number;
2798
+ maxTransactionsPerEntry: number;
2799
+ };
2800
+ } | {
2801
+ type: 'dead';
2802
+ slot: number;
2803
+ timestamp: number;
2804
+ err: string;
2805
+ } | {
2806
+ type: 'optimisticConfirmation';
2807
+ slot: number;
2808
+ timestamp: number;
2809
+ } | {
2810
+ type: 'root';
2811
+ slot: number;
2812
+ timestamp: number;
2813
+ };
2814
+ /**
2815
+ * Information about the latest slot being processed by a node
2816
+ */
2817
+ type SlotInfo = {
2818
+ /** Currently processing slot */
2819
+ slot: number;
2820
+ /** Parent of the current slot */
2821
+ parent: number;
2822
+ /** The root block of the current slot's fork */
2823
+ root: number;
2824
+ };
2825
+ /**
2826
+ * Parsed account data
2827
+ */
2828
+ type ParsedAccountData = {
2829
+ /** Name of the program that owns this account */
2830
+ program: string;
2831
+ /** Parsed account data */
2832
+ parsed: any;
2833
+ /** Space used by account data */
2834
+ space: number;
2835
+ };
2836
+ /**
2837
+ * Stake Activation data
2838
+ */
2839
+ type StakeActivationData = {
2840
+ /** the stake account's activation state */
2841
+ state: 'active' | 'inactive' | 'activating' | 'deactivating';
2842
+ /** stake active during the epoch */
2843
+ active: number;
2844
+ /** stake inactive during the epoch */
2845
+ inactive: number;
2846
+ };
2847
+ /**
2848
+ * Data slice argument for getProgramAccounts
2849
+ */
2850
+ type DataSlice = {
2851
+ /** offset of data slice */
2852
+ offset: number;
2853
+ /** length of data slice */
2854
+ length: number;
2855
+ };
2856
+ /**
2857
+ * Memory comparison filter for getProgramAccounts
2858
+ */
2859
+ type MemcmpFilter = {
2860
+ memcmp: {
2861
+ /** offset into program account data to start comparison */
2862
+ offset: number;
2863
+ } & ({
2864
+ encoding?: 'base58';
2865
+ /** data to match, as base-58 encoded string and limited to less than 129 bytes */
2866
+ bytes: string;
2867
+ } | {
2868
+ encoding: 'base64';
2869
+ /** data to match, as base-64 encoded string */
2870
+ bytes: string;
2871
+ });
2872
+ };
2873
+ /**
2874
+ * Data size comparison filter for getProgramAccounts
2875
+ */
2876
+ type DataSizeFilter = {
2877
+ /** Size of data for program account data length comparison */
2878
+ dataSize: number;
2879
+ };
2880
+ /**
2881
+ * A filter object for getProgramAccounts
2882
+ */
2883
+ type GetProgramAccountsFilter = MemcmpFilter | DataSizeFilter;
2884
+ /**
2885
+ * Configuration object for getProgramAccounts requests
2886
+ */
2887
+ type GetProgramAccountsConfig = {
2888
+ /** Optional commitment level */
2889
+ commitment?: Commitment;
2890
+ /** Optional encoding for account data (default base64)
2891
+ * To use "jsonParsed" encoding, please refer to `getParsedProgramAccounts` in connection.ts
2892
+ * */
2893
+ encoding?: 'base64';
2894
+ /** Optional data slice to limit the returned account data */
2895
+ dataSlice?: DataSlice;
2896
+ /** Optional array of filters to apply to accounts */
2897
+ filters?: GetProgramAccountsFilter[];
2898
+ /** The minimum slot that the request can be evaluated at */
2899
+ minContextSlot?: number;
2900
+ /** wrap the result in an RpcResponse JSON object */
2901
+ withContext?: boolean;
2902
+ };
2903
+ type GetProgramAccountsResponse = readonly Readonly<{
2904
+ account: AccountInfo<Buffer>;
2905
+ /** the account Pubkey as base-58 encoded string */
2906
+ pubkey: PublicKey;
2907
+ }>[];
2908
+ /**
2909
+ * Configuration object for getParsedProgramAccounts
2910
+ */
2911
+ type GetParsedProgramAccountsConfig = {
2912
+ /** Optional commitment level */
2913
+ commitment?: Commitment;
2914
+ /** Optional array of filters to apply to accounts */
2915
+ filters?: GetProgramAccountsFilter[];
2916
+ /** The minimum slot that the request can be evaluated at */
2917
+ minContextSlot?: number;
2918
+ };
2919
+ /**
2920
+ * Configuration object for getMultipleAccounts
2921
+ */
2922
+ type GetMultipleAccountsConfig = {
2923
+ /** Optional commitment level */
2924
+ commitment?: Commitment;
2925
+ /** The minimum slot that the request can be evaluated at */
2926
+ minContextSlot?: number;
2927
+ /** Optional data slice to limit the returned account data */
2928
+ dataSlice?: DataSlice;
2929
+ };
2930
+ /**
2931
+ * Configuration object for `getStakeActivation`
2932
+ */
2933
+ type GetStakeActivationConfig = {
2934
+ /** Optional commitment level */
2935
+ commitment?: Commitment;
2936
+ /** Epoch for which to calculate activation details. If parameter not provided, defaults to current epoch */
2937
+ epoch?: number;
2938
+ /** The minimum slot that the request can be evaluated at */
2939
+ minContextSlot?: number;
2940
+ };
2941
+ /**
2942
+ * Configuration object for `getStakeActivation`
2943
+ */
2944
+ type GetTokenAccountsByOwnerConfig = {
2945
+ /** Optional commitment level */
2946
+ commitment?: Commitment;
2947
+ /** The minimum slot that the request can be evaluated at */
2948
+ minContextSlot?: number;
2949
+ };
2950
+ /**
2951
+ * Configuration object for `getStakeActivation`
2952
+ */
2953
+ type GetTransactionCountConfig = {
2954
+ /** Optional commitment level */
2955
+ commitment?: Commitment;
2956
+ /** The minimum slot that the request can be evaluated at */
2957
+ minContextSlot?: number;
2958
+ };
2959
+ /**
2960
+ * Configuration object for `getNonce`
2961
+ */
2962
+ type GetNonceConfig = {
2963
+ /** Optional commitment level */
2964
+ commitment?: Commitment;
2965
+ /** The minimum slot that the request can be evaluated at */
2966
+ minContextSlot?: number;
2967
+ };
2968
+ /**
2969
+ * Configuration object for `getNonceAndContext`
2970
+ */
2971
+ type GetNonceAndContextConfig = {
2972
+ /** Optional commitment level */
2973
+ commitment?: Commitment;
2974
+ /** The minimum slot that the request can be evaluated at */
2975
+ minContextSlot?: number;
2976
+ };
2977
+ type AccountSubscriptionConfig = Readonly<{
2978
+ /** Optional commitment level */
2979
+ commitment?: Commitment;
2980
+ /**
2981
+ * Encoding format for Account data
2982
+ * - `base58` is slow.
2983
+ * - `jsonParsed` encoding attempts to use program-specific state parsers to return more
2984
+ * human-readable and explicit account state data
2985
+ * - If `jsonParsed` is requested but a parser cannot be found, the field falls back to `base64`
2986
+ * encoding, detectable when the `data` field is type `string`.
2987
+ */
2988
+ encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';
2989
+ }>;
2990
+ type ProgramAccountSubscriptionConfig = Readonly<{
2991
+ /** Optional commitment level */
2992
+ commitment?: Commitment;
2993
+ /**
2994
+ * Encoding format for Account data
2995
+ * - `base58` is slow.
2996
+ * - `jsonParsed` encoding attempts to use program-specific state parsers to return more
2997
+ * human-readable and explicit account state data
2998
+ * - If `jsonParsed` is requested but a parser cannot be found, the field falls back to `base64`
2999
+ * encoding, detectable when the `data` field is type `string`.
3000
+ */
3001
+ encoding?: 'base58' | 'base64' | 'base64+zstd' | 'jsonParsed';
3002
+ /**
3003
+ * Filter results using various filter objects
3004
+ * The resultant account must meet ALL filter criteria to be included in the returned results
3005
+ */
3006
+ filters?: GetProgramAccountsFilter[];
3007
+ }>;
3008
+ /**
3009
+ * Information describing an account
3010
+ */
3011
+ type AccountInfo<T> = {
3012
+ /** `true` if this account's data contains a loaded program */
3013
+ executable: boolean;
3014
+ /** Identifier of the program that owns the account */
3015
+ owner: PublicKey;
3016
+ /** Number of lamports assigned to the account */
3017
+ lamports: number;
3018
+ /** Optional data assigned to the account */
3019
+ data: T;
3020
+ /** Optional rent epoch info for account */
3021
+ rentEpoch?: number;
3022
+ };
3023
+ /**
3024
+ * Account information identified by pubkey
3025
+ */
3026
+ type KeyedAccountInfo = {
3027
+ accountId: PublicKey;
3028
+ accountInfo: AccountInfo<Buffer>;
3029
+ };
3030
+ /**
3031
+ * Callback function for account change notifications
3032
+ */
3033
+ type AccountChangeCallback = (accountInfo: AccountInfo<Buffer>, context: Context) => void;
3034
+ /**
3035
+ * Callback function for program account change notifications
3036
+ */
3037
+ type ProgramAccountChangeCallback = (keyedAccountInfo: KeyedAccountInfo, context: Context) => void;
3038
+ /**
3039
+ * Callback function for slot change notifications
3040
+ */
3041
+ type SlotChangeCallback = (slotInfo: SlotInfo) => void;
3042
+ /**
3043
+ * Callback function for slot update notifications
3044
+ */
3045
+ type SlotUpdateCallback = (slotUpdate: SlotUpdate) => void;
3046
+ /**
3047
+ * Callback function for signature status notifications
3048
+ */
3049
+ type SignatureResultCallback = (signatureResult: SignatureResult, context: Context) => void;
3050
+ /**
3051
+ * Signature status notification with transaction result
3052
+ */
3053
+ type SignatureStatusNotification = {
3054
+ type: 'status';
3055
+ result: SignatureResult;
3056
+ };
3057
+ /**
3058
+ * Signature received notification
3059
+ */
3060
+ type SignatureReceivedNotification = {
3061
+ type: 'received';
3062
+ };
3063
+ /**
3064
+ * Callback function for signature notifications
3065
+ */
3066
+ type SignatureSubscriptionCallback = (notification: SignatureStatusNotification | SignatureReceivedNotification, context: Context) => void;
3067
+ /**
3068
+ * Signature subscription options
3069
+ */
3070
+ type SignatureSubscriptionOptions = {
3071
+ commitment?: Commitment;
3072
+ enableReceivedNotification?: boolean;
3073
+ };
3074
+ /**
3075
+ * Callback function for root change notifications
3076
+ */
3077
+ type RootChangeCallback = (root: number) => void;
3078
+ /**
3079
+ * Logs result.
3080
+ */
3081
+ type Logs = {
3082
+ err: TransactionError | null;
3083
+ logs: string[];
3084
+ signature: string;
3085
+ };
3086
+ /**
3087
+ * Filter for log subscriptions.
3088
+ */
3089
+ type LogsFilter = PublicKey | 'all' | 'allWithVotes';
3090
+ /**
3091
+ * Callback function for log notifications.
3092
+ */
3093
+ type LogsCallback = (logs: Logs, ctx: Context) => void;
3094
+ /**
3095
+ * Signature result
3096
+ */
3097
+ type SignatureResult = {
3098
+ err: TransactionError | null;
3099
+ };
3100
+ /**
3101
+ * Transaction error
3102
+ */
3103
+ type TransactionError = {} | string;
3104
+ /**
3105
+ * Transaction confirmation status
3106
+ * <pre>
3107
+ * 'processed': Transaction landed in a block which has reached 1 confirmation by the connected node
3108
+ * 'confirmed': Transaction landed in a block which has reached 1 confirmation by the cluster
3109
+ * 'finalized': Transaction landed in a block which has been finalized by the cluster
3110
+ * </pre>
3111
+ */
3112
+ type TransactionConfirmationStatus = 'processed' | 'confirmed' | 'finalized';
3113
+ /**
3114
+ * Signature status
3115
+ */
3116
+ type SignatureStatus = {
3117
+ /** when the transaction was processed */
3118
+ slot: number;
3119
+ /** the number of blocks that have been confirmed and voted on in the fork containing `slot` */
3120
+ confirmations: number | null;
3121
+ /** transaction error, if any */
3122
+ err: TransactionError | null;
3123
+ /** cluster confirmation status, if data available. Possible responses: `processed`, `confirmed`, `finalized` */
3124
+ confirmationStatus?: TransactionConfirmationStatus;
3125
+ };
3126
+ /**
3127
+ * A confirmed signature with its status
3128
+ */
3129
+ type ConfirmedSignatureInfo = {
3130
+ /** the transaction signature */
3131
+ signature: string;
3132
+ /** when the transaction was processed */
3133
+ slot: number;
3134
+ /** error, if any */
3135
+ err: TransactionError | null;
3136
+ /** memo associated with the transaction, if any */
3137
+ memo: string | null;
3138
+ /** The unix timestamp of when the transaction was processed */
3139
+ blockTime?: number | null;
3140
+ /** Cluster confirmation status, if available. Possible values: `processed`, `confirmed`, `finalized` */
3141
+ confirmationStatus?: TransactionConfirmationStatus;
3142
+ };
3143
+ /**
3144
+ * An object defining headers to be passed to the RPC server
3145
+ */
3146
+ type HttpHeaders = {
3147
+ [header: string]: string;
3148
+ } & {
3149
+ 'solana-client'?: never;
3150
+ };
3151
+ /**
3152
+ * The type of the JavaScript `fetch()` API
3153
+ */
3154
+ type FetchFn = typeof _default;
3155
+ /**
3156
+ * A callback used to augment the outgoing HTTP request
3157
+ */
3158
+ type FetchMiddleware = (info: Parameters<FetchFn>[0], init: Parameters<FetchFn>[1], fetch: (...a: Parameters<FetchFn>) => void) => void;
3159
+ /**
3160
+ * Configuration for instantiating a Connection
3161
+ */
3162
+ type ConnectionConfig = {
3163
+ /**
3164
+ * An `http.Agent` that will be used to manage socket connections (eg. to implement connection
3165
+ * persistence). Set this to `false` to create a connection that uses no agent. This applies to
3166
+ * Node environments only.
3167
+ */
3168
+ httpAgent?: Agent | Agent$1 | false;
3169
+ /** Optional commitment level */
3170
+ commitment?: Commitment;
3171
+ /** Optional endpoint URL to the fullnode JSON RPC PubSub WebSocket Endpoint */
3172
+ wsEndpoint?: string;
3173
+ /** Optional HTTP headers object */
3174
+ httpHeaders?: HttpHeaders;
3175
+ /** Optional custom fetch function */
3176
+ fetch?: FetchFn;
3177
+ /** Optional fetch middleware callback */
3178
+ fetchMiddleware?: FetchMiddleware;
3179
+ /** Optional Disable retrying calls when server responds with HTTP 429 (Too Many Requests) */
3180
+ disableRetryOnRateLimit?: boolean;
3181
+ /** time to allow for the server to initially process a transaction (in milliseconds) */
3182
+ confirmTransactionInitialTimeout?: number;
3183
+ };
3184
+ /**
3185
+ * A connection to a fullnode JSON RPC endpoint
3186
+ */
3187
+ declare class Connection {
3188
+ /**
3189
+ * Establish a JSON RPC connection
3190
+ *
3191
+ * @param endpoint URL to the fullnode JSON RPC endpoint
3192
+ * @param commitmentOrConfig optional default commitment level or optional ConnectionConfig configuration object
3193
+ */
3194
+ constructor(endpoint: string, commitmentOrConfig?: Commitment | ConnectionConfig);
3195
+ /**
3196
+ * The default commitment used for requests
3197
+ */
3198
+ get commitment(): Commitment | undefined;
3199
+ /**
3200
+ * The RPC endpoint
3201
+ */
3202
+ get rpcEndpoint(): string;
3203
+ /**
3204
+ * Fetch the balance for the specified public key, return with context
3205
+ */
3206
+ getBalanceAndContext(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetBalanceConfig): Promise<RpcResponseAndContext<number>>;
3207
+ /**
3208
+ * Fetch the balance for the specified public key
3209
+ */
3210
+ getBalance(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetBalanceConfig): Promise<number>;
3211
+ /**
3212
+ * Fetch the estimated production time of a block
3213
+ */
3214
+ getBlockTime(slot: number): Promise<number | null>;
3215
+ /**
3216
+ * Fetch the lowest slot that the node has information about in its ledger.
3217
+ * This value may increase over time if the node is configured to purge older ledger data
3218
+ */
3219
+ getMinimumLedgerSlot(): Promise<number>;
3220
+ /**
3221
+ * Fetch the slot of the lowest confirmed block that has not been purged from the ledger
3222
+ */
3223
+ getFirstAvailableBlock(): Promise<number>;
3224
+ /**
3225
+ * Fetch information about the current supply
3226
+ */
3227
+ getSupply(config?: GetSupplyConfig | Commitment): Promise<RpcResponseAndContext<Supply>>;
3228
+ /**
3229
+ * Fetch the current supply of a token mint
3230
+ */
3231
+ getTokenSupply(tokenMintAddress: PublicKey, commitment?: Commitment): Promise<RpcResponseAndContext<TokenAmount>>;
3232
+ /**
3233
+ * Fetch the current balance of a token account
3234
+ */
3235
+ getTokenAccountBalance(tokenAddress: PublicKey, commitment?: Commitment): Promise<RpcResponseAndContext<TokenAmount>>;
3236
+ /**
3237
+ * Fetch all the token accounts owned by the specified account
3238
+ *
3239
+ * @return {Promise<RpcResponseAndContext<GetProgramAccountsResponse>}
3240
+ */
3241
+ getTokenAccountsByOwner(ownerAddress: PublicKey, filter: TokenAccountsFilter, commitmentOrConfig?: Commitment | GetTokenAccountsByOwnerConfig): Promise<RpcResponseAndContext<GetProgramAccountsResponse>>;
3242
+ /**
3243
+ * Fetch parsed token accounts owned by the specified account
3244
+ *
3245
+ * @return {Promise<RpcResponseAndContext<Array<{pubkey: PublicKey, account: AccountInfo<ParsedAccountData>}>>>}
3246
+ */
3247
+ getParsedTokenAccountsByOwner(ownerAddress: PublicKey, filter: TokenAccountsFilter, commitment?: Commitment): Promise<RpcResponseAndContext<Array<{
3248
+ pubkey: PublicKey;
3249
+ account: AccountInfo<ParsedAccountData>;
3250
+ }>>>;
3251
+ /**
3252
+ * Fetch the 20 largest accounts with their current balances
3253
+ */
3254
+ getLargestAccounts(config?: GetLargestAccountsConfig): Promise<RpcResponseAndContext<Array<AccountBalancePair>>>;
3255
+ /**
3256
+ * Fetch the 20 largest token accounts with their current balances
3257
+ * for a given mint.
3258
+ */
3259
+ getTokenLargestAccounts(mintAddress: PublicKey, commitment?: Commitment): Promise<RpcResponseAndContext<Array<TokenAccountBalancePair>>>;
3260
+ /**
3261
+ * Fetch all the account info for the specified public key, return with context
3262
+ */
3263
+ getAccountInfoAndContext(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<RpcResponseAndContext<AccountInfo<Buffer> | null>>;
3264
+ /**
3265
+ * Fetch parsed account info for the specified public key
3266
+ */
3267
+ getParsedAccountInfo(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<RpcResponseAndContext<AccountInfo<Buffer | ParsedAccountData> | null>>;
3268
+ /**
3269
+ * Fetch all the account info for the specified public key
3270
+ */
3271
+ getAccountInfo(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<AccountInfo<Buffer> | null>;
3272
+ /**
3273
+ * Fetch all the account info for multiple accounts specified by an array of public keys, return with context
3274
+ */
3275
+ getMultipleParsedAccounts(publicKeys: PublicKey[], rawConfig?: GetMultipleAccountsConfig): Promise<RpcResponseAndContext<(AccountInfo<Buffer | ParsedAccountData> | null)[]>>;
3276
+ /**
3277
+ * Fetch all the account info for multiple accounts specified by an array of public keys, return with context
3278
+ */
3279
+ getMultipleAccountsInfoAndContext(publicKeys: PublicKey[], commitmentOrConfig?: Commitment | GetMultipleAccountsConfig): Promise<RpcResponseAndContext<(AccountInfo<Buffer> | null)[]>>;
3280
+ /**
3281
+ * Fetch all the account info for multiple accounts specified by an array of public keys
3282
+ */
3283
+ getMultipleAccountsInfo(publicKeys: PublicKey[], commitmentOrConfig?: Commitment | GetMultipleAccountsConfig): Promise<(AccountInfo<Buffer> | null)[]>;
3284
+ /**
3285
+ * Returns epoch activation information for a stake account that has been delegated
3286
+ *
3287
+ * @deprecated Deprecated since RPC v1.18; will be removed in a future version.
3288
+ */
3289
+ getStakeActivation(publicKey: PublicKey, commitmentOrConfig?: Commitment | GetStakeActivationConfig, epoch?: number): Promise<StakeActivationData>;
3290
+ /**
3291
+ * Fetch all the accounts owned by the specified program id
3292
+ *
3293
+ * @return {Promise<Array<{pubkey: PublicKey, account: AccountInfo<Buffer>}>>}
3294
+ */
3295
+ getProgramAccounts(programId: PublicKey, configOrCommitment: GetProgramAccountsConfig & Readonly<{
3296
+ withContext: true;
3297
+ }>): Promise<RpcResponseAndContext<GetProgramAccountsResponse>>;
3298
+ getProgramAccounts(programId: PublicKey, configOrCommitment?: GetProgramAccountsConfig | Commitment): Promise<GetProgramAccountsResponse>;
3299
+ /**
3300
+ * Fetch and parse all the accounts owned by the specified program id
3301
+ *
3302
+ * @return {Promise<Array<{pubkey: PublicKey, account: AccountInfo<Buffer | ParsedAccountData>}>>}
3303
+ */
3304
+ getParsedProgramAccounts(programId: PublicKey, configOrCommitment?: GetParsedProgramAccountsConfig | Commitment): Promise<Array<{
3305
+ pubkey: PublicKey;
3306
+ account: AccountInfo<Buffer | ParsedAccountData>;
3307
+ }>>;
3308
+ confirmTransaction(strategy: TransactionConfirmationStrategy, commitment?: Commitment): Promise<RpcResponseAndContext<SignatureResult>>;
3309
+ /** @deprecated Instead, call `confirmTransaction` and pass in {@link TransactionConfirmationStrategy} */
3310
+ confirmTransaction(strategy: TransactionSignature, commitment?: Commitment): Promise<RpcResponseAndContext<SignatureResult>>;
3311
+ private getCancellationPromise;
3312
+ private getTransactionConfirmationPromise;
3313
+ private confirmTransactionUsingBlockHeightExceedanceStrategy;
3314
+ private confirmTransactionUsingDurableNonceStrategy;
3315
+ private confirmTransactionUsingLegacyTimeoutStrategy;
3316
+ /**
3317
+ * Return the list of nodes that are currently participating in the cluster
3318
+ */
3319
+ getClusterNodes(): Promise<Array<ContactInfo>>;
3320
+ /**
3321
+ * Return the list of nodes that are currently participating in the cluster
3322
+ */
3323
+ getVoteAccounts(commitment?: Commitment): Promise<VoteAccountStatus>;
3324
+ /**
3325
+ * Fetch the current slot that the node is processing
3326
+ */
3327
+ getSlot(commitmentOrConfig?: Commitment | GetSlotConfig): Promise<number>;
3328
+ /**
3329
+ * Fetch the current slot leader of the cluster
3330
+ */
3331
+ getSlotLeader(commitmentOrConfig?: Commitment | GetSlotLeaderConfig): Promise<string>;
3332
+ /**
3333
+ * Fetch `limit` number of slot leaders starting from `startSlot`
3334
+ *
3335
+ * @param startSlot fetch slot leaders starting from this slot
3336
+ * @param limit number of slot leaders to return
3337
+ */
3338
+ getSlotLeaders(startSlot: number, limit: number): Promise<Array<PublicKey>>;
3339
+ /**
3340
+ * Fetch the current status of a signature
3341
+ */
3342
+ getSignatureStatus(signature: TransactionSignature, config?: SignatureStatusConfig): Promise<RpcResponseAndContext<SignatureStatus | null>>;
3343
+ /**
3344
+ * Fetch the current statuses of a batch of signatures
3345
+ */
3346
+ getSignatureStatuses(signatures: Array<TransactionSignature>, config?: SignatureStatusConfig): Promise<RpcResponseAndContext<Array<SignatureStatus | null>>>;
3347
+ /**
3348
+ * Fetch the current transaction count of the cluster
3349
+ */
3350
+ getTransactionCount(commitmentOrConfig?: Commitment | GetTransactionCountConfig): Promise<number>;
3351
+ /**
3352
+ * Fetch the current total currency supply of the cluster in lamports
3353
+ *
3354
+ * @deprecated Deprecated since RPC v1.2.8. Please use {@link getSupply} instead.
3355
+ */
3356
+ getTotalSupply(commitment?: Commitment): Promise<number>;
3357
+ /**
3358
+ * Fetch the cluster InflationGovernor parameters
3359
+ */
3360
+ getInflationGovernor(commitment?: Commitment): Promise<InflationGovernor>;
3361
+ /**
3362
+ * Fetch the inflation reward for a list of addresses for an epoch
3363
+ */
3364
+ getInflationReward(addresses: PublicKey[], epoch?: number, commitmentOrConfig?: Commitment | GetInflationRewardConfig): Promise<(InflationReward | null)[]>;
3365
+ /**
3366
+ * Fetch the specific inflation values for the current epoch
3367
+ */
3368
+ getInflationRate(): Promise<InflationRate>;
3369
+ /**
3370
+ * Fetch the Epoch Info parameters
3371
+ */
3372
+ getEpochInfo(commitmentOrConfig?: Commitment | GetEpochInfoConfig): Promise<EpochInfo>;
3373
+ /**
3374
+ * Fetch the Epoch Schedule parameters
3375
+ */
3376
+ getEpochSchedule(): Promise<EpochSchedule>;
3377
+ /**
3378
+ * Fetch the leader schedule for the current epoch
3379
+ * @return {Promise<RpcResponseAndContext<LeaderSchedule>>}
3380
+ */
3381
+ getLeaderSchedule(): Promise<LeaderSchedule>;
3382
+ /**
3383
+ * Fetch the minimum balance needed to exempt an account of `dataLength`
3384
+ * size from rent
3385
+ */
3386
+ getMinimumBalanceForRentExemption(dataLength: number, commitment?: Commitment): Promise<number>;
3387
+ /**
3388
+ * Fetch a recent blockhash from the cluster, return with context
3389
+ * @return {Promise<RpcResponseAndContext<{blockhash: Blockhash, feeCalculator: FeeCalculator}>>}
3390
+ *
3391
+ * @deprecated Deprecated since RPC v1.9.0. Please use {@link getLatestBlockhash} instead.
3392
+ */
3393
+ getRecentBlockhashAndContext(commitment?: Commitment): Promise<RpcResponseAndContext<{
3394
+ blockhash: Blockhash;
3395
+ feeCalculator: FeeCalculator;
3396
+ }>>;
3397
+ /**
3398
+ * Fetch recent performance samples
3399
+ * @return {Promise<Array<PerfSample>>}
3400
+ */
3401
+ getRecentPerformanceSamples(limit?: number): Promise<Array<PerfSample>>;
3402
+ /**
3403
+ * Fetch the fee calculator for a recent blockhash from the cluster, return with context
3404
+ *
3405
+ * @deprecated Deprecated since RPC v1.9.0. Please use {@link getFeeForMessage} instead.
3406
+ */
3407
+ getFeeCalculatorForBlockhash(blockhash: Blockhash, commitment?: Commitment): Promise<RpcResponseAndContext<FeeCalculator | null>>;
3408
+ /**
3409
+ * Fetch the fee for a message from the cluster, return with context
3410
+ */
3411
+ getFeeForMessage(message: VersionedMessage, commitment?: Commitment): Promise<RpcResponseAndContext<number | null>>;
3412
+ /**
3413
+ * Fetch a list of prioritization fees from recent blocks.
3414
+ */
3415
+ getRecentPrioritizationFees(config?: GetRecentPrioritizationFeesConfig): Promise<RecentPrioritizationFees[]>;
3416
+ /**
3417
+ * Fetch a recent blockhash from the cluster
3418
+ * @return {Promise<{blockhash: Blockhash, feeCalculator: FeeCalculator}>}
3419
+ *
3420
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link getLatestBlockhash} instead.
3421
+ */
3422
+ getRecentBlockhash(commitment?: Commitment): Promise<{
3423
+ blockhash: Blockhash;
3424
+ feeCalculator: FeeCalculator;
3425
+ }>;
3426
+ /**
3427
+ * Fetch the latest blockhash from the cluster
3428
+ * @return {Promise<BlockhashWithExpiryBlockHeight>}
3429
+ */
3430
+ getLatestBlockhash(commitmentOrConfig?: Commitment | GetLatestBlockhashConfig): Promise<BlockhashWithExpiryBlockHeight>;
3431
+ /**
3432
+ * Fetch the latest blockhash from the cluster
3433
+ * @return {Promise<BlockhashWithExpiryBlockHeight>}
3434
+ */
3435
+ getLatestBlockhashAndContext(commitmentOrConfig?: Commitment | GetLatestBlockhashConfig): Promise<RpcResponseAndContext<BlockhashWithExpiryBlockHeight>>;
3436
+ /**
3437
+ * Returns whether a blockhash is still valid or not
3438
+ */
3439
+ isBlockhashValid(blockhash: Blockhash, rawConfig?: IsBlockhashValidConfig): Promise<RpcResponseAndContext<boolean>>;
3440
+ /**
3441
+ * Fetch the node version
3442
+ */
3443
+ getVersion(): Promise<Version>;
3444
+ /**
3445
+ * Fetch the genesis hash
3446
+ */
3447
+ getGenesisHash(): Promise<string>;
3448
+ /**
3449
+ * Fetch a processed block from the cluster.
3450
+ *
3451
+ * @deprecated Instead, call `getBlock` using a `GetVersionedBlockConfig` by
3452
+ * setting the `maxSupportedTransactionVersion` property.
3453
+ */
3454
+ getBlock(slot: number, rawConfig?: GetBlockConfig): Promise<BlockResponse | null>;
3455
+ /**
3456
+ * @deprecated Instead, call `getBlock` using a `GetVersionedBlockConfig` by
3457
+ * setting the `maxSupportedTransactionVersion` property.
3458
+ */
3459
+ getBlock(slot: number, rawConfig: GetBlockConfig & {
3460
+ transactionDetails: 'accounts';
3461
+ }): Promise<AccountsModeBlockResponse | null>;
3462
+ /**
3463
+ * @deprecated Instead, call `getBlock` using a `GetVersionedBlockConfig` by
3464
+ * setting the `maxSupportedTransactionVersion` property.
3465
+ */
3466
+ getBlock(slot: number, rawConfig: GetBlockConfig & {
3467
+ transactionDetails: 'none';
3468
+ }): Promise<NoneModeBlockResponse | null>;
3469
+ /**
3470
+ * Fetch a processed block from the cluster.
3471
+ */
3472
+ getBlock(slot: number, rawConfig?: GetVersionedBlockConfig): Promise<VersionedBlockResponse | null>;
3473
+ getBlock(slot: number, rawConfig: GetVersionedBlockConfig & {
3474
+ transactionDetails: 'accounts';
3475
+ }): Promise<VersionedAccountsModeBlockResponse | null>;
3476
+ getBlock(slot: number, rawConfig: GetVersionedBlockConfig & {
3477
+ transactionDetails: 'none';
3478
+ }): Promise<VersionedNoneModeBlockResponse | null>;
3479
+ /**
3480
+ * Fetch parsed transaction details for a confirmed or finalized block
3481
+ */
3482
+ getParsedBlock(slot: number, rawConfig?: GetVersionedBlockConfig): Promise<ParsedAccountsModeBlockResponse>;
3483
+ getParsedBlock(slot: number, rawConfig: GetVersionedBlockConfig & {
3484
+ transactionDetails: 'accounts';
3485
+ }): Promise<ParsedAccountsModeBlockResponse>;
3486
+ getParsedBlock(slot: number, rawConfig: GetVersionedBlockConfig & {
3487
+ transactionDetails: 'none';
3488
+ }): Promise<ParsedNoneModeBlockResponse>;
3489
+ getBlockHeight: (commitmentOrConfig?: Commitment | GetBlockHeightConfig) => Promise<number>;
3490
+ getBlockProduction(configOrCommitment?: GetBlockProductionConfig | Commitment): Promise<RpcResponseAndContext<BlockProduction>>;
3491
+ /**
3492
+ * Fetch a confirmed or finalized transaction from the cluster.
3493
+ *
3494
+ * @deprecated Instead, call `getTransaction` using a
3495
+ * `GetVersionedTransactionConfig` by setting the
3496
+ * `maxSupportedTransactionVersion` property.
3497
+ */
3498
+ getTransaction(signature: string, rawConfig?: GetTransactionConfig): Promise<TransactionResponse | null>;
3499
+ /**
3500
+ * Fetch a confirmed or finalized transaction from the cluster.
3501
+ */
3502
+ getTransaction(signature: string, rawConfig: GetVersionedTransactionConfig): Promise<VersionedTransactionResponse | null>;
3503
+ /**
3504
+ * Fetch parsed transaction details for a confirmed or finalized transaction
3505
+ */
3506
+ getParsedTransaction(signature: TransactionSignature, commitmentOrConfig?: GetVersionedTransactionConfig | Finality): Promise<ParsedTransactionWithMeta | null>;
3507
+ /**
3508
+ * Fetch parsed transaction details for a batch of confirmed transactions
3509
+ */
3510
+ getParsedTransactions(signatures: TransactionSignature[], commitmentOrConfig?: GetVersionedTransactionConfig | Finality): Promise<(ParsedTransactionWithMeta | null)[]>;
3511
+ /**
3512
+ * Fetch transaction details for a batch of confirmed transactions.
3513
+ * Similar to {@link getParsedTransactions} but returns a {@link TransactionResponse}.
3514
+ *
3515
+ * @deprecated Instead, call `getTransactions` using a
3516
+ * `GetVersionedTransactionConfig` by setting the
3517
+ * `maxSupportedTransactionVersion` property.
3518
+ */
3519
+ getTransactions(signatures: TransactionSignature[], commitmentOrConfig?: GetTransactionConfig | Finality): Promise<(TransactionResponse | null)[]>;
3520
+ /**
3521
+ * Fetch transaction details for a batch of confirmed transactions.
3522
+ * Similar to {@link getParsedTransactions} but returns a {@link
3523
+ * VersionedTransactionResponse}.
3524
+ */
3525
+ getTransactions(signatures: TransactionSignature[], commitmentOrConfig: GetVersionedTransactionConfig | Finality): Promise<(VersionedTransactionResponse | null)[]>;
3526
+ /**
3527
+ * Fetch a list of Transactions and transaction statuses from the cluster
3528
+ * for a confirmed block.
3529
+ *
3530
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getBlock} instead.
3531
+ */
3532
+ getConfirmedBlock(slot: number, commitment?: Finality): Promise<ConfirmedBlock>;
3533
+ /**
3534
+ * Fetch confirmed blocks between two slots
3535
+ */
3536
+ getBlocks(startSlot: number, endSlot?: number, commitment?: Finality): Promise<Array<number>>;
3537
+ /**
3538
+ * Fetch a list of Signatures from the cluster for a block, excluding rewards
3539
+ */
3540
+ getBlockSignatures(slot: number, commitment?: Finality): Promise<BlockSignatures>;
3541
+ /**
3542
+ * Fetch a list of Signatures from the cluster for a confirmed block, excluding rewards
3543
+ *
3544
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getBlockSignatures} instead.
3545
+ */
3546
+ getConfirmedBlockSignatures(slot: number, commitment?: Finality): Promise<BlockSignatures>;
3547
+ /**
3548
+ * Fetch a transaction details for a confirmed transaction
3549
+ *
3550
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getTransaction} instead.
3551
+ */
3552
+ getConfirmedTransaction(signature: TransactionSignature, commitment?: Finality): Promise<ConfirmedTransaction | null>;
3553
+ /**
3554
+ * Fetch parsed transaction details for a confirmed transaction
3555
+ *
3556
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getParsedTransaction} instead.
3557
+ */
3558
+ getParsedConfirmedTransaction(signature: TransactionSignature, commitment?: Finality): Promise<ParsedConfirmedTransaction | null>;
3559
+ /**
3560
+ * Fetch parsed transaction details for a batch of confirmed transactions
3561
+ *
3562
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getParsedTransactions} instead.
3563
+ */
3564
+ getParsedConfirmedTransactions(signatures: TransactionSignature[], commitment?: Finality): Promise<(ParsedConfirmedTransaction | null)[]>;
3565
+ /**
3566
+ * Fetch a list of all the confirmed signatures for transactions involving an address
3567
+ * within a specified slot range. Max range allowed is 10,000 slots.
3568
+ *
3569
+ * @deprecated Deprecated since RPC v1.3. Please use {@link getConfirmedSignaturesForAddress2} instead.
3570
+ *
3571
+ * @param address queried address
3572
+ * @param startSlot start slot, inclusive
3573
+ * @param endSlot end slot, inclusive
3574
+ */
3575
+ getConfirmedSignaturesForAddress(address: PublicKey, startSlot: number, endSlot: number): Promise<Array<TransactionSignature>>;
3576
+ /**
3577
+ * Returns confirmed signatures for transactions involving an
3578
+ * address backwards in time from the provided signature or most recent confirmed block
3579
+ *
3580
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getSignaturesForAddress} instead.
3581
+ */
3582
+ getConfirmedSignaturesForAddress2(address: PublicKey, options?: ConfirmedSignaturesForAddress2Options, commitment?: Finality): Promise<Array<ConfirmedSignatureInfo>>;
3583
+ /**
3584
+ * Returns confirmed signatures for transactions involving an
3585
+ * address backwards in time from the provided signature or most recent confirmed block
3586
+ *
3587
+ *
3588
+ * @param address queried address
3589
+ * @param options
3590
+ */
3591
+ getSignaturesForAddress(address: PublicKey, options?: SignaturesForAddressOptions, commitment?: Finality): Promise<Array<ConfirmedSignatureInfo>>;
3592
+ getAddressLookupTable(accountKey: PublicKey, config?: GetAccountInfoConfig): Promise<RpcResponseAndContext<AddressLookupTableAccount | null>>;
3593
+ /**
3594
+ * Fetch the contents of a Nonce account from the cluster, return with context
3595
+ */
3596
+ getNonceAndContext(nonceAccount: PublicKey, commitmentOrConfig?: Commitment | GetNonceAndContextConfig): Promise<RpcResponseAndContext<NonceAccount | null>>;
3597
+ /**
3598
+ * Fetch the contents of a Nonce account from the cluster
3599
+ */
3600
+ getNonce(nonceAccount: PublicKey, commitmentOrConfig?: Commitment | GetNonceConfig): Promise<NonceAccount | null>;
3601
+ /**
3602
+ * Request an allocation of lamports to the specified address
3603
+ *
3604
+ * ```typescript
3605
+ * import { Connection, PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js";
3606
+ *
3607
+ * (async () => {
3608
+ * const connection = new Connection("https://api.testnet.solana.com", "confirmed");
3609
+ * const myAddress = new PublicKey("2nr1bHFT86W9tGnyvmYW4vcHKsQB3sVQfnddasz4kExM");
3610
+ * const signature = await connection.requestAirdrop(myAddress, LAMPORTS_PER_SOL);
3611
+ * await connection.confirmTransaction(signature);
3612
+ * })();
3613
+ * ```
3614
+ */
3615
+ requestAirdrop(to: PublicKey, lamports: number): Promise<TransactionSignature>;
3616
+ /**
3617
+ * get the stake minimum delegation
3618
+ */
3619
+ getStakeMinimumDelegation(config?: GetStakeMinimumDelegationConfig): Promise<RpcResponseAndContext<number>>;
3620
+ /**
3621
+ * Simulate a transaction
3622
+ *
3623
+ * @deprecated Instead, call {@link simulateTransaction} with {@link
3624
+ * VersionedTransaction} and {@link SimulateTransactionConfig} parameters
3625
+ */
3626
+ simulateTransaction(transactionOrMessage: Transaction | Message, signers?: Array<Signer>, includeAccounts?: boolean | Array<PublicKey>): Promise<RpcResponseAndContext<SimulatedTransactionResponse>>;
3627
+ /**
3628
+ * Simulate a transaction
3629
+ */
3630
+ simulateTransaction(transaction: VersionedTransaction, config?: SimulateTransactionConfig): Promise<RpcResponseAndContext<SimulatedTransactionResponse>>;
3631
+ /**
3632
+ * Sign and send a transaction
3633
+ *
3634
+ * @deprecated Instead, call {@link sendTransaction} with a {@link
3635
+ * VersionedTransaction}
3636
+ */
3637
+ sendTransaction(transaction: Transaction, signers: Array<Signer>, options?: SendOptions): Promise<TransactionSignature>;
3638
+ /**
3639
+ * Send a signed transaction
3640
+ */
3641
+ sendTransaction(transaction: VersionedTransaction, options?: SendOptions): Promise<TransactionSignature>;
3642
+ /**
3643
+ * Send a transaction that has already been signed and serialized into the
3644
+ * wire format
3645
+ */
3646
+ sendRawTransaction(rawTransaction: Buffer | Uint8Array | Array<number>, options?: SendOptions): Promise<TransactionSignature>;
3647
+ /**
3648
+ * Send a transaction that has already been signed, serialized into the
3649
+ * wire format, and encoded as a base64 string
3650
+ */
3651
+ sendEncodedTransaction(encodedTransaction: string, options?: SendOptions): Promise<TransactionSignature>;
3652
+ /**
3653
+ * Register a callback to be invoked whenever the specified account changes
3654
+ *
3655
+ * @param publicKey Public key of the account to monitor
3656
+ * @param callback Function to invoke whenever the account is changed
3657
+ * @param config
3658
+ * @return subscription id
3659
+ */
3660
+ onAccountChange(publicKey: PublicKey, callback: AccountChangeCallback, config?: AccountSubscriptionConfig): ClientSubscriptionId;
3661
+ /** @deprecated Instead, pass in an {@link AccountSubscriptionConfig} */
3662
+ onAccountChange(publicKey: PublicKey, callback: AccountChangeCallback, commitment?: Commitment): ClientSubscriptionId;
3663
+ /**
3664
+ * Deregister an account notification callback
3665
+ *
3666
+ * @param clientSubscriptionId client subscription id to deregister
3667
+ */
3668
+ removeAccountChangeListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3669
+ /**
3670
+ * Register a callback to be invoked whenever accounts owned by the
3671
+ * specified program change
3672
+ *
3673
+ * @param programId Public key of the program to monitor
3674
+ * @param callback Function to invoke whenever the account is changed
3675
+ * @param config
3676
+ * @return subscription id
3677
+ */
3678
+ onProgramAccountChange(programId: PublicKey, callback: ProgramAccountChangeCallback, config?: ProgramAccountSubscriptionConfig): ClientSubscriptionId;
3679
+ /** @deprecated Instead, pass in a {@link ProgramAccountSubscriptionConfig} */
3680
+ onProgramAccountChange(programId: PublicKey, callback: ProgramAccountChangeCallback, commitment?: Commitment, filters?: GetProgramAccountsFilter[]): ClientSubscriptionId;
3681
+ /**
3682
+ * Deregister an account notification callback
3683
+ *
3684
+ * @param clientSubscriptionId client subscription id to deregister
3685
+ */
3686
+ removeProgramAccountChangeListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3687
+ /**
3688
+ * Registers a callback to be invoked whenever logs are emitted.
3689
+ */
3690
+ onLogs(filter: LogsFilter, callback: LogsCallback, commitment?: Commitment): ClientSubscriptionId;
3691
+ /**
3692
+ * Deregister a logs callback.
3693
+ *
3694
+ * @param clientSubscriptionId client subscription id to deregister.
3695
+ */
3696
+ removeOnLogsListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3697
+ /**
3698
+ * Register a callback to be invoked upon slot changes
3699
+ *
3700
+ * @param callback Function to invoke whenever the slot changes
3701
+ * @return subscription id
3702
+ */
3703
+ onSlotChange(callback: SlotChangeCallback): ClientSubscriptionId;
3704
+ /**
3705
+ * Deregister a slot notification callback
3706
+ *
3707
+ * @param clientSubscriptionId client subscription id to deregister
3708
+ */
3709
+ removeSlotChangeListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3710
+ /**
3711
+ * Register a callback to be invoked upon slot updates. {@link SlotUpdate}'s
3712
+ * may be useful to track live progress of a cluster.
3713
+ *
3714
+ * @param callback Function to invoke whenever the slot updates
3715
+ * @return subscription id
3716
+ */
3717
+ onSlotUpdate(callback: SlotUpdateCallback): ClientSubscriptionId;
3718
+ /**
3719
+ * Deregister a slot update notification callback
3720
+ *
3721
+ * @param clientSubscriptionId client subscription id to deregister
3722
+ */
3723
+ removeSlotUpdateListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3724
+ _buildArgs(args: Array<any>, override?: Commitment, encoding?: 'jsonParsed' | 'base64', extra?: any): Array<any>;
3725
+ /**
3726
+ * Register a callback to be invoked upon signature updates
3727
+ *
3728
+ * @param signature Transaction signature string in base 58
3729
+ * @param callback Function to invoke on signature notifications
3730
+ * @param commitment Specify the commitment level signature must reach before notification
3731
+ * @return subscription id
3732
+ */
3733
+ onSignature(signature: TransactionSignature, callback: SignatureResultCallback, commitment?: Commitment): ClientSubscriptionId;
3734
+ /**
3735
+ * Register a callback to be invoked when a transaction is
3736
+ * received and/or processed.
3737
+ *
3738
+ * @param signature Transaction signature string in base 58
3739
+ * @param callback Function to invoke on signature notifications
3740
+ * @param options Enable received notifications and set the commitment
3741
+ * level that signature must reach before notification
3742
+ * @return subscription id
3743
+ */
3744
+ onSignatureWithOptions(signature: TransactionSignature, callback: SignatureSubscriptionCallback, options?: SignatureSubscriptionOptions): ClientSubscriptionId;
3745
+ /**
3746
+ * Deregister a signature notification callback
3747
+ *
3748
+ * @param clientSubscriptionId client subscription id to deregister
3749
+ */
3750
+ removeSignatureListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3751
+ /**
3752
+ * Register a callback to be invoked upon root changes
3753
+ *
3754
+ * @param callback Function to invoke whenever the root changes
3755
+ * @return subscription id
3756
+ */
3757
+ onRootChange(callback: RootChangeCallback): ClientSubscriptionId;
3758
+ /**
3759
+ * Deregister a root notification callback
3760
+ *
3761
+ * @param clientSubscriptionId client subscription id to deregister
3762
+ */
3763
+ removeRootChangeListener(clientSubscriptionId: ClientSubscriptionId): Promise<void>;
3764
+ }
3765
+
3766
+ /**
3767
+ * @deprecated Deprecated since Solana v1.17.20.
3768
+ */
3769
+ declare const BPF_LOADER_PROGRAM_ID: PublicKey;
3770
+ /**
3771
+ * Factory class for transactions to interact with a program loader
3772
+ *
3773
+ * @deprecated Deprecated since Solana v1.17.20.
3774
+ */
3775
+ declare class BpfLoader {
3776
+ /**
3777
+ * Minimum number of signatures required to load a program not including
3778
+ * retries
3779
+ *
3780
+ * Can be used to calculate transaction fees
3781
+ */
3782
+ static getMinNumSignatures(dataLength: number): number;
3783
+ /**
3784
+ * Load a SBF program
3785
+ *
3786
+ * @param connection The connection to use
3787
+ * @param payer Account that will pay program loading fees
3788
+ * @param program Account to load the program into
3789
+ * @param elf The entire ELF containing the SBF program
3790
+ * @param loaderProgramId The program id of the BPF loader to use
3791
+ * @return true if program was loaded successfully, false if program was already loaded
3792
+ */
3793
+ static load(connection: Connection, payer: Signer, program: Signer, elf: Buffer | Uint8Array | Array<number>, loaderProgramId: PublicKey): Promise<boolean>;
3794
+ }
3795
+
3796
+ declare class SendTransactionError extends Error {
3797
+ private signature;
3798
+ private transactionMessage;
3799
+ private transactionLogs;
3800
+ constructor({ action, signature, transactionMessage, logs, }: {
3801
+ action: 'send' | 'simulate';
3802
+ signature: TransactionSignature;
3803
+ transactionMessage: string;
3804
+ logs?: string[];
3805
+ });
3806
+ get transactionError(): {
3807
+ message: string;
3808
+ logs?: string[];
3809
+ };
3810
+ get logs(): string[] | undefined;
3811
+ getLogs(connection: Connection): Promise<string[]>;
3812
+ }
3813
+ declare const SolanaJSONRPCErrorCode: {
3814
+ readonly JSON_RPC_SERVER_ERROR_BLOCK_CLEANED_UP: -32001;
3815
+ readonly JSON_RPC_SERVER_ERROR_SEND_TRANSACTION_PREFLIGHT_FAILURE: -32002;
3816
+ readonly JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_VERIFICATION_FAILURE: -32003;
3817
+ readonly JSON_RPC_SERVER_ERROR_BLOCK_NOT_AVAILABLE: -32004;
3818
+ readonly JSON_RPC_SERVER_ERROR_NODE_UNHEALTHY: -32005;
3819
+ readonly JSON_RPC_SERVER_ERROR_TRANSACTION_PRECOMPILE_VERIFICATION_FAILURE: -32006;
3820
+ readonly JSON_RPC_SERVER_ERROR_SLOT_SKIPPED: -32007;
3821
+ readonly JSON_RPC_SERVER_ERROR_NO_SNAPSHOT: -32008;
3822
+ readonly JSON_RPC_SERVER_ERROR_LONG_TERM_STORAGE_SLOT_SKIPPED: -32009;
3823
+ readonly JSON_RPC_SERVER_ERROR_KEY_EXCLUDED_FROM_SECONDARY_INDEX: -32010;
3824
+ readonly JSON_RPC_SERVER_ERROR_TRANSACTION_HISTORY_NOT_AVAILABLE: -32011;
3825
+ readonly JSON_RPC_SCAN_ERROR: -32012;
3826
+ readonly JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_LEN_MISMATCH: -32013;
3827
+ readonly JSON_RPC_SERVER_ERROR_BLOCK_STATUS_NOT_AVAILABLE_YET: -32014;
3828
+ readonly JSON_RPC_SERVER_ERROR_UNSUPPORTED_TRANSACTION_VERSION: -32015;
3829
+ readonly JSON_RPC_SERVER_ERROR_MIN_CONTEXT_SLOT_NOT_REACHED: -32016;
3830
+ };
3831
+ type SolanaJSONRPCErrorCodeEnum = (typeof SolanaJSONRPCErrorCode)[keyof typeof SolanaJSONRPCErrorCode];
3832
+ declare class SolanaJSONRPCError extends Error {
3833
+ code: SolanaJSONRPCErrorCodeEnum | unknown;
3834
+ data?: any;
3835
+ constructor({ code, message, data, }: Readonly<{
3836
+ code: unknown;
3837
+ message: string;
3838
+ data?: any;
3839
+ }>, customMessage?: string);
3840
+ }
3841
+
3842
+ /**
3843
+ * Program loader interface
3844
+ */
3845
+ declare class Loader {
3846
+ /**
3847
+ * Amount of program data placed in each load Transaction
3848
+ */
3849
+ static chunkSize: number;
3850
+ /**
3851
+ * Minimum number of signatures required to load a program not including
3852
+ * retries
3853
+ *
3854
+ * Can be used to calculate transaction fees
3855
+ */
3856
+ static getMinNumSignatures(dataLength: number): number;
3857
+ /**
3858
+ * Loads a generic program
3859
+ *
3860
+ * @param connection The connection to use
3861
+ * @param payer System account that pays to load the program
3862
+ * @param program Account to load the program into
3863
+ * @param programId Public key that identifies the loader
3864
+ * @param data Program octets
3865
+ * @return true if program was loaded successfully, false if program was already loaded
3866
+ */
3867
+ static load(connection: Connection, payer: Signer, program: Signer, programId: PublicKey, data: Buffer | Uint8Array | Array<number>): Promise<boolean>;
3868
+ }
3869
+
3870
+ declare const VALIDATOR_INFO_KEY: PublicKey;
3871
+ /**
3872
+ * Info used to identity validators.
3873
+ */
3874
+ type Info = {
3875
+ /** validator name */
3876
+ name: string;
3877
+ /** optional, validator website */
3878
+ website?: string;
3879
+ /** optional, extra information the validator chose to share */
3880
+ details?: string;
3881
+ /** optional, validator logo URL */
3882
+ iconUrl?: string;
3883
+ /** optional, used to identify validators on keybase.io */
3884
+ keybaseUsername?: string;
3885
+ };
3886
+ /**
3887
+ * ValidatorInfo class
3888
+ */
3889
+ declare class ValidatorInfo {
3890
+ /**
3891
+ * validator public key
3892
+ */
3893
+ key: PublicKey;
3894
+ /**
3895
+ * validator information
3896
+ */
3897
+ info: Info;
3898
+ /**
3899
+ * Construct a valid ValidatorInfo
3900
+ *
3901
+ * @param key validator public key
3902
+ * @param info validator information
3903
+ */
3904
+ constructor(key: PublicKey, info: Info);
3905
+ /**
3906
+ * Deserialize ValidatorInfo from the config account data. Exactly two config
3907
+ * keys are required in the data.
3908
+ *
3909
+ * @param buffer config account data
3910
+ * @return null if info was not found
3911
+ */
3912
+ static fromConfigData(buffer: Buffer | Uint8Array | Array<number>): ValidatorInfo | null;
3913
+ }
3914
+
3915
+ declare const VOTE_PROGRAM_ID: PublicKey;
3916
+ type Lockout = {
3917
+ slot: number;
3918
+ confirmationCount: number;
3919
+ };
3920
+ /**
3921
+ * History of how many credits earned by the end of each epoch
3922
+ */
3923
+ type EpochCredits = Readonly<{
3924
+ epoch: number;
3925
+ credits: number;
3926
+ prevCredits: number;
3927
+ }>;
3928
+ type AuthorizedVoter = Readonly<{
3929
+ epoch: number;
3930
+ authorizedVoter: PublicKey;
3931
+ }>;
3932
+ type PriorVoter = Readonly<{
3933
+ authorizedPubkey: PublicKey;
3934
+ epochOfLastAuthorizedSwitch: number;
3935
+ targetEpoch: number;
3936
+ }>;
3937
+ type BlockTimestamp = Readonly<{
3938
+ slot: number;
3939
+ timestamp: number;
3940
+ }>;
3941
+ /**
3942
+ * VoteAccount class
3943
+ */
3944
+ declare class VoteAccount {
3945
+ nodePubkey: PublicKey;
3946
+ authorizedWithdrawer: PublicKey;
3947
+ commission: number;
3948
+ rootSlot: number | null;
3949
+ votes: Lockout[];
3950
+ authorizedVoters: AuthorizedVoter[];
3951
+ priorVoters: PriorVoter[];
3952
+ epochCredits: EpochCredits[];
3953
+ lastTimestamp: BlockTimestamp;
3954
+ /**
3955
+ * Deserialize VoteAccount from the account data.
3956
+ *
3957
+ * @param buffer account data
3958
+ * @return VoteAccount
3959
+ */
3960
+ static fromAccountData(buffer: Buffer | Uint8Array | Array<number>): VoteAccount;
3961
+ }
3962
+
3963
+ declare const SYSVAR_CLOCK_PUBKEY: PublicKey;
3964
+ declare const SYSVAR_EPOCH_SCHEDULE_PUBKEY: PublicKey;
3965
+ declare const SYSVAR_INSTRUCTIONS_PUBKEY: PublicKey;
3966
+ declare const SYSVAR_RECENT_BLOCKHASHES_PUBKEY: PublicKey;
3967
+ declare const SYSVAR_RENT_PUBKEY: PublicKey;
3968
+ declare const SYSVAR_REWARDS_PUBKEY: PublicKey;
3969
+ declare const SYSVAR_SLOT_HASHES_PUBKEY: PublicKey;
3970
+ declare const SYSVAR_SLOT_HISTORY_PUBKEY: PublicKey;
3971
+ declare const SYSVAR_STAKE_HISTORY_PUBKEY: PublicKey;
3972
+
3973
+ type Cluster = 'devnet' | 'testnet' | 'mainnet-beta';
3974
+ /**
3975
+ * Retrieves the RPC API URL for the specified cluster
3976
+ * @param {Cluster} [cluster="devnet"] - The cluster name of the RPC API URL to use. Possible options: 'devnet' | 'testnet' | 'mainnet-beta'
3977
+ * @param {boolean} [tls="http"] - Use TLS when connecting to cluster.
3978
+ *
3979
+ * @returns {string} URL string of the RPC endpoint
3980
+ */
3981
+ declare function clusterApiUrl(cluster?: Cluster, tls?: boolean): string;
3982
+
3983
+ /**
3984
+ * Send and confirm a raw transaction
3985
+ *
3986
+ * If `commitment` option is not specified, defaults to 'max' commitment.
3987
+ *
3988
+ * @param {Connection} connection
3989
+ * @param {Buffer} rawTransaction
3990
+ * @param {TransactionConfirmationStrategy} confirmationStrategy
3991
+ * @param {ConfirmOptions} [options]
3992
+ * @returns {Promise<TransactionSignature>}
3993
+ */
3994
+ declare function sendAndConfirmRawTransaction(connection: Connection, rawTransaction: Buffer, confirmationStrategy: TransactionConfirmationStrategy, options?: ConfirmOptions): Promise<TransactionSignature>;
3995
+ /**
3996
+ * @deprecated Calling `sendAndConfirmRawTransaction()` without a `confirmationStrategy`
3997
+ * is no longer supported and will be removed in a future version.
3998
+ */
3999
+ declare function sendAndConfirmRawTransaction(connection: Connection, rawTransaction: Buffer, options?: ConfirmOptions): Promise<TransactionSignature>;
4000
+
4001
+ /**
4002
+ * Sign, send and confirm a transaction.
4003
+ *
4004
+ * If `commitment` option is not specified, defaults to 'max' commitment.
4005
+ *
4006
+ * @param {Connection} connection
4007
+ * @param {Transaction} transaction
4008
+ * @param {Array<Signer>} signers
4009
+ * @param {ConfirmOptions} [options]
4010
+ * @returns {Promise<TransactionSignature>}
4011
+ */
4012
+ declare function sendAndConfirmTransaction(connection: Connection, transaction: Transaction, signers: Array<Signer>, options?: ConfirmOptions & Readonly<{
4013
+ abortSignal?: AbortSignal;
4014
+ }>): Promise<TransactionSignature>;
4015
+
4016
+ /**
4017
+ * There are 1-billion lamports in one SOL
4018
+ */
4019
+ declare const LAMPORTS_PER_SOL = 1000000000;
4020
+
4021
+ export { Account, type AccountBalancePair, type AccountChangeCallback, type AccountInfo, type AccountKeysFromLookups, type AccountMeta, type AccountSubscriptionConfig, type AccountsModeBlockResponse, AddressLookupTableAccount, type AddressLookupTableAccountArgs, AddressLookupTableInstruction, AddressLookupTableProgram, type AddressLookupTableState, type AdvanceNonceParams, type AllocateParams, type AllocateWithSeedParams, type AssignParams, type AssignWithSeedParams, type AuthorizeNonceParams, type AuthorizeStakeParams, type AuthorizeVoteParams, type AuthorizeVoteWithSeedParams, type AuthorizeWithSeedStakeParams, Authorized, type AuthorizedVoter, BPF_LOADER_DEPRECATED_PROGRAM_ID, BPF_LOADER_PROGRAM_ID, type BaseTransactionConfirmationStrategy, type BlockProduction, type BlockResponse, type BlockSignatures, type BlockTimestamp, type Blockhash, type BlockhashWithExpiryBlockHeight, type BlockheightBasedTransactionConfirmationStrategy, BpfLoader, type CloseLookupTableParams, type Cluster, type Commitment, type CompileLegacyArgs, type CompileV0Args, type CompiledInnerInstruction, type CompiledInstruction, ComputeBudgetInstruction, type ComputeBudgetInstructionType, ComputeBudgetProgram, type ConfirmOptions, type ConfirmedBlock, type ConfirmedSignatureInfo, type ConfirmedSignaturesForAddress2Options, type ConfirmedTransaction, type ConfirmedTransactionMeta, Connection, type ConnectionConfig, type ContactInfo, type Context, type CreateAccountParams, type CreateAccountWithSeedParams, type CreateEd25519InstructionWithPrivateKeyParams, type CreateEd25519InstructionWithPublicKeyParams, type CreateLookupTableParams, type CreateNonceAccountParams, type CreateNonceAccountWithSeedParams, type CreateSecp256k1InstructionWithEthAddressParams, type CreateSecp256k1InstructionWithPrivateKeyParams, type CreateSecp256k1InstructionWithPublicKeyParams, type CreateStakeAccountParams, type CreateStakeAccountWithSeedParams, type CreateVoteAccountParams, type DataSizeFilter, type DataSlice, type DeactivateLookupTableParams, type DeactivateStakeParams, type DecodedTransferInstruction, type DecodedTransferWithSeedInstruction, type DecompileArgs, type DelegateStakeParams, type DurableNonce, type DurableNonceTransactionConfirmationStrategy, type Ed25519Keypair, Ed25519Program, Enum, type EpochCredits, type EpochInfo, EpochSchedule, type ExtendLookupTableParams, type FeeCalculator, type FetchFn, type FetchMiddleware, type Finality, type FreezeLookupTableParams, type GetAccountInfoConfig, type GetAccountKeysArgs, type GetBalanceConfig, type GetBlockConfig, type GetBlockHeightConfig, type GetBlockProductionConfig, type GetEpochInfoConfig, type GetInflationRewardConfig, type GetLargestAccountsConfig, type GetLatestBlockhashConfig, type GetMultipleAccountsConfig, type GetNonceAndContextConfig, type GetNonceConfig, type GetParsedProgramAccountsConfig, type GetProgramAccountsConfig, type GetProgramAccountsFilter, type GetProgramAccountsResponse, type GetRecentPrioritizationFeesConfig, type GetSlotConfig, type GetSlotLeaderConfig, type GetStakeActivationConfig, type GetStakeMinimumDelegationConfig, type GetSupplyConfig, type GetTokenAccountsByOwnerConfig, type GetTransactionConfig, type GetTransactionCountConfig, type GetVersionedBlockConfig, type GetVersionedTransactionConfig, type HttpHeaders, type InflationGovernor, type InflationRate, type InflationReward, type Info, type InitializeAccountParams, type InitializeNonceParams, type InitializeStakeParams, type IsBlockhashValidConfig, type KeyedAccountInfo, Keypair, LAMPORTS_PER_SOL, type LargestAccountsFilter, type LeaderSchedule, type LoadedAddresses, Loader, type Lockout, Lockup, type Logs, type LogsCallback, type LogsFilter, type LookupTableInstructionType, MAX_SEED_LENGTH, type MemcmpFilter, type MergeStakeParams, Message, MessageAccountKeys, type MessageAddressTableLookup, type MessageArgs, type MessageCompiledInstruction, type MessageHeader, MessageV0, type MessageV0Args, NONCE_ACCOUNT_LENGTH, NonceAccount, type NonceInformation, type NoneModeBlockResponse, PACKET_DATA_SIZE, PUBLIC_KEY_LENGTH, type ParsedAccountData, type ParsedAccountsModeBlockResponse, type ParsedAddressTableLookup, type ParsedBlockResponse, type ParsedConfirmedTransaction, type ParsedConfirmedTransactionMeta, type ParsedInnerInstruction, type ParsedInstruction, type ParsedMessage, type ParsedMessageAccount, type ParsedNoneModeBlockResponse, type ParsedTransaction, type ParsedTransactionMeta, type ParsedTransactionWithMeta, type PartiallyDecodedInstruction, type PerfSample, type PriorVoter, type ProgramAccountChangeCallback, type ProgramAccountSubscriptionConfig, PublicKey, type PublicKeyData, type PublicKeyInitData, type RecentPrioritizationFees, type RequestHeapFrameParams, type RequestUnitsParams, type RootChangeCallback, type RpcResponseAndContext, SIGNATURE_LENGTH_IN_BYTES, SOLANA_SCHEMA, STAKE_CONFIG_ID, SYSVAR_CLOCK_PUBKEY, SYSVAR_EPOCH_SCHEDULE_PUBKEY, SYSVAR_INSTRUCTIONS_PUBKEY, SYSVAR_RECENT_BLOCKHASHES_PUBKEY, SYSVAR_RENT_PUBKEY, SYSVAR_REWARDS_PUBKEY, SYSVAR_SLOT_HASHES_PUBKEY, SYSVAR_SLOT_HISTORY_PUBKEY, SYSVAR_STAKE_HISTORY_PUBKEY, Secp256k1Program, type SendOptions, SendTransactionError, type SerializeConfig, type SetComputeUnitLimitParams, type SetComputeUnitPriceParams, type SignaturePubkeyPair, type SignatureReceivedNotification, type SignatureResult, type SignatureResultCallback, type SignatureStatus, type SignatureStatusConfig, type SignatureStatusNotification, type SignatureSubscriptionCallback, type SignatureSubscriptionOptions, type SignaturesForAddressOptions, type Signer, type SimulateTransactionConfig, type SimulatedTransactionAccountInfo, type SimulatedTransactionResponse, type SlotChangeCallback, type SlotInfo, type SlotUpdate, type SlotUpdateCallback, SolanaJSONRPCError, SolanaJSONRPCErrorCode, type SolanaJSONRPCErrorCodeEnum, type SplitStakeParams, type SplitStakeWithSeedParams, type StakeActivationData, StakeAuthorizationLayout, type StakeAuthorizationType, StakeInstruction, type StakeInstructionType, StakeProgram, Struct, type Supply, SystemInstruction, type SystemInstructionType, SystemProgram, type TokenAccountBalancePair, type TokenAccountsFilter, type TokenAmount, type TokenBalance, Transaction, type TransactionBlockhashCtor, type TransactionConfirmationStatus, type TransactionConfirmationStrategy, type TransactionCtorFields, type TransactionCtorFields_DEPRECATED, type TransactionError, TransactionExpiredBlockheightExceededError, TransactionExpiredNonceInvalidError, TransactionExpiredTimeoutError, TransactionInstruction, type TransactionInstructionCtorFields, TransactionMessage, type TransactionMessageArgs, type TransactionNonceCtor, type TransactionResponse, type TransactionReturnData, type TransactionReturnDataEncoding, type TransactionSignature, TransactionStatus, type TransactionVersion, type TransferParams, type TransferWithSeedParams, type UpdateValidatorIdentityParams, VALIDATOR_INFO_KEY, VERSION_PREFIX_MASK, VOTE_PROGRAM_ID, ValidatorInfo, type Version, type VersionedAccountsModeBlockResponse, type VersionedBlockResponse, VersionedMessage, type VersionedNoneModeBlockResponse, VersionedTransaction, type VersionedTransactionResponse, VoteAccount, type VoteAccountInfo, type VoteAccountStatus, VoteAuthorizationLayout, type VoteAuthorizationType, VoteInit, VoteInstruction, type VoteInstructionType, VoteProgram, type WithdrawFromVoteAccountParams, type WithdrawNonceParams, type WithdrawStakeParams, clusterApiUrl, sendAndConfirmRawTransaction, sendAndConfirmTransaction };