New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@us3r-network/link

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@us3r-network/link

the us3r link components

latest
npmnpm
Version
0.7.2-alpha.1
Version published
Maintainers
5
Created
Source

We created a data model about user link based on ceramic, and provided crud SDK for the model, and commonly used react components related to link

License npm version npm downloads

Install

npm install @us3r-network/auth-with-rainbowkit @us3r-network/profile @us3r-network/link

@us3r-network/auth-with-rainbowkit and @us3r-network/profile are peerDependencies of @us3r-network/link.

Usage

You need to wrap your application with Us3rAuthWithRainbowkitProvider,ProfileStateProvider and LinkStateProvider first.

import { PropsWithChildren } from "react";
import { Us3rAuthWithRainbowkitProvider } from "@us3r-network/auth-with-rainbowkit";
import { ProfileStateProvider } from "@us3r-network/profile";
import { LinkStateProvider } from "@us3r-network/link";
import { CERAMIC_HOST } from "./constants";

export default function App({ children }: PropsWithChildren) {
  return (
    <Us3rAuthWithRainbowkitProvider>
      <ProfileStateProvider ceramicHost={CERAMIC_HOST}>
        <LinkStateProvider ceramicHost={CERAMIC_HOST}>
          {children}
        </LinkStateProvider>
      </ProfileStateProvider>
    </Us3rAuthWithRainbowkitProvider>
  );
}

Then you can start using our components. For more information, please refer to our component documentation storybook.

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts