@tradeport/sui-trading-sdk 0.0.4 → 0.0.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tradeport/sui-trading-sdk
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 0b85a3c: Fixed checking for royalty rule in placing collection bid
8
+
3
9
  ## 0.0.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2757,7 +2757,7 @@ var getTradeportBiddingContractBidAmount = ({ bidAmount, collectionId }) => {
2757
2757
  var hasRoyaltyRule = async (nftType) => {
2758
2758
  const transferPolicies = await getKioskTransferPolicies(nftType);
2759
2759
  return transferPolicies?.some(
2760
- (policy) => policy?.rules?.filter((rule) => rule?.type?.includes("royalty_rule"))?.length > 0
2760
+ (policy) => policy?.rules?.filter((rule) => rule?.includes("royalty_rule"))?.length > 0
2761
2761
  );
2762
2762
  };
2763
2763