@tradeport/sui-trading-sdk 0.1.43 → 0.1.45

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,17 @@
1
1
  # @tradeport/sui-trading-sdk
2
2
 
3
+ ## 0.1.45
4
+
5
+ ### Patch Changes
6
+
7
+ - d7861a1: Fixed Anima labs buys
8
+
9
+ ## 0.1.44
10
+
11
+ ### Patch Changes
12
+
13
+ - 4bf978b: Skip over resolving custom transfer policy rules
14
+
3
15
  ## 0.1.43
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -751,7 +751,11 @@ var resolveTransferPolicies = async ({
751
751
  }
752
752
  let policies = transferPolicies.length > 0 ? [
753
753
  {
754
- data: transferPolicies[0],
754
+ data: transferPolicies?.filter(
755
+ (policy) => policy?.rules?.filter(
756
+ (rule) => rule?.includes("royalty_rule") || rule?.includes("kiosk_lock_rule") || rule?.includes("personal_kiosk_rule") || rule?.includes("floor_price_rule")
757
+ )?.length > 0
758
+ )?.[0],
755
759
  transferRequest,
756
760
  isCustom: false
757
761
  }