Socket
Socket
Sign inDemoInstall

@manifoldxyz/frontend-provider-types

Package Overview
Dependencies
37
Maintainers
20
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @manifoldxyz/frontend-provider-types

This is the TypeScript type definitions package for @manifoldxyz/frontend-provider. This package provides TypeScript interfaces and type definitions for the SDK.


Version published
Maintainers
20
Install size
3.89 MB
Created

Readme

Source

frontend-provider-types

This is the TypeScript type definitions package for @manifoldxyz/frontend-provider. This package provides TypeScript interfaces and type definitions for the SDK.

Installation

Install this package using npm:

npm install @manifoldxyz/frontend-provider-types

Or using yarn:

yarn add @manifoldxyz/frontend-provider-types

Usage

This library is useful for dapps that needs typing from @manifoldxyz/frontend-provider, without the need to understand or import the actual implementations

Examples

import { OAuthGrantType } from '@manifoldxyz/frontend-provider-types';
import { detectManifoldEthereumProvider } from '@manifoldxyz/frontend-provider-utils';

const ethereumProvider = await detectManifoldEthereumProvider()
const accessToken = await ethereumProvider.getOAuth({
  grantType: OAuthGrantType.SIGNATURE,
  appName: appName,
  clientId: clientId,
  message: authMessage,
  delayAuth: shouldDelayAuth,
});

Contributing

Contributions are welcome. Please open an issue or submit a pull request on our GitHub repository.

FAQs

Last updated on 04 Dec 2023

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