wordpress-api-client
wordpress-api-client copied to clipboard
WordPress-API Client for JS/TS
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
**Describe the bug** When I run this code i got this error: Code run: ```ts const wordpressClient = new WordpressClient(); const posts = await wordpressClient.post().find() ``` With the following class,...
I'm sorry to say but the author of this package passed away. He was a good friend and a great developer. This package is therefore unmaintained. If someone would like...
``` const json = await error.json(); ^ TypeError: error.json is not a function at getErrorMessage (wordpress-api-client/dist/util.js:35:30) ``` Errors often won't have a JSON response to parse, so this line will...
I threw some console.logs into your fetch package after tearing my hair out over acf fields not making it through the request. Code: ``` api.customType().create({ title: { raw }, content:...
When using typescript, the method for getting user total, `client.user().total()`, [mentioned in the docs](https://dkress59.github.io/wordpress-api-client/#/usage/defaults-and-options?id=methods-list), does not exists/has wrong types. Same for `client.media().total()`. I guess there is some errors in the...
**Describe the bug** Extended (Extra) types for Custom Post Types are not working. Getting responses successfully but not the custom fields. Default fields are showing up okay **To Reproduce** Steps...
I am trying to create an API in Typescript using the plugin. but i am getting the error : ``` TypeError: error.json is not a function at getErrorMessage (D:\personal\projects\blogger\node_modules\wordpress-api-client\dist\util.js:35:30) at...
[wordpress-api-client+0.4.8.patch.txt](https://github.com/dkress59/wordpress-api-client/files/9700331/wordpress-api-client%2B0.4.8.patch.txt) Just posting this for you to look at at your leisure.