@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.
- package/README.md +79 -34
- package/dist/client.d.ts +72 -24
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +229 -84
- package/dist/client.js.map +1 -1
- package/dist/contracts/composition_credits/composition_credits.d.ts +10 -10
- package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -1
- package/dist/contracts/composition_credits/composition_credits.js.map +1 -1
- package/dist/contracts/composition_credits/composition_party_role.d.ts +1 -1
- package/dist/contracts/composition_credits/composition_party_role.d.ts.map +1 -1
- package/dist/contracts/composition_credits/composition_party_role.js.map +1 -1
- package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +1 -1
- package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +1 -1
- package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +1 -1
- package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +1 -1
- package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts +29 -93
- package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts.map +1 -1
- package/dist/contracts/composition_routed_stake/composition_routed_stake.js +19 -79
- package/dist/contracts/composition_routed_stake/composition_routed_stake.js.map +1 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +15 -99
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +12 -94
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -1
- package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts +90 -0
- package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts.map +1 -0
- package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js +85 -0
- package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js.map +1 -0
- package/dist/contracts/{party_wallet → composition_royalty_pool_plugin}/witness.d.ts +1 -1
- package/dist/contracts/composition_royalty_pool_plugin/witness.d.ts.map +1 -0
- package/dist/contracts/{recording_royalty_pool → composition_royalty_pool_plugin}/witness.js +1 -1
- package/dist/contracts/composition_royalty_pool_plugin/witness.js.map +1 -0
- package/dist/contracts/cover_art/cover_art.d.ts +4 -4
- package/dist/contracts/cover_art/cover_art.d.ts.map +1 -1
- package/dist/contracts/cover_art/cover_art.js.map +1 -1
- package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts +4 -4
- package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts.map +1 -1
- package/dist/contracts/cover_art/deps/ori/walrus_data.js.map +1 -1
- package/dist/contracts/genre/genre.d.ts +6 -6
- package/dist/contracts/genre/genre.d.ts.map +1 -1
- package/dist/contracts/genre/genre.js.map +1 -1
- package/dist/contracts/miso_record/deps/std/type_name.d.ts +1 -1
- package/dist/contracts/miso_record/deps/std/type_name.d.ts.map +1 -1
- package/dist/contracts/miso_record/deps/std/type_name.js.map +1 -1
- package/dist/contracts/miso_record/deps/sui/vec_set.d.ts.map +1 -1
- package/dist/contracts/miso_record/deps/sui/vec_set.js.map +1 -1
- package/dist/contracts/miso_record/pressing.d.ts.map +1 -1
- package/dist/contracts/miso_record/pressing.js.map +1 -1
- package/dist/contracts/miso_record/record.d.ts +17 -17
- package/dist/contracts/miso_record/record.d.ts.map +1 -1
- package/dist/contracts/miso_record/record.js.map +1 -1
- package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts +1 -1
- package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts.map +1 -1
- package/dist/contracts/miso_record_shop/deps/std/type_name.js.map +1 -1
- package/dist/contracts/miso_record_shop/listing.d.ts +29 -29
- package/dist/contracts/miso_record_shop/listing.d.ts.map +1 -1
- package/dist/contracts/miso_record_shop/listing.js.map +1 -1
- package/dist/contracts/miso_record_shop/witness.d.ts +1 -1
- package/dist/contracts/miso_record_shop/witness.d.ts.map +1 -1
- package/dist/contracts/miso_record_shop/witness.js.map +1 -1
- package/dist/contracts/party_wallet/party_wallet.d.ts +41 -168
- package/dist/contracts/party_wallet/party_wallet.d.ts.map +1 -1
- package/dist/contracts/party_wallet/party_wallet.js +27 -152
- package/dist/contracts/party_wallet/party_wallet.js.map +1 -1
- package/dist/contracts/recording_advisory/recording_advisory.d.ts +3 -3
- package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -1
- package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -1
- package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -1
- package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -1
- package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -1
- package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -1
- package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -1
- package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -1
- package/dist/contracts/recording_credits/recording_credits.d.ts +20 -20
- package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -1
- package/dist/contracts/recording_credits/recording_credits.js.map +1 -1
- package/dist/contracts/recording_credits/recording_party_role.d.ts +30 -30
- package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -1
- package/dist/contracts/recording_credits/recording_party_role.js.map +1 -1
- package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +1 -1
- package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -1
- package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -1
- package/dist/contracts/recording_language/recording_language.d.ts +4 -4
- package/dist/contracts/recording_language/recording_language.d.ts.map +1 -1
- package/dist/contracts/recording_language/recording_language.js.map +1 -1
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +4 -4
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -1
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -1
- package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +6 -6
- package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -1
- package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -1
- package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +4 -4
- package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -1
- package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -1
- package/dist/contracts/recording_preview/recording_preview.d.ts +6 -6
- package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -1
- package/dist/contracts/recording_preview/recording_preview.js.map +1 -1
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +14 -100
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -1
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +11 -94
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -1
- package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts +92 -0
- package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts.map +1 -0
- package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js +85 -0
- package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js.map +1 -0
- package/dist/contracts/{composition_royalty_pool → recording_royalty_pool_plugin}/witness.d.ts +1 -1
- package/dist/contracts/recording_royalty_pool_plugin/witness.d.ts.map +1 -0
- package/dist/contracts/{party_wallet → recording_royalty_pool_plugin}/witness.js +1 -1
- package/dist/contracts/recording_royalty_pool_plugin/witness.js.map +1 -0
- package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.d.ts +7 -7
- package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.d.ts.map +1 -1
- package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.js +1 -1
- package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.js.map +1 -1
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +7 -7
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -1
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +1 -1
- package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -1
- package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -1
- package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -1
- package/dist/contracts/release_cover_art/release_cover_art.d.ts +23 -23
- package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -1
- package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -1
- package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -1
- package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -1
- package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -1
- package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -1
- package/dist/contracts/release_credits/release_credits.d.ts +10 -10
- package/dist/contracts/release_credits/release_credits.d.ts.map +1 -1
- package/dist/contracts/release_credits/release_credits.js.map +1 -1
- package/dist/contracts/release_description/release_description.d.ts +4 -4
- package/dist/contracts/release_description/release_description.d.ts.map +1 -1
- package/dist/contracts/release_description/release_description.js.map +1 -1
- package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +41 -42
- package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -1
- package/dist/contracts/release_dsp_link/release_dsp_link.js +4 -5
- package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -1
- package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -1
- package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -1
- package/dist/contracts/release_genre/release_genre.d.ts +15 -15
- package/dist/contracts/release_genre/release_genre.d.ts.map +1 -1
- package/dist/contracts/release_genre/release_genre.js.map +1 -1
- package/dist/contracts/release_kind/release_kind.d.ts +4 -4
- package/dist/contracts/release_kind/release_kind.d.ts.map +1 -1
- package/dist/contracts/release_kind/release_kind.js.map +1 -1
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts +46 -59
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts.map +1 -1
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js +27 -48
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js.map +1 -1
- package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts +75 -0
- package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts.map +1 -0
- package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js +80 -0
- package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js.map +1 -0
- package/dist/contracts/{recording_royalty_pool → release_revenue_distributor_plugin}/witness.d.ts +1 -1
- package/dist/contracts/release_revenue_distributor_plugin/witness.d.ts.map +1 -0
- package/dist/contracts/{composition_royalty_pool → release_revenue_distributor_plugin}/witness.js +1 -1
- package/dist/contracts/release_revenue_distributor_plugin/witness.js.map +1 -0
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +5 -5
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -1
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -1
- package/dist/contracts/routed_stake/deps/std/type_name.d.ts +1 -1
- package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -1
- package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -1
- package/dist/contracts/routed_stake/deps/sui/balance.d.ts +1 -1
- package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -1
- package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -1
- package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -1
- package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -1
- package/dist/contracts/routed_stake/routed_stake.d.ts +15 -15
- package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -1
- package/dist/contracts/routed_stake/routed_stake.js.map +1 -1
- package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +1 -1
- package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -1
- package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -1
- package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +1 -1
- package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -1
- package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -1
- package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -1
- package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -1
- package/dist/contracts/royalty_pool/pool.d.ts +19 -19
- package/dist/contracts/royalty_pool/pool.d.ts.map +1 -1
- package/dist/contracts/royalty_pool/pool.js.map +1 -1
- package/dist/contracts/royalty_pool/stake.d.ts +9 -9
- package/dist/contracts/royalty_pool/stake.d.ts.map +1 -1
- package/dist/contracts/royalty_pool/stake.js.map +1 -1
- package/dist/contracts/vault/deps/sui/bag.d.ts +2 -2
- package/dist/contracts/vault/deps/sui/bag.d.ts.map +1 -1
- package/dist/contracts/vault/deps/sui/bag.js.map +1 -1
- package/dist/contracts/vault/deps/sui/borrow.d.ts.map +1 -1
- package/dist/contracts/vault/deps/sui/borrow.js.map +1 -1
- package/dist/contracts/vault/vault.d.ts +19 -93
- package/dist/contracts/vault/vault.d.ts.map +1 -1
- package/dist/contracts/vault/vault.js +16 -95
- package/dist/contracts/vault/vault.js.map +1 -1
- package/dist/contracts.d.ts +3 -0
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +4 -1
- package/dist/contracts.js.map +1 -1
- package/dist/deployments.d.ts +125 -79
- package/dist/deployments.d.ts.map +1 -1
- package/dist/deployments.js +111 -35
- package/dist/deployments.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +9 -0
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +23 -0
- package/dist/internal.js.map +1 -1
- package/dist/publication.d.ts +1 -4
- package/dist/publication.d.ts.map +1 -1
- package/dist/publication.js +79 -60
- package/dist/publication.js.map +1 -1
- package/dist/read/config.d.ts.map +1 -1
- package/dist/read/config.js +9 -1
- package/dist/read/config.js.map +1 -1
- package/dist/vault.d.ts +42 -38
- package/dist/vault.d.ts.map +1 -1
- package/dist/vault.js +96 -169
- package/dist/vault.js.map +1 -1
- package/package.json +13 -10
- package/src/client.ts +291 -107
- package/src/contracts/composition_credits/composition_credits.ts +3 -2
- package/src/contracts/composition_credits/composition_party_role.ts +5 -4
- package/src/contracts/composition_credits/deps/miso_credit/credit.ts +1 -0
- package/src/contracts/composition_credits/deps/sui/vec_map.ts +1 -0
- package/src/contracts/composition_routed_stake/composition_routed_stake.ts +36 -146
- package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +20 -161
- package/src/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.ts +165 -0
- package/src/contracts/{recording_royalty_pool → composition_royalty_pool_plugin}/witness.ts +2 -1
- package/src/contracts/cover_art/cover_art.ts +2 -1
- package/src/contracts/cover_art/deps/ori/walrus_data.ts +1 -0
- package/src/contracts/genre/genre.ts +3 -2
- package/src/contracts/miso_record/deps/std/type_name.ts +1 -0
- package/src/contracts/miso_record/deps/sui/vec_set.ts +1 -0
- package/src/contracts/miso_record/pressing.ts +1 -0
- package/src/contracts/miso_record/record.ts +1 -0
- package/src/contracts/miso_record_shop/deps/std/type_name.ts +1 -0
- package/src/contracts/miso_record_shop/listing.ts +1 -0
- package/src/contracts/miso_record_shop/witness.ts +1 -0
- package/src/contracts/party_wallet/party_wallet.ts +41 -256
- package/src/contracts/recording_advisory/recording_advisory.ts +4 -3
- package/src/contracts/recording_credits/deps/miso_credit/credit.ts +1 -0
- package/src/contracts/recording_credits/deps/sui/vec_map.ts +1 -0
- package/src/contracts/recording_credits/deps/sui/vec_set.ts +1 -0
- package/src/contracts/recording_credits/recording_credits.ts +3 -2
- package/src/contracts/recording_credits/recording_party_role.ts +5 -4
- package/src/contracts/recording_language/deps/language_code/language_code.ts +1 -0
- package/src/contracts/recording_language/recording_language.ts +5 -4
- package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +1 -0
- package/src/contracts/recording_master_reference/recording_master_reference.ts +6 -5
- package/src/contracts/recording_preview/deps/ori/walrus_data.ts +1 -0
- package/src/contracts/recording_preview/recording_preview.ts +2 -1
- package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +19 -162
- package/src/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.ts +167 -0
- package/src/contracts/{party_wallet → recording_royalty_pool_plugin}/witness.ts +2 -1
- package/src/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.ts +2 -1
- package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +3 -2
- package/src/contracts/release_cover_art/deps/per_track/per_track.ts +3 -2
- package/src/contracts/release_cover_art/release_cover_art.ts +2 -1
- package/src/contracts/release_credits/deps/miso_credit/credit.ts +1 -0
- package/src/contracts/release_credits/deps/sui/vec_map.ts +1 -0
- package/src/contracts/release_credits/release_credits.ts +4 -3
- package/src/contracts/release_credits/release_party_role.ts +4 -4
- package/src/contracts/release_description/release_description.ts +6 -5
- package/src/contracts/release_dsp_link/release_dsp_link.ts +8 -8
- package/src/contracts/release_genre/deps/per_track/per_track.ts +3 -2
- package/src/contracts/release_genre/release_genre.ts +4 -3
- package/src/contracts/release_kind/release_kind.ts +5 -4
- package/src/contracts/release_revenue_distributor/release_revenue_distributor.ts +50 -85
- package/src/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.ts +145 -0
- package/src/contracts/{composition_royalty_pool → release_revenue_distributor_plugin}/witness.ts +2 -1
- package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +1 -0
- package/src/contracts/routed_stake/deps/std/type_name.ts +1 -0
- package/src/contracts/routed_stake/deps/sui/balance.ts +1 -0
- package/src/contracts/routed_stake/deps/sui/vec_map.ts +1 -0
- package/src/contracts/routed_stake/routed_stake.ts +4 -3
- package/src/contracts/royalty_pool/deps/std/type_name.ts +1 -0
- package/src/contracts/royalty_pool/deps/sui/balance.ts +1 -0
- package/src/contracts/royalty_pool/deps/sui/vec_map.ts +1 -0
- package/src/contracts/royalty_pool/pool.ts +1 -0
- package/src/contracts/royalty_pool/stake.ts +1 -0
- package/src/contracts/vault/deps/sui/bag.ts +3 -2
- package/src/contracts/vault/deps/sui/borrow.ts +2 -1
- package/src/contracts/vault/vault.ts +27 -152
- package/src/contracts.ts +4 -1
- package/src/deployments.ts +185 -60
- package/src/index.ts +3 -0
- package/src/internal.ts +27 -0
- package/src/publication.ts +87 -69
- package/src/read/config.ts +12 -1
- package/src/vault.ts +150 -256
- package/dist/contracts/composition_routed_stake/witness.d.ts +0 -7
- package/dist/contracts/composition_routed_stake/witness.d.ts.map +0 -1
- package/dist/contracts/composition_routed_stake/witness.js +0 -9
- package/dist/contracts/composition_routed_stake/witness.js.map +0 -1
- package/dist/contracts/composition_royalty_pool/witness.d.ts.map +0 -1
- package/dist/contracts/composition_royalty_pool/witness.js.map +0 -1
- package/dist/contracts/party_wallet/witness.d.ts.map +0 -1
- package/dist/contracts/party_wallet/witness.js.map +0 -1
- package/dist/contracts/recording_royalty_pool/witness.d.ts.map +0 -1
- package/dist/contracts/recording_royalty_pool/witness.js.map +0 -1
- package/dist/contracts/release_revenue_distributor/witness.d.ts +0 -7
- package/dist/contracts/release_revenue_distributor/witness.d.ts.map +0 -1
- package/dist/contracts/release_revenue_distributor/witness.js +0 -9
- package/dist/contracts/release_revenue_distributor/witness.js.map +0 -1
- package/src/contracts/composition_routed_stake/witness.ts +0 -11
- 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
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
62
|
-
|
|
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
|
|
122
|
-
|
|
123
|
-
|
|
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
|
|
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
|
|
219
|
-
`
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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;
|
|
320
|
-
|
|
321
|
-
|
|
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
|
-
|
|
364
|
-
|
|
365
|
-
|
|
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
|
|
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
|
|
532
|
-
Composition routed-stake lifecycle. Receive flows
|
|
533
|
-
|
|
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-
|
|
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.
|
|
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
|
|
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.
|
|
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
|
-
/**
|
|
82
|
-
|
|
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
|
-
|
|
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 ["
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
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">;
|
package/dist/client.d.ts.map
CHANGED
|
@@ -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;
|
|
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;AAE5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,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,CAAC;AACrG,OAAO,KAAK,sBAAsB,MAAM,kDAAkD,CAAC;AAC3F,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC;AACnF,OAAO,KAAK,mBAAmB,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,iCAAiC,MAAM,wEAAwE,CAAC;AAC5H,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,8BAA8B,MAAM,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