This package provides Typescript typings Leather developers can use when interacting with the LeatherProvider
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;
}
}