Ghost content API is not working in Ghost v5

I am trying to fetch the post data by ghost content API. In the previous version, it worked perfectly… But now when I try and update in ghost v5 it does not work. I follow this instruction but I got this[screenshot] error every time, check the error below,

My implementation,

Note: Also I updated the package.json to support ghost v5

OS: Windows 11
Host: localhost
Theme Name: Casper theme

Can confirm the content-api library isn’t working in the browser at the moment. We’re looking into getting this fixed.

Is there any update?

Version 1.10 was released on Friday that should contain the fix for this: