@net-protocol/bazaar 0.1.4 → 0.1.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.
@@ -253,8 +253,8 @@ interface GetListingsOptions {
253
253
  * Options for fetching collection offers
254
254
  */
255
255
  interface GetCollectionOffersOptions {
256
- /** NFT collection address */
257
- nftAddress: `0x${string}`;
256
+ /** NFT collection address (optional - if omitted, fetches recent offers across all collections) */
257
+ nftAddress?: `0x${string}`;
258
258
  /** Exclude offers from this address */
259
259
  excludeMaker?: `0x${string}`;
260
260
  /** Maximum number of messages to fetch (default: 100) */
@@ -253,8 +253,8 @@ interface GetListingsOptions {
253
253
  * Options for fetching collection offers
254
254
  */
255
255
  interface GetCollectionOffersOptions {
256
- /** NFT collection address */
257
- nftAddress: `0x${string}`;
256
+ /** NFT collection address (optional - if omitted, fetches recent offers across all collections) */
257
+ nftAddress?: `0x${string}`;
258
258
  /** Exclude offers from this address */
259
259
  excludeMaker?: `0x${string}`;
260
260
  /** Maximum number of messages to fetch (default: 100) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-protocol/bazaar",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
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",