@uprtcl/http-provider
Version:
_Prtcl provider wrappers around the native fetch api
9 lines (7 loc) • 315 B
text/typescript
import { HttpAuthenticatedConnectionImp } from '../http.auth.connection.imp';
import { HttpEthToken } from './http-eth-auth.token';
export class HttpEthConnection extends HttpAuthenticatedConnectionImp {
constructor(host: string) {
super(host, new HttpEthToken(host), 'ETH_AUTH_TOKEN', 'ETH_USER_ID');
}
}