oracular 0.7.0 → 0.7.1
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1009,8 +1009,11 @@ function reconcile(raw, config) {
|
|
|
1009
1009
|
keep(stored.contributions, intent.signals)
|
|
1010
1010
|
);
|
|
1011
1011
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1012
|
+
}
|
|
1013
|
+
if (raw.episode.startedAt !== null) {
|
|
1014
|
+
for (const [name, episode] of Object.entries(raw.episode.intents)) {
|
|
1015
|
+
const intent = getOwn(config.intents, name);
|
|
1016
|
+
if (intent === void 0) continue;
|
|
1014
1017
|
const seen = episode.seen.filter(
|
|
1015
1018
|
(s, i) => hasOwn(intent.signals, s) && episode.seen.indexOf(s) === i
|
|
1016
1019
|
);
|