Comparing version 5.0.1 to 5.1.0
@@ -776,3 +776,3 @@ 'use strict'; | ||
hawk.crypto.internals = CryptoJS; | ||
hawk.crypto.utils = CryptoJS; | ||
@@ -779,0 +779,0 @@ // Export if used as a module |
@@ -635,4 +635,4 @@ 'use strict'; | ||
hawk.crypto.internals = CryptoJS; | ||
hawk.crypto.utils = CryptoJS; | ||
@@ -639,0 +639,0 @@ // Export if used as a module |
{ | ||
"name": "hawk", | ||
"description": "HTTP Hawk Authentication Scheme", | ||
"version": "5.0.1", | ||
"version": "5.1.0", | ||
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/hawk", |
@@ -1557,2 +1557,14 @@ 'use strict'; | ||
}); | ||
describe('crypto', () => { | ||
describe('utils', () => { | ||
it('exposes hash methods', (done) => { | ||
expect(Browser.crypto.utils.SHA256('some message').toString(Browser.crypto.utils.enc.Base64)).to.equal('xHdXq+QCC5Fo0HdvbJFhf5KQ55CsL2zivWeHx0rYgZk='); | ||
done(); | ||
}); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
393833
5893