@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 +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/helpers/hasRoyaltyRule.ts +1 -1
package/CHANGELOG.md
CHANGED
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?.
|
|
2760
|
+
(policy) => policy?.rules?.filter((rule) => rule?.includes("royalty_rule"))?.length > 0
|
|
2761
2761
|
);
|
|
2762
2762
|
};
|
|
2763
2763
|
|