@net-protocol/bazaar 0.1.3 → 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.
package/dist/index.mjs CHANGED
@@ -1188,7 +1188,7 @@ var BazaarClient = class {
1188
1188
  const count = await this.netClient.getMessageCount({
1189
1189
  filter: {
1190
1190
  appAddress: collectionOffersAddress,
1191
- topic: nftAddress.toLowerCase()
1191
+ topic: nftAddress?.toLowerCase()
1192
1192
  }
1193
1193
  });
1194
1194
  if (count === 0) {
@@ -1198,7 +1198,7 @@ var BazaarClient = class {
1198
1198
  const messages = await this.netClient.getMessages({
1199
1199
  filter: {
1200
1200
  appAddress: collectionOffersAddress,
1201
- topic: nftAddress.toLowerCase()
1201
+ topic: nftAddress?.toLowerCase()
1202
1202
  },
1203
1203
  startIndex,
1204
1204
  endIndex: count