gondi 0.39.0 → 0.43.0

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 CHANGED
@@ -89,6 +89,19 @@ const offer = await gondi.makeCollectionOffer({
89
89
  });
90
90
  ```
91
91
 
92
+ #### Trait Offer
93
+
94
+ ```javascript
95
+ const offer = await gondi.makeTraitOffer({
96
+ traitIds, // The NFT must carry every one of these traits.
97
+ ... // Same as Single NFT Offer
98
+ });
99
+ ```
100
+
101
+ The API resolves the traits to the NFTs carrying them when the offer is generated and encodes
102
+ that set in the offer's validator, so the offer keeps matching those NFTs afterwards. It is
103
+ available where the API has trait loan offers enabled.
104
+
92
105
  ### Listing Offers
93
106
 
94
107
  ```javascript