@medialane/sdk 0.6.6 → 0.6.7

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/dist/index.cjs CHANGED
@@ -759,6 +759,43 @@ var DropFactoryABI = [
759
759
  state_mutability: "external"
760
760
  }
761
761
  ];
762
+ var CollectionRegistryABI = [
763
+ {
764
+ type: "struct",
765
+ name: "core::byte_array::ByteArray",
766
+ members: [
767
+ { name: "data", type: "core::array::Array::<core::felt252>" },
768
+ { name: "pending_word", type: "core::felt252" },
769
+ { name: "pending_word_len", type: "core::integer::u32" }
770
+ ]
771
+ },
772
+ {
773
+ type: "struct",
774
+ name: "ip_collection_erc_721::types::Collection",
775
+ members: [
776
+ { name: "name", type: "core::byte_array::ByteArray" },
777
+ { name: "symbol", type: "core::byte_array::ByteArray" },
778
+ { name: "base_uri", type: "core::byte_array::ByteArray" },
779
+ { name: "owner", type: "core::starknet::contract_address::ContractAddress" },
780
+ { name: "ip_nft", type: "core::starknet::contract_address::ContractAddress" },
781
+ { name: "is_active", type: "core::bool" }
782
+ ]
783
+ },
784
+ {
785
+ type: "function",
786
+ name: "list_user_collections",
787
+ inputs: [{ name: "user", type: "core::starknet::contract_address::ContractAddress" }],
788
+ outputs: [{ type: "core::array::Span::<core::integer::u256>" }],
789
+ state_mutability: "view"
790
+ },
791
+ {
792
+ type: "function",
793
+ name: "get_collection",
794
+ inputs: [{ name: "collection_id", type: "core::integer::u256" }],
795
+ outputs: [{ type: "ip_collection_erc_721::types::Collection" }],
796
+ state_mutability: "view"
797
+ }
798
+ ];
762
799
 
763
800
  // src/utils/bigint.ts
764
801
  function stringifyBigInts(obj) {
@@ -2065,6 +2102,7 @@ var OPEN_LICENSES = ["CC0", "CC BY", "CC BY-SA", "CC BY-NC"];
2065
2102
 
2066
2103
  exports.ApiClient = ApiClient;
2067
2104
  exports.COLLECTION_CONTRACT_MAINNET = COLLECTION_CONTRACT_MAINNET;
2105
+ exports.CollectionRegistryABI = CollectionRegistryABI;
2068
2106
  exports.DEFAULT_RPC_URLS = DEFAULT_RPC_URLS;
2069
2107
  exports.DROP_COLLECTION_CLASS_HASH_MAINNET = DROP_COLLECTION_CLASS_HASH_MAINNET;
2070
2108
  exports.DROP_FACTORY_CONTRACT_MAINNET = DROP_FACTORY_CONTRACT_MAINNET;