- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
387 B
JavaScript
12 lines
387 B
JavaScript
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,
|
|
};
|
|
};
|