0.0.15 • Published 3 years ago

@nft-game-co/zilpay-types v0.0.15

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
3 years ago

Zilpay Types

npm npm npm

These are the types for the Zilpay wallet and libraries. We created this package as we use a typescript react app and it is much easier to have types to work with.


Installation

Symply run the following:

yarn add @nft-game-co/zilpay-types

or

npm install @nft-game-co/zilpay-types

Usage

To use the extension you can extend the window object with the type.

import { ZilPay } from '@nft-game-co/zilpay-types'


declare global {
    interface Window {
        zilPay: ZilPay;
    }
}

You can then use the types freely when coding:

const isConnect = await window.zilPay.wallet.connect();

Author

Burlet Mederic

mederic@nftgameco.com

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago