@mysten/sui 1.42.0 → 1.43.1

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 (429) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/bcs/bcs.d.ts +47 -111
  3. package/dist/cjs/bcs/bcs.js +17 -17
  4. package/dist/cjs/bcs/bcs.js.map +2 -2
  5. package/dist/cjs/bcs/effects.d.ts +2 -6
  6. package/dist/cjs/bcs/effects.js +1 -1
  7. package/dist/cjs/bcs/effects.js.map +2 -2
  8. package/dist/cjs/bcs/index.d.ts +49 -117
  9. package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
  10. package/dist/cjs/bcs/type-tag-serializer.js +5 -1
  11. package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
  12. package/dist/cjs/cryptography/intent.js +1 -1
  13. package/dist/cjs/cryptography/intent.js.map +2 -2
  14. package/dist/cjs/cryptography/keypair.js +1 -1
  15. package/dist/cjs/cryptography/keypair.js.map +2 -2
  16. package/dist/cjs/cryptography/publickey.js +1 -1
  17. package/dist/cjs/cryptography/publickey.js.map +2 -2
  18. package/dist/cjs/cryptography/signature.d.ts +2 -2
  19. package/dist/cjs/experimental/client.js +0 -4
  20. package/dist/cjs/experimental/client.js.map +2 -2
  21. package/dist/cjs/experimental/types.d.ts +1 -7
  22. package/dist/cjs/experimental/types.js.map +1 -1
  23. package/dist/cjs/graphql/generated/queries.d.ts +1 -1
  24. package/dist/cjs/graphql/generated/queries.js.map +1 -1
  25. package/dist/cjs/grpc/core.d.ts +3 -1
  26. package/dist/cjs/grpc/core.js +5 -3
  27. package/dist/cjs/grpc/core.js.map +2 -2
  28. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
  29. package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
  30. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
  31. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
  32. package/dist/cjs/grpc/proto/google/protobuf/duration.js +8 -12
  33. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
  34. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
  35. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
  36. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  37. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +8 -7
  38. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  39. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
  40. package/dist/cjs/grpc/proto/google/protobuf/struct.js +29 -17
  41. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
  42. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  43. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +21 -18
  44. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  45. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
  46. package/dist/cjs/grpc/proto/google/rpc/error_details.js +40 -11
  47. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
  48. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
  49. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
  50. package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
  51. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  52. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +7 -1
  53. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  54. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  55. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  56. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  57. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  58. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  60. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  61. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  63. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  64. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  66. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  67. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +65 -19
  69. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  70. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +2 -2
  76. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  78. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  79. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  81. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  82. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  85. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  87. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +8 -3
  88. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  90. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  91. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  93. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  94. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  96. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  97. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  99. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  100. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  102. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  103. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  105. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  106. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  108. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  109. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  111. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  113. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +4 -8
  114. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  116. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  117. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +7 -2
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  122. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  123. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  125. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +73 -17
  126. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  128. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  129. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  131. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  132. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  134. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  135. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  138. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  143. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  144. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  145. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  146. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  147. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  148. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  149. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  150. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  151. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  152. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  153. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  154. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  155. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  156. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  157. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  158. package/dist/cjs/jsonRpc/client.d.ts +2 -6
  159. package/dist/cjs/jsonRpc/client.js +0 -8
  160. package/dist/cjs/jsonRpc/client.js.map +2 -2
  161. package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
  162. package/dist/cjs/multisig/publickey.d.ts +10 -10
  163. package/dist/cjs/multisig/publickey.js +2 -2
  164. package/dist/cjs/multisig/publickey.js.map +2 -2
  165. package/dist/cjs/transactions/Transaction.d.ts +2 -2
  166. package/dist/cjs/transactions/Transaction.js.map +2 -2
  167. package/dist/cjs/transactions/TransactionData.d.ts +1 -0
  168. package/dist/cjs/transactions/TransactionData.js +71 -0
  169. package/dist/cjs/transactions/TransactionData.js.map +3 -3
  170. package/dist/cjs/transactions/serializer.js +1 -1
  171. package/dist/cjs/transactions/serializer.js.map +2 -2
  172. package/dist/cjs/utils/index.d.ts +1 -0
  173. package/dist/cjs/utils/index.js +2 -0
  174. package/dist/cjs/utils/index.js.map +2 -2
  175. package/dist/cjs/version.d.ts +2 -2
  176. package/dist/cjs/version.js +2 -2
  177. package/dist/cjs/version.js.map +1 -1
  178. package/dist/cjs/zklogin/bcs.d.ts +1 -3
  179. package/dist/cjs/zklogin/bcs.js +1 -1
  180. package/dist/cjs/zklogin/bcs.js.map +2 -2
  181. package/dist/cjs/zklogin/publickey.d.ts +1 -1
  182. package/dist/cjs/zklogin/signature.d.ts +1 -1
  183. package/dist/esm/bcs/bcs.d.ts +47 -111
  184. package/dist/esm/bcs/bcs.js +17 -17
  185. package/dist/esm/bcs/bcs.js.map +2 -2
  186. package/dist/esm/bcs/effects.d.ts +2 -6
  187. package/dist/esm/bcs/effects.js +1 -1
  188. package/dist/esm/bcs/effects.js.map +2 -2
  189. package/dist/esm/bcs/index.d.ts +49 -117
  190. package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
  191. package/dist/esm/bcs/type-tag-serializer.js +5 -1
  192. package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
  193. package/dist/esm/cryptography/intent.js +1 -1
  194. package/dist/esm/cryptography/intent.js.map +2 -2
  195. package/dist/esm/cryptography/keypair.js +1 -1
  196. package/dist/esm/cryptography/keypair.js.map +2 -2
  197. package/dist/esm/cryptography/publickey.js +1 -1
  198. package/dist/esm/cryptography/publickey.js.map +2 -2
  199. package/dist/esm/cryptography/signature.d.ts +2 -2
  200. package/dist/esm/experimental/client.js +0 -4
  201. package/dist/esm/experimental/client.js.map +2 -2
  202. package/dist/esm/experimental/types.d.ts +1 -7
  203. package/dist/esm/graphql/generated/queries.d.ts +1 -1
  204. package/dist/esm/graphql/generated/queries.js.map +1 -1
  205. package/dist/esm/grpc/core.d.ts +3 -1
  206. package/dist/esm/grpc/core.js +5 -3
  207. package/dist/esm/grpc/core.js.map +2 -2
  208. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  209. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  210. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  211. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  212. package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
  213. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  214. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  215. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  216. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  217. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
  218. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  219. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  220. package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
  221. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  222. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  223. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
  224. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  225. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  226. package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
  227. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  228. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  229. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  230. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  231. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  232. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
  233. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  234. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  235. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  236. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  237. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  238. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  239. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  240. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  241. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  242. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  243. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  244. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  245. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  246. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  247. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  248. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
  249. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  250. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  251. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  252. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  253. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  254. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  255. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
  256. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  257. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  258. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  259. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  260. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  261. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  262. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  263. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  264. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  265. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  266. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  267. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
  268. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  269. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  270. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  271. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  272. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  273. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  274. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  275. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  276. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  277. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  278. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  279. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  280. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  281. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  282. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  283. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  284. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  285. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  286. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  287. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  288. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  289. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  290. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  291. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  292. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  293. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
  294. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  295. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  296. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  297. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  298. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  299. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
  300. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  301. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  302. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  303. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  304. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  305. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
  306. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  307. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  308. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  309. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  310. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  311. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  312. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  313. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  314. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  315. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  316. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  317. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  318. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  319. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  320. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  321. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  322. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  323. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  324. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  325. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  326. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  327. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  328. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  329. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  330. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  331. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  332. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  333. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  334. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  335. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  336. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  337. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  338. package/dist/esm/jsonRpc/client.d.ts +2 -6
  339. package/dist/esm/jsonRpc/client.js +0 -8
  340. package/dist/esm/jsonRpc/client.js.map +2 -2
  341. package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
  342. package/dist/esm/multisig/publickey.d.ts +10 -10
  343. package/dist/esm/multisig/publickey.js +2 -2
  344. package/dist/esm/multisig/publickey.js.map +2 -2
  345. package/dist/esm/transactions/Transaction.d.ts +2 -2
  346. package/dist/esm/transactions/Transaction.js.map +2 -2
  347. package/dist/esm/transactions/TransactionData.d.ts +1 -0
  348. package/dist/esm/transactions/TransactionData.js +71 -0
  349. package/dist/esm/transactions/TransactionData.js.map +3 -3
  350. package/dist/esm/transactions/serializer.js +1 -1
  351. package/dist/esm/transactions/serializer.js.map +2 -2
  352. package/dist/esm/utils/index.d.ts +1 -0
  353. package/dist/esm/utils/index.js +2 -0
  354. package/dist/esm/utils/index.js.map +2 -2
  355. package/dist/esm/version.d.ts +2 -2
  356. package/dist/esm/version.js +2 -2
  357. package/dist/esm/version.js.map +1 -1
  358. package/dist/esm/zklogin/bcs.d.ts +1 -3
  359. package/dist/esm/zklogin/bcs.js +1 -1
  360. package/dist/esm/zklogin/bcs.js.map +2 -2
  361. package/dist/esm/zklogin/publickey.d.ts +1 -1
  362. package/dist/esm/zklogin/signature.d.ts +1 -1
  363. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  364. package/dist/tsconfig.tsbuildinfo +1 -1
  365. package/package.json +2 -2
  366. package/src/bcs/bcs.ts +17 -17
  367. package/src/bcs/effects.ts +1 -1
  368. package/src/bcs/type-tag-serializer.ts +4 -0
  369. package/src/cryptography/intent.ts +1 -1
  370. package/src/cryptography/keypair.ts +1 -1
  371. package/src/cryptography/publickey.ts +1 -1
  372. package/src/experimental/client.ts +0 -4
  373. package/src/experimental/types.ts +4 -17
  374. package/src/graphql/generated/queries.ts +1 -1
  375. package/src/grpc/core.ts +28 -8
  376. package/src/grpc/proto/google/protobuf/any.ts +159 -144
  377. package/src/grpc/proto/google/protobuf/duration.ts +77 -74
  378. package/src/grpc/proto/google/protobuf/empty.ts +5 -6
  379. package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
  380. package/src/grpc/proto/google/protobuf/struct.ts +223 -201
  381. package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
  382. package/src/grpc/proto/google/rpc/error_details.ts +388 -352
  383. package/src/grpc/proto/google/rpc/status.ts +32 -32
  384. package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
  385. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
  386. package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
  387. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
  388. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
  389. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
  390. package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
  391. package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
  392. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
  393. package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
  394. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
  395. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
  396. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
  397. package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
  398. package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
  399. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
  400. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
  401. package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
  402. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
  403. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
  404. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
  405. package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
  406. package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
  407. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
  408. package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
  409. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
  410. package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
  411. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
  412. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
  413. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
  414. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
  415. package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
  416. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
  417. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
  418. package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
  419. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
  420. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
  421. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
  422. package/src/jsonRpc/client.ts +2 -17
  423. package/src/multisig/publickey.ts +14 -14
  424. package/src/transactions/Transaction.ts +2 -2
  425. package/src/transactions/TransactionData.ts +100 -1
  426. package/src/transactions/serializer.ts +1 -1
  427. package/src/utils/index.ts +1 -0
  428. package/src/version.ts +2 -2
  429. package/src/zklogin/bcs.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/move_package_service.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/move_package_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { FunctionDescriptor } from \"./move_package\";\nimport { DatatypeDescriptor } from \"./move_package\";\nimport { Package } from \"./move_package\";\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport interface GetPackageRequest {\n /**\n * Required. The `storage_id` of the requested package.\n *\n * @generated from protobuf field: optional string package_id = 1;\n */\n packageId?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport interface GetPackageResponse {\n /**\n * The package.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Package package = 1;\n */\n package?: Package;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport interface GetDatatypeRequest {\n /**\n * Required. The `storage_id` of the requested package.\n *\n * @generated from protobuf field: optional string package_id = 1;\n */\n packageId?: string;\n /**\n * Required. The name of the requested module.\n *\n * @generated from protobuf field: optional string module_name = 2;\n */\n moduleName?: string;\n /**\n * Required. The name of the requested datatype.\n *\n * @generated from protobuf field: optional string name = 3;\n */\n name?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport interface GetDatatypeResponse {\n /**\n * The datatype.\n *\n * @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor datatype = 1;\n */\n datatype?: DatatypeDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport interface GetFunctionRequest {\n /**\n * Required. The `storage_id` of the requested package.\n *\n * @generated from protobuf field: optional string package_id = 1;\n */\n packageId?: string;\n /**\n * Required. The name of the requested module.\n *\n * @generated from protobuf field: optional string module_name = 2;\n */\n moduleName?: string;\n /**\n * Required. The name of the requested function.\n *\n * @generated from protobuf field: optional string name = 3;\n */\n name?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport interface GetFunctionResponse {\n /**\n * The function.\n *\n * @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor function = 1;\n */\n function?: FunctionDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport interface ListPackageVersionsRequest {\n /**\n * Required. The `storage_id` of any version of the package.\n *\n * @generated from protobuf field: optional string package_id = 1;\n */\n packageId?: string;\n /**\n * The maximum number of versions to return. The service may return fewer than this value.\n * If unspecified, at most `1000` entries will be returned.\n * The maximum value is `10000`; values above `10000` will be coerced to `10000`.\n *\n * @generated from protobuf field: optional uint32 page_size = 2;\n */\n pageSize?: number;\n /**\n * A page token, received from a previous `ListPackageVersions` call.\n * Provide this to retrieve the subsequent page.\n *\n * When paginating, all other parameters provided to `ListPackageVersions` must\n * match the call that provided the page token.\n *\n * @generated from protobuf field: optional bytes page_token = 3;\n */\n pageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport interface ListPackageVersionsResponse {\n /**\n * List of all package versions, ordered by version.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.PackageVersion versions = 1;\n */\n versions: PackageVersion[];\n /**\n * A token, which can be sent as `page_token` to retrieve the next page.\n * If this field is omitted, there are no subsequent pages.\n *\n * @generated from protobuf field: optional bytes next_page_token = 2;\n */\n nextPageToken?: Uint8Array;\n}\n/**\n * A simplified representation of a package version\n *\n * @generated from protobuf message sui.rpc.v2.PackageVersion\n */\nexport interface PackageVersion {\n /**\n * The storage ID of this package version\n *\n * @generated from protobuf field: optional string package_id = 1;\n */\n packageId?: string;\n /**\n * The version number\n *\n * @generated from protobuf field: optional uint64 version = 2;\n */\n version?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageRequest$Type extends MessageType<GetPackageRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetPackageRequest\", [\n { no: 1, name: \"package_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport const GetPackageRequest = new GetPackageRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageResponse$Type extends MessageType<GetPackageResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetPackageResponse\", [\n { no: 1, name: \"package\", kind: \"message\", T: () => Package }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport const GetPackageResponse = new GetPackageResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeRequest$Type extends MessageType<GetDatatypeRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetDatatypeRequest\", [\n { no: 1, name: \"package_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"module_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport const GetDatatypeRequest = new GetDatatypeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeResponse$Type extends MessageType<GetDatatypeResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetDatatypeResponse\", [\n { no: 1, name: \"datatype\", kind: \"message\", T: () => DatatypeDescriptor }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport const GetDatatypeResponse = new GetDatatypeResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionRequest$Type extends MessageType<GetFunctionRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetFunctionRequest\", [\n { no: 1, name: \"package_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"module_name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport const GetFunctionRequest = new GetFunctionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionResponse$Type extends MessageType<GetFunctionResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetFunctionResponse\", [\n { no: 1, name: \"function\", kind: \"message\", T: () => FunctionDescriptor }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport const GetFunctionResponse = new GetFunctionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsRequest$Type extends MessageType<ListPackageVersionsRequest> {\n constructor() {\n super(\"sui.rpc.v2.ListPackageVersionsRequest\", [\n { no: 1, name: \"package_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"page_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsResponse> {\n constructor() {\n super(\"sui.rpc.v2.ListPackageVersionsResponse\", [\n { no: 1, name: \"versions\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => PackageVersion },\n { no: 2, name: \"next_page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport const ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PackageVersion$Type extends MessageType<PackageVersion> {\n constructor() {\n super(\"sui.rpc.v2.PackageVersion\", [\n { no: 1, name: \"package_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.PackageVersion\n */\nexport const PackageVersion = new PackageVersion$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.MovePackageService\n */\nexport const MovePackageService = new ServiceType(\"sui.rpc.v2.MovePackageService\", [\n { name: \"GetPackage\", options: {}, I: GetPackageRequest, O: GetPackageResponse },\n { name: \"GetDatatype\", options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },\n { name: \"GetFunction\", options: {}, I: GetFunctionRequest, O: GetFunctionResponse },\n { name: \"ListPackageVersions\", options: {}, I: ListPackageVersionsRequest, O: ListPackageVersionsResponse }\n]);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,yBAA4B;AAC5B,qBAA4B;AAC5B,0BAAmC;AACnC,IAAAA,uBAAmC;AACnC,IAAAA,uBAAwB;AA8JxB,MAAM,+BAA+B,2BAA+B;AAAA,EAChE,cAAc;AACV,UAAM,gCAAgC;AAAA,MAClC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAc,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACvF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,oBAAoB,IAAI,uBAAuB;AAE5D,MAAM,gCAAgC,2BAAgC;AAAA,EAClE,cAAc;AACV,UAAM,iCAAiC;AAAA,MACnC,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,GAAG,MAAM,6BAAQ;AAAA,IAChE,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,qBAAqB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,GAAG;AAAA;AAAA,MAAwB;AAAA,MACnF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,IAC9G,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;AAI/C,MAAM,qBAAqB,IAAI,+BAAY,iCAAiC;AAAA,EAC/E,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,uBAAuB,SAAS,CAAC,GAAG,GAAG,4BAA4B,GAAG,4BAA4B;AAC9G,CAAC;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/move_package_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { FunctionDescriptor } from './move_package.js';\nimport { DatatypeDescriptor } from './move_package.js';\nimport { Package } from './move_package.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport interface GetPackageRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport interface GetPackageResponse {\n\t/**\n\t * The package.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Package package = 1;\n\t */\n\tpackage?: Package;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport interface GetDatatypeRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested datatype.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport interface GetDatatypeResponse {\n\t/**\n\t * The datatype.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor datatype = 1;\n\t */\n\tdatatype?: DatatypeDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport interface GetFunctionRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested function.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport interface GetFunctionResponse {\n\t/**\n\t * The function.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor function = 1;\n\t */\n\tfunction?: FunctionDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport interface ListPackageVersionsRequest {\n\t/**\n\t * Required. The `storage_id` of any version of the package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The maximum number of versions to return. The service may return fewer than this value.\n\t * If unspecified, at most `1000` entries will be returned.\n\t * The maximum value is `10000`; values above `10000` will be coerced to `10000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListPackageVersions` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListPackageVersions` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport interface ListPackageVersionsResponse {\n\t/**\n\t * List of all package versions, ordered by version.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.PackageVersion versions = 1;\n\t */\n\tversions: PackageVersion[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * A simplified representation of a package version\n *\n * @generated from protobuf message sui.rpc.v2.PackageVersion\n */\nexport interface PackageVersion {\n\t/**\n\t * The storage ID of this package version\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The version number\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageRequest$Type extends MessageType<GetPackageRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetPackageRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport const GetPackageRequest = new GetPackageRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageResponse$Type extends MessageType<GetPackageResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetPackageResponse', [\n\t\t\t{ no: 1, name: 'package', kind: 'message', T: () => Package },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport const GetPackageResponse = new GetPackageResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeRequest$Type extends MessageType<GetDatatypeRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetDatatypeRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport const GetDatatypeRequest = new GetDatatypeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeResponse$Type extends MessageType<GetDatatypeResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetDatatypeResponse', [\n\t\t\t{ no: 1, name: 'datatype', kind: 'message', T: () => DatatypeDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport const GetDatatypeResponse = new GetDatatypeResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionRequest$Type extends MessageType<GetFunctionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetFunctionRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport const GetFunctionRequest = new GetFunctionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionResponse$Type extends MessageType<GetFunctionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetFunctionResponse', [\n\t\t\t{ no: 1, name: 'function', kind: 'message', T: () => FunctionDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport const GetFunctionResponse = new GetFunctionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsRequest$Type extends MessageType<ListPackageVersionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListPackageVersionsRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListPackageVersionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'versions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => PackageVersion,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport const ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PackageVersion$Type extends MessageType<PackageVersion> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.PackageVersion', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.PackageVersion\n */\nexport const PackageVersion = new PackageVersion$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.MovePackageService\n */\nexport const MovePackageService = new ServiceType('sui.rpc.v2.MovePackageService', [\n\t{ name: 'GetPackage', options: {}, I: GetPackageRequest, O: GetPackageResponse },\n\t{ name: 'GetDatatype', options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },\n\t{ name: 'GetFunction', options: {}, I: GetFunctionRequest, O: GetFunctionResponse },\n\t{\n\t\tname: 'ListPackageVersions',\n\t\toptions: {},\n\t\tI: ListPackageVersionsRequest,\n\t\tO: ListPackageVersionsResponse,\n\t},\n]);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,yBAA4B;AAC5B,qBAA4B;AAC5B,0BAAmC;AACnC,IAAAA,uBAAmC;AACnC,IAAAA,uBAAwB;AA8JxB,MAAM,+BAA+B,2BAA+B;AAAA,EACnE,cAAc;AACb,UAAM,gCAAgC;AAAA,MACrC;AAAA,QAAE,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ACR,GAAG,MAAM;AAAA,MACV;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAmB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACzF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,8BAA8B,IAAI,iCAAiC;AAEhF,MAAM,4BAA4B,2BAA4B;AAAA,EAC7D,cAAc;AACb,UAAM,6BAA6B;AAAA,MAClC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAc,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACnF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;AAI/C,MAAM,qBAAqB,IAAI,+BAAY,iCAAiC;AAAA,EAClF,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
6
6
  "names": ["import_move_package"]
7
7
  }
@@ -1,11 +1,11 @@
1
- import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
- import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
- import type { ReverseLookupNameResponse } from "./name_service";
4
- import type { ReverseLookupNameRequest } from "./name_service";
5
- import type { LookupNameResponse } from "./name_service";
6
- import type { LookupNameRequest } from "./name_service";
7
- import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
8
- import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
1
+ import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
+ import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
+ import type { ReverseLookupNameResponse } from './name_service.js';
4
+ import type { ReverseLookupNameRequest } from './name_service.js';
5
+ import type { LookupNameResponse } from './name_service.js';
6
+ import type { LookupNameRequest } from './name_service.js';
7
+ import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
8
+ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
9
9
  /**
10
10
  * @generated from protobuf service sui.rpc.v2.NameService
11
11
  */
@@ -21,7 +21,7 @@ __export(name_service_client_exports, {
21
21
  NameServiceClient: () => NameServiceClient
22
22
  });
23
23
  module.exports = __toCommonJS(name_service_client_exports);
24
- var import_name_service = require("./name_service");
24
+ var import_name_service = require("./name_service.js");
25
25
  var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
26
26
  class NameServiceClient {
27
27
  constructor(_transport) {
@@ -35,14 +35,26 @@ class NameServiceClient {
35
35
  */
36
36
  lookupName(input, options) {
37
37
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
38
- return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
38
+ return (0, import_runtime_rpc.stackIntercept)(
39
+ "unary",
40
+ this._transport,
41
+ method,
42
+ opt,
43
+ input
44
+ );
39
45
  }
40
46
  /**
41
47
  * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2.ReverseLookupNameRequest) returns (sui.rpc.v2.ReverseLookupNameResponse);
42
48
  */
43
49
  reverseLookupName(input, options) {
44
50
  const method = this.methods[1], opt = this._transport.mergeOptions(options);
45
- return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
51
+ return (0, import_runtime_rpc.stackIntercept)(
52
+ "unary",
53
+ this._transport,
54
+ method,
55
+ opt,
56
+ input
57
+ );
46
58
  }
47
59
  }
48
60
  //# sourceMappingURL=name_service.client.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/name_service.client.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/name_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { NameService } from \"./name_service\";\nimport type { ReverseLookupNameResponse } from \"./name_service\";\nimport type { ReverseLookupNameRequest } from \"./name_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { LookupNameResponse } from \"./name_service\";\nimport type { LookupNameRequest } from \"./name_service\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sui.rpc.v2.NameService\n */\nexport interface INameServiceClient {\n /**\n * @generated from protobuf rpc: LookupName(sui.rpc.v2.LookupNameRequest) returns (sui.rpc.v2.LookupNameResponse);\n */\n lookupName(input: LookupNameRequest, options?: RpcOptions): UnaryCall<LookupNameRequest, LookupNameResponse>;\n /**\n * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2.ReverseLookupNameRequest) returns (sui.rpc.v2.ReverseLookupNameResponse);\n */\n reverseLookupName(input: ReverseLookupNameRequest, options?: RpcOptions): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.NameService\n */\nexport class NameServiceClient implements INameServiceClient, ServiceInfo {\n typeName = NameService.typeName;\n methods = NameService.methods;\n options = NameService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: LookupName(sui.rpc.v2.LookupNameRequest) returns (sui.rpc.v2.LookupNameResponse);\n */\n lookupName(input: LookupNameRequest, options?: RpcOptions): UnaryCall<LookupNameRequest, LookupNameResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<LookupNameRequest, LookupNameResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2.ReverseLookupNameRequest) returns (sui.rpc.v2.ReverseLookupNameResponse);\n */\n reverseLookupName(input: ReverseLookupNameRequest, options?: RpcOptions): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<ReverseLookupNameRequest, ReverseLookupNameResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaA,0BAA4B;AAG5B,yBAA+B;AAqBxB,MAAM,kBAA6D;AAAA,EAItE,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,gCAAY;AACvB,mBAAU,gCAAY;AACtB,mBAAU,gCAAY;AAAA,EAEtB;AAAA;AAAA;AAAA;AAAA,EAIA,WAAW,OAA0B,SAAwE;AACzG,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,eAAO,mCAAsD,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC7G;AAAA;AAAA;AAAA;AAAA,EAIA,kBAAkB,OAAiC,SAAsF;AACrI,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,eAAO,mCAAoE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC3H;AACJ;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/name_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { NameService } from './name_service.js';\nimport type { ReverseLookupNameResponse } from './name_service.js';\nimport type { ReverseLookupNameRequest } from './name_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { LookupNameResponse } from './name_service.js';\nimport type { LookupNameRequest } from './name_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.NameService\n */\nexport interface INameServiceClient {\n\t/**\n\t * @generated from protobuf rpc: LookupName(sui.rpc.v2.LookupNameRequest) returns (sui.rpc.v2.LookupNameResponse);\n\t */\n\tlookupName(\n\t\tinput: LookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<LookupNameRequest, LookupNameResponse>;\n\t/**\n\t * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2.ReverseLookupNameRequest) returns (sui.rpc.v2.ReverseLookupNameResponse);\n\t */\n\treverseLookupName(\n\t\tinput: ReverseLookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.NameService\n */\nexport class NameServiceClient implements INameServiceClient, ServiceInfo {\n\ttypeName = NameService.typeName;\n\tmethods = NameService.methods;\n\toptions = NameService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: LookupName(sui.rpc.v2.LookupNameRequest) returns (sui.rpc.v2.LookupNameResponse);\n\t */\n\tlookupName(\n\t\tinput: LookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<LookupNameRequest, LookupNameResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<LookupNameRequest, LookupNameResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ReverseLookupName(sui.rpc.v2.ReverseLookupNameRequest) returns (sui.rpc.v2.ReverseLookupNameResponse);\n\t */\n\treverseLookupName(\n\t\tinput: ReverseLookupNameRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ReverseLookupNameRequest, ReverseLookupNameResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ReverseLookupNameRequest, ReverseLookupNameResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaA,0BAA4B;AAG5B,yBAA+B;AA2BxB,MAAM,kBAA6D;AAAA,EAIzE,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,gCAAY;AACvB,mBAAU,gCAAY;AACtB,mBAAU,gCAAY;AAAA,EACkC;AAAA;AAAA;AAAA;AAAA,EAIxD,WACC,OACA,SACmD;AACnD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,eAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,kBACC,OACA,SACiE;AACjE,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,eAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
- import { MessageType } from "@protobuf-ts/runtime";
3
- import { Timestamp } from "../../../google/protobuf/timestamp";
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { MessageType } from '@protobuf-ts/runtime';
3
+ import { Timestamp } from '../../../google/protobuf/timestamp.js';
4
4
  /**
5
5
  * @generated from protobuf message sui.rpc.v2.LookupNameRequest
6
6
  */
@@ -28,7 +28,7 @@ __export(name_service_exports, {
28
28
  module.exports = __toCommonJS(name_service_exports);
29
29
  var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
30
30
  var import_runtime = require("@protobuf-ts/runtime");
31
- var import_timestamp = require("../../../google/protobuf/timestamp");
31
+ var import_timestamp = require("../../../google/protobuf/timestamp.js");
32
32
  class LookupNameRequest$Type extends import_runtime.MessageType {
33
33
  constructor() {
34
34
  super("sui.rpc.v2.LookupNameRequest", [
@@ -111,17 +111,28 @@ class NameRecord$Type extends import_runtime.MessageType {
111
111
  T: 9
112
112
  /*ScalarType.STRING*/
113
113
  },
114
- { no: 6, name: "data", kind: "map", K: 9, V: {
115
- kind: "scalar",
116
- T: 9
117
- /*ScalarType.STRING*/
118
- } }
114
+ {
115
+ no: 6,
116
+ name: "data",
117
+ kind: "map",
118
+ K: 9,
119
+ V: {
120
+ kind: "scalar",
121
+ T: 9
122
+ /*ScalarType.STRING*/
123
+ }
124
+ }
119
125
  ]);
120
126
  }
121
127
  }
122
128
  const NameRecord = new NameRecord$Type();
123
129
  const NameService = new import_runtime_rpc.ServiceType("sui.rpc.v2.NameService", [
124
130
  { name: "LookupName", options: {}, I: LookupNameRequest, O: LookupNameResponse },
125
- { name: "ReverseLookupName", options: {}, I: ReverseLookupNameRequest, O: ReverseLookupNameResponse }
131
+ {
132
+ name: "ReverseLookupName",
133
+ options: {},
134
+ I: ReverseLookupNameRequest,
135
+ O: ReverseLookupNameResponse
136
+ }
126
137
  ]);
127
138
  //# sourceMappingURL=name_service.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/name_service.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/name_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../../../google/protobuf/timestamp\";\n/**\n * @generated from protobuf message sui.rpc.v2.LookupNameRequest\n */\nexport interface LookupNameRequest {\n /**\n * Required. The SuiNS name to lookup.\n *\n * Supports both `@name` as well as `name.sui` formats.\n *\n * @generated from protobuf field: optional string name = 1;\n */\n name?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.LookupNameResponse\n */\nexport interface LookupNameResponse {\n /**\n * The record for the requested name\n *\n * @generated from protobuf field: optional sui.rpc.v2.NameRecord record = 1;\n */\n record?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ReverseLookupNameRequest\n */\nexport interface ReverseLookupNameRequest {\n /**\n * Required. The address to perform a reverse lookup for.\n *\n * @generated from protobuf field: optional string address = 1;\n */\n address?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ReverseLookupNameResponse\n */\nexport interface ReverseLookupNameResponse {\n /**\n * The record for the SuiNS name linked to the requested address\n *\n * @generated from protobuf field: optional sui.rpc.v2.NameRecord record = 1;\n */\n record?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.NameRecord\n */\nexport interface NameRecord {\n /**\n * Id of this record.\n *\n * Note that records are stored on chain as dynamic fields of the type\n * `Field<Domain,NameRecord>`.\n *\n * @generated from protobuf field: optional string id = 1;\n */\n id?: string;\n /**\n * The SuiNS name of this record\n *\n * @generated from protobuf field: optional string name = 2;\n */\n name?: string;\n /**\n * The ID of the `RegistrationNFT` assigned to this record.\n *\n * The owner of the corresponding `RegistrationNFT` has the rights to\n * be able to change and adjust the `target_address` of this domain.\n *\n * It is possible that the ID changes if the record expires and is\n * purchased by someone else.\n *\n * @generated from protobuf field: optional string registration_nft_id = 3;\n */\n registrationNftId?: string;\n /**\n * Timestamp when the record expires.\n *\n * This is either the expiration of the record itself or the expiration of\n * this record's parent if this is a leaf record.\n *\n * @generated from protobuf field: optional google.protobuf.Timestamp expiration_timestamp = 4;\n */\n expirationTimestamp?: Timestamp;\n /**\n * The target address that this name points to\n *\n * @generated from protobuf field: optional string target_address = 5;\n */\n targetAddress?: string;\n /**\n * Additional data which may be stored in a record\n *\n * @generated from protobuf field: map<string, string> data = 6;\n */\n data: {\n [key: string]: string;\n };\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameRequest$Type extends MessageType<LookupNameRequest> {\n constructor() {\n super(\"sui.rpc.v2.LookupNameRequest\", [\n { no: 1, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.LookupNameRequest\n */\nexport const LookupNameRequest = new LookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameResponse$Type extends MessageType<LookupNameResponse> {\n constructor() {\n super(\"sui.rpc.v2.LookupNameResponse\", [\n { no: 1, name: \"record\", kind: \"message\", T: () => NameRecord }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.LookupNameResponse\n */\nexport const LookupNameResponse = new LookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameRequest$Type extends MessageType<ReverseLookupNameRequest> {\n constructor() {\n super(\"sui.rpc.v2.ReverseLookupNameRequest\", [\n { no: 1, name: \"address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ReverseLookupNameRequest\n */\nexport const ReverseLookupNameRequest = new ReverseLookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameResponse$Type extends MessageType<ReverseLookupNameResponse> {\n constructor() {\n super(\"sui.rpc.v2.ReverseLookupNameResponse\", [\n { no: 1, name: \"record\", kind: \"message\", T: () => NameRecord }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ReverseLookupNameResponse\n */\nexport const ReverseLookupNameResponse = new ReverseLookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NameRecord$Type extends MessageType<NameRecord> {\n constructor() {\n super(\"sui.rpc.v2.NameRecord\", [\n { no: 1, name: \"id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"registration_nft_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"expiration_timestamp\", kind: \"message\", T: () => Timestamp },\n { no: 5, name: \"target_address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"data\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.NameRecord\n */\nexport const NameRecord = new NameRecord$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.NameService\n */\nexport const NameService = new ServiceType(\"sui.rpc.v2.NameService\", [\n { name: \"LookupName\", options: {}, I: LookupNameRequest, O: LookupNameResponse },\n { name: \"ReverseLookupName\", options: {}, I: ReverseLookupNameRequest, O: ReverseLookupNameResponse }\n]);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,yBAA4B;AAC5B,qBAA4B;AAC5B,uBAA0B;AAuG1B,MAAM,+BAA+B,2BAA+B;AAAA,EAChE,cAAc;AACV,UAAM,gCAAgC;AAAA,MAClC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAQ,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACjF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,oBAAoB,IAAI,uBAAuB;AAE5D,MAAM,gCAAgC,2BAAgC;AAAA,EAClE,cAAc;AACV,UAAM,iCAAiC;AAAA,MACnC,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,MAAM,WAAW;AAAA,IAClE,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,qBAAqB,IAAI,wBAAwB;AAE9D,MAAM,sCAAsC,2BAAsC;AAAA,EAC9E,cAAc;AACV,UAAM,uCAAuC;AAAA,MACzC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACpF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,2BAA2B,IAAI,8BAA8B;AAE1E,MAAM,uCAAuC,2BAAuC;AAAA,EAChF,cAAc;AACV,UAAM,wCAAwC;AAAA,MAC1C,EAAE,IAAI,GAAG,MAAM,UAAU,MAAM,WAAW,GAAG,MAAM,WAAW;AAAA,IAClE,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,4BAA4B,IAAI,+BAA+B;AAE5E,MAAM,wBAAwB,2BAAwB;AAAA,EAClD,cAAc;AACV,UAAM,yBAAyB;AAAA,MAC3B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAM,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC3E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAQ,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC7E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC5F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,WAAW,GAAG,MAAM,2BAAU;AAAA,MAC3E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAkB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACvF,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,OAAO,GAAG,GAAyB,GAAG;AAAA,QAAE,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB,EAAE;AAAA,IACtH,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,aAAa,IAAI,gBAAgB;AAIvC,MAAM,cAAc,IAAI,+BAAY,0BAA0B;AAAA,EACjE,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,qBAAqB,SAAS,CAAC,GAAG,GAAG,0BAA0B,GAAG,0BAA0B;AACxG,CAAC;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/name_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2.LookupNameRequest\n */\nexport interface LookupNameRequest {\n\t/**\n\t * Required. The SuiNS name to lookup.\n\t *\n\t * Supports both `@name` as well as `name.sui` formats.\n\t *\n\t * @generated from protobuf field: optional string name = 1;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.LookupNameResponse\n */\nexport interface LookupNameResponse {\n\t/**\n\t * The record for the requested name\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.NameRecord record = 1;\n\t */\n\trecord?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ReverseLookupNameRequest\n */\nexport interface ReverseLookupNameRequest {\n\t/**\n\t * Required. The address to perform a reverse lookup for.\n\t *\n\t * @generated from protobuf field: optional string address = 1;\n\t */\n\taddress?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ReverseLookupNameResponse\n */\nexport interface ReverseLookupNameResponse {\n\t/**\n\t * The record for the SuiNS name linked to the requested address\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.NameRecord record = 1;\n\t */\n\trecord?: NameRecord;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.NameRecord\n */\nexport interface NameRecord {\n\t/**\n\t * Id of this record.\n\t *\n\t * Note that records are stored on chain as dynamic fields of the type\n\t * `Field<Domain,NameRecord>`.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The SuiNS name of this record\n\t *\n\t * @generated from protobuf field: optional string name = 2;\n\t */\n\tname?: string;\n\t/**\n\t * The ID of the `RegistrationNFT` assigned to this record.\n\t *\n\t * The owner of the corresponding `RegistrationNFT` has the rights to\n\t * be able to change and adjust the `target_address` of this domain.\n\t *\n\t * It is possible that the ID changes if the record expires and is\n\t * purchased by someone else.\n\t *\n\t * @generated from protobuf field: optional string registration_nft_id = 3;\n\t */\n\tregistrationNftId?: string;\n\t/**\n\t * Timestamp when the record expires.\n\t *\n\t * This is either the expiration of the record itself or the expiration of\n\t * this record's parent if this is a leaf record.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp expiration_timestamp = 4;\n\t */\n\texpirationTimestamp?: Timestamp;\n\t/**\n\t * The target address that this name points to\n\t *\n\t * @generated from protobuf field: optional string target_address = 5;\n\t */\n\ttargetAddress?: string;\n\t/**\n\t * Additional data which may be stored in a record\n\t *\n\t * @generated from protobuf field: map<string, string> data = 6;\n\t */\n\tdata: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameRequest$Type extends MessageType<LookupNameRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.LookupNameRequest', [\n\t\t\t{ no: 1, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.LookupNameRequest\n */\nexport const LookupNameRequest = new LookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass LookupNameResponse$Type extends MessageType<LookupNameResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.LookupNameResponse', [\n\t\t\t{ no: 1, name: 'record', kind: 'message', T: () => NameRecord },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.LookupNameResponse\n */\nexport const LookupNameResponse = new LookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameRequest$Type extends MessageType<ReverseLookupNameRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ReverseLookupNameRequest', [\n\t\t\t{ no: 1, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ReverseLookupNameRequest\n */\nexport const ReverseLookupNameRequest = new ReverseLookupNameRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ReverseLookupNameResponse$Type extends MessageType<ReverseLookupNameResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ReverseLookupNameResponse', [\n\t\t\t{ no: 1, name: 'record', kind: 'message', T: () => NameRecord },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ReverseLookupNameResponse\n */\nexport const ReverseLookupNameResponse = new ReverseLookupNameResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass NameRecord$Type extends MessageType<NameRecord> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.NameRecord', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'registration_nft_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'expiration_timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{ no: 5, name: 'target_address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'data',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.NameRecord\n */\nexport const NameRecord = new NameRecord$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.NameService\n */\nexport const NameService = new ServiceType('sui.rpc.v2.NameService', [\n\t{ name: 'LookupName', options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,wBAAwB,2BAAwB;AAAA,EACrD,cAAc;AACb,UAAM,yBAAyB;AAAA,MAC9B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAM,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC3E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAQ,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC7E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAuB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC5F,EAAE,IAAI,GAAG,MAAM,wBAAwB,MAAM,WAAW,GAAG,MAAM,2BAAU;AAAA,MAC3E;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAkB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MACvF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAwB;AAAA,MACjD;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,aAAa,IAAI,gBAAgB;AAIvC,MAAM,cAAc,IAAI,+BAAY,0BAA0B;AAAA,EACpE,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AACD,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,8 +1,8 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { Value } from "../../../google/protobuf/struct";
3
- import { Package } from "./move_package";
4
- import { Owner } from "./owner";
5
- import { Bcs } from "./bcs";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
+ import { Value } from '../../../google/protobuf/struct.js';
3
+ import { Package } from './move_package.js';
4
+ import { Owner } from './owner.js';
5
+ import { Bcs } from './bcs.js';
6
6
  /**
7
7
  * An object on the Sui blockchain.
8
8
  *
@@ -23,10 +23,10 @@ __export(object_exports, {
23
23
  });
24
24
  module.exports = __toCommonJS(object_exports);
25
25
  var import_runtime = require("@protobuf-ts/runtime");
26
- var import_struct = require("../../../google/protobuf/struct");
27
- var import_move_package = require("./move_package");
28
- var import_owner = require("./owner");
29
- var import_bcs = require("./bcs");
26
+ var import_struct = require("../../../google/protobuf/struct.js");
27
+ var import_move_package = require("./move_package.js");
28
+ var import_owner = require("./owner.js");
29
+ var import_bcs = require("./bcs.js");
30
30
  class Object$Type extends import_runtime.MessageType {
31
31
  constructor() {
32
32
  super("sui.rpc.v2.Object", [
@@ -46,7 +46,6 @@ class Object$Type extends import_runtime.MessageType {
46
46
  opt: true,
47
47
  T: 4,
48
48
  L: 0
49
- /*LongType.BIGINT*/
50
49
  },
51
50
  {
52
51
  no: 4,
@@ -81,7 +80,6 @@ class Object$Type extends import_runtime.MessageType {
81
80
  kind: "scalar",
82
81
  opt: true,
83
82
  T: 9
84
- /*ScalarType.STRING*/
85
83
  },
86
84
  {
87
85
  no: 11,
@@ -90,7 +88,6 @@ class Object$Type extends import_runtime.MessageType {
90
88
  opt: true,
91
89
  T: 4,
92
90
  L: 0
93
- /*LongType.BIGINT*/
94
91
  },
95
92
  { no: 100, name: "json", kind: "message", T: () => import_struct.Value },
96
93
  {
@@ -100,7 +97,6 @@ class Object$Type extends import_runtime.MessageType {
100
97
  opt: true,
101
98
  T: 4,
102
99
  L: 0
103
- /*LongType.BIGINT*/
104
100
  }
105
101
  ]);
106
102
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/object.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/object.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Value } from \"../../../google/protobuf/struct\";\nimport { Package } from \"./move_package\";\nimport { Owner } from \"./owner\";\nimport { Bcs } from \"./bcs\";\n/**\n * An object on the Sui blockchain.\n *\n * @generated from protobuf message sui.rpc.v2.Object\n */\nexport interface Object {\n /**\n * This Object serialized as BCS.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n */\n bcs?: Bcs;\n /**\n * `ObjectId` for this object.\n *\n * @generated from protobuf field: optional string object_id = 2;\n */\n objectId?: string;\n /**\n * Version of the object.\n *\n * @generated from protobuf field: optional uint64 version = 3;\n */\n version?: bigint;\n /**\n * The digest of this Object.\n *\n * @generated from protobuf field: optional string digest = 4;\n */\n digest?: string;\n /**\n * Owner of the object.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Owner owner = 5;\n */\n owner?: Owner;\n /**\n * The type of this object.\n *\n * This will be 'package' for packages and a StructTag for move structs.\n *\n * @generated from protobuf field: optional string object_type = 6;\n */\n objectType?: string;\n /**\n * DEPRECATED this field is no longer used to determine whether a tx can transfer this\n * object. Instead, it is always calculated from the objects type when loaded in execution.\n *\n * Only set for Move structs\n *\n * @generated from protobuf field: optional bool has_public_transfer = 7;\n */\n hasPublicTransfer?: boolean;\n /**\n * BCS bytes of a Move struct value.\n *\n * Only set for Move structs\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs contents = 8;\n */\n contents?: Bcs;\n /**\n * Package information for Move Packages\n *\n * @generated from protobuf field: optional sui.rpc.v2.Package package = 9;\n */\n package?: Package;\n /**\n * The digest of the transaction that created or last mutated this object\n *\n * @generated from protobuf field: optional string previous_transaction = 10;\n */\n previousTransaction?: string;\n /**\n * The amount of SUI to rebate if this object gets deleted.\n * This number is re-calculated each time the object is mutated based on\n * the present storage gas price.\n *\n * @generated from protobuf field: optional uint64 storage_rebate = 11;\n */\n storageRebate?: bigint;\n /**\n * JSON rendering of the object.\n *\n * @generated from protobuf field: optional google.protobuf.Value json = 100;\n */\n json?: Value;\n /**\n * Current balance if this object is a `0x2::coin::Coin<T>`\n *\n * @generated from protobuf field: optional uint64 balance = 101;\n */\n balance?: bigint;\n}\n/**\n * Set of Objects\n *\n * @generated from protobuf message sui.rpc.v2.ObjectSet\n */\nexport interface ObjectSet {\n /**\n * Objects are sorted by the key `(object_id, version)`.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n */\n objects: Object[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Object$Type extends MessageType<Object> {\n constructor() {\n super(\"sui.rpc.v2.Object\", [\n { no: 1, name: \"bcs\", kind: \"message\", T: () => Bcs },\n { no: 2, name: \"object_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 4, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"owner\", kind: \"message\", T: () => Owner },\n { no: 6, name: \"object_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"has_public_transfer\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 8, name: \"contents\", kind: \"message\", T: () => Bcs },\n { no: 9, name: \"package\", kind: \"message\", T: () => Package },\n { no: 10, name: \"previous_transaction\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 11, name: \"storage_rebate\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 100, name: \"json\", kind: \"message\", T: () => Value },\n { no: 101, name: \"balance\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Object\n */\nexport const Object = new Object$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ObjectSet$Type extends MessageType<ObjectSet> {\n constructor() {\n super(\"sui.rpc.v2.ObjectSet\", [\n { no: 1, name: \"objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Object }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ObjectSet\n */\nexport const ObjectSet = new ObjectSet$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gBAAAA;AAAA,EAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,oBAAsB;AACtB,0BAAwB;AACxB,mBAAsB;AACtB,iBAAoB;AA6GpB,MAAM,oBAAoB,2BAAoB;AAAA,EAC1C,cAAc;AACV,UAAM,qBAAqB;AAAA,MACvB,EAAE,IAAI,GAAG,MAAM,OAAO,MAAM,WAAW,GAAG,MAAM,eAAI;AAAA,MACpD;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC1G;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAC/E,EAAE,IAAI,GAAG,MAAM,SAAS,MAAM,WA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SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/object.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Value } from '../../../google/protobuf/struct.js';\nimport { Package } from './move_package.js';\nimport { Owner } from './owner.js';\nimport { Bcs } from './bcs.js';\n/**\n * An object on the Sui blockchain.\n *\n * @generated from protobuf message sui.rpc.v2.Object\n */\nexport interface Object {\n\t/**\n\t * This Object serialized as BCS.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs bcs = 1;\n\t */\n\tbcs?: Bcs;\n\t/**\n\t * `ObjectId` for this object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 2;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Version of the object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The digest of this Object.\n\t *\n\t * @generated from protobuf field: optional string digest = 4;\n\t */\n\tdigest?: string;\n\t/**\n\t * Owner of the object.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Owner owner = 5;\n\t */\n\towner?: Owner;\n\t/**\n\t * The type of this object.\n\t *\n\t * This will be 'package' for packages and a StructTag for move structs.\n\t *\n\t * @generated from protobuf field: optional string object_type = 6;\n\t */\n\tobjectType?: string;\n\t/**\n\t * DEPRECATED this field is no longer used to determine whether a tx can transfer this\n\t * object. Instead, it is always calculated from the objects type when loaded in execution.\n\t *\n\t * Only set for Move structs\n\t *\n\t * @generated from protobuf field: optional bool has_public_transfer = 7;\n\t */\n\thasPublicTransfer?: boolean;\n\t/**\n\t * BCS bytes of a Move struct value.\n\t *\n\t * Only set for Move structs\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs contents = 8;\n\t */\n\tcontents?: Bcs;\n\t/**\n\t * Package information for Move Packages\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Package package = 9;\n\t */\n\tpackage?: Package;\n\t/**\n\t * The digest of the transaction that created or last mutated this object\n\t *\n\t * @generated from protobuf field: optional string previous_transaction = 10;\n\t */\n\tpreviousTransaction?: string;\n\t/**\n\t * The amount of SUI to rebate if this object gets deleted.\n\t * This number is re-calculated each time the object is mutated based on\n\t * the present storage gas price.\n\t *\n\t * @generated from protobuf field: optional uint64 storage_rebate = 11;\n\t */\n\tstorageRebate?: bigint;\n\t/**\n\t * JSON rendering of the object.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Value json = 100;\n\t */\n\tjson?: Value;\n\t/**\n\t * Current balance if this object is a `0x2::coin::Coin<T>`\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 101;\n\t */\n\tbalance?: bigint;\n}\n/**\n * Set of Objects\n *\n * @generated from protobuf message sui.rpc.v2.ObjectSet\n */\nexport interface ObjectSet {\n\t/**\n\t * Objects are sorted by the key `(object_id, version)`.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n\t */\n\tobjects: Object[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Object$Type extends MessageType<Object> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Object', [\n\t\t\t{ no: 1, name: 'bcs', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 2, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'owner', kind: 'message', T: () => Owner },\n\t\t\t{ no: 6, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'has_public_transfer', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 8, name: 'contents', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 9, name: 'package', kind: 'message', T: () => Package },\n\t\t\t{\n\t\t\t\tno: 10,\n\t\t\t\tname: 'previous_transaction',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 11,\n\t\t\t\tname: 'storage_rebate',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 100, name: 'json', kind: 'message', T: () => Value },\n\t\t\t{\n\t\t\t\tno: 101,\n\t\t\t\tname: 'balance',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Object\n */\nexport const Object = new Object$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ObjectSet$Type extends MessageType<ObjectSet> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ObjectSet', [\n\t\t\t{ no: 1, name: 'objects', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ObjectSet\n */\nexport const ObjectSet = new ObjectSet$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gBAAAA;AAAA,EAAA;AAAA;AAAA;AAWA,qBAA4B;AAC5B,oBAAsB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AA,QACH,GAAG;AAAA,MACJ;AAAA,MACA,EAAE,IAAI,KAAK,MAAM,QAAQ,MAAM,WAAW,GAAG,MAAM,oBAAM;AAAA,MACzD;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAMA,UAAS,IAAI,YAAY;AAEtC,MAAM,uBAAuB,2BAAuB;AAAA,EACnD,cAAc;AACb,UAAM,wBAAwB;AAAA,MAC7B,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAMA,QAAO;AAAA,IAC7F,CAAC;AAAA,EACF;AACD;AAIO,MAAM,YAAY,IAAI,eAAe;",
6
6
  "names": ["Object"]
7
7
  }
@@ -1,4 +1,4 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
2
  /**
3
3
  * Reference to an object.
4
4
  *
@@ -40,7 +40,6 @@ class ObjectReference$Type extends import_runtime.MessageType {
40
40
  opt: true,
41
41
  T: 4,
42
42
  L: 0
43
- /*LongType.BIGINT*/
44
43
  },
45
44
  {
46
45
  no: 3,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/object_reference.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/object_reference.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * Reference to an object.\n *\n * @generated from protobuf message sui.rpc.v2.ObjectReference\n */\nexport interface ObjectReference {\n /**\n * The object id of this object.\n *\n * @generated from protobuf field: optional string object_id = 1;\n */\n objectId?: string;\n /**\n * The version of this object.\n *\n * @generated from protobuf field: optional uint64 version = 2;\n */\n version?: bigint;\n /**\n * The digest of this object.\n *\n * @generated from protobuf field: optional string digest = 3;\n */\n digest?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ObjectReference$Type extends MessageType<ObjectReference> {\n constructor() {\n super(\"sui.rpc.v2.ObjectReference\", [\n { no: 1, name: \"object_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"digest\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ObjectReference\n */\nexport const ObjectReference = new ObjectReference$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AA2B5B,MAAM,6BAA6B,2BAA6B;AAAA,EAC5D,cAAc;AACV,UAAM,8BAA8B;AAAA,MAChC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MAC1G;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACnF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,kBAAkB,IAAI,qBAAqB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/object_reference.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Reference to an object.\n *\n * @generated from protobuf message sui.rpc.v2.ObjectReference\n */\nexport interface ObjectReference {\n\t/**\n\t * The object id of this object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * The version of this object.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * The digest of this object.\n\t *\n\t * @generated from protobuf field: optional string digest = 3;\n\t */\n\tdigest?: string;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ObjectReference$Type extends MessageType<ObjectReference> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ObjectReference', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ObjectReference\n */\nexport const ObjectReference = new ObjectReference$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AA2B5B,MAAM,6BAA6B,2BAA6B;AAAA,EAC/D,cAAc;AACb,UAAM,8BAA8B;AAAA,MACnC;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAa,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAClF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAU,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAChF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,kBAAkB,IAAI,qBAAqB;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
2
  /**
3
3
  * Enum of different types of ownership for an object.
4
4
  *
@@ -35,7 +35,13 @@ var Owner_OwnerKind = /* @__PURE__ */ ((Owner_OwnerKind2) => {
35
35
  class Owner$Type extends import_runtime.MessageType {
36
36
  constructor() {
37
37
  super("sui.rpc.v2.Owner", [
38
- { no: 1, name: "kind", kind: "enum", opt: true, T: () => ["sui.rpc.v2.Owner.OwnerKind", Owner_OwnerKind] },
38
+ {
39
+ no: 1,
40
+ name: "kind",
41
+ kind: "enum",
42
+ opt: true,
43
+ T: () => ["sui.rpc.v2.Owner.OwnerKind", Owner_OwnerKind]
44
+ },
39
45
  {
40
46
  no: 2,
41
47
  name: "address",
@@ -51,7 +57,6 @@ class Owner$Type extends import_runtime.MessageType {
51
57
  opt: true,
52
58
  T: 4,
53
59
  L: 0
54
- /*LongType.BIGINT*/
55
60
  }
56
61
  ]);
57
62
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/owner.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/owner.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * Enum of different types of ownership for an object.\n *\n * @generated from protobuf message sui.rpc.v2.Owner\n */\nexport interface Owner {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.Owner.OwnerKind kind = 1;\n */\n kind?: Owner_OwnerKind;\n /**\n * Address or ObjectId of the owner\n *\n * @generated from protobuf field: optional string address = 2;\n */\n address?: string;\n /**\n * The `initial_shared_version` if kind is `SHARED` or `start_version` if kind `CONSENSUS_ADDRESS`.\n *\n * @generated from protobuf field: optional uint64 version = 3;\n */\n version?: bigint;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.Owner.OwnerKind\n */\nexport enum Owner_OwnerKind {\n /**\n * @generated from protobuf enum value: OWNER_KIND_UNKNOWN = 0;\n */\n OWNER_KIND_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: ADDRESS = 1;\n */\n ADDRESS = 1,\n /**\n * @generated from protobuf enum value: OBJECT = 2;\n */\n OBJECT = 2,\n /**\n * @generated from protobuf enum value: SHARED = 3;\n */\n SHARED = 3,\n /**\n * @generated from protobuf enum value: IMMUTABLE = 4;\n */\n IMMUTABLE = 4,\n /**\n * @generated from protobuf enum value: CONSENSUS_ADDRESS = 5;\n */\n CONSENSUS_ADDRESS = 5\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Owner$Type extends MessageType<Owner> {\n constructor() {\n super(\"sui.rpc.v2.Owner\", [\n { no: 1, name: \"kind\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.Owner.OwnerKind\", Owner_OwnerKind] },\n { no: 2, name: \"address\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Owner\n */\nexport const Owner = new Owner$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AA2BrB,IAAK,kBAAL,kBAAKA,qBAAL;AAIH,EAAAA,kCAAA,wBAAqB,KAArB;AAIA,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,uBAAoB,KAApB;AAxBQ,SAAAA;AAAA,GAAA;AA2BZ,MAAM,mBAAmB,2BAAmB;AAAA,EACxC,cAAc;AACV,UAAM,oBAAoB;AAAA,MACtB,EAAE,IAAI,GAAG,MAAM,QAAQ,MAAM,QAAQ,KAAK,MAAM,GAAG,MAAM,CAAC,8BAA8B,eAAe,EAAE;AAAA,MACzG;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,IAC9G,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,QAAQ,IAAI,WAAW;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/owner.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * Enum of different types of ownership for an object.\n *\n * @generated from protobuf message sui.rpc.v2.Owner\n */\nexport interface Owner {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Owner.OwnerKind kind = 1;\n\t */\n\tkind?: Owner_OwnerKind;\n\t/**\n\t * Address or ObjectId of the owner\n\t *\n\t * @generated from protobuf field: optional string address = 2;\n\t */\n\taddress?: string;\n\t/**\n\t * The `initial_shared_version` if kind is `SHARED` or `start_version` if kind `CONSENSUS_ADDRESS`.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 3;\n\t */\n\tversion?: bigint;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.Owner.OwnerKind\n */\nexport enum Owner_OwnerKind {\n\t/**\n\t * @generated from protobuf enum value: OWNER_KIND_UNKNOWN = 0;\n\t */\n\tOWNER_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: ADDRESS = 1;\n\t */\n\tADDRESS = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n\t/**\n\t * @generated from protobuf enum value: SHARED = 3;\n\t */\n\tSHARED = 3,\n\t/**\n\t * @generated from protobuf enum value: IMMUTABLE = 4;\n\t */\n\tIMMUTABLE = 4,\n\t/**\n\t * @generated from protobuf enum value: CONSENSUS_ADDRESS = 5;\n\t */\n\tCONSENSUS_ADDRESS = 5,\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Owner$Type extends MessageType<Owner> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Owner', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.Owner.OwnerKind', Owner_OwnerKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Owner\n */\nexport const Owner = new Owner$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AA2BrB,IAAK,kBAAL,kBAAKA,qBAAL;AAIN,EAAAA,kCAAA,wBAAqB,KAArB;AAIA,EAAAA,kCAAA,aAAU,KAAV;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,YAAS,KAAT;AAIA,EAAAA,kCAAA,eAAY,KAAZ;AAIA,EAAAA,kCAAA,uBAAoB,KAApB;AAxBW,SAAAA;AAAA,GAAA;AA2BZ,MAAM,mBAAmB,2BAAmB;AAAA,EAC3C,cAAc;AACb,UAAM,oBAAoB;AAAA,MACzB;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG,MAAM,CAAC,8BAA8B,eAAe;AAAA,MACxD;AAAA,MACA;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAW,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,MAChF;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,QAAQ,IAAI,WAAW;",
6
6
  "names": ["Owner_OwnerKind"]
7
7
  }
@@ -1,4 +1,4 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
1
+ import { MessageType } from '@protobuf-ts/runtime';
2
2
  /**
3
3
  * @generated from protobuf message sui.rpc.v2.ProtocolConfig
4
4
  */
@@ -32,18 +32,29 @@ class ProtocolConfig$Type extends import_runtime.MessageType {
32
32
  opt: true,
33
33
  T: 4,
34
34
  L: 0
35
- /*LongType.BIGINT*/
36
35
  },
37
- { no: 2, name: "feature_flags", kind: "map", K: 9, V: {
38
- kind: "scalar",
39
- T: 8
40
- /*ScalarType.BOOL*/
41
- } },
42
- { no: 3, name: "attributes", kind: "map", K: 9, V: {
43
- kind: "scalar",
44
- T: 9
45
- /*ScalarType.STRING*/
46
- } }
36
+ {
37
+ no: 2,
38
+ name: "feature_flags",
39
+ kind: "map",
40
+ K: 9,
41
+ V: {
42
+ kind: "scalar",
43
+ T: 8
44
+ /*ScalarType.BOOL*/
45
+ }
46
+ },
47
+ {
48
+ no: 3,
49
+ name: "attributes",
50
+ kind: "map",
51
+ K: 9,
52
+ V: {
53
+ kind: "scalar",
54
+ T: 9
55
+ /*ScalarType.STRING*/
56
+ }
57
+ }
47
58
  ]);
48
59
  }
49
60
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/protocol_config.ts"],
4
- "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/protocol_config.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from \"@protobuf-ts/runtime\";\n/**\n * @generated from protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport interface ProtocolConfig {\n /**\n * @generated from protobuf field: optional uint64 protocol_version = 1;\n */\n protocolVersion?: bigint;\n /**\n * @generated from protobuf field: map<string, bool> feature_flags = 2;\n */\n featureFlags: {\n [key: string]: boolean;\n };\n /**\n * @generated from protobuf field: map<string, string> attributes = 3;\n */\n attributes: {\n [key: string]: string;\n };\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProtocolConfig$Type extends MessageType<ProtocolConfig> {\n constructor() {\n super(\"sui.rpc.v2.ProtocolConfig\", [\n { no: 1, name: \"protocol_version\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 2, name: \"feature_flags\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ } },\n { no: 3, name: \"attributes\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport const ProtocolConfig = new ProtocolConfig$Type();\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAuB5B,MAAM,4BAA4B,2BAA4B;AAAA,EAC1D,cAAc;AACV,UAAM,6BAA6B;AAAA,MAC/B;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAoB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA,QAAyB,GAAG;AAAA;AAAA,MAAsB;AAAA,MACnH,EAAE,IAAI,GAAG,MAAM,iBAAiB,MAAM,OAAO,GAAG,GAAyB,GAAG;AAAA,QAAE,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAsB,EAAE;AAAA,MACzH,EAAE,IAAI,GAAG,MAAM,cAAc,MAAM,OAAO,GAAG,GAAyB,GAAG;AAAA,QAAE,MAAM;AAAA,QAAU,GAAG;AAAA;AAAA,MAAwB,EAAE;AAAA,IAC5H,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;",
4
+ "sourcesContent": ["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/protocol_config.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { MessageType } from '@protobuf-ts/runtime';\n/**\n * @generated from protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport interface ProtocolConfig {\n\t/**\n\t * @generated from protobuf field: optional uint64 protocol_version = 1;\n\t */\n\tprotocolVersion?: bigint;\n\t/**\n\t * @generated from protobuf field: map<string, bool> feature_flags = 2;\n\t */\n\tfeatureFlags: {\n\t\t[key: string]: boolean;\n\t};\n\t/**\n\t * @generated from protobuf field: map<string, string> attributes = 3;\n\t */\n\tattributes: {\n\t\t[key: string]: string;\n\t};\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ProtocolConfig$Type extends MessageType<ProtocolConfig> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ProtocolConfig', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'protocol_version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'feature_flags',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 8 /*ScalarType.BOOL*/ },\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'attributes',\n\t\t\t\tkind: 'map',\n\t\t\t\tK: 9 /*ScalarType.STRING*/,\n\t\t\t\tV: { kind: 'scalar', T: 9 /*ScalarType.STRING*/ },\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ProtocolConfig\n */\nexport const ProtocolConfig = new ProtocolConfig$Type();\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,qBAA4B;AAuB5B,MAAM,4BAA4B,2BAA4B;AAAA,EAC7D,cAAc;AACb,UAAM,6BAA6B;AAAA,MAClC;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,KAAK;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAsB;AAAA,MAC/C;AAAA,MACA;AAAA,QACC,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,QACN,GAAG;AAAA,QACH,GAAG;AAAA,UAAE,MAAM;AAAA,UAAU,GAAG;AAAA;AAAA,QAAwB;AAAA,MACjD;AAAA,IACD,CAAC;AAAA,EACF;AACD;AAIO,MAAM,iBAAiB,IAAI,oBAAoB;",
6
6
  "names": []
7
7
  }