UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

9 lines (8 loc) 510 B
import { __assign } from "tslib"; import { Sha256 } from "@aws-crypto/sha256-js"; import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; export var getRuntimeConfig = function (config) { var _a; var browserDefaults = getBrowserRuntimeConfig(config); return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 }); };