UNPKG

@kontent-ai/smart-link

Version:

Kontent.ai Smart Link SDK allowing to automatically inject [smart links](https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-editing-from-preview#a-using-smart-links) to Kontent.ai according to manually specified [HTML data attri

10 lines 291 B
import { logError } from "../lib/Logger"; import { AssertionError } from "./errors"; export function assert(condition, message) { if (!condition) { const error = new AssertionError(message); logError(error); throw error; } } //# sourceMappingURL=assert.js.map