npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

decentrotech-fabric-react-sdk

v0.1.2

Published

React SDK for Decentro Fabric

Downloads

8

Readme

Decentro Fabric SDK

Welcome to the Decentro Fabric React SDK! This React SDK allows you to seamlessly integrate UIStream workflows into your applications. With UIStream, you can empower your users to interact with Decentro's powerful features while maintaining a near-native experience.

Features

  • UIStream Flows: UIStream flows provide dynamic UI components for specific functionalities. Here are some of the most commonly used flows:

    • DIGILOCKER_AADHAAR: Retrieve Aadhaar documents from sources like DigiLocker, UIDAI, or CKYC and send the document BASE64 in the callback URL.
    • DIGILOCKER_AADHAAR_PAN: Streamline the entire DigiLocker workflow through a single API, enabling seamless interaction with DigiLocker services.
    • DIGILOCKER_CAR_INSURANCE_POLICY: Fetch Car Insurance Policy documents dynamically from issuers on DigiLocker.
    • DIGILOCKER_VEHICLE_REGISTRATION_CERTIFICATE: Obtain Vehicle Registration Certificate documents in real-time from DigiLocker.

Getting Started

  1. Installation: Add the Decentro Fabric React SDK to your package.json file:

    "dependencies": {
     "decentrotech-fabric-react-sdk": "^0.1.2",
    }
  2. Usage:

    Generate UIStream Session link as documented here.

    Use the following snippets as guides to add UIStream screen to your React app.

    Or use our sample React app open sourced here

    import { UIStreamScreen, LanguageCode } from "decentrotech-fabric-react-sdk";
    
    // Initialize UIStream Screen
    <UIStreamScreen
      sessionUrl={sessionUrl}
      redirectUrl={UISTREAM_REDIRECT_URL}
      callbackUrl={UISTREAM_CALLBACK_URL}
      language={LanguageCode.HINDI}
      additionalData={new Map([["mobile", "XXXXXXXXXX"]])}
      forceAadhaar={true}
      forceMobile={false}
      onSessionComplete={(redirectUrl) => setSessionCompleteUrl(redirectUrl)}
    />;
  3. API Documentation: Explore the detailed UIStreams documentation for more information.

  4. Sample App: Check out our sample app on GitHub to see UIStream in action.

License

This SDK is closed-source and proprietary. Please refer to the LICENSE.md file for licensing details.


Decentro - Building the future of fintech infrastructure 🚀 Learn more at decentro.tech