Socket
Socket
Sign inDemoInstall

@digiv3rse/client

Package Overview
Dependencies
18
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @digiv3rse/client

Low level DiGi API client


Version published
Weekly downloads
224
increased by1936.36%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

DiGi JavaScript SDK

The official framework-agnostic JavaScript SDK for DiGi Protocol.


This package enables you to interact with the DiGi API via a type safe interface that abstracts away some of the GraphQL intricacies.

Documentation

  • GitHub monorepo
  • Getting Started
  • Reference

Quick start

Install the DiGi React Native SDK package using your package manager of choice:

Package ManagerCommand
npmnpm install @digiv3rse/client@latest
yarnyarn add @digiv3rse/client@latest
pnpmpnpm add @digiv3rse/client@latest

Development configuration example:

import { DiGiClient, development } from '@digiv3rse/client';

const client = new DiGiClient({
  environment: development,
});

Production configuration example:

import { DiGiClient, production } from '@digiv3rse/client';

const client = new DiGiClient({
  environment: production,
});

In a browser-based implementation you can use the Web Storage API to persist authentication state.

const client = new DiGiClient({
  environment: production,

  storage: window.localStorage,
});

Keywords

FAQs

Last updated on 25 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc