UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

12 lines (11 loc) 387 B
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, }; };