Download node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js from sweet2004/bot: direct link, hf CLI and curl.
- Browser
- Download file 387 Bytes
-
https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40aws-sdk/client-sts/dist-es/runtimeConfig.native.js
- Command line
-
hf download hf://spaces/sweet2004/bot/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.native.js
-
curl -L -o runtimeConfig.native.js https://huggingface.co/spaces/sweet2004/bot/resolve/main/node_modules/%40aws-sdk/client-sts/dist-es/runtimeConfig.native.js
387 Bytes
| import { Sha256 } from "@aws-crypto/sha256-js"; | |
| import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; | |
| export const getRuntimeConfig = (config) => { | |
| const browserDefaults = getBrowserRuntimeConfig(config); | |
| return { | |
| ...browserDefaults, | |
| ...config, | |
| runtime: "react-native", | |
| sha256: config?.sha256 ?? Sha256, | |
| }; | |
| }; | |