@net-protocol/bazaar 0.1.6 → 0.1.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.
@@ -234,8 +234,8 @@ interface CreateCollectionOfferParams {
234
234
  * Options for fetching listings
235
235
  */
236
236
  interface GetListingsOptions {
237
- /** NFT collection address */
238
- nftAddress: `0x${string}`;
237
+ /** NFT collection address (optional - if omitted, fetches recent listings across all collections) */
238
+ nftAddress?: `0x${string}`;
239
239
  /** Exclude listings from this address */
240
240
  excludeMaker?: `0x${string}`;
241
241
  /** Only include listings from this address */
@@ -234,8 +234,8 @@ interface CreateCollectionOfferParams {
234
234
  * Options for fetching listings
235
235
  */
236
236
  interface GetListingsOptions {
237
- /** NFT collection address */
238
- nftAddress: `0x${string}`;
237
+ /** NFT collection address (optional - if omitted, fetches recent listings across all collections) */
238
+ nftAddress?: `0x${string}`;
239
239
  /** Exclude listings from this address */
240
240
  excludeMaker?: `0x${string}`;
241
241
  /** Only include listings from this address */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-protocol/bazaar",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "SDK for Net Bazaar - a decentralized bazaar storing all orders onchain via Seaport",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",