Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@leather-wallet/rpc

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leather-wallet/rpc

RPC types package for Leather

latest
npmnpm
Version
1.0.4
Version published
Maintainers
3
Created
Source

@leather-wallet/rpc

This package provides Typescript typings Leather developers can use when interacting with the LeatherProvider global object.

Consuming as global object

In your Typescript project, import LeatherProvider and declare it as a global type.

import { LeatherProvider } from '@leather-wallet/rpc';

declare global {
  interface Window {
    LeatherProvider?: LeatherProvider;
  }
}

FAQs

Package last updated on 20 Jun 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