Open
Description
I am trying to use it on my Angular app.
import * as aws4 from 'hyper-aws4';
test() {
const creds = this.awsService.getFederateIdentityCredentials();
const signOption = {
url: 'http://google.com',
credential: {
accessKey: creds.accessKeyId,
secretKey: creds.secretAccessKey
}
}
const headers = aws4.sign(signOption);
console.log(headers);
}
but I get this error:
TypeError: _crypto2.default.createHash is not a function
Metadata
Metadata
Assignees
Labels
No labels