LearningProcesss / boardgamegeekjsclient

Typescript written API wrapper for Boardgamegeek XML2 API
MIT License
18 stars 6 forks source link

Querying collections fails when trying to include stats #46

Closed ericpoulinnz closed 1 year ago

ericpoulinnz commented 1 year ago

I am trying to query a user's collection. It works fine when I just pass up a username, but as soon as I add "stats: 1" it just hangs (and I seem to get no errors in the console). It seems to be any username I try, but for one that definitely breaks, try Vitho

const params: ICollectionRequest = {
    username,
    stats: 1, // <- only works when this is removed
  };
  await bggClient.collection.query(params);

Thank you for this package, works really well generally.

darekkay commented 1 year ago

I have the same issue, but I get an error message:

Unknown property "stats" for BggCollectionItemDto

Seems to be related to #19, #32 and #33

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 1.8.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

darekkay commented 1 year ago

Thank you very much for such a quick fix! It all works fine for me now 🙂