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

13 lines 405 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assert = assert; const Logger_1 = require("../lib/Logger"); const errors_1 = require("./errors"); function assert(condition, message) { if (!condition) { const error = new errors_1.AssertionError(message); (0, Logger_1.logError)(error); throw error; } } //# sourceMappingURL=assert.js.map