@requestnetwork/types
is a typescript library part of the Request Network protocol.
It is the collection of typescript types shared across @requestnetwork packages.
npm install @requestnetwork/types --save-dev
import { IdentityTypes, SignatureTypes } from '@requestnetwork/types';
const signatureMethod = SignatureTypes.REQUEST_SIGNATURE_METHOD.ECDSA;
const identityType = IdentityTypes.REQUEST_IDENTITY_TYPE.ETHEREUM_ADDRESS;
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide