UNPKG

@antbat/base-client-js

Version:

Base JS library for BASE-platform

11 lines (10 loc) 510 B
import { HttpInterceptor } from './HttpInterceptor'; import { InterceptorCortege } from './InterceptorCortege'; import { MessageSigner } from '../../../utils/keypair/MessageSigner'; import { NonceSource } from '../../assistant/NonceSource'; export default class NonceInterceptor implements HttpInterceptor { private messageSigner; private nonceSource; constructor(messageSigner: MessageSigner, nonceSource: NonceSource); onIntercept(cortege: InterceptorCortege): Promise<InterceptorCortege>; }