Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
December 23, 2022 02:06 pm GMT

ReductStore Client SDK for JavaScript v1.2.0: New Features and Example Use

Hello, everyone!

ReductStore has released v1.2.0 of its
JavaScript SDK. This update includes support
for ReductStore API version 1.2 with the
new Client.me method, which allows you to retrieve information about your current API token and its permissions.

The Client.me method is a useful addition to the ReductStore JavaScript SDK, and can help you manage and monitor your
access to the platform. Here is an example of how you might use it in your application:

const {Client} = require("reduct-js");const client = new Client("http://127.0.0.1:8383", {apiToken: "my-token"});const tokenInfo = await client.me();console.log(tokenInfo.name);console.log(tokenInfo.permissions.fullAccess);

In addition to the new Client.me method, this release of the ReductStore JavaScript SDK also includes updates to the
documentation to reflect the recent rebranding of the platform. We hope these updates will enhance your experience with
ReductStore.

if you have any questions or feedback, don't hesitate to reach out in Discord
or by opening a discussion on GitHub.


Original Link: https://dev.to/atimin/reductstore-client-sdk-for-javascript-v120-new-features-and-example-use-1pj0

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To