@syntrologie/runtime-sdk 2.8.0-canary.172 → 2.8.0-canary.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/dist/index.js.map +2 -2
- package/dist/smart-canvas.esm.js +3 -3
- package/dist/smart-canvas.esm.js.map +3 -3
- package/dist/smart-canvas.js +4 -3
- package/dist/smart-canvas.js.map +2 -2
- package/dist/smart-canvas.min.js +3 -3
- package/dist/smart-canvas.min.js.map +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9491,7 +9491,7 @@ function error(prefix, message, data) {
|
|
|
9491
9491
|
}
|
|
9492
9492
|
|
|
9493
9493
|
// src/version.ts
|
|
9494
|
-
var SDK_VERSION = "2.8.0-canary.
|
|
9494
|
+
var SDK_VERSION = "2.8.0-canary.173";
|
|
9495
9495
|
|
|
9496
9496
|
// src/types.ts
|
|
9497
9497
|
var SDK_SCHEMA_VERSION = "2.0";
|
|
@@ -10178,7 +10178,8 @@ var SmartCanvasElementLit = class extends LitElement9 {
|
|
|
10178
10178
|
const response = await __privateGet(this, _derivedFetcher).call(this);
|
|
10179
10179
|
if (version !== __privateGet(this, _loadConfigVersion)) return;
|
|
10180
10180
|
debug("SmartCanvas Config", "Raw config response", response);
|
|
10181
|
-
|
|
10181
|
+
const isEmptyConfig = Object.keys(response).length === 0;
|
|
10182
|
+
__privateSet(this, _rawConfig, isEmptyConfig ? null : response);
|
|
10182
10183
|
let tiles = response.tiles || [];
|
|
10183
10184
|
if (tiles.length > 0 && ((_a3 = this.runtime) == null ? void 0 : _a3.accumulator)) {
|
|
10184
10185
|
registerConfigPredicates(tiles, this.runtime.accumulator, response.actions);
|