0.40.0 • Published 1 year ago

@huma-shan/types v0.40.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@huma-shan/types

@huma-shan/types is a typescript library part of the Request Network protocol. It is the collection of typescript types shared across @requestnetwork packages.

Installation

npm install @huma-shan/types --save-dev

Usage

import { IdentityTypes, SignatureTypes } from '@huma-shan/types';

const signatureMethod = SignatureTypes.REQUEST_SIGNATURE_METHOD.ECDSA;
const identityType = IdentityTypes.REQUEST_IDENTITY_TYPE.ETHEREUM_ADDRESS;

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide

License

MIT