@misofm/sdk 0.16.0 → 0.17.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 (307) hide show
  1. package/README.md +79 -34
  2. package/dist/client.d.ts +72 -24
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +229 -84
  5. package/dist/client.js.map +1 -1
  6. package/dist/contracts/composition_credits/composition_credits.d.ts +10 -10
  7. package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -1
  8. package/dist/contracts/composition_credits/composition_credits.js.map +1 -1
  9. package/dist/contracts/composition_credits/composition_party_role.d.ts +1 -1
  10. package/dist/contracts/composition_credits/composition_party_role.d.ts.map +1 -1
  11. package/dist/contracts/composition_credits/composition_party_role.js.map +1 -1
  12. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +1 -1
  13. package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +1 -1
  14. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +1 -1
  15. package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +1 -1
  16. package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts +29 -93
  17. package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts.map +1 -1
  18. package/dist/contracts/composition_routed_stake/composition_routed_stake.js +19 -79
  19. package/dist/contracts/composition_routed_stake/composition_routed_stake.js.map +1 -1
  20. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +15 -99
  21. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -1
  22. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +12 -94
  23. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -1
  24. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts +90 -0
  25. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts.map +1 -0
  26. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js +85 -0
  27. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js.map +1 -0
  28. package/dist/contracts/{party_wallet → composition_royalty_pool_plugin}/witness.d.ts +1 -1
  29. package/dist/contracts/composition_royalty_pool_plugin/witness.d.ts.map +1 -0
  30. package/dist/contracts/{recording_royalty_pool → composition_royalty_pool_plugin}/witness.js +1 -1
  31. package/dist/contracts/composition_royalty_pool_plugin/witness.js.map +1 -0
  32. package/dist/contracts/cover_art/cover_art.d.ts +4 -4
  33. package/dist/contracts/cover_art/cover_art.d.ts.map +1 -1
  34. package/dist/contracts/cover_art/cover_art.js.map +1 -1
  35. package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts +4 -4
  36. package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts.map +1 -1
  37. package/dist/contracts/cover_art/deps/ori/walrus_data.js.map +1 -1
  38. package/dist/contracts/genre/genre.d.ts +6 -6
  39. package/dist/contracts/genre/genre.d.ts.map +1 -1
  40. package/dist/contracts/genre/genre.js.map +1 -1
  41. package/dist/contracts/miso_record/deps/std/type_name.d.ts +1 -1
  42. package/dist/contracts/miso_record/deps/std/type_name.d.ts.map +1 -1
  43. package/dist/contracts/miso_record/deps/std/type_name.js.map +1 -1
  44. package/dist/contracts/miso_record/deps/sui/vec_set.d.ts.map +1 -1
  45. package/dist/contracts/miso_record/deps/sui/vec_set.js.map +1 -1
  46. package/dist/contracts/miso_record/pressing.d.ts.map +1 -1
  47. package/dist/contracts/miso_record/pressing.js.map +1 -1
  48. package/dist/contracts/miso_record/record.d.ts +17 -17
  49. package/dist/contracts/miso_record/record.d.ts.map +1 -1
  50. package/dist/contracts/miso_record/record.js.map +1 -1
  51. package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts +1 -1
  52. package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts.map +1 -1
  53. package/dist/contracts/miso_record_shop/deps/std/type_name.js.map +1 -1
  54. package/dist/contracts/miso_record_shop/listing.d.ts +29 -29
  55. package/dist/contracts/miso_record_shop/listing.d.ts.map +1 -1
  56. package/dist/contracts/miso_record_shop/listing.js.map +1 -1
  57. package/dist/contracts/miso_record_shop/witness.d.ts +1 -1
  58. package/dist/contracts/miso_record_shop/witness.d.ts.map +1 -1
  59. package/dist/contracts/miso_record_shop/witness.js.map +1 -1
  60. package/dist/contracts/party_wallet/party_wallet.d.ts +41 -168
  61. package/dist/contracts/party_wallet/party_wallet.d.ts.map +1 -1
  62. package/dist/contracts/party_wallet/party_wallet.js +27 -152
  63. package/dist/contracts/party_wallet/party_wallet.js.map +1 -1
  64. package/dist/contracts/recording_advisory/recording_advisory.d.ts +3 -3
  65. package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -1
  66. package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -1
  67. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -1
  68. package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -1
  69. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -1
  70. package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -1
  71. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -1
  72. package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -1
  73. package/dist/contracts/recording_credits/recording_credits.d.ts +20 -20
  74. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -1
  75. package/dist/contracts/recording_credits/recording_credits.js.map +1 -1
  76. package/dist/contracts/recording_credits/recording_party_role.d.ts +30 -30
  77. package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -1
  78. package/dist/contracts/recording_credits/recording_party_role.js.map +1 -1
  79. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +1 -1
  80. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -1
  81. package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -1
  82. package/dist/contracts/recording_language/recording_language.d.ts +4 -4
  83. package/dist/contracts/recording_language/recording_language.d.ts.map +1 -1
  84. package/dist/contracts/recording_language/recording_language.js.map +1 -1
  85. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +4 -4
  86. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -1
  87. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -1
  88. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +6 -6
  89. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -1
  90. package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -1
  91. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +4 -4
  92. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -1
  93. package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -1
  94. package/dist/contracts/recording_preview/recording_preview.d.ts +6 -6
  95. package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -1
  96. package/dist/contracts/recording_preview/recording_preview.js.map +1 -1
  97. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +14 -100
  98. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -1
  99. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +11 -94
  100. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -1
  101. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts +92 -0
  102. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts.map +1 -0
  103. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js +85 -0
  104. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js.map +1 -0
  105. package/dist/contracts/{composition_royalty_pool → recording_royalty_pool_plugin}/witness.d.ts +1 -1
  106. package/dist/contracts/recording_royalty_pool_plugin/witness.d.ts.map +1 -0
  107. package/dist/contracts/{party_wallet → recording_royalty_pool_plugin}/witness.js +1 -1
  108. package/dist/contracts/recording_royalty_pool_plugin/witness.js.map +1 -0
  109. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.d.ts +7 -7
  110. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.d.ts.map +1 -1
  111. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.js +1 -1
  112. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.js.map +1 -1
  113. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +7 -7
  114. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -1
  115. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +1 -1
  116. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -1
  117. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -1
  118. package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -1
  119. package/dist/contracts/release_cover_art/release_cover_art.d.ts +23 -23
  120. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -1
  121. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -1
  122. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -1
  123. package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -1
  124. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -1
  125. package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -1
  126. package/dist/contracts/release_credits/release_credits.d.ts +10 -10
  127. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -1
  128. package/dist/contracts/release_credits/release_credits.js.map +1 -1
  129. package/dist/contracts/release_description/release_description.d.ts +4 -4
  130. package/dist/contracts/release_description/release_description.d.ts.map +1 -1
  131. package/dist/contracts/release_description/release_description.js.map +1 -1
  132. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +41 -42
  133. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -1
  134. package/dist/contracts/release_dsp_link/release_dsp_link.js +4 -5
  135. package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -1
  136. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -1
  137. package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -1
  138. package/dist/contracts/release_genre/release_genre.d.ts +15 -15
  139. package/dist/contracts/release_genre/release_genre.d.ts.map +1 -1
  140. package/dist/contracts/release_genre/release_genre.js.map +1 -1
  141. package/dist/contracts/release_kind/release_kind.d.ts +4 -4
  142. package/dist/contracts/release_kind/release_kind.d.ts.map +1 -1
  143. package/dist/contracts/release_kind/release_kind.js.map +1 -1
  144. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts +46 -59
  145. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts.map +1 -1
  146. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js +27 -48
  147. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js.map +1 -1
  148. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts +75 -0
  149. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts.map +1 -0
  150. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js +80 -0
  151. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js.map +1 -0
  152. package/dist/contracts/{recording_royalty_pool → release_revenue_distributor_plugin}/witness.d.ts +1 -1
  153. package/dist/contracts/release_revenue_distributor_plugin/witness.d.ts.map +1 -0
  154. package/dist/contracts/{composition_royalty_pool → release_revenue_distributor_plugin}/witness.js +1 -1
  155. package/dist/contracts/release_revenue_distributor_plugin/witness.js.map +1 -0
  156. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +5 -5
  157. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -1
  158. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -1
  159. package/dist/contracts/routed_stake/deps/std/type_name.d.ts +1 -1
  160. package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -1
  161. package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -1
  162. package/dist/contracts/routed_stake/deps/sui/balance.d.ts +1 -1
  163. package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -1
  164. package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -1
  165. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -1
  166. package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -1
  167. package/dist/contracts/routed_stake/routed_stake.d.ts +15 -15
  168. package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -1
  169. package/dist/contracts/routed_stake/routed_stake.js.map +1 -1
  170. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +1 -1
  171. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -1
  172. package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -1
  173. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +1 -1
  174. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -1
  175. package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -1
  176. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -1
  177. package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -1
  178. package/dist/contracts/royalty_pool/pool.d.ts +19 -19
  179. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -1
  180. package/dist/contracts/royalty_pool/pool.js.map +1 -1
  181. package/dist/contracts/royalty_pool/stake.d.ts +9 -9
  182. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -1
  183. package/dist/contracts/royalty_pool/stake.js.map +1 -1
  184. package/dist/contracts/vault/deps/sui/bag.d.ts +2 -2
  185. package/dist/contracts/vault/deps/sui/bag.d.ts.map +1 -1
  186. package/dist/contracts/vault/deps/sui/bag.js.map +1 -1
  187. package/dist/contracts/vault/deps/sui/borrow.d.ts.map +1 -1
  188. package/dist/contracts/vault/deps/sui/borrow.js.map +1 -1
  189. package/dist/contracts/vault/vault.d.ts +19 -93
  190. package/dist/contracts/vault/vault.d.ts.map +1 -1
  191. package/dist/contracts/vault/vault.js +16 -95
  192. package/dist/contracts/vault/vault.js.map +1 -1
  193. package/dist/contracts.d.ts +3 -0
  194. package/dist/contracts.d.ts.map +1 -1
  195. package/dist/contracts.js +4 -1
  196. package/dist/contracts.js.map +1 -1
  197. package/dist/deployments.d.ts +125 -79
  198. package/dist/deployments.d.ts.map +1 -1
  199. package/dist/deployments.js +111 -35
  200. package/dist/deployments.js.map +1 -1
  201. package/dist/index.d.ts +1 -1
  202. package/dist/index.d.ts.map +1 -1
  203. package/dist/index.js +1 -1
  204. package/dist/index.js.map +1 -1
  205. package/dist/internal.d.ts +9 -0
  206. package/dist/internal.d.ts.map +1 -1
  207. package/dist/internal.js +23 -0
  208. package/dist/internal.js.map +1 -1
  209. package/dist/publication.d.ts +1 -4
  210. package/dist/publication.d.ts.map +1 -1
  211. package/dist/publication.js +79 -60
  212. package/dist/publication.js.map +1 -1
  213. package/dist/read/config.d.ts.map +1 -1
  214. package/dist/read/config.js +9 -1
  215. package/dist/read/config.js.map +1 -1
  216. package/dist/vault.d.ts +42 -38
  217. package/dist/vault.d.ts.map +1 -1
  218. package/dist/vault.js +96 -169
  219. package/dist/vault.js.map +1 -1
  220. package/package.json +13 -10
  221. package/src/client.ts +291 -107
  222. package/src/contracts/composition_credits/composition_credits.ts +3 -2
  223. package/src/contracts/composition_credits/composition_party_role.ts +5 -4
  224. package/src/contracts/composition_credits/deps/miso_credit/credit.ts +1 -0
  225. package/src/contracts/composition_credits/deps/sui/vec_map.ts +1 -0
  226. package/src/contracts/composition_routed_stake/composition_routed_stake.ts +36 -146
  227. package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +20 -161
  228. package/src/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.ts +165 -0
  229. package/src/contracts/{recording_royalty_pool → composition_royalty_pool_plugin}/witness.ts +2 -1
  230. package/src/contracts/cover_art/cover_art.ts +2 -1
  231. package/src/contracts/cover_art/deps/ori/walrus_data.ts +1 -0
  232. package/src/contracts/genre/genre.ts +3 -2
  233. package/src/contracts/miso_record/deps/std/type_name.ts +1 -0
  234. package/src/contracts/miso_record/deps/sui/vec_set.ts +1 -0
  235. package/src/contracts/miso_record/pressing.ts +1 -0
  236. package/src/contracts/miso_record/record.ts +1 -0
  237. package/src/contracts/miso_record_shop/deps/std/type_name.ts +1 -0
  238. package/src/contracts/miso_record_shop/listing.ts +1 -0
  239. package/src/contracts/miso_record_shop/witness.ts +1 -0
  240. package/src/contracts/party_wallet/party_wallet.ts +41 -256
  241. package/src/contracts/recording_advisory/recording_advisory.ts +4 -3
  242. package/src/contracts/recording_credits/deps/miso_credit/credit.ts +1 -0
  243. package/src/contracts/recording_credits/deps/sui/vec_map.ts +1 -0
  244. package/src/contracts/recording_credits/deps/sui/vec_set.ts +1 -0
  245. package/src/contracts/recording_credits/recording_credits.ts +3 -2
  246. package/src/contracts/recording_credits/recording_party_role.ts +5 -4
  247. package/src/contracts/recording_language/deps/language_code/language_code.ts +1 -0
  248. package/src/contracts/recording_language/recording_language.ts +5 -4
  249. package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +1 -0
  250. package/src/contracts/recording_master_reference/recording_master_reference.ts +6 -5
  251. package/src/contracts/recording_preview/deps/ori/walrus_data.ts +1 -0
  252. package/src/contracts/recording_preview/recording_preview.ts +2 -1
  253. package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +19 -162
  254. package/src/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.ts +167 -0
  255. package/src/contracts/{party_wallet → recording_royalty_pool_plugin}/witness.ts +2 -1
  256. package/src/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.ts +2 -1
  257. package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +3 -2
  258. package/src/contracts/release_cover_art/deps/per_track/per_track.ts +3 -2
  259. package/src/contracts/release_cover_art/release_cover_art.ts +2 -1
  260. package/src/contracts/release_credits/deps/miso_credit/credit.ts +1 -0
  261. package/src/contracts/release_credits/deps/sui/vec_map.ts +1 -0
  262. package/src/contracts/release_credits/release_credits.ts +4 -3
  263. package/src/contracts/release_credits/release_party_role.ts +4 -4
  264. package/src/contracts/release_description/release_description.ts +6 -5
  265. package/src/contracts/release_dsp_link/release_dsp_link.ts +8 -8
  266. package/src/contracts/release_genre/deps/per_track/per_track.ts +3 -2
  267. package/src/contracts/release_genre/release_genre.ts +4 -3
  268. package/src/contracts/release_kind/release_kind.ts +5 -4
  269. package/src/contracts/release_revenue_distributor/release_revenue_distributor.ts +50 -85
  270. package/src/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.ts +145 -0
  271. package/src/contracts/{composition_royalty_pool → release_revenue_distributor_plugin}/witness.ts +2 -1
  272. package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +1 -0
  273. package/src/contracts/routed_stake/deps/std/type_name.ts +1 -0
  274. package/src/contracts/routed_stake/deps/sui/balance.ts +1 -0
  275. package/src/contracts/routed_stake/deps/sui/vec_map.ts +1 -0
  276. package/src/contracts/routed_stake/routed_stake.ts +4 -3
  277. package/src/contracts/royalty_pool/deps/std/type_name.ts +1 -0
  278. package/src/contracts/royalty_pool/deps/sui/balance.ts +1 -0
  279. package/src/contracts/royalty_pool/deps/sui/vec_map.ts +1 -0
  280. package/src/contracts/royalty_pool/pool.ts +1 -0
  281. package/src/contracts/royalty_pool/stake.ts +1 -0
  282. package/src/contracts/vault/deps/sui/bag.ts +3 -2
  283. package/src/contracts/vault/deps/sui/borrow.ts +2 -1
  284. package/src/contracts/vault/vault.ts +27 -152
  285. package/src/contracts.ts +4 -1
  286. package/src/deployments.ts +185 -60
  287. package/src/index.ts +3 -0
  288. package/src/internal.ts +27 -0
  289. package/src/publication.ts +87 -69
  290. package/src/read/config.ts +12 -1
  291. package/src/vault.ts +150 -256
  292. package/dist/contracts/composition_routed_stake/witness.d.ts +0 -7
  293. package/dist/contracts/composition_routed_stake/witness.d.ts.map +0 -1
  294. package/dist/contracts/composition_routed_stake/witness.js +0 -9
  295. package/dist/contracts/composition_routed_stake/witness.js.map +0 -1
  296. package/dist/contracts/composition_royalty_pool/witness.d.ts.map +0 -1
  297. package/dist/contracts/composition_royalty_pool/witness.js.map +0 -1
  298. package/dist/contracts/party_wallet/witness.d.ts.map +0 -1
  299. package/dist/contracts/party_wallet/witness.js.map +0 -1
  300. package/dist/contracts/recording_royalty_pool/witness.d.ts.map +0 -1
  301. package/dist/contracts/recording_royalty_pool/witness.js.map +0 -1
  302. package/dist/contracts/release_revenue_distributor/witness.d.ts +0 -7
  303. package/dist/contracts/release_revenue_distributor/witness.d.ts.map +0 -1
  304. package/dist/contracts/release_revenue_distributor/witness.js +0 -9
  305. package/dist/contracts/release_revenue_distributor/witness.js.map +0 -1
  306. package/src/contracts/composition_routed_stake/witness.ts +0 -11
  307. package/src/contracts/release_revenue_distributor/witness.ts +0 -11
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The complete client SDK for the **Miso platform layer** on Sui: composed catalog,
4
4
  artist, wallet, and receipt reads; the record production line and sale of copies;
5
- and vault-custodied business-logic plugins built on `@misonetwork/sdk`'s
5
+ and fail-closed Vault custody, raw Actions, and safe crank plugins built on `@misonetwork/sdk`'s
6
6
  protocol and data-extension primitives.
7
7
 
8
8
  ## The split
@@ -13,7 +13,7 @@ holding:
13
13
  | Scope | Layer | Owns |
14
14
  | ---------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
15
15
  | `@misonetwork/*` | **Protocol** | Composition, Recording, Release, Party identity; metadata/data extensions; utilities; generic royalty-pool and routed-stake primitives |
16
- | `@misofm/*` | **Platform** | Pressing, Listing, Record, and Vault plugins that apply Miso business logic to custodied protocol admin caps |
16
+ | `@misofm/*` | **Platform** | Pressing, Listing, Record, and an explicitly deployed Vault/Action/plugin compatibility set |
17
17
 
18
18
  A release is protocol. Pressing a record off that release and selling it is
19
19
  platform. So is deciding _what to do_ with a freshly-minted work's share
@@ -21,7 +21,9 @@ supply — the protocol only knows how to mint one. Keeping the boundary at the
21
21
  package line is what stops the open protocol from quietly growing a
22
22
  storefront (or an opinion about tokenomics).
23
23
 
24
- Extensions add data to a work. Plugins provide business logic: a shared
24
+ Extensions add data to a work. Raw Actions accept an admin cap and remain
25
+ composable with either direct authority or a scoped Vault borrow. Three safe,
26
+ permissionless crank plugins borrow through their own witness: a shared
25
27
  `Vault<AdminCap>` custodies the raw cap, while its owner holds a
26
28
  `VaultAdminCap<AdminCap>`. A plugin borrows the cap and must return the exact
27
29
  object in the same PTB. The SDK supports both vault authorities and legacy
@@ -40,12 +42,14 @@ Install both SDKs at the application boundary; the platform package intentionall
40
42
  does not carry its own protocol SDK copy:
41
43
 
42
44
  ```sh
43
- bun add @misofm/sdk@^0.16.0 @misonetwork/sdk@^0.10.0
45
+ bun add @misofm/sdk@^0.17.1 @misonetwork/sdk@^0.11.0
44
46
  ```
45
47
 
46
48
  Both SDKs are consumed from npm. The platform package keeps
47
49
  `@misonetwork/sdk` as a peer so applications resolve exactly one protocol SDK
48
- and one compatible deployment map.
50
+ and one compatible deployment map. Registration takes a recursively frozen
51
+ snapshot of custom deployment/config records without freezing the caller's
52
+ original objects, so later caller mutation cannot retarget an existing client.
49
53
 
50
54
  ### Canonical Record-gated sessions
51
55
 
@@ -58,8 +62,10 @@ scan, indexer-maintained relationship, or second encrypted manifest is needed.
58
62
 
59
63
  The same entry point exposes exact identity encoding, strict canonical-session
60
64
  parsing, Seal-envelope inspection, and explicit attach/replace/unset PTB
61
- builders. Applications must pin the Record, policy, gate, and engine-session
62
- package IDs from one verified deployment.
65
+ builders. The bundled Testnet deployment pins the Record, policy, gate, and
66
+ engine-session identities together at `recordSales.recordPackageId`,
67
+ `packages.recordSealPolicy`, `objects.recordGate`, and
68
+ `packages.recordingEngineSession`.
63
69
 
64
70
  ## The model
65
71
 
@@ -93,6 +99,10 @@ const client = new SuiGrpcClient({ network: "testnet", baseUrl }).$extend(
93
99
  miso({ deployment: verifiedDeployment }),
94
100
  );
95
101
 
102
+ // One memoized Core API read proves this endpoint is the deployment's exact
103
+ // ledger before any synchronous client-bound builder can be used.
104
+ await client.miso.ready();
105
+
96
106
  // The permissionless protocol SDK is part of the same facade.
97
107
  const release = await client.miso.protocol.getReleaseById(releaseId);
98
108
  const party = await client.miso.party.getPartyById(partyId);
@@ -118,9 +128,9 @@ tx.add(
118
128
  );
119
129
  ```
120
130
 
121
- The deployment records sales as either explicitly unavailable (legacy) or available
122
- with both verified immutable package IDs. New sales builders and readers fail closed
123
- when either package is unavailable.
131
+ The bundled Testnet deployment includes both verified immutable package IDs.
132
+ Custom deployments can still mark sales unavailable explicitly; sales builders
133
+ and readers fail closed whenever either package is unavailable.
124
134
 
125
135
  Holding the ids yourself? The bare APIs take `recordPackageId` and/or
126
136
  `recordShopPackageId` explicitly:
@@ -129,8 +139,7 @@ Holding the ids yourself? The bare APIs take `recordPackageId` and/or
129
139
  import { purchaseRecord, getSale } from "@misofm/sdk/pressing";
130
140
  ```
131
141
 
132
- Verified package IDs are bundled only after immutable publication. Legacy Testnet
133
- identities remain labeled unavailable and are never reused as the new packages.
142
+ Verified package and singleton IDs are bundled in
134
143
  `MISO_PLATFORM_DEPLOYMENTS.testnet`. Calling `miso()` selects that verified map
135
144
  from the Sui client's network. Unbundled and custom networks still fail closed
136
145
  unless the caller passes one complete deployment through `miso({ deployment })`.
@@ -215,11 +224,12 @@ them from stale pricing-mode changes as well as amount changes.
215
224
 
216
225
  ### Vault fund settlement
217
226
 
218
- `settleAndDistributeReleaseRevenue`, `settleCompositionRoyaltyPool`, and
219
- `settleRecordingRoyaltyPool` read the amount from the framework's
220
- `balance::settled_funds_value` and pass that command result directly to the
221
- plugin's exact-value redemption call. The caller never supplies or estimates a
222
- `u64`. The lower-level `redeemAndDistributeReleaseRevenue`,
227
+ `settleAndDistributeReleaseRevenue` invokes the fixed release plugin with the
228
+ framework `AccumulatorRoot` (`0xacc`); the plugin redeems the whole settled
229
+ snapshot and exposes no amount argument. `settleCompositionRoyaltyPool` and
230
+ `settleRecordingRoyaltyPool` read `balance::settled_funds_value` and pass that
231
+ command result directly to their exact-value plugin calls. The lower-level raw
232
+ Action `redeemAndDistributeReleaseRevenue` and the plugin helpers
223
233
  `redeemAndDepositCompositionRoyaltyPool`, and
224
234
  `redeemAndDepositRecordingRoyaltyPool` remain available when an earlier PTB
225
235
  command already produced the exact value.
@@ -267,7 +277,9 @@ The protocol, immutable Record and Record Shop packages, minato, and core
267
277
  `ReleaseRegistry` address all come from the deployment selected by the Sui
268
278
  client's network. Record sales have no Record Registry or Settings singleton.
269
279
  The deprecated `misoPlatform()` constructor still accepts those values manually
270
- for compatibility with existing integrations.
280
+ for compatibility with existing integrations. It must also receive the exact
281
+ `network` and `chainIdentifier`; call `await client.misoPlatform.ready()` before
282
+ accessing its client-bound protocol or platform surfaces.
271
283
 
272
284
  For custom PTBs, the bare primitives (`disperseShares`, `finalizeComposition`,
273
285
  `finalizeRecording`) and the whole-graph orchestrator are exported standalone:
@@ -316,9 +328,11 @@ const thunk = publishReleaseGraph({
316
328
 
317
329
  `publishAtomicCatalog` owns the semantic publication transaction. Given
318
330
  pre-initialized share currencies, it creates every new Party, Composition,
319
- Recording, Track, and Release; applies all declared data extensions; installs
320
- and initializes Vault plugins; opens the Pressing and Listings; shares the new
321
- objects; and delivers only the selected direct admin cap or VaultAdminCap. The
331
+ Recording, Track, and Release; applies all declared data extensions; composes
332
+ raw-cap Actions through direct custody or a scoped Vault borrow; installs only
333
+ the permissionless royalty/revenue crank plugins; opens the Pressing and
334
+ Listings; shares the new objects; and delivers only the selected direct admin
335
+ cap or VaultAdminCap. The
322
336
  entire catalog stage is one PTB, so none of it can land partially.
323
337
 
324
338
  Share allocation is explicit at the SDK boundary. Omitting
@@ -351,7 +365,7 @@ const publication = {
351
365
  // PTB exceeds the SDK's command/input safety limits or has an invalid graph.
352
366
  assertAtomicPublicationBounds(publication);
353
367
 
354
- const executed = await executeViaExecutor(
368
+ const executed = await client.miso.executeViaExecutor(
355
369
  executor,
356
370
  publishAtomicCatalog(publication),
357
371
  );
@@ -360,9 +374,11 @@ const result = parseAtomicPublicationResult(publication, executed);
360
374
 
361
375
  Fresh raw PartyAdminCap, CompositionAdminCap, RecordingAdminCap, and
362
376
  ReleaseAdminCap values never leave the PTB when Vault custody is selected.
363
- Party Vaults install the Party Wallet plugin by default; royalty-pool,
364
- routed-stake, and release-revenue plugins are installed while each new Vault is
365
- still owned. Plugin witness construction remains inside the SDK bindings.
377
+ Only the Composition royalty-pool, Recording royalty-pool, and Release revenue
378
+ plugins are installable, while each new Vault is still owned. Party-wallet and
379
+ Composition routed-stake operations remain raw Actions because they return
380
+ caller-controlled assets. Plugin witness construction remains inside the SDK
381
+ bindings.
366
382
 
367
383
  Share packages necessarily precede this stage: publish at most five per PTB,
368
384
  then initialize their currencies, then submit the atomic catalog PTB. The two
@@ -515,7 +531,7 @@ const cover = await getReleaseCover(
515
531
  // ({ kind: "blob", blobId } | { kind: "quiltPatch", quiltId, version, startIndex, endIndex })
516
532
  ```
517
533
 
518
- ### Vault plugins (`vault.ts`)
534
+ ### Vault operations (`vault.ts`)
519
535
 
520
536
  `vault.ts` contains composable PTB builders for custody and plugin flows:
521
537
  `invokeWithAdminCap` safely sequences `borrow_as_admin → Move call → put_back`, and
@@ -528,9 +544,36 @@ installers construct their witnesses inside their Move package; callers supply n
528
544
  witness.
529
545
 
530
546
  It also builds Composition/Recording royalty-pool initialization and cranks,
531
- Release `redeem_and_distribute` / `receive_and_distribute`, and the full
532
- Composition routed-stake lifecycle. Receive flows take coin IDs and construct
533
- the required `vector<Receiving<Coin<Currency>>>` in the PTB.
547
+ fixed Release settlement plus raw-admin amount composition, Party wallet
548
+ Actions, and the full Composition routed-stake Action lifecycle. Receive flows
549
+ take exact object references and construct the required
550
+ `vector<Receiving<Coin<Currency>>>` in the PTB.
551
+
552
+ The bundled Testnet deployment sets `operations.status` to `"available"` with
553
+ one canonical Vault package and registry, five distinct raw Action packages,
554
+ and three distinct suffixed plugin packages. Zero-config Testnet clients expose
555
+ that complete verified surface after `await client.miso.ready()`. Custom
556
+ deployments remain fail-closed unless they provide the same atomic identity set.
557
+ Structural validation checks canonical, pairwise-distinct IDs; callers remain
558
+ responsible for the provenance and compatibility of arbitrary custom IDs. The
559
+ bundled map is recursively frozen from one verified immutable admin export.
560
+
561
+ ### Migrating from 0.16
562
+
563
+ Version 0.17 is a breaking deployment-safety release. Replace flat Vault,
564
+ Action, and plugin package fields with the discriminated `operations` union.
565
+ After client
566
+ registration, call `await client.miso.ready()` before using synchronous
567
+ `client.miso.tx`, `ids`, `call`, `vault`, or `party` surfaces. Platform reads
568
+ and SDK execution helpers await the same memoized readiness check themselves.
569
+ Standalone builders remain pure for offline composition, so their caller is
570
+ responsible for completing this exact-chain validation lifecycle before
571
+ execution.
572
+
573
+ The Release revenue plugin crank is now fixed: call
574
+ `redeemAllAndDistribute(vault, release, accumulatorRoot)` with no amount. The
575
+ explicit-amount `redeemAndDistribute` Action remains available only for raw
576
+ admin-cap composition.
534
577
 
535
578
  ### Extension types
536
579
 
@@ -595,8 +638,8 @@ enforce gets undone.
595
638
 
596
639
  Paths resolve against sibling checkouts, so regenerating requires
597
640
  `~/Documents/GitHub/misofm/{sdk, record, record-shop, vault, vault-plugins}` and
598
- `~/Documents/GitHub/misonetwork/{protocol, protocol-extensions,
599
- royalty-pool, routed-stake, share}`.
641
+ `~/Documents/GitHub/misonetwork/{party-actions, protocol, protocol-actions,
642
+ protocol-extensions, royalty-pool, routed-stake, share, cover-art, genre}`.
600
643
 
601
644
  For an isolated checkout, copy those source trees and set
602
645
  `MISO_SDK_CODEGEN_SOURCE_ROOT` to their common parent. The codegen config reads
@@ -604,17 +647,19 @@ only from that copy, avoiding writes to a developer's live source tree.
604
647
 
605
648
  ## Dependency on `@misonetwork/sdk`
606
649
 
607
- `@misonetwork/sdk` is a required peer (`^0.10.0`), not a runtime dependency.
650
+ `@misonetwork/sdk` is a required peer (`^0.11.0`), not a runtime dependency.
608
651
  This package imports its primitives, deployment configuration, protocol client,
609
652
  and Party client directly, then exposes them at `client.miso.protocol` and
610
- `client.miso.party`. The consuming
653
+ `client.miso.party` only after `await client.miso.ready()` validates the exact
654
+ ledger. Direct protocol reads, generated calls, package bindings, and nested
655
+ Party APIs cannot be obtained before that gate. The consuming
611
656
  application installs one protocol SDK, preventing a platform tarball from
612
657
  silently nesting an older protocol ABI alongside the application's copy.
613
658
  `@mysten/sui` itself stays a peer dependency here, same as in
614
659
  `@misonetwork/sdk`.
615
660
 
616
661
  The published tarball intentionally contains no protocol SDK copy: consumers
617
- satisfy the peer with their verified `@misonetwork/sdk@^0.10.0` installation.
662
+ satisfy the peer with their verified `@misonetwork/sdk@^0.11.0` installation.
618
663
 
619
664
  ```bash
620
665
  bun install
package/dist/client.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { ClientWithCoreApi, SuiClientRegistration } from "@mysten/sui/client";
2
2
  import type { Signer } from "@mysten/sui/cryptography";
3
3
  import type { SuiGraphQLClient } from "@mysten/sui/graphql";
4
+ import type { ParallelTransactionExecutor } from "@mysten/sui/transactions";
4
5
  import { type MisoProtocolClient } from "@misonetwork/sdk/client";
5
6
  import type { PartyProtocolClient } from "@misonetwork/sdk/party";
6
7
  import * as recordContract from "./contracts/miso_record/record.ts";
@@ -17,6 +18,9 @@ import * as compositionRoyaltyPoolContract from "./contracts/composition_royalty
17
18
  import * as recordingRoyaltyPoolContract from "./contracts/recording_royalty_pool/recording_royalty_pool.ts";
18
19
  import * as partyWalletContract from "./contracts/party_wallet/party_wallet.ts";
19
20
  import * as compositionRoutedStakeContract from "./contracts/composition_routed_stake/composition_routed_stake.ts";
21
+ import * as compositionRoyaltyPoolPluginContract from "./contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.ts";
22
+ import * as recordingRoyaltyPoolPluginContract from "./contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.ts";
23
+ import * as releaseRevenueDistributorPluginContract from "./contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.ts";
20
24
  import * as routedStakeContract from "./contracts/routed_stake/routed_stake.ts";
21
25
  import * as royaltyPoolContract from "./contracts/royalty_pool/pool.ts";
22
26
  import * as recordingAdvisoryContract from "./contracts/recording_advisory/recording_advisory.ts";
@@ -32,10 +36,11 @@ import { publishShareCurrency, initializeShareCurrency } from "./transactions.ts
32
36
  import type { TxThunk, PublishCompositionParams, PublishRecordingParams, PublishCompositionAndRecordingParams, PublishReleaseParams } from "./transactions.ts";
33
37
  import * as share from "./share.ts";
34
38
  import { type PublishReleaseGraphParams } from "./release-graph.ts";
35
- import { type MisoPlatformDeployment, type RecordSalesDeployment } from "./deployments.ts";
39
+ import { type MisoPlatformDeployment, type OperationsDeployment, type RecordSalesDeployment } from "./deployments.ts";
36
40
  import { type SetReleaseDescriptionParams, type SetReleaseDspLinksParams, type SetReleaseGenresParams, type SetReleaseKindParams } from "./release-extensions.ts";
37
41
  import { type AddReleaseCreditParams } from "./credits.ts";
38
42
  import { type SetReleaseCoverParams, type SetReleaseTrackCoverParams } from "./cover.ts";
43
+ import { type PlatformExecResult } from "./execute.ts";
39
44
  type BoundMoveFunction<F> = F extends (options: infer Options) => infer Result ? Options extends {
40
45
  package?: unknown;
41
46
  } ? (options: Omit<Options, "package">) => Result : F : F;
@@ -50,7 +55,28 @@ export interface MisoOptions<Name extends string = "miso"> {
50
55
  /** Required only by protocol methods that perform global type discovery. */
51
56
  graphqlClient?: SuiGraphQLClient;
52
57
  }
58
+ export declare class MisoNetworkMismatchError extends Error {
59
+ readonly clientNetwork: string;
60
+ readonly deploymentNetwork: string;
61
+ readonly name = "MisoNetworkMismatchError";
62
+ constructor(clientNetwork: string, deploymentNetwork: string);
63
+ }
64
+ export declare class MisoChainIdentifierMismatchError extends Error {
65
+ readonly actual: string;
66
+ readonly expected: string;
67
+ readonly name = "MisoChainIdentifierMismatchError";
68
+ constructor(actual: string, expected: string);
69
+ }
70
+ export declare class MisoClientNotReadyError extends Error {
71
+ readonly operation: string;
72
+ readonly name = "MisoClientNotReadyError";
73
+ constructor(operation: string);
74
+ }
53
75
  export interface MisoPlatformConfig {
76
+ /** Exact client network label for deprecated `misoPlatform()` registration. */
77
+ network?: string;
78
+ /** Exact ledger identifier required by deprecated `misoPlatform().ready()`. */
79
+ chainIdentifier?: string;
54
80
  /** Finalized immutable Record + Record Shop identities, or an explicit
55
81
  * unavailable legacy state that makes every sales API fail closed. */
56
82
  recordSales?: RecordSalesDeployment;
@@ -78,19 +104,11 @@ export interface MisoPlatformConfig {
78
104
  recordingLanguagePackageId?: string;
79
105
  recordingMasterReferencePackageId?: string;
80
106
  recordingPreviewPackageId?: string;
81
- /** Shared custody package; needed for VaultAdminCap authority orchestration. */
82
- vaultPackageId?: string;
83
- /** Shared singleton from which canonical Vault IDs are derived. */
84
- vaultRegistryId?: string;
107
+ /** Structurally complete Vault/Action/plugin identity set. */
108
+ operations?: OperationsDeployment;
85
109
  /** Generic royalty-pool value package used by pool and routed-stake helpers. */
86
110
  royaltyPoolPackageId?: string;
87
- /** Vault plugins, deliberately separate from data-extension package ids. */
88
- vaultCompositionRoyaltyPoolPluginPackageId?: string;
89
- vaultRecordingRoyaltyPoolPluginPackageId?: string;
90
- vaultPartyWalletPluginPackageId?: string;
91
- vaultCompositionRoutedStakePluginPackageId?: string;
92
111
  routedStakePackageId?: string;
93
- vaultReleaseRevenueDistributorPluginPackageId?: string;
94
112
  releaseCreditsPackageId?: string;
95
113
  misoCreditPackageId?: string;
96
114
  coverArtPackageId?: string;
@@ -119,11 +137,19 @@ type ConfiguredReleaseTrackCover = DistributiveOmit<SetReleaseTrackCoverParams,
119
137
  export type ConfiguredReleaseGraphParams = Omit<PublishReleaseGraphParams, "misoPackageId" | "minatoPackageId">;
120
138
  export declare class MisoPlatformClient {
121
139
  #private;
122
- /** The permissionless protocol layer wrapped by this platform facade. */
123
- readonly protocol?: MisoProtocolClient;
124
140
  /** Bundled/custom deployment selected for the full facade, when available. */
125
141
  readonly deployment?: MisoPlatformDeployment;
126
142
  constructor(client: ClientWithCoreApi, config: MisoPlatformConfig, protocol?: MisoProtocolClient, deployment?: MisoPlatformDeployment);
143
+ /** Permissionless protocol APIs bound to the same validated ledger. */
144
+ get protocol(): MisoProtocolClient | undefined;
145
+ /**
146
+ * Memoized exact-ledger readiness gate. Registration already rejects a
147
+ * synchronous network-label mismatch; this Core API read protects every
148
+ * client-bound write surface from a mislabeled or custom endpoint.
149
+ */
150
+ ready(): Promise<void>;
151
+ /** Compatibility hook; prefer `await client.miso.ready()`. */
152
+ validateChainIdentifier(): Promise<string>;
127
153
  /** Party identity and profile APIs, backed by the network SDK. */
128
154
  get party(): PartyProtocolClient;
129
155
  get recordPackageId(): string;
@@ -152,6 +178,8 @@ export declare class MisoPlatformClient {
152
178
  vaultAdminCap: (vaultId: string) => string;
153
179
  genre: (canonicalName: string) => string;
154
180
  };
181
+ /** Client-bound builders require a successful `await client.miso.ready()`.
182
+ * Standalone exports remain pure for explicitly managed offline workflows. */
155
183
  readonly tx: {
156
184
  purchaseRecord: (p: Configured<PurchaseRecordParams>) => TxThunk;
157
185
  openPressing: (p: Configured<OpenPressingParams>) => TxThunk;
@@ -180,9 +208,11 @@ export declare class MisoPlatformClient {
180
208
  * VaultAdminCap is owner-held while the Vault is shared; package ids can come
181
209
  * from the deployment config or be supplied for private deployments.
182
210
  */
183
- readonly vault: typeof vaultActions;
211
+ get vault(): typeof vaultActions | undefined;
184
212
  /** Publishes + initializes a fresh share currency (two txs). */
185
213
  createShareCurrency(signer: Signer, params: share.CreateShareCurrencyParams): Promise<share.ShareCurrency>;
214
+ /** Execute a composed platform PTB only after exact-ledger validation. */
215
+ executeViaExecutor(executor: ParallelTransactionExecutor, ...thunks: TxThunk[]): Promise<PlatformExecResult>;
186
216
  /** Generated Move-call bindings, for commands this facade doesn't wrap. */
187
217
  get call(): {
188
218
  record: BoundModule<typeof recordContract, readonly ["destroy", "releaseId", "pressingId", "edition", "number", "purchaseCurrency", "purchasePrice", "purchasedBy", "purchasedTimestampMs", "deriveAddress"]> | undefined;
@@ -193,12 +223,15 @@ export declare class MisoPlatformClient {
193
223
  releaseDspLink: BoundModule<typeof releaseDspLinkContract, readonly ["platform", "platformSpotify", "platformAppleMusic", "platformAmazonMusic", "platformBandcamp", "platformDeezer", "platformSoundcloud", "platformTidal", "platformYoutubeMusic", "newSpotify", "newAppleMusicAlbum", "newAppleMusicTrack", "newAmazonMusicAlbum", "newAmazonMusicTrack", "newBandcamp", "newDeezer", "newSoundcloud", "newTidal", "newYoutubeMusic", "setReleaseLink", "clearReleaseLink", "setTrackLink", "clearTrackLink", "clearTrackLinks", "hasReleaseLink"]> | undefined;
194
224
  releaseGenre: BoundModule<typeof releaseGenreContract, readonly ["setPrimaryGenre", "addSecondaryGenre", "removeSecondaryGenre", "setTrackPrimaryGenre", "unsetTrackPrimaryGenre", "hasGenre"]> | undefined;
195
225
  releaseKind: BoundModule<typeof releaseKindContract, readonly ["setKind", "unsetKind", "hasKind"]> | undefined;
196
- releaseRevenueDistributor: BoundModule<typeof releaseRevenueDistributorContract, readonly ["install", "uninstall", "redeemAndDistribute", "receiveAndDistribute", "isInstalled"]> | undefined;
197
- vault: BoundModule<typeof vaultContract, readonly ["share", "transferAdminCap", "withdrawCap", "restoreCap", "vaultAddress", "vaultAdminCapAddress", "vaultId", "capId", "isOccupied", "authorizedPluginsId", "authorizedPluginCount", "isPluginAuthorized"]> | undefined;
198
- compositionRoyaltyPool: BoundModule<typeof compositionRoyaltyPoolContract, readonly ["install", "uninstall", "newPool", "initializePool", "receiveAndDeposit", "redeemAndDeposit", "isInstalled", "poolAddress"]> | undefined;
199
- recordingRoyaltyPool: BoundModule<typeof recordingRoyaltyPoolContract, readonly ["install", "uninstall", "newPool", "initializePool", "receiveAndDeposit", "redeemAndDeposit", "isInstalled", "poolAddress"]> | undefined;
200
- partyWallet: BoundModule<typeof partyWalletContract, readonly ["install", "uninstall", "receiveObject", "receiveObjects", "receiveCoins", "redeemBalance", "isInstalled", "inboxAddress"]> | undefined;
201
- compositionRoutedStake: BoundModule<typeof compositionRoutedStakeContract, readonly ["install", "uninstall", "createStake", "register", "unregister", "unstake", "restake", "isInstalled", "stakeAddress"]> | undefined;
226
+ releaseRevenueDistributor: BoundModule<typeof releaseRevenueDistributorContract, readonly ["redeemAndDistribute", "redeemAllAndDistribute", "receiveAndDistribute"]> | undefined;
227
+ releaseRevenueDistributorPlugin: BoundModule<typeof releaseRevenueDistributorPluginContract, readonly ["install", "uninstall", "redeemAllAndDistribute", "receiveAndDistribute", "isInstalled"]> | undefined;
228
+ vault: BoundModule<typeof vaultContract, readonly ["share", "withdrawCap", "restoreCap", "derivedAddress", "capId", "isActive", "authorizedPlugins", "isPluginAuthorized"]> | undefined;
229
+ compositionRoyaltyPool: BoundModule<typeof compositionRoyaltyPoolContract, readonly ["newPool", "receiveAndDeposit", "redeemAndDeposit", "poolAddress"]> | undefined;
230
+ compositionRoyaltyPoolPlugin: BoundModule<typeof compositionRoyaltyPoolPluginContract, readonly ["install", "uninstall", "receiveAndDeposit", "redeemAndDeposit", "isInstalled"]> | undefined;
231
+ recordingRoyaltyPool: BoundModule<typeof recordingRoyaltyPoolContract, readonly ["newPool", "receiveAndDeposit", "redeemAndDeposit", "poolAddress"]> | undefined;
232
+ recordingRoyaltyPoolPlugin: BoundModule<typeof recordingRoyaltyPoolPluginContract, readonly ["install", "uninstall", "receiveAndDeposit", "redeemAndDeposit", "isInstalled"]> | undefined;
233
+ partyWallet: BoundModule<typeof partyWalletContract, readonly ["receive", "receiveBalance", "redeemBalance", "inboxAddress"]> | undefined;
234
+ compositionRoutedStake: BoundModule<typeof compositionRoutedStakeContract, readonly ["createStake", "register", "unregister", "unstake", "restake", "stakeAddress"]> | undefined;
202
235
  routedStake: BoundModule<typeof routedStakeContract, readonly ["share", "register", "unregister", "sweep", "unstake", "restake", "derivedAddress"]> | undefined;
203
236
  royaltyPool: BoundModule<typeof royaltyPoolContract, readonly ["share", "deposit", "sweepAndDeposit", "receiveAndDeposit", "registerStake", "unregisterStake", "claimRewards", "pendingRewards", "stakedShares", "cumulativeRewardPerShare", "cumulativeDeposits", "derivedAddress", "assertDerivedFrom"]> | undefined;
204
237
  recordingAdvisory: BoundModule<typeof recordingAdvisoryContract, readonly ["explicit", "notExplicit", "cleaned", "setRating", "unsetRating", "hasRating", "isExplicit", "isNotExplicit", "isCleaned"]> | undefined;
@@ -366,18 +399,33 @@ export declare class MisoPlatformClient {
366
399
  VaultAdminCapKey: import("./contracts/utils/index.ts").MoveTuple<readonly [import("@mysten/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/vault::vault::VaultAdminCapKey">;
367
400
  VaultCreatedEvent: import("./contracts/utils/index.ts").MoveStruct<{
368
401
  vault_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
369
- vault_admin_cap_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
370
402
  cap_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
371
- authorized_plugins_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
372
403
  }, "@local-pkg/vault::vault::VaultCreatedEvent<phantom Cap>">;
373
404
  VaultCapabilityWithdrawnEvent: import("./contracts/utils/index.ts").MoveStruct<{
374
405
  vault_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
375
- cap_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
376
406
  }, "@local-pkg/vault::vault::VaultCapabilityWithdrawnEvent<phantom Cap>">;
377
407
  VaultCapabilityRestoredEvent: import("./contracts/utils/index.ts").MoveStruct<{
378
408
  vault_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
379
- cap_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
380
409
  }, "@local-pkg/vault::vault::VaultCapabilityRestoredEvent<phantom Cap>">;
410
+ PartyObjectReceivedEvent: import("./contracts/utils/index.ts").MoveStruct<{
411
+ party_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
412
+ object_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
413
+ }, "@local-pkg/party_wallet::party_wallet::ObjectReceivedEvent">;
414
+ PartyCoinsReceivedEvent: import("./contracts/utils/index.ts").MoveStruct<{
415
+ party_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
416
+ amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
417
+ coins: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
418
+ }, "@local-pkg/party_wallet::party_wallet::CoinsReceivedEvent<phantom Currency>">;
419
+ PartyFundsRedeemedEvent: import("./contracts/utils/index.ts").MoveStruct<{
420
+ party_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
421
+ amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
422
+ }, "@local-pkg/party_wallet::party_wallet::FundsRedeemedEvent<phantom Currency>">;
423
+ ReleaseTrackRevenueDistributedEvent: import("./contracts/utils/index.ts").MoveStruct<{
424
+ release_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
425
+ track_index: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
426
+ recording_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
427
+ amount: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
428
+ }, "@local-pkg/release_revenue_distributor::release_revenue_distributor::ReleaseTrackRevenueDistributedEvent<phantom Currency>">;
381
429
  ReleaseRevenueDistributedEvent: import("./contracts/utils/index.ts").MoveStruct<{
382
430
  release_id: import("@mysten/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
383
431
  total_input: import("@mysten/bcs").BcsType<string, string | number | bigint, "u64">;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAC;AACpE,OAAO,KAAK,gBAAgB,MAAM,qCAAqC,CAAC;AACxE,OAAO,KAAK,eAAe,MAAM,yCAAyC,CAAC;AAC3E,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,0BAA0B,MAAM,wDAAwD,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