@leather.io/rpc

2.1.15 • Public • Published

@leather.io/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.io/rpc';

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

Dependents (2)

Package Sidebar

Install

npm i @leather.io/rpc

Weekly Downloads

211

Version

2.1.15

License

MIT

Unpacked Size

25.5 kB

Total Files

6

Last publish

Collaborators

  • kyranjamie