Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@davoodmehraban89
/
medusa
Fork
0
medusa
/
packages
/
modules
/
providers
/
caching-redis
/
src
/
loaders
/
hash.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
security/codeql-dependabot-gitleaks
automation/medusa-upstream-review
main
project/medusa-foundation-audit
security/codeql-dependabot-gitleaks
ts
8 lines
236 Bytes
Copy permalink
Copy
Raw
1
import
{
asValue
}
from
"
awilix
"
2
3
export
default
async
({
container
})
=>
{
4
const
xxhashhWasm
=
await
import
(
"
xxhash-wasm
"
)
5
const
{
h64ToString
}
=
await
xxhashhWasm
.
default
()
6
7
container
.
register
(
"
hasher
"
,
asValue
(
h64ToString
))
8
}