webflow / js-webflow-api

Node.js SDK for the Webflow Data API
https://www.npmjs.com/package/webflow-api
285 stars 92 forks source link

Regression: `webflow.sites.list()` returns the wrong type #136

Closed tomelliot closed 2 months ago

tomelliot commented 3 months ago

As noted in this comment.

List Sites says it returns all sites a token is valid for and when tested, it returns this format:

{
  "sites": [ ... ]
}

I've had to chase down a few typing errors in this library. Is there a plan to introduce some testing to catch these errors before they get to a release in the future?

tomelliot commented 2 months ago

Fixed in https://github.com/webflow/js-webflow-api/releases/tag/v2.3.1